diff options
author | Jeff Law <law@redhat.com> | 1999-09-15 08:51:03 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1999-09-15 08:51:03 +0000 |
commit | 833be1c7bc680fc03ef69132c50e07bee4bb2b9e (patch) | |
tree | cc9756e88cd4eff39a774553579d6b9933b23220 /ld | |
parent | 6d83c84bcf00bba306b0a020cc2574425c116f93 (diff) | |
download | gdb-833be1c7bc680fc03ef69132c50e07bee4bb2b9e.zip gdb-833be1c7bc680fc03ef69132c50e07bee4bb2b9e.tar.gz gdb-833be1c7bc680fc03ef69132c50e07bee4bb2b9e.tar.bz2 |
* emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine
the .plt, .dlt, .opd into a single output section. Provide values
for __gp and __hp_load_map.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rwxr-xr-x | ld/emulparams/elf64hppa.sh | 14 |
2 files changed, 8 insertions, 12 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 8209dc8..c5e87f9 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +Wed Sep 15 02:47:43 1999 Jeffrey A Law (law@cygnus.com) + + * emulparms/elf64hppa.h (OTHER_READWRITE_SECTIONS): No longer combine + the .plt, .dlt, .opd into a single output section. Provide values + for __gp and __hp_load_map. + 1999-09-14 Michael Meissner <meissner@cygnus.com> * configure.in (Canonicalization of target names): Remove adding diff --git a/ld/emulparams/elf64hppa.sh b/ld/emulparams/elf64hppa.sh index fbe3592..0b9c613 100755 --- a/ld/emulparams/elf64hppa.sh +++ b/ld/emulparams/elf64hppa.sh @@ -16,18 +16,8 @@ GENERATE_SHLIB_SCRIPT=yes OTHER_READONLY_SECTIONS='.PARISC.unwind : { *(.PARISC.unwind) } .stubs : { *(.stubs) }' # 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. -# -# 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) }' +# to create a .opd section. What most systems call the .got, we call the .dlt +OTHER_READWRITE_SECTIONS='__hp_load_map = .; . += 16; .opd : { *(.opd) }; __gp = .; .plt : { *(.plt) }; .dlt : { *(.dlt) }' # 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 |