2005-04-04 H.J. Lu <hongjiu.lu@intel.com>

* elf-bfd.h (elf_section_data): Use (sec) instead of sec.
This commit is contained in:
H.J. Lu 2005-04-04 16:11:02 +00:00
parent 418a8fcaa2
commit 96982dc91f
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_section_data): Use (sec) instead of sec.
2005-04-03 Fred Fish <fnf@specifixinc.com>
* dwarf2.c (struct dwarf2_debug): Add dwarf_ranges_buffer and

View File

@ -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)