diff options
author | Alan Modra <amodra@gmail.com> | 2016-07-16 13:28:30 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-07-16 13:28:30 +0930 |
commit | 16412c3bc4b00ecbf87251bfd2c92584615412bb (patch) | |
tree | 46ee50cb043301870d0f42832bab695b93973086 /bfd/targets.c | |
parent | 00dad9a491b3bb0069b5a1471b8f32052e071965 (diff) | |
download | gdb-16412c3bc4b00ecbf87251bfd2c92584615412bb.zip gdb-16412c3bc4b00ecbf87251bfd2c92584615412bb.tar.gz gdb-16412c3bc4b00ecbf87251bfd2c92584615412bb.tar.bz2 |
Don't include libbfd.h outside of bfd, part 3
Fix od-macho.c to use a leb128 function from binutils/dwarf.c rather
than one from bfd/libbfd.c.
binutils/
* elfcomm.h (HOST_WIDEST_INT): Move to..
* sysdep.h: ..here.
* od-macho.c: Don't include libbfd.h. Do include dwarf.h
(dump_dyld_info_rebase): Use read_leb128 rather than
read_unsigned_leb128.
(dump_dyld_info_bind, dump_dyld_info_export_1): Likewise.
(dump_segment_split_info): Likewise.
(dump_dyld_info): Rename vars to avoid shadowing dwarf.h enums.
(dump_load_command): Likewise.
Diffstat (limited to 'bfd/targets.c')
0 files changed, 0 insertions, 0 deletions