diff --git a/include/ChangeLog b/include/ChangeLog index 053591a95..9e6fb590d 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2009-09-09 Martin Thuresson + + * bfdlink.h (struct bfd_link_hash_common_entry): Move to top + level. + 2009-09-04 Jie Zhang * opcode/bfin.h (PseudoDbg_Assert): Add bits_grp and mask_grp. diff --git a/include/bfdlink.h b/include/bfdlink.h index 9544f11dd..61cfc7aed 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -75,6 +75,12 @@ enum bfd_link_common_skip_ar_aymbols bfd_link_common_skip_all }; +struct bfd_link_hash_common_entry + { + unsigned int alignment_power; /* Alignment. */ + asection *section; /* Symbol section. */ + }; + /* The linking routines use a hash table which uses this structure for its elements. */ @@ -143,11 +149,7 @@ struct bfd_link_hash_entry directly because we don't want to increase the size of the union; this structure is a major space user in the linker. */ - struct bfd_link_hash_common_entry - { - unsigned int alignment_power; /* Alignment. */ - asection *section; /* Symbol section. */ - } *p; + struct bfd_link_hash_common_entry *p; bfd_size_type size; /* Common symbol size. */ } c; } u; diff --git a/include/elf/sparc.h b/include/elf/sparc.h index 22b447709..68d6285ee 100644 --- a/include/elf/sparc.h +++ b/include/elf/sparc.h @@ -45,8 +45,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. /* Section indices. */ -#define SHN_BEFORE SHN_LORESERVE /* used with SHF_ORDERED */ -#define SHN_AFTER (SHN_LORESERVE + 1) /* used with SHF_ORDERED */ +#define SHN_BEFORE SHN_LORESERVE /* Used with SHF_ORDERED and... */ +#define SHN_AFTER (SHN_LORESERVE + 1) /* SHF_LINK_ORDER section flags. */ /* Section flags. */