Cache result of scan for __start_* and __stop_* sections
authorAlan Modra <amodra@gmail.com>
Wed, 27 Apr 2016 03:23:05 +0000 (12:53 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 27 Apr 2016 07:35:26 +0000 (17:05 +0930)
commita6a4679fc0ad12e99e0d8374752ecce9ef097ec2
tree1cfa8a26e3fbf2382a116b96513f60a022849a0c
parent28cc9170c3d0bc0c5e82b45a10015e4bbcb01125
Cache result of scan for __start_* and __stop_* sections

include/
* bfdlink.h (struct bfd_link_hash_entry): Add "section" field to
undef.  Formatting.
bfd/
* elflink.c (_bfd_elf_is_start_stop): New function.
(_bfd_elf_gc_mark_rsec): Use it.
* elf-bfd.h (_bfd_elf_is_start_stop): Declare.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elflink.c
include/ChangeLog
include/bfdlink.h