summaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2012-03-23 09:27:40 +0000
committerAlan Modra <amodra@bigpond.net.au>2012-03-23 09:27:40 +0000
commit8efd1781af338ecd687515ff6a34d3ab1fe044ed (patch)
tree42f28d1c81a6ba78aba1bfc9ec258aecbe926cd9 /bfd/bfd-in.h
parent20a90f314c776b2f708361bbacee0ad0ab7dcbb1 (diff)
downloadbinutils-redhat-8efd1781af338ecd687515ff6a34d3ab1fe044ed.tar.gz
* linker.c (_bfd_nearby_section): New function, split out from..
(fix_syms): ..here. * bfd-in.h (_bfd_nearby_section): Declare. * bfd-in2.h: Regenerate. * elflink.c (elf_link_input_bfd): Don't use text_index_section or data_index_section with ld -q or ld -r output relocs against stripped output sections. Instead use _bfd_nearby_section.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index 40ed786628..c331f3bbf8 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -705,6 +705,9 @@ extern int bfd_get_sign_extend_vma
extern struct bfd_section *_bfd_elf_tls_setup
(bfd *, struct bfd_link_info *);
+extern struct bfd_section *
+_bfd_nearby_section (bfd *, struct bfd_section *, bfd_vma);
+
extern void _bfd_fix_excluded_sec_syms
(bfd *, struct bfd_link_info *);