diff options
author | Alan Modra <amodra@gmail.com> | 2023-04-26 21:06:29 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-04-28 15:19:44 +0930 |
commit | 6b258591644cf1db97113cc00f5373135d8755ba (patch) | |
tree | 80c107625320f55c67e546155b1629b526bf3a24 /bfd | |
parent | 5a8e7e1332c35d4d5bed67adccd9d66f5cf62c4e (diff) | |
download | gdb-6b258591644cf1db97113cc00f5373135d8755ba.zip gdb-6b258591644cf1db97113cc00f5373135d8755ba.tar.gz gdb-6b258591644cf1db97113cc00f5373135d8755ba.tar.bz2 |
Make bfd_byte an int8_t, flagword a uint32_t
* bfd-in.h (bfd_byte): Typedef as int8_t.
(flagword): Typedef as uint32_t.
(bfd_vma, bfd_signed_vma, bfd_size_type, symvalue): Use stdint
types in !BFD64 case.
* bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/bfd-in.h | 12 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 12 |
2 files changed, 12 insertions, 12 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index c3f92c1..eb6ee9c 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -115,10 +115,10 @@ typedef uint64_t symvalue; #else /* not BFD64 */ -typedef unsigned long bfd_vma; -typedef long bfd_signed_vma; -typedef unsigned long symvalue; -typedef unsigned long bfd_size_type; +typedef uint32_t bfd_vma; +typedef int32_t bfd_signed_vma; +typedef uint32_t bfd_size_type; +typedef uint32_t symvalue; #endif /* not BFD64 */ @@ -135,8 +135,8 @@ extern void bfd_fprintf_vma (bfd *, void *, bfd_vma); #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) -typedef unsigned int flagword; /* 32 bits of flags */ -typedef unsigned char bfd_byte; +typedef uint32_t flagword; /* 32 bits of flags */ +typedef uint8_t bfd_byte; /* File formats. */ diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index a04e97e..fcfd226 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -122,10 +122,10 @@ typedef uint64_t symvalue; #else /* not BFD64 */ -typedef unsigned long bfd_vma; -typedef long bfd_signed_vma; -typedef unsigned long symvalue; -typedef unsigned long bfd_size_type; +typedef uint32_t bfd_vma; +typedef int32_t bfd_signed_vma; +typedef uint32_t bfd_size_type; +typedef uint32_t symvalue; #endif /* not BFD64 */ @@ -142,8 +142,8 @@ extern void bfd_fprintf_vma (bfd *, void *, bfd_vma); #define bfd_printf_vma(abfd,x) bfd_fprintf_vma (abfd,stdout,x) -typedef unsigned int flagword; /* 32 bits of flags */ -typedef unsigned char bfd_byte; +typedef uint32_t flagword; /* 32 bits of flags */ +typedef uint8_t bfd_byte; /* File formats. */ |