Fix ppc64le S-record test fail
authorAlan Modra <amodra@gmail.com>
Thu, 19 May 2016 03:02:40 +0000 (12:32 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 19 May 2016 04:10:12 +0000 (13:40 +0930)
commit9f284bf9da3ecc689405cb7b698c7714acdf1ab0
treef15d317dda38ee82178f87a1cb9432c066d04662
parent6472871146e43446c43deaca0a8bb352b67f8f8e
Fix ppc64le S-record test fail

Segfaults on --defsym symbol (__stack_chk_fail in this instance).

* elf64-ppc.c (ppc64_elf_branch_reloc): Check for NULL owner
before dereferencing.
bfd/ChangeLog
bfd/elf64-ppc.c