Home | History | Annotate | Download | only in libiberty

Lines Matching refs:Shdr

257    elf/external.h: Ehdr, Shdr, etc.  FIELD is the name of a field in
289 elf/external.h: Ehdr, Shdr, etc. FIELD is the name of a field in
434 unsigned char shdr[sizeof (Elf64_External_Shdr)];
438 if (!simple_object_internal_read (descriptor, offset + eor->shoff, shdr,
449 eor->shnum = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
450 shdr, sh_size, Elf_Addr);
454 eor->shstrndx = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
455 shdr, sh_link, Elf_Word);
531 name_size = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
533 shstroff = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
547 unsigned char *shdr;
553 shdr = shdrs + (i - 1) * shdr_size;
554 sh_name = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
555 shdr, sh_name, Elf_Word);
565 offset = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
566 shdr, sh_offset, Elf_Addr);
567 length = ELF_FETCH_FIELD (type_functions, ei_class, Shdr,
568 shdr, sh_size, Elf_Addr);
763 /* Write out an ELF shdr. */
788 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_name, Elf_Word, sh_name);
789 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_type, Elf_Word, sh_type);
790 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_flags, Elf_Addr, sh_flags);
791 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_offset, Elf_Addr, sh_offset);
792 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_size, Elf_Addr, sh_size);
793 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_link, Elf_Word, sh_link);
795 ELF_SET_FIELD (fns, cl, Shdr, buf, sh_addralign, Elf_Addr, sh_addralign);
804 initial dummy Shdr
806 .shstrtab Shdr
850 /* Add initial dummy Shdr and .shstrtab. */