mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 06:17:47 +08:00
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.
This commit is contained in:
@ -102,7 +102,7 @@ extern "C"
|
||||
#define SHF_NFP_INIT 0x80000000
|
||||
#define SHF_NFP_INIT2 0x40000000
|
||||
#define SHF_NFP_SCS(shf) (((shf) >> 32) & 0xFF)
|
||||
#define SHF_NFP_SET_SCS(v) (((BFD_HOST_U_64_BIT)((v) & 0xFF)) << 32)
|
||||
#define SHF_NFP_SET_SCS(v) ((uint64_t) ((v) & 0xFF) << 32)
|
||||
|
||||
/* NFP Section Info
|
||||
For PROGBITS and NOBITS sections:
|
||||
|
Reference in New Issue
Block a user