Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 25 of 661) sorted by relevance

12345678910>>...27

/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A Dconfigure.tgt95 alpha-*-linux-*) fmt=elf em=linux ;;
96 alpha-*-netbsd*) fmt=elf em=nbsd ;;
97 alpha-*-openbsd*) fmt=elf em=obsd ;;
99 arc-*-elf*) fmt=elf ;;
103 arm-*-rtems* | thumb-*-rtems*) fmt=elf ;;
104 arm-*-elf | thumb-*-elf) fmt=elf ;;
105 arm-*-eabi*) fmt=elf em=armeabi ;;
106 arm-*-symbianelf*) fmt=elf em=symbian ;;
107 arm-*-kaos*) fmt=elf ;;
108 arm-*-conix*) fmt=elf ;;
[all …]
H A DMakefile.in333 elf \
359 elf) valid=yes ;; \
388 elf) valid=yes ;; \
564 config/obj-elf.c \
573 config/obj-elf.h \
739 $(INCDIR)/elf/dwarf2.h $(INCDIR)/safe-ctype.h $(srcdir)/config/atof-vax.c
745 $(INCDIR)/elf/dwarf2.h $(INCDIR)/safe-ctype.h $(srcdir)/config/atof-vax.c
747 DEPTC_alpha_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
748 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
749 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-alpha.h \
[all …]
/openbsd-src/gnu/usr.bin/binutils/gas/
H A DMakefile.in332 elf \
364 elf) valid=yes ;; \
397 elf) valid=yes ;; \
576 config/obj-elf.c \
588 config/obj-elf.h \
765 DEPTC_a29k_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
766 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
767 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(srcdir)/config/tc-a29k.h \
782 DEPTC_alpha_elf = $(INCDIR)/symcat.h $(srcdir)/config/obj-elf.h \
783 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
[all …]
H A Dconfigure.in196 alpha*-*-linux-gnu*) fmt=elf em=linux ;;
197 alpha*-*-netbsd*) fmt=elf em=nbsd ;;
198 alpha*-*-openbsd*) fmt=elf em=obsd ;;
201 mn10300-*-linux*) fmt=elf bfd_gas=yes em=linux ;;
203 arc-*-elf*) fmt=elf ;;
207 arm-*-rtems* | thumb-*-rtems*) fmt=elf ;;
208 arm-*-elf | thumb-*-elf) fmt=elf ;;
209 arm-*-kaos*) fmt=elf ;;
210 arm*-*-conix*) fmt=elf ;;
212 arm*-*-linux-gnu*) fmt=elf em=linux ;;
[all …]
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A DMakefile.am210 elf.lo \
238 elf-m10200.lo \
239 elf-m10300.lo \
259 elf-strtab.lo \
260 elf-eh-frame.lo \
376 elf.c \
403 elf-m10200.c \
404 elf-m10300.c \
424 elf-strtab.c \
425 elf-eh-frame.c \
[all …]
H A DMakefile.in340 elf.lo \
368 elf-m10200.lo \
369 elf-m10300.lo \
389 elf-strtab.lo \
390 elf-eh-frame.lo \
507 elf.c \
534 elf-m10200.c \
535 elf-m10300.c \
555 elf-strtab.c \
556 elf-eh-frame.c \
[all …]
H A Dconfigure.in567 elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
598 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
599 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
600 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
601 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
602 bfd_elf32_bigarm_oabi_vec) tb="$tb elfarm-oabi.lo elf32.lo $elf" ;;
603 bfd_elf32_bigarm_vec) tb="$tb elfarm-nabi.lo elf32.lo $elf" ;;
604 bfd_elf32_bigmips_vec) tb="$tb elf32-mips.lo elfxx-mips.lo elf32.lo $elf ecofflink.lo" ;;
605 bfd_elf32_cris_vec) tb="$tb elf32-cris.lo elf32.lo $elf" ;;
606 bfd_elf32_d10v_vec) tb="$tb elf32-d10v.lo elf32.lo $elf" ;;
[all …]
H A Delf32-hppa.c187 struct elf_link_hash_entry elf; member
219 struct elf_link_hash_table elf; member
370 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, hppa_link_hash_newfunc)) in elf32_hppa_link_hash_table_create()
399 return &ret->elf.root; in elf32_hppa_link_hash_table_create()
427 len = 8 + 1 + strlen (hash->elf.root.root.string) + 1 + 8 + 1; in hppa_stub_name()
433 hash->elf.root.root.string, in hppa_stub_name()
569 && hash->elf.plt.offset != (bfd_vma) -1 in hppa_type_of_stub()
570 && hash->elf.dynindx != -1 in hppa_type_of_stub()
573 || !(hash->elf.elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) in hppa_type_of_stub()
574 || hash->elf.root.type == bfd_link_hash_defweak)) in hppa_type_of_stub()
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A DMakefile.am236 elf.lo \
266 elf-m10200.lo \
267 elf-m10300.lo \
291 elf-strtab.lo \
292 elf-eh-frame.lo \
293 elf-vxworks.lo \
408 elf.c \
438 elf-m10200.c \
439 elf-m10300.c \
463 elf-strtab.c \
[all …]
H A DMakefile.in473 elf.lo \
503 elf-m10200.lo \
504 elf-m10300.lo \
528 elf-strtab.lo \
529 elf-eh-frame.lo \
530 elf-vxworks.lo \
645 elf.c \
675 elf-m10200.c \
676 elf-m10300.c \
700 elf-strtab.c \
[all …]
H A Dconfigure.in558 elf="elf.lo elflink.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
588 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;;
589 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;;
590 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
591 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;;
592 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;;
593 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;;
594 bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
596 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
598 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
[all …]
H A Delf64-ppc.c2433 struct elf_obj_tdata elf; member
2591 struct bfd_elf_section_data elf; member
3295 struct elf_link_hash_entry elf; member
3342 struct elf_link_hash_table elf; member
3553 if (!_bfd_elf_link_hash_table_init (&htab->elf, abfd, link_hash_newfunc, in ppc64_elf_link_hash_table_create()
3574 htab->elf.init_got_refcount.refcount = 0; in ppc64_elf_link_hash_table_create()
3575 htab->elf.init_got_refcount.glist = NULL; in ppc64_elf_link_hash_table_create()
3576 htab->elf.init_plt_refcount.refcount = 0; in ppc64_elf_link_hash_table_create()
3577 htab->elf.init_plt_refcount.glist = NULL; in ppc64_elf_link_hash_table_create()
3578 htab->elf.init_got_offset.offset = 0; in ppc64_elf_link_hash_table_create()
[all …]
/openbsd-src/sys/arch/sparc64/stand/ofwboot/
H A Delf64_exec.c78 elf64_exec(int fd, Elf_Ehdr *elf, u_int64_t *entryp, void **ssymp, void **esymp){ in elf64_exec() argument
94 for (i = 0; i < elf->e_phnum; i++) { in elf64_exec()
96 size = lseek(fd, (size_t)(elf->e_phoff + sizeof(phdr) * i), in elf64_exec()
191 size = sizeof(Elf_Ehdr) + (elf->e_shnum * sizeof(Elf_Shdr)); in elf64_exec()
192 shp = addr = alloc(elf->e_shnum * sizeof(Elf_Shdr)); in elf64_exec()
193 (void)lseek(fd, (off_t)elf->e_shoff, SEEK_SET); in elf64_exec()
194 if (read(fd, addr, (size_t)(elf->e_shnum * sizeof(Elf_Shdr))) != in elf64_exec()
195 elf->e_shnum * sizeof(Elf_Shdr)) { in elf64_exec()
200 size_t shstrsz = shp[elf->e_shstrndx].sh_size; in elf64_exec()
202 if (lseek(fd, (off_t)shp[elf->e_shstrndx].sh_offset, SEEK_SET) == -1) { in elf64_exec()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.h26 elf::elf_word n_namesz = 0;
27 elf::elf_word n_descsz = 0;
28 elf::elf_word n_type = 0;
150 llvm::ArrayRef<elf::ELFProgramHeader> ProgramHeaders();
151 lldb_private::DataExtractor GetSegmentData(const elf::ELFProgramHeader &H);
176 typedef std::vector<elf::ELFProgramHeader> ProgramHeaderColl;
178 struct ELFSectionHeaderInfo : public elf::ELFSectionHeader {
186 typedef std::vector<elf::ELFDynamic> DynamicSymbolColl;
198 elf::ELFHeader m_header;
242 const elf::ELFHeader &header);
[all …]
/openbsd-src/sys/ddb/
H A Ddb_elf.c62 Elf_Ehdr *elf; in db_elf_sym_init() local
95 elf = (Elf_Ehdr *)symtab; in db_elf_sym_init()
96 if (memcmp(elf->e_ident, ELFMAG, SELFMAG) != 0 || in db_elf_sym_init()
97 elf->e_ident[EI_CLASS] != ELFCLASS) { in db_elf_sym_init()
102 if (elf->e_machine != ELF_TARG_MACH) { in db_elf_sym_init()
114 shp = (Elf_Shdr *)((char *)symtab + elf->e_shoff); in db_elf_sym_init()
115 shstrtab = (char *)symtab + shp[elf->e_shstrndx].sh_offset; in db_elf_sym_init()
116 for (i = 0; i < elf->e_shnum; i++) { in db_elf_sym_init()
191 Elf_Ehdr *elf = STAB_TO_EHDR(stab); in db_elf_find_strtab() local
192 Elf_Shdr *shp = STAB_TO_SHDR(stab, elf); in db_elf_find_strtab()
214 Elf_Ehdr *elf = STAB_TO_EHDR(stab); db_elf_find_section() local
[all...]
/openbsd-src/sys/lib/libsa/
H A Dloadfile_elf.c73 ELFNAME(exec)(int fd, Elf_Ehdr *elf, uint64_t *marks, int flags) in ELFNAME()
85 sz = elf->e_phnum * sizeof(Elf_Phdr); in ELFNAME()
88 if (lseek(fd, (off_t)elf->e_phoff, SEEK_SET) == -1) { in ELFNAME()
99 for (first = 1, i = 0; i < elf->e_phnum; i++) { in ELFNAME()
190 if (lseek(fd, (off_t)elf->e_shoff, SEEK_SET) == -1) { in ELFNAME()
194 sz = elf->e_shnum * sizeof(Elf_Shdr); in ELFNAME()
206 size_t shstrsz = shp[elf->e_shstrndx].sh_size; in ELFNAME()
208 if (lseek(fd, (off_t)shp[elf->e_shstrndx].sh_offset, SEEK_SET) == -1) { in ELFNAME()
228 for (havesyms = i = 0; i < elf->e_shnum; i++) in ELFNAME()
232 for (first = 1, i = 0; i < elf->e_shnum; i++) { in ELFNAME()
[all …]
/openbsd-src/sys/dev/
H A Dksyms.c76 Elf_Ehdr *elf; in ksymsattach() local
80 elf = (Elf_Ehdr *)symtab; in ksymsattach()
81 if (memcmp(elf->e_ident, ELFMAG, SELFMAG) != 0 || in ksymsattach()
82 elf->e_ident[EI_CLASS] != ELFCLASS || in ksymsattach()
83 elf->e_machine != ELF_TARG_MACH) in ksymsattach()
86 shdr = (Elf_Shdr *)&symtab[elf->e_shoff]; in ksymsattach()
87 for (i = 0; i < elf->e_shnum; i++) { in ksymsattach()
96 if (i == elf->e_shnum) in ksymsattach()
/openbsd-src/usr.sbin/vmd/
H A Dloadfile_elf.c88 #include <elf.h>
669 * elf: ELF header of the kernel in elf64_exec()
680 elf64_exec(gzFile fp, Elf64_Ehdr *elf, u_long *marks, int flags) in elf64_exec()
691 sz = elf->e_phnum * sizeof(Elf64_Phdr); in elf64_exec()
694 if (gzseek(fp, (off_t)elf->e_phoff, SEEK_SET) == -1) { in elf64_exec()
704 for (i = 0; i < elf->e_phnum; i++) { in elf64_exec()
782 if (gzseek(fp, (off_t)elf->e_shoff, SEEK_SET) == -1) { in elf64_exec()
786 sz = elf->e_shnum * sizeof(Elf64_Shdr); in elf64_exec()
797 size_t shstrsz = shp[elf->e_shstrndx].sh_size; in elf64_exec()
799 if (gzseek(fp, (off_t)shp[elf in elf64_exec()
659 elf64_exec(gzFile fp,Elf64_Ehdr * elf,u_long * marks,int flags) elf64_exec() argument
877 elf32_exec(gzFile fp,Elf32_Ehdr * elf,u_long * marks,int flags) elf32_exec() argument
[all...]
/openbsd-src/gnu/usr.bin/binutils-2.17/binutils/
H A DMakefile.am441 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h bucomm.h \
481 $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
482 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
488 budbg.h $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h \
489 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
494 dwarf.h $(INCDIR)/elf/dwarf2.h budemang.h $(INCDIR)/safe-ctype.h \
511 $(INCDIR)/symcat.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/common.h \
512 $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/alpha.h \
513 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
514 $(INCDIR)/elf/avr.h $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h \
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/ld/
H A Dconfigure.tgt36 arc-*-elf*) targ_emul=arcelf
59 armeb-*-elf) targ_emul=armelfb ;;
60 arm-*-elf | arm*-*-eabi*)
64 arm9e-*-elf) targ_emul=armelf ;;
74 strongarm-*-elf) targ_emul=armelf ;;
77 thumb-*-elf) targ_emul=armelf ;;
83 xscale-*-elf) targ_emul=armelf
88 bfin-*-elf) targ_emul=elf32bfin; targ_extra_emuls="elf32bfinfd" ;;
90 cr16c-*-elf*) targ_emul=elf32cr16c
101 crx-*-elf*) targ_emul=elf32crx
[all …]
H A DMakefile.am440 ldwrite.h mri.h deffile.h pe-dll.h elf-hints-local.h
518 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
522 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
526 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
531 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
535 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
540 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
545 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
551 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
556 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
[all …]
/openbsd-src/usr.sbin/mkuboot/
H A Dcopy_elf.c53 Elf_Ehdr ehdr, elf; in ELFNAME() local
66 elf = ehdr; in ELFNAME()
68 if (lseek(ifd, (off_t)elfoff2h(elf.e_shoff), SEEK_SET) == -1) in ELFNAME()
71 sz = letoh16(elf.e_shnum) * sizeof(Elf_Shdr); in ELFNAME()
104 for (i = 0; i < letoh16(elf.e_shnum); i++) { in ELFNAME()
247 for (havesyms = i = 0; i < letoh16(elf.e_shnum); i++) in ELFNAME()
254 elf.e_phoff = 0; in ELFNAME()
255 elf.e_shoff = h2elfoff(sizeof(Elf_Ehdr)); in ELFNAME()
256 elf.e_phentsize = 0; in ELFNAME()
257 elf.e_phnum = 0; in ELFNAME()
[all …]
/openbsd-src/gnu/usr.bin/binutils/ld/
H A DMakefile.am487 $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
491 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
495 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
498 $(srcdir)/emultempl/armelf_oabi.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
503 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
507 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
512 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
517 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
523 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
528 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
[all …]
H A Dconfigure.tgt26 arc-*-elf*) targ_emul=arcelf ;;
40 dlx-*-elf*) targ_emul=elf32_dlx ;;
42 sparc64-*-elf*) targ_emul=elf64_sparc ;;
44 sparclite*-*-elf) targ_emul=elf32_sparc ;;
49 sparc*-*-elf) targ_emul=elf32_sparc ;;
81 sparc*-*-netbsd*elf*) targ_emul=elf32_sparc ;;
105 i860-stardent-sysv4* | i860-stardent-elf*)
113 i960-*-elf*) targ_emul=elf32_i960 ;;
114 ia64-*-elf*) targ_emul=elf64_ia64 ;;
121 m32r*le-*-elf*) targ_emul=m32rlelf ;;
[all …]
/openbsd-src/gnu/usr.bin/binutils/binutils/
H A DMakefile.am437 $(INCDIR)/libiberty.h $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h \
438 $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h
465 $(INCDIR)/symcat.h $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h \
466 $(INCDIR)/elf/internal.h $(INCDIR)/elf/dwarf2.h $(INCDIR)/elf/alpha.h \
467 $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h \
468 $(INCDIR)/elf/avr.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/d10v.h \
469 $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h $(INCDIR)/elf/fr30.h \
470 $(INCDIR)/elf/frv.h $(INCDIR)/elf/h8.h $(INCDIR)/elf/hppa.h \
471 $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \
472 $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h \
[all …]

12345678910>>...27