2005-04-04 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 4 Apr 2005 16:11:02 +0000 (16:11 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 4 Apr 2005 16:11:02 +0000 (16:11 +0000)
* elf-bfd.h (elf_section_data): Use (sec) instead of sec.

bfd/ChangeLog
bfd/elf-bfd.h

index 69ecc2ee98731e1af7afc09fffef7ee8a6acf8fa..15cd069e096d22403fe4aebfe4c9de7474140bb4 100644 (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
index 9d3871b04360ff2a7f5d0e7a23a64ead1535a21e..e8cd8e0fa2672c019149f5828cb0ffaf2026ce26 100644 (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)
This page took 0.031035 seconds and 4 git commands to generate.