Fix ELF ppc32 targets that don't use ppc32elf.em
authorAlan Modra <amodra@gmail.com>
Thu, 27 Feb 2014 13:01:35 +0000 (23:31 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 27 Feb 2014 13:09:01 +0000 (23:39 +1030)
commitdb434ba03edb5491d48415069d6116b5037e6fa1
treee0360269425cd80d4e16dbf463de42fc2f428dd9
parent3cdd631f17c822cd58f2fc9c742dc60ed683b5c1
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.
bfd/ChangeLog
bfd/elf32-ppc.c
ld/ChangeLog
ld/emulparams/elf32ppcvxworks.sh
ld/emultempl/ppc32elf.em