aboutsummaryrefslogtreecommitdiff
path: root/ld/plugin.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-07-16 13:30:41 +0930
committerAlan Modra <amodra@gmail.com>2016-07-16 19:06:25 +0930
commitaac502f7d7899d96477fbd83f0038235af641def (patch)
tree2ef15b12e508d778bfb75b2a406ec24a9387ee3c /ld/plugin.c
parent4212b42d795628dcc36bcffc7cf16175f7698305 (diff)
downloadgdb-aac502f7d7899d96477fbd83f0038235af641def.zip
gdb-aac502f7d7899d96477fbd83f0038235af641def.tar.gz
gdb-aac502f7d7899d96477fbd83f0038235af641def.tar.bz2
Don't include libbfd.h outside of bfd, part 5
A rewrite of the code in bucomm.c supporting objdump -i, to use bfd_iterate_over_targets rather than accessing bfd_target_vector directly. Calculates widest arch string rather than using an out of date constant. Stashes info from the first display of valid target/arch combinations for use in second tabular display. binutils/ * bucomm.c: Don't include libbfd.h. (endian_string, display_target_list): Delete forward declaration. (display_info_table, display_target_tables): Likewise. (LONGEST_ARCH): Delete. (struct display_target): New. (do_display_target): New function. (display_target_list, display_info): Rewrite functions. (display_info_table): Delete. (do_info_size, do_info_header, do_info_row): New functions.
Diffstat (limited to 'ld/plugin.c')
0 files changed, 0 insertions, 0 deletions