ppc32 merging of e_flags from dynamic objects
authorAlan Modra <amodra@gmail.com>
Fri, 1 May 2020 05:47:42 +0000 (15:17 +0930)
committerAlan Modra <amodra@gmail.com>
Fri, 1 May 2020 06:02:36 +0000 (15:32 +0930)
commit91ed9b71fa737ff4a4519f84c5e0ae0d544514f1
tree9e026a1a53f9c6b32e96c7d34815eacd5fcf393e
parent94a8e7b0eff0db3297fbe5c995f97f0308f2fbe5
ppc32 merging of e_flags from dynamic objects

EF_PPC_RELOCATABLE and similar flags, if present in an input shared
library, don't have any relevance as far as the output file is
concerned.

Currently, dynamic objects aren't seen in merge_private_bfd_data.
This patch is in preparation for a change to that.

PR 25882
* elf32-ppc.c (ppc_elf_merge_private_bfd_data): Ignore e_flags
from shared libraries.
bfd/ChangeLog
bfd/elf32-ppc.c