diff options
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r-- | bfd/bfd-in.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index bdc4ed0..2c333c9 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -89,8 +89,6 @@ typedef struct _bfd bfd; #ifndef TRUE_FALSE_ALREADY_DEFINED typedef enum bfd_boolean {false, true} boolean; #define BFD_TRUE_FALSE -#define bfd_false false -#define bfd_true true #else typedef enum bfd_boolean {bfd_false, bfd_true} boolean; #endif @@ -299,9 +297,9 @@ typedef struct sec *sec_ptr; #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0) -#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma= (val)), ((ptr)->user_set_vma = bfd_true), bfd_true) -#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),bfd_true) -#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),bfd_true) +#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma= (val)), ((ptr)->user_set_vma = true), true) +#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),true) +#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),true) typedef struct stat stat_type; @@ -506,7 +504,7 @@ typedef struct _bfd_link_stack_heap bfd_link_stack_heap; #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char) -#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = (bool)), bfd_true) +#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = (bool)), true) /* Byte swapping routines. */ |