1 A patch from bug #752071 to fix build already sent to upstream.
6 #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
8 -#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE)
9 -#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
10 -#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
11 +#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE))
12 +#define bfd_set_section_alignment(bfd, ptr, val) ((ptr)->alignment_power = (val))
13 +#define bfd_set_section_userdata(bfd, ptr, val) ((ptr)->userdata = (val))
14 /* Find the address one past the end of SEC. */
15 #define bfd_get_section_limit(bfd, sec) \
16 (((bfd)->direction != write_direction && (sec)->rawsize != 0 \
19 #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
21 -#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
22 +#define bfd_set_cacheable(abfd,bool) ((abfd)->cacheable = bool)
24 extern bfd_boolean bfd_cache_close
30 #define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
32 -#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE), TRUE)
33 -#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),TRUE)
34 -#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),TRUE)
35 +#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma = (val)), ((ptr)->user_set_vma = TRUE))
36 +#define bfd_set_section_alignment(bfd, ptr, val) ((ptr)->alignment_power = (val))
37 +#define bfd_set_section_userdata(bfd, ptr, val) ((ptr)->userdata = (val))
38 /* Find the address one past the end of SEC. */
39 #define bfd_get_section_limit(bfd, sec) \
40 (((bfd)->direction != write_direction && (sec)->rawsize != 0 \
43 #define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
45 -#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE)
46 +#define bfd_set_cacheable(abfd,bool) ((abfd)->cacheable = bool)
48 extern bfd_boolean bfd_cache_close