From 9169713a19c18ec43b3cf831daecc1aa68361724 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Mon, 13 Sep 1999 06:20:55 +0000 Subject: [PATCH] * emulparms/elf64hppa.sh (OTHER_READWRITE_SECTIONS): Put .plt at the start of the .dlt output section. --- ld/ChangeLog | 5 +++++ ld/emulparams/elf64hppa.sh | 11 ++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) 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 * 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 -- 2.7.4