summaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2002-06-27 22:57:50 +0000
committerJeff Law <law@redhat.com>2002-06-27 22:57:50 +0000
commit374e9ea0c9b5fc1052db8be757c9f41f501fc5c3 (patch)
treeaecdf054e2f3c597a6aa75646656da9e5d294c11 /ld/emulparams
parent9123b57e56018616ce40d669e9d774a81f13ec29 (diff)
downloadbinutils-redhat-374e9ea0c9b5fc1052db8be757c9f41f501fc5c3.tar.gz
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section. Add ${RELOCATING-0}.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/hppa64linux.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/ld/emulparams/hppa64linux.sh b/ld/emulparams/hppa64linux.sh
index 49bcf32ee8..6e01c20b08 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