diff options
author | Alan Modra <amodra@gmail.com> | 2012-03-23 09:27:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-03-23 09:27:43 +0000 |
commit | 051d833a41cabf1bcc879756756901deb6b1c448 (patch) | |
tree | 2cb969716e76459261953767f3ea4df56e29462d /bfd/bfd-in.h | |
parent | 62599110be4d6baae772ce8022801f06137495b9 (diff) | |
download | gdb-051d833a41cabf1bcc879756756901deb6b1c448.zip gdb-051d833a41cabf1bcc879756756901deb6b1c448.tar.gz gdb-051d833a41cabf1bcc879756756901deb6b1c448.tar.bz2 |
* 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.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 40ed786..c331f3b 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 *); |