diff options
author | Nick Clifton <nickc@redhat.com> | 2023-04-17 15:48:45 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-04-17 15:48:45 +0100 |
commit | b29f2fda4f189a008f5f2017d403976c988ad63e (patch) | |
tree | f595ec0841fd7a5b8d9d502af931ca9d66af9272 /ld/emulparams | |
parent | 55003828f4d81a3d857ccfdfe4841704004a6468 (diff) | |
download | gdb-b29f2fda4f189a008f5f2017d403976c988ad63e.zip gdb-b29f2fda4f189a008f5f2017d403976c988ad63e.tar.gz gdb-b29f2fda4f189a008f5f2017d403976c988ad63e.tar.bz2 |
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.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/armelf.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emulparams/armelf.sh b/ld/emulparams/armelf.sh index 1995c44..dd71fe7 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+)};" |