diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-06-22 03:06:29 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-06-22 03:06:29 +0000 |
commit | 268f94aca3f9a46f0469dd521fac0bfb3e66fe75 (patch) | |
tree | 53f22078a8c52a05fb443c9456deeeee78279fdf /bfd/libelf.h | |
parent | c48ff89fe1eab6e6ff137892873374443cda818c (diff) | |
download | gdb-268f94aca3f9a46f0469dd521fac0bfb3e66fe75.zip gdb-268f94aca3f9a46f0469dd521fac0bfb3e66fe75.tar.gz gdb-268f94aca3f9a46f0469dd521fac0bfb3e66fe75.tar.bz2 |
Use new size-independent versions of elf internal data structures.
Diffstat (limited to 'bfd/libelf.h')
-rw-r--r-- | bfd/libelf.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/bfd/libelf.h b/bfd/libelf.h index 1f5d6a4..79a220a 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -51,8 +51,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ typedef struct { asymbol symbol; - ElfNAME (Internal_Sym) internal_elf_sym; - ElfNAME (External_Sym) native_elf_sym; + Elf_Internal_Sym internal_elf_sym; /* these are used for the generation of .stabX symbols (?) */ short desc; unsigned char type; @@ -63,6 +62,7 @@ typedef struct PTR any; } tc_data; + ElfNAME (External_Sym) native_elf_sym; } elfNAME (symbol_type); @@ -71,23 +71,22 @@ elfNAME (symbol_type); BFD sections to produce ELF sections. */ typedef struct { - ElfNAME (Internal_Ehdr) * i_ehdr; - ElfNAME (Internal_Shdr) * i_shdrp; + Elf_Internal_Ehdr * i_ehdr; + Elf_Internal_Shdr * i_shdrp; struct strtab *shstrtab; int symtab_section; } - elf_sect_thunk; -struct elfNAME(backend_data) +struct elf_backend_data { int use_rela_p; int elf_64_p; enum bfd_architecture arch; void (*elf_info_to_howto) PARAMS ((bfd *, arelent *, - ElfNAME (Internal_Rela) *)); + Elf_Internal_Rela *)); void (*elf_info_to_howto_rel) PARAMS ((bfd *, arelent *, - ElfNAME (Internal_Rel) *)); + Elf_Internal_Rel *)); /* @@ I really don't think this should be here. I don't know what global_sym is supposed to be used for, but I doubt it's something @@ -138,7 +137,7 @@ extern void bfd_elf32_no_info_to_howto PARAMS ((bfd *, arelent *, Elf32_Internal_Rela *)); #define get_elf_backend_data(abfd) \ - ((struct elfNAME (backend_data) *) (abfd)->xvec->backend_data) + ((struct elf_backend_data *) (abfd)->xvec->backend_data) struct strtab { |