summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64/conf
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2022-01-07 13:56:55 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2022-01-07 13:56:55 +0000
commit393044a3c010b05f81892c2737b0cfc31578e604 (patch)
tree7d357da4746fb966bf9af78308b97248b74d3d9d /sys/arch/riscv64/conf
parent6bc0758644b7581b6c79f2ea1a808fa4f7cc5e4d (diff)
.glue_7 is used for arm code calling thumb code, and .glue_7t is used for
thumb code calling arm code, no need to put these input sections at the text output section. ok jsg@ kettenis@
Diffstat (limited to 'sys/arch/riscv64/conf')
-rw-r--r--sys/arch/riscv64/conf/kern.ldscript3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/riscv64/conf/kern.ldscript b/sys/arch/riscv64/conf/kern.ldscript
index 64c7897bfdb..cddc4321691 100644
--- a/sys/arch/riscv64/conf/kern.ldscript
+++ b/sys/arch/riscv64/conf/kern.ldscript
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern.ldscript,v 1.3 2021/06/27 21:39:55 kettenis Exp $ */
+/* $OpenBSD: kern.ldscript,v 1.4 2022/01/07 13:56:54 kevlo Exp $ */
OUTPUT_ARCH(riscv64)
@@ -23,7 +23,6 @@ SECTIONS
{
*(.text .text.*)
*(.stub)
- *(.glue_7t) *(.glue_7)
} :text =0
PROVIDE (_etext = .);
PROVIDE (etext = .);