aboutsummaryrefslogtreecommitdiff
path: root/ld
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
commit2b67cf0053fe6b71fd191fb8ac47282dae6e8529 (patch)
tree74e6775fc9a9b18ffb6cb75ead581f9ba4f1cb88 /ld
parent5ac81c745ef8c328928b4b88d5183b061640b76e (diff)
downloadgdb-2b67cf0053fe6b71fd191fb8ac47282dae6e8529.zip
gdb-2b67cf0053fe6b71fd191fb8ac47282dae6e8529.tar.gz
gdb-2b67cf0053fe6b71fd191fb8ac47282dae6e8529.tar.bz2
* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
section. Add ${RELOCATING-0}.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emulparams/hppa64linux.sh5
2 files changed, 9 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 623ef61..1866c2d 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2002-06-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
+ section. Add ${RELOCATING-0}.
+
Wed Jun 26 16:33:58 2002 J"orn Rennecke <joern.rennecke@superh.com>
* emulparams/shelf.sh (STACK_ADDR): Don't define.
diff --git a/ld/emulparams/hppa64linux.sh b/ld/emulparams/hppa64linux.sh
index 49bcf32..6e01c20 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