Add support for checking whether all PowerPC ELF modules either use -mrelocatable...
[deliverable/binutils-gdb.git] / bfd / libelf.h
index 01d159909f6f4802724d9db5973aa2e90af2fc31..93cfa5e5945ac0917c6e7e75d649de5000864132 100644 (file)
@@ -496,6 +496,9 @@ struct elf_obj_tdata
      wasting the memory just for the infrequently called
      find_nearest_line.  */
   struct mips_elf_find_line *find_line_info;
+
+  /* Used by PowerPC to determine if the e_flags field has been intiialized */
+  boolean ppc_flags_init;
 };
 
 #define elf_tdata(bfd)         ((bfd) -> tdata.elf_obj_data)
@@ -515,6 +518,7 @@ struct elf_obj_tdata
 #define elf_local_got_offsets(bfd) (elf_tdata(bfd) -> local_got_offsets)
 #define elf_dt_needed_name(bfd)        (elf_tdata(bfd) -> dt_needed_name)
 #define elf_bad_symtab(bfd)    (elf_tdata(bfd) -> bad_symtab)
+#define elf_ppc_flags_init(bfd)        (elf_tdata(bfd) -> ppc_flags_init)
 \f
 extern char * elf_string_from_elf_section PARAMS ((bfd *, unsigned, unsigned));
 extern char * elf_get_str_section PARAMS ((bfd *, unsigned));
This page took 0.024616 seconds and 4 git commands to generate.