aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-04-27 12:53:05 +0930
committerAlan Modra <amodra@gmail.com>2016-04-27 17:05:26 +0930
commita6a4679fc0ad12e99e0d8374752ecce9ef097ec2 (patch)
tree1cfa8a26e3fbf2382a116b96513f60a022849a0c /bfd/elf-bfd.h
parent28cc9170c3d0bc0c5e82b45a10015e4bbcb01125 (diff)
downloadfsf-binutils-gdb-a6a4679fc0ad12e99e0d8374752ecce9ef097ec2.zip
fsf-binutils-gdb-a6a4679fc0ad12e99e0d8374752ecce9ef097ec2.tar.gz
fsf-binutils-gdb-a6a4679fc0ad12e99e0d8374752ecce9ef097ec2.tar.bz2
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.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 7447629..6c05b55 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2336,6 +2336,9 @@ extern bfd_boolean bfd_elf_gc_common_finalize_got_offsets
extern bfd_boolean bfd_elf_gc_common_final_link
(bfd *, struct bfd_link_info *);
+extern asection *_bfd_elf_is_start_stop
+ (const struct bfd_link_info *, struct elf_link_hash_entry *);
+
extern bfd_boolean bfd_elf_reloc_symbol_deleted_p
(bfd_vma, void *);