* emulparams/hppa64linux.sh (OTHER_GOT_RELOC_SECTIONS): Add rela.opd
authorJeff Law <law@redhat.com>
Thu, 27 Jun 2002 22:57:50 +0000 (22:57 +0000)
committerJeff Law <law@redhat.com>
Thu, 27 Jun 2002 22:57:50 +0000 (22:57 +0000)
section.  Add ${RELOCATING-0}.

ld/ChangeLog
ld/emulparams/hppa64linux.sh

index 623ef61..1866c2d 100644 (file)
@@ -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.
index 49bcf32..6e01c20 100644 (file)
@@ -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