PR17488, powerpc64-linux-ld segfault
authorAlan Modra <amodra@gmail.com>
Wed, 15 Oct 2014 23:08:09 +0000 (09:38 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 16 Oct 2014 00:52:14 +0000 (11:22 +1030)
commit459609d6f8f65d4b4440385499b84cc8c1804f65
tree4d10b3336f05717fd4eb4a5554a3e245b635008b
parent983037647b9ffd052df16fb8e6abfe7e3e8c0683
PR17488, powerpc64-linux-ld segfault

For binary ouput, we don't have an ELF bfd output so can't access
elf_elfheader.  The elf64-ppc.c changes are really just a tidy,
triggered by looking at all places where the abiversion bits are
accessed.

bfd/
* elf64-ppc.c (ppc64_elf_before_check_relocs): Do .opd processing
even when output is not ppc64 ELF.  Remove redundant tests on
type of input bfd.
ld/
PR 17488
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Don't attempt
to access ELF header e_flags when not ppc64 ELF output.
bfd/ChangeLog
bfd/elf64-ppc.c
ld/ChangeLog
ld/emultempl/ppc64elf.em
This page took 0.023892 seconds and 4 git commands to generate.