diff options
author | Jeff Law <law@redhat.com> | 1999-09-13 06:20:55 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1999-09-13 06:20:55 +0000 |
commit | 9169713a19c18ec43b3cf831daecc1aa68361724 (patch) | |
tree | 24927617b144dd6d4ee6e59d62374d872a6d9685 /ld | |
parent | 228d307f1b71e33adc55664d547cee569e54f5b8 (diff) | |
download | gdb-9169713a19c18ec43b3cf831daecc1aa68361724.zip gdb-9169713a19c18ec43b3cf831daecc1aa68361724.tar.gz gdb-9169713a19c18ec43b3cf831daecc1aa68361724.tar.bz2 |
* emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt
at the start of the .dlt output section.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rwxr-xr-x | ld/emulparams/elf64hppa.sh | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ee9edf6..c1b479a 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 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 |