diff options
author | Alan Modra <amodra@gmail.com> | 2022-05-27 12:37:21 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-05-27 22:08:59 +0930 |
commit | 0e3c1eebb22e0ade28b619fb41f42d66ed6fb145 (patch) | |
tree | 8a886ac9438d7e9268807c07585eef11a146714d /bfd/mach-o.h | |
parent | aa9b5dbc0f30855aa23034cbd78a1f2025cb9fa9 (diff) | |
download | fsf-binutils-gdb-0e3c1eebb22e0ade28b619fb41f42d66ed6fb145.zip fsf-binutils-gdb-0e3c1eebb22e0ade28b619fb41f42d66ed6fb145.tar.gz fsf-binutils-gdb-0e3c1eebb22e0ade28b619fb41f42d66ed6fb145.tar.bz2 |
Remove use of bfd_uint64_t and similar
Requiring C99 means that uses of bfd_uint64_t can be replaced with
uint64_t, and similarly for bfd_int64_t, BFD_HOST_U_64_BIT, and
BFD_HOST_64_BIT. This patch does that, removes #ifdef BFD_HOST_*
and tidies a few places that print 64-bit values.
Diffstat (limited to 'bfd/mach-o.h')
-rw-r--r-- | bfd/mach-o.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/mach-o.h b/bfd/mach-o.h index 5a068d8..f7418ad 100644 --- a/bfd/mach-o.h +++ b/bfd/mach-o.h @@ -545,8 +545,8 @@ bfd_mach_o_encryption_info_command; typedef struct bfd_mach_o_main_command { - bfd_uint64_t entryoff; - bfd_uint64_t stacksize; + uint64_t entryoff; + uint64_t stacksize; } bfd_mach_o_main_command; @@ -563,8 +563,8 @@ bfd_mach_o_source_version_command; typedef struct bfd_mach_o_note_command { char data_owner[16]; - bfd_uint64_t offset; - bfd_uint64_t size; + uint64_t offset; + uint64_t size; } bfd_mach_o_note_command; |