aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1999-09-13 06:20:55 +0000
committerJeff Law <law@redhat.com>1999-09-13 06:20:55 +0000
commit9169713a19c18ec43b3cf831daecc1aa68361724 (patch)
tree24927617b144dd6d4ee6e59d62374d872a6d9685 /ld/emulparams
parent228d307f1b71e33adc55664d547cee569e54f5b8 (diff)
downloadfsf-binutils-gdb-9169713a19c18ec43b3cf831daecc1aa68361724.zip
fsf-binutils-gdb-9169713a19c18ec43b3cf831daecc1aa68361724.tar.gz
fsf-binutils-gdb-9169713a19c18ec43b3cf831daecc1aa68361724.tar.bz2
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
at the start of the .dlt output section.
Diffstat (limited to 'ld/emulparams')
-rwxr-xr-xld/emulparams/elf64hppa.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/ld/emulparams/elf64hppa.sh b/ld/emulparams/elf64hppa.sh
index b92a1ef..9b62d8e 100755
--- a/ld/emulparams/elf64hppa.sh
+++ b/ld/emulparams/elf64hppa.sh
@@ -18,7 +18,16 @@ OTHER_READONLY_SECTIONS='.PARISC.unwind : { *(.PARISC.unwind) } .stubs : { *(.st
# The PA64 ELF port treats .plt sections differently than most. We also have
# to create a .opd section. Combine the .opd, .plt and .dlt together into a
# single .dlt section in the output file.
-OTHER_READWRITE_SECTIONS='.dlt : { *(.opd) *(.plt) *(.dlt) }'
+#
+# We have temporarily moved the .plt input section to the front of the
+# .dlt output section. This was __gp will be near .plt, regardless of the
+# size of .opd.
+#
+# In the near future the code to compute __gp will be improved and we can
+# move .opd to the start of the .dlt again.
+#
+#
+OTHER_READWRITE_SECTIONS='.dlt : { *(.plt) *(.dlt) *(.opd) }'
# The PA64 ELF port has two additional bss sections. huge bss and thread bss.
# Make sure they end up in the appropriate location. We also have to set