aboutsummaryrefslogtreecommitdiff
path: root/bfd/libelf.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-03-09 17:20:20 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-03-09 17:20:20 +0000
commitd5fb1e2a71f0f86929e7bfb1959cafd9f3c4575a (patch)
tree517cfb60084ab59a5da67e992f485216e9cb75db /bfd/libelf.h
parenteb1e8d350d12800ea0cf0793aee449cfcc74b7b5 (diff)
downloadgdb-d5fb1e2a71f0f86929e7bfb1959cafd9f3c4575a.zip
gdb-d5fb1e2a71f0f86929e7bfb1959cafd9f3c4575a.tar.gz
gdb-d5fb1e2a71f0f86929e7bfb1959cafd9f3c4575a.tar.bz2
Add support for checking whether all PowerPC ELF modules either use -mrelocatable or do not.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r--bfd/libelf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h
index 01d1599..93cfa5e 100644
--- a/bfd/libelf.h
+++ b/bfd/libelf.h
@@ -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)
extern char * elf_string_from_elf_section PARAMS ((bfd *, unsigned, unsigned));
extern char * elf_get_str_section PARAMS ((bfd *, unsigned));