diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-04-04 16:11:02 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-04-04 16:11:02 +0000 |
commit | 96982dc91f54359a358c2083d22cead64f175f52 (patch) | |
tree | 27aed2476d419daf18c4e60d3ddd157089823fc3 /bfd/elf-bfd.h | |
parent | 418a8fcaa23a74ef6b2c39e914eb9d0c533dddde (diff) | |
download | gdb-96982dc91f54359a358c2083d22cead64f175f52.zip gdb-96982dc91f54359a358c2083d22cead64f175f52.tar.gz gdb-96982dc91f54359a358c2083d22cead64f175f52.tar.bz2 |
2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_section_data): Use (sec) instead of sec.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r-- | bfd/elf-bfd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h index 9d3871b..e8cd8e0 100644 --- a/bfd/elf-bfd.h +++ b/bfd/elf-bfd.h @@ -1115,7 +1115,7 @@ struct bfd_elf_section_data void *sec_info; }; -#define elf_section_data(sec) ((struct bfd_elf_section_data*)sec->used_by_bfd) +#define elf_section_data(sec) ((struct bfd_elf_section_data*)(sec)->used_by_bfd) #define elf_linked_to_section(sec) (elf_section_data(sec)->linked_to) #define elf_section_type(sec) (elf_section_data(sec)->this_hdr.sh_type) #define elf_section_flags(sec) (elf_section_data(sec)->this_hdr.sh_flags) |