From: kevlo Date: Fri, 7 Jan 2022 13:56:54 +0000 (+0000) Subject: .glue_7 is used for arm code calling thumb code, and .glue_7t is used for X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=304da64438f6b8dc052badd8f4604bfb77511eb3;p=openbsd .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@ --- diff --git a/sys/arch/arm64/conf/kern.ldscript b/sys/arch/arm64/conf/kern.ldscript index f2d37646aca..d93afaa16ba 100644 --- a/sys/arch/arm64/conf/kern.ldscript +++ b/sys/arch/arm64/conf/kern.ldscript @@ -1,4 +1,4 @@ -/* $OpenBSD: kern.ldscript,v 1.10 2021/06/27 21:39:55 kettenis Exp $ */ +/* $OpenBSD: kern.ldscript,v 1.11 2022/01/07 13:56:54 kevlo Exp $ */ /* $NetBSD: ldscript.evbarm,v 1.2 2003/03/05 23:54:22 thorpej Exp $ */ OUTPUT_ARCH(aarch64) @@ -24,7 +24,6 @@ SECTIONS { *(.text .text.*) *(.stub) - *(.glue_7t) *(.glue_7) } :text =0 PROVIDE (_etext = .); PROVIDE (etext = .); 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 = .);