summaryrefslogtreecommitdiff
path: root/ld
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
parent228d307f1b71e33adc55664d547cee569e54f5b8 (diff)
downloadbinutils-gdb-9169713a19c18ec43b3cf831daecc1aa68361724.tar.gz
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
at the start of the .dlt output section.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rwxr-xr-xld/emulparams/elf64hppa.sh11
2 files changed, 15 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index ee9edf618ae..c1b479a86fd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+Mon Sep 13 00:17:18 1999 Jeffrey A Law (law@cygnus.com)
+
+ * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
+ at the start of the .dlt output section.
+
1999-09-12 Ian Lance Taylor <ian@zembu.com>
* pe.em: Don't include "../bfd/libbfd.h".
diff --git a/ld/emulparams/elf64hppa.sh b/ld/emulparams/elf64hppa.sh
index b92a1ef976f..9b62d8e8aa7 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