aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2004-07-05 20:00:13 +0000
committerDave Anglin <dave.anglin@nrc.ca>2004-07-05 20:00:13 +0000
commitb71a518155c0689c717a08219acd38bad4e9d672 (patch)
tree6c89a35a6ec9ea1730295f5441b658a696215bfd /ld/emulparams
parent7561d4504fb545c8c7a02bfa5cefb57f1b4f697c (diff)
downloadgdb-b71a518155c0689c717a08219acd38bad4e9d672.zip
gdb-b71a518155c0689c717a08219acd38bad4e9d672.tar.gz
gdb-b71a518155c0689c717a08219acd38bad4e9d672.tar.bz2
* emulparams/hppa64linux.sh: Define PLT_BEFORE_GOT.
* emulparams/hppalinux.sh: Likewise. * scripttempl/elf.sc: Place .plt just before .got when .plt is in data segment and PLT_BEFORE_GOT is defined.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/hppa64linux.sh1
-rw-r--r--ld/emulparams/hppalinux.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/ld/emulparams/hppa64linux.sh b/ld/emulparams/hppa64linux.sh
index 6e01c20..6874c45 100644
--- a/ld/emulparams/hppa64linux.sh
+++ b/ld/emulparams/hppa64linux.sh
@@ -53,6 +53,7 @@ OTHER_GOT_RELOC_SECTIONS="
DATA_START_SYMBOLS='. += 16;'
DATA_PLT=
+PLT_BEFORE_GOT=
# .dynamic should be at the start of the .text segment.
TEXT_DYNAMIC=
diff --git a/ld/emulparams/hppalinux.sh b/ld/emulparams/hppalinux.sh
index 08309b3..5281fa7 100644
--- a/ld/emulparams/hppalinux.sh
+++ b/ld/emulparams/hppalinux.sh
@@ -15,6 +15,7 @@ OTHER_READONLY_SECTIONS="
.PARISC.unwind ${RELOCATING-0} : { *(.PARISC.unwind) }"
DATA_START_SYMBOLS='PROVIDE ($global$ = .);'
DATA_PLT=
+PLT_BEFORE_GOT=
GENERATE_SHLIB_SCRIPT=yes
TEMPLATE_NAME=elf32
EXTRA_EM_FILE=hppaelf