From: Jeff Law Date: Thu, 27 Jun 2002 22:57:50 +0000 (+0000) Subject: * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2b67cf0053fe6b71fd191fb8ac47282dae6e8529;p=binutils-gdb.git * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd section. Add ${RELOCATING-0}. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 623ef610c96..1866c2deb01 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2002-06-26 John David Anglin + + * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd + section. Add ${RELOCATING-0}. + Wed Jun 26 16:33:58 2002 J"orn Rennecke * emulparams/shelf.sh (STACK_ADDR): Don't define. diff --git a/ld/emulparams/hppa64linux.sh b/ld/emulparams/hppa64linux.sh index 49bcf32ee88..6e01c20b08e 100644 --- a/ld/emulparams/hppa64linux.sh +++ b/ld/emulparams/hppa64linux.sh @@ -3,6 +3,7 @@ SCRIPT_NAME=elf ELFSIZE=64 +# FIXME: this output format is for hpux. OUTPUT_FORMAT="elf64-hppa-linux" TEXT_START_ADDR=0x10000 TARGET_PAGE_SIZE=0x10000 @@ -42,7 +43,9 @@ OTHER_BSS_END_SYMBOLS=' PROVIDE (__TLS_PREALLOC_DTV_A = 0);' # HPs use .dlt where systems use .got. Sigh. -OTHER_GOT_RELOC_SECTIONS='.rela.dlt : { *(.rela.dlt) }' +OTHER_GOT_RELOC_SECTIONS=" + .rela.dlt ${RELOCATING-0} : { *(.rela.dlt) } + .rela.opd ${RELOCATING-0} : { *(.rela.opd) }" # We're not actually providing a symbol anymore (due to the inability to be # safe in regards to shared libraries). So we just allocate the hunk of space