* libelf.h (struct elf_backend_data): New field, maxpagesize.

(struct elf_obj_tdata): New field, phdr.
This commit is contained in:
Ken Raeburn
1993-07-26 18:44:03 +00:00
parent 109a640b46
commit d79ab07c4a

View File

@ -81,6 +81,7 @@ struct elf_backend_data
Elf_Internal_Rela *)); Elf_Internal_Rela *));
void (*elf_info_to_howto_rel) PARAMS ((bfd *, arelent *, void (*elf_info_to_howto_rel) PARAMS ((bfd *, arelent *,
Elf_Internal_Rel *)); Elf_Internal_Rel *));
bfd_vma maxpagesize;
void (*write_relocs) PARAMS ((bfd *, asection *, PTR)); void (*write_relocs) PARAMS ((bfd *, asection *, PTR));
/* @@ I really don't think this should be here. I don't know what /* @@ I really don't think this should be here. I don't know what
@ -130,6 +131,7 @@ struct elf_obj_tdata
{ {
Elf_Internal_Ehdr elf_header[1]; /* Actual data, but ref like ptr */ Elf_Internal_Ehdr elf_header[1]; /* Actual data, but ref like ptr */
Elf_Internal_Shdr **elf_sect_ptr; Elf_Internal_Shdr **elf_sect_ptr;
Elf_Internal_Phdr *phdr;
struct strtab *strtab_ptr; struct strtab *strtab_ptr;
int num_locals; int num_locals;
int num_globals; int num_globals;