Don't include libbfd.h outside of bfd, part 4
authorAlan Modra <amodra@gmail.com>
Sat, 16 Jul 2016 03:59:35 +0000 (13:29 +0930)
committerAlan Modra <amodra@gmail.com>
Sat, 16 Jul 2016 03:59:35 +0000 (13:29 +0930)
commit4212b42d795628dcc36bcffc7cf16175f7698305
treeccc4026c32f6e7b701444b1309a0fa126d04e1bf
parent16412c3bc4b00ecbf87251bfd2c92584615412bb
Don't include libbfd.h outside of bfd, part 4

Not much to see here, just renaming a function.

bfd/
* targets.c (bfd_seach_for_target): Rename to..
(bfd_iterate_over_targets): ..this.  Rewrite doc.
* bfd-in2.h: Regenerate.
ld/
* ldlang.c (open_output): Replace bfd_search_for_target with
bfd_iterate_over_targets.  Localize vars.
bfd/ChangeLog
bfd/bfd-in2.h
bfd/targets.c
ld/ChangeLog
ld/ldlang.c