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 /binutils/ChangeLog | |
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 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f7cac1e..8cf3188 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,5 +1,17 @@ 2016-07-16 Alan Modra <amodra@gmail.com> + * 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. + +2016-07-16 Alan Modra <amodra@gmail.com> + * elfcomm.h (HOST_WIDEST_INT): Move to.. * sysdep.h: ..here. * od-macho.c: Don't include libbfd.h. Do include dwarf.h |