This fixes PR 17110 which shows that the SH section relocation code can be called
authorNick Clifton <nickc@redhat.com>
Tue, 8 Jul 2014 15:20:48 +0000 (16:20 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 8 Jul 2014 15:20:48 +0000 (16:20 +0100)
commit5bc8cb6f842e588e7ae9f3b9f52f9f41fb97bf34
tree3f5f24405a328d43cb7e461927ebbf2465fc2fb4
parent792f7758e3cdbe72b82a5014d74e87e9c1ee0c3b
This fixes PR 17110 which shows that the SH section relocation code can be called
for input BFDs as well as output BFDs.

PR ld/17110
* elf32-sh.c (sh_elf_osec_to_segment): Do not look for output
segments in input bfds.
bfd/ChangeLog
bfd/elf32-sh.c