From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2124) id E6EC03858C50; Mon, 17 Apr 2023 14:49:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E6EC03858C50 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Nick Clifton To: bfd-cvs@sourceware.org Subject: [binutils-gdb] Add support for the .gnu.sgstubs section to the linker for ARM/ELF based targets. X-Act-Checkin: binutils-gdb X-Git-Author: Nick Clifton X-Git-Refname: refs/heads/master X-Git-Oldrev: 55003828f4d81a3d857ccfdfe4841704004a6468 X-Git-Newrev: b29f2fda4f189a008f5f2017d403976c988ad63e Message-Id: <20230417144926.E6EC03858C50@sourceware.org> Date: Mon, 17 Apr 2023 14:49:26 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2023 14:49:27 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Db29f2fda4f18= 9a008f5f2017d403976c988ad63e commit b29f2fda4f189a008f5f2017d403976c988ad63e Author: Nick Clifton Date: Mon Apr 17 15:48:45 2023 +0100 Add support for the .gnu.sgstubs section to the linker for ARM/ELF base= d targets. =20 PR 30354 * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to handl= e the .gnu.sgstubs section. Diff: --- ld/ChangeLog | 6 ++++++ ld/emulparams/armelf.sh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 6b03cffb34f..b829befb08e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2023-04-17 Nick Clifton + + PR 30354 + * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to + handle the .gnu.sgstubs section. + 2023-04-13 Claudiu Zissulescu =20 * testsuite/ld-arc/arc.exp: Update execution predicate. diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh index 1995c449975..dd71fe77e6f 100644 --- a/ld/emulparams/armelf.sh +++ b/ld/emulparams/armelf.sh @@ -6,6 +6,8 @@ LITTLE_OUTPUT_FORMAT=3D"elf32-littlearm" TEXT_START_ADDR=3D0x8000 TEMPLATE_NAME=3Delf EXTRA_EM_FILE=3Darmelf +OTHER_PLT_SECTIONS=3D" + .gnu.sgstubs : { *(.gnu.sgstubs*) }" OTHER_TEXT_SECTIONS=3D'*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)' OTHER_BSS_SYMBOLS=3D"${CREATE_SHLIB+PROVIDE (}__bss_start__ =3D .${CREATE_= SHLIB+)};" OTHER_BSS_END_SYMBOLS=3D"${CREATE_SHLIB+PROVIDE (}_bss_end__ =3D .${CREATE= _SHLIB+)}; ${CREATE_SHLIB+PROVIDE (}__bss_end__ =3D .${CREATE_SHLIB+)};"