diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2023-07-04 14:13:34 +0200 |
---|---|---|
committer | Andreas Krebbel <krebbel@linux.ibm.com> | 2023-07-05 14:29:03 +0200 |
commit | a5042543d819df8a76ebec8c4d715f244efbab0a (patch) | |
tree | a6e56f39e7d112761766035460e74cae3fb2270d /ld/emulparams | |
parent | 1f2218d699e9e5146fc84b24460b63a864d65b04 (diff) | |
download | binutils-a5042543d819df8a76ebec8c4d715f244efbab0a.zip binutils-a5042543d819df8a76ebec8c4d715f244efbab0a.tar.gz binutils-a5042543d819df8a76ebec8c4d715f244efbab0a.tar.bz2 |
Align linkerscript symbols according to ABI
Apply ABI specific alignment to symbols generated in the default
linker script.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf64_s390.sh | 1 | ||||
-rw-r--r-- | ld/emulparams/elf_s390.sh | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ld/emulparams/elf64_s390.sh b/ld/emulparams/elf64_s390.sh index 899efd7..d0a2a59 100644 --- a/ld/emulparams/elf64_s390.sh +++ b/ld/emulparams/elf64_s390.sh @@ -17,6 +17,7 @@ EXTRA_EM_FILE=s390 IREL_IN_PLT= SEPARATE_GOTPLT=0 test -z "$RELRO" && unset SEPARATE_GOTPLT +SYMBOL_ABI_ALIGNMENT=2 # Treat a host that matches the target with the possible exception of "x" # in the name as if it were native. diff --git a/ld/emulparams/elf_s390.sh b/ld/emulparams/elf_s390.sh index cb1c6b5..1b2fca3 100644 --- a/ld/emulparams/elf_s390.sh +++ b/ld/emulparams/elf_s390.sh @@ -12,3 +12,4 @@ GENERATE_SHLIB_SCRIPT=yes GENERATE_PIE_SCRIPT=yes NO_SMALL_DATA=yes IREL_IN_PLT= +SYMBOL_ABI_ALIGNMENT=2 |