diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 6 | ||||
-rw-r--r-- | include/bfdlink.h | 20 | ||||
-rw-r--r-- | include/elf/ppc.h | 4 |
3 files changed, 30 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index bf2c020..2a62d3f 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,9 @@ +2011-07-11 Catherine Moore <clm@codesourcery.com> + + * bfdlink.h (flag_type): New enumeration. + (flag_info_list): New structure. + (flag_info): New structure. + 2011-07-09 H.J. Lu <hongjiu.lu@intel.com> PR ld/12942 diff --git a/include/bfdlink.h b/include/bfdlink.h index 193b855..0e583be 100644 --- a/include/bfdlink.h +++ b/include/bfdlink.h @@ -224,6 +224,26 @@ enum report_method RM_GENERATE_ERROR }; +typedef enum {with_flags, without_flags} flag_type; + +/* A section flag list. */ +struct flag_info_list +{ + flag_type with; + const char *name; + bfd_boolean valid; + struct flag_info_list *next; +}; + +/* Section flag info. */ +struct flag_info +{ + flagword only_with_flags; + flagword not_with_flags; + struct flag_info_list *flag_list; + bfd_boolean flags_initialized; +}; + struct bfd_elf_dynamic_list; /* This structure holds all the information needed to communicate diff --git a/include/elf/ppc.h b/include/elf/ppc.h index 688cb9b..8e27855 100644 --- a/include/elf/ppc.h +++ b/include/elf/ppc.h @@ -166,6 +166,10 @@ END_RELOC_NUMBERS (R_PPC_max) #define EF_PPC_RELOCATABLE 0x00010000 /* PowerPC -mrelocatable flag. */ #define EF_PPC_RELOCATABLE_LIB 0x00008000 /* PowerPC -mrelocatable-lib flag. */ +/* This bit is reserved by BFD for processor specific stuff. Name + it properly so that we can easily stay consistent elsewhere. */ +#define SEC_PPC_VLE SEC_TIC54X_BLOCK + /* Processor specific section headers, sh_type field. */ #define SHT_ORDERED SHT_HIPROC /* Link editor is to sort the \ |