diff options
author | Alan Modra <amodra@gmail.com> | 2014-02-27 23:31:35 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-02-27 23:39:01 +1030 |
commit | db434ba03edb5491d48415069d6116b5037e6fa1 (patch) | |
tree | e0360269425cd80d4e16dbf463de42fc2f428dd9 /ld/emulparams | |
parent | 3cdd631f17c822cd58f2fc9c742dc60ed683b5c1 (diff) | |
download | gdb-db434ba03edb5491d48415069d6116b5037e6fa1.zip gdb-db434ba03edb5491d48415069d6116b5037e6fa1.tar.gz gdb-db434ba03edb5491d48415069d6116b5037e6fa1.tar.bz2 |
Fix ELF ppc32 targets that don't use ppc32elf.em
5446cbdf82892a800ed7eef563a795e75223ec52 broke powerpc-lynxos,
powerpc-netware, powerpc-windiss and powerpc-vxworks.
bfd/
* elf32-ppc.c (ppc_elf_link_hash_table_create): Provide default
params for targets that don't use ppc32elf.em.
ld/
* emulparams/elf32ppcvxworks.sh: Source plt_unwind.sh and
use ppc32elf.em.
* emultempl/ppc32elf.em (ppc_after_open): Don't compile for
vxworks.
(LDEMUL_AFTER_OPEN): Don't set for vxworks.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Exclude
-secure-plt, -bss-plt and -sdata-got when vxworks.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf32ppcvxworks.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emulparams/elf32ppcvxworks.sh b/ld/emulparams/elf32ppcvxworks.sh index 1bc3f30..88c1da0 100644 --- a/ld/emulparams/elf32ppcvxworks.sh +++ b/ld/emulparams/elf32ppcvxworks.sh @@ -1,3 +1,5 @@ . ${srcdir}/emulparams/elf32ppccommon.sh +. ${srcdir}/emulparams/plt_unwind.sh +EXTRA_EM_FILE=ppc32elf OUTPUT_FORMAT="elf32-powerpc-vxworks" . ${srcdir}/emulparams/vxworks.sh |