* linker.c (_bfd_nearby_section): New function, split out from..
authorAlan Modra <amodra@gmail.com>
Fri, 23 Mar 2012 09:27:43 +0000 (09:27 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 23 Mar 2012 09:27:43 +0000 (09:27 +0000)
commit051d833a41cabf1bcc879756756901deb6b1c448
tree2cb969716e76459261953767f3ea4df56e29462d
parent62599110be4d6baae772ce8022801f06137495b9
* 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.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elflink.c
bfd/linker.c