diff options
author | Alan Modra <amodra@gmail.com> | 2016-07-16 13:30:41 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-07-16 19:06:25 +0930 |
commit | aac502f7d7899d96477fbd83f0038235af641def (patch) | |
tree | 2ef15b12e508d778bfb75b2a406ec24a9387ee3c /ld/plugin.c | |
parent | 4212b42d795628dcc36bcffc7cf16175f7698305 (diff) | |
download | gdb-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