From: Nick Clifton <nickc@sourceware.org>
To: bfd-cvs@sourceware.org
Subject: [binutils-gdb] Add support for the .gnu.sgstubs section to the linker for ARM/ELF based targets.
Date: Mon, 17 Apr 2023 14:49:26 +0000 (GMT) [thread overview]
Message-ID: <20230417144926.E6EC03858C50@sourceware.org> (raw)
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b29f2fda4f189a008f5f2017d403976c988ad63e
commit b29f2fda4f189a008f5f2017d403976c988ad63e
Author: Nick Clifton <nickc@redhat.com>
Date: Mon Apr 17 15:48:45 2023 +0100
Add support for the .gnu.sgstubs section to the linker for ARM/ELF based targets.
PR 30354
* emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to handle 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 <nickc@redhat.com>
+
+ PR 30354
+ * emulparams/armelf.sh (OTHER_PLT_SECTIONS): Define in order to
+ handle the .gnu.sgstubs section.
+
2023-04-13 Claudiu Zissulescu <claziss@synopsys.com>
* 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="elf32-littlearm"
TEXT_START_ADDR=0x8000
TEMPLATE_NAME=elf
EXTRA_EM_FILE=armelf
+OTHER_PLT_SECTIONS="
+ .gnu.sgstubs : { *(.gnu.sgstubs*) }"
OTHER_TEXT_SECTIONS='*(.glue_7t) *(.glue_7) *(.vfp11_veneer) *(.v4_bx)'
OTHER_BSS_SYMBOLS="${CREATE_SHLIB+PROVIDE (}__bss_start__ = .${CREATE_SHLIB+)};"
OTHER_BSS_END_SYMBOLS="${CREATE_SHLIB+PROVIDE (}_bss_end__ = .${CREATE_SHLIB+)}; ${CREATE_SHLIB+PROVIDE (}__bss_end__ = .${CREATE_SHLIB+)};"
reply other threads:[~2023-04-17 14:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230417144926.E6EC03858C50@sourceware.org \
--to=nickc@sourceware.org \
--cc=bfd-cvs@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).