PR15530, mark symbol in executables if it matches dynamic_list
authorAlan Modra <amodra@gmail.com>
Wed, 12 Feb 2014 10:38:01 +0000 (21:08 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 12 Feb 2014 11:40:09 +0000 (22:10 +1030)
commitb407645f7ef086a9a527c8f62499b4255868e748
treee1c481521aadf60457ae35029d499b2893d18f46
parent93ffa5b939aef24f7530a8a400f877bfb24f0a73
PR15530, mark symbol in executables if it matches dynamic_list

For powerpc64 as HJ did earlier for other ELF targets, and a tidy.

PR gold/15530
* elf64-ppc.c (ppc64_elf_gc_mark_dynamic_ref): Support
--export-dynamic and --dynamic-list marking of symbols.
* elflink.c (bfd_elf_gc_mark_dynamic_ref_symbol): Reorder
cheap tests first.
bfd/ChangeLog
bfd/elf64-ppc.c
bfd/elflink.c