aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-10-23 22:23:05 +1030
committerAlan Modra <amodra@gmail.com>2015-10-23 22:26:25 +1030
commit1cce69b9dc8c58884c3cc4a8928fb234294e6886 (patch)
treead6bb7d70a998457311dd8034c00df20b11699d4 /bfd/elf-bfd.h
parentbe83aa76d2877770c23d7c2bde0319564a8f7e48 (diff)
downloadgdb-1cce69b9dc8c58884c3cc4a8928fb234294e6886.zip
gdb-1cce69b9dc8c58884c3cc4a8928fb234294e6886.tar.gz
gdb-1cce69b9dc8c58884c3cc4a8928fb234294e6886.tar.bz2
Handle __start_* and __stop_* symbols in --gc-sections
PR ld/11133 PR ld/19161 PR ld/19167 * elflink.c (_bfd_elf_gc_mark_hook): Delete code handling __start_* and __stop_* symbol refs. (_bfd_elf_gc_mark_rsec): Add start_stop parameter. Handle __start_* and __stop_* symbol refs here.. (_bfd_elf_gc_mark_reloc): ..and here. * elf-bfd.h (_bfd_elf_gc_mark_hook): Update prototype. * elf-eh-frame.c (_bfd_elf_parse_eh_frame): Update _bfd_elf_gc_mark_rsec call.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index b7ca2d0..2b05089 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -2296,7 +2296,7 @@ extern asection *_bfd_elf_gc_mark_hook
extern asection *_bfd_elf_gc_mark_rsec
(struct bfd_link_info *, asection *, elf_gc_mark_hook_fn,
- struct elf_reloc_cookie *);
+ struct elf_reloc_cookie *, bfd_boolean *);
extern bfd_boolean _bfd_elf_gc_mark_reloc
(struct bfd_link_info *, asection *, elf_gc_mark_hook_fn,