| /freebsd-10-stable/sys/xen/interface/ |
| D | libelf.h | 111 #define elf_32bit(elf) (ELFCLASS32 == (elf)->class) argument 112 #define elf_64bit(elf) (ELFCLASS64 == (elf)->class) argument 113 #define elf_msb(elf) (ELFDATA2MSB == (elf)->data) argument 114 #define elf_lsb(elf) (ELFDATA2LSB == (elf)->data) argument 115 #define elf_swap(elf) (NATIVE_ELFDATA != (elf)->data) argument 117 #define elf_uval(elf, str, elem) \ argument 118 ((ELFCLASS64 == (elf)->class) \ 119 ? elf_access_unsigned((elf), (str), \ 122 : elf_access_unsigned((elf), (str), \ 126 #define elf_sval(elf, str, elem) \ argument [all …]
|
| /freebsd-10-stable/contrib/binutils/gas/ |
| D | Makefile.in | 355 elf \ 381 elf) valid=yes ; \ 413 elf) valid=yes ;; \ 597 config/obj-elf.c \ 605 config/obj-elf.h \ 774 $(INCDIR)/opcode/alpha.h dw2gencfi.h $(INCDIR)/elf/dwarf2.h \ 777 DEPTC_alpha_elf = $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \ 778 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 781 $(INCDIR)/coff/ecoff.h $(INCDIR)/opcode/alpha.h $(INCDIR)/elf/alpha.h \ 782 $(INCDIR)/elf/reloc-macros.h dwarf2dbg.h dw2gencfi.h \ [all …]
|
| /freebsd-10-stable/contrib/binutils/bfd/ |
| D | Makefile.am | 241 elf.lo \ 272 elf-m10200.lo \ 273 elf-m10300.lo \ 300 elf-attrs.lo \ 301 elf-strtab.lo \ 302 elf-eh-frame.lo \ 303 elf-vxworks.lo \ 420 elf.c \ 451 elf-m10200.c \ 452 elf-m10300.c \ [all …]
|
| D | Makefile.in | 490 elf.lo \ 521 elf-m10200.lo \ 522 elf-m10300.lo \ 549 elf-attrs.lo \ 550 elf-strtab.lo \ 551 elf-eh-frame.lo \ 552 elf-vxworks.lo \ 669 elf.c \ 700 elf-m10200.c \ 701 elf-m10300.c \ [all …]
|
| D | configure.in | 572 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo" 607 bfd_elf32_am33lin_vec) tb="$tb elf32-am33lin.lo elf32.lo $elf" ;; 608 bfd_elf32_avr_vec) tb="$tb elf32-avr.lo elf32.lo $elf" ;; 609 bfd_elf32_bfin_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;; 610 bfd_elf32_bfinfdpic_vec) tb="$tb elf32-bfin.lo elf32.lo $elf" ;; 611 bfd_elf32_big_generic_vec) tb="$tb elf32-gen.lo elf32.lo $elf" ;; 612 bfd_elf32_bigarc_vec) tb="$tb elf32-arc.lo elf32.lo $elf" ;; 613 bfd_elf32_bigarm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; 615 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; 617 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;; [all …]
|
| D | elf64-ppc.c | 2395 struct elf_obj_tdata elf; member 2604 struct bfd_elf_section_data elf; member 3317 struct elf_link_hash_entry elf; member 3369 struct elf_link_hash_table elf; member 3604 if (!_bfd_elf_link_hash_table_init (&htab->elf, abfd, link_hash_newfunc, in ppc64_elf_link_hash_table_create() 3625 htab->elf.init_got_refcount.refcount = 0; in ppc64_elf_link_hash_table_create() 3626 htab->elf.init_got_refcount.glist = NULL; in ppc64_elf_link_hash_table_create() 3627 htab->elf.init_plt_refcount.refcount = 0; in ppc64_elf_link_hash_table_create() 3628 htab->elf.init_plt_refcount.glist = NULL; in ppc64_elf_link_hash_table_create() 3629 htab->elf.init_got_offset.offset = 0; in ppc64_elf_link_hash_table_create() [all …]
|
| D | config.bfd | 166 alpha*-*-linux-* | alpha*-*-elf*) 184 ia64*-*-netbsd* | ia64*-*-linux-* | ia64*-*-elf*) 208 arc-*-elf*) 268 armeb-*-elf | arm*b-*-linux-*) 288 arm-*-elf | arm-*-freebsd* | arm*-*-linux-* | arm*-*-conix* | \ 302 arm9e-*-elf) 312 thumb-*-elf) 326 strongarm-*-elf) 335 xscale-*-elf) 374 cr16-*-elf*) [all …]
|
| D | elf32-ppc.c | 1721 struct elf_obj_tdata elf; member 2369 struct elf_link_hash_entry elf; member 2403 struct elf_link_hash_table elf; member 2509 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, in ppc_elf_link_hash_table_create() 2517 ret->elf.init_plt_refcount.refcount = 0; in ppc_elf_link_hash_table_create() 2518 ret->elf.init_plt_refcount.glist = NULL; in ppc_elf_link_hash_table_create() 2519 ret->elf.init_plt_offset.offset = 0; in ppc_elf_link_hash_table_create() 2520 ret->elf.init_plt_offset.glist = NULL; in ppc_elf_link_hash_table_create() 2534 return &ret->elf.root; in ppc_elf_link_hash_table_create() 2692 && eind->elf.root.type != bfd_link_hash_indirect in ppc_elf_copy_indirect_symbol() [all …]
|
| /freebsd-10-stable/bin/sh/tests/builtins/ |
| D | command7.0 | 12 check '"$(PATH=/libexec command -V ld-elf.so.1)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"' 13 check '"$(PATH=/libexec command -V ld-elf.so.1; :)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"' 14 check '"$(PATH=/libexec command -pv ld-elf.so.1)" = ""' 15 check '"$(PATH=/libexec command -pv ld-elf.so.1; :)" = ""' 19 check '"$(command -V ld-elf.so.1)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"' 20 check '"$(command -V ld-elf.so.1; :)" = "ld-elf.so.1 is /libexec/ld-elf.so.1"' 21 check '"$(command -pv ld-elf.so.1)" = ""' 22 check '"$(command -pv ld-elf.so.1; :)" = ""'
|
| D | type2.0 | 12 check 'PATH=/libexec type ld-elf.so.1 >/dev/null' 17 check 'type ld-elf.so.1 >/dev/null' 21 check 'type ld-elf.so.1 >/dev/null' 24 check '! PATH=/bin type ld-elf.so.1 2>/dev/null'
|
| /freebsd-10-stable/cddl/contrib/opensolaris/tools/ctf/cvt/ |
| D | input.c | 50 built_source_types(Elf *elf, char const *file) in built_source_types() argument 55 if ((si = symit_new(elf, file)) == NULL) in built_source_types() 87 read_file(Elf *elf, char *file, char *label, read_cb_f *func, void *arg, in read_file() argument 96 if ((ctfscnidx = findelfsecidx(elf, file, ".SUNW_ctf")) < 0) { in read_file() 98 (built_source_types(elf, file) & SOURCE_C)) { in read_file() 105 if ((ctfscn = elf_getscn(elf, ctfscnidx)) == NULL || in read_file() 110 if ((si = symit_new(elf, file)) == NULL) { in read_file() 130 read_archive(int fd, Elf *elf, char *file, char *label, read_cb_f *func, in read_archive() argument 138 while ((melf = elf_begin(fd, cmd, elf)) != NULL) { in read_archive() 188 Elf *elf; in read_ctf_common() local [all …]
|
| D | ctfconvert.c | 92 Elf *elf; in file_read() local 100 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) { in file_read() 106 source_types = built_source_types(elf, filename); in file_read() 115 if ((rc = readers[i](td, elf, filename)) == 0) in file_read() 126 if (findelfsecidx(elf, filename, ".debug") >= 0) { in file_read() 142 (void) elf_end(elf); in file_read()
|
| D | util.c | 64 findelfsecidx(Elf *elf, const char *file, const char *tofind) in findelfsecidx() argument 70 if (gelf_getehdr(elf, &ehdr) == NULL) in findelfsecidx() 73 while ((scn = elf_nextscn(elf, scn)) != NULL) { in findelfsecidx() 82 if ((name = elf_strptr(elf, ehdr.e_shstrndx, in findelfsecidx() 97 elf_ptrsz(Elf *elf) in elf_ptrsz() argument 101 if (gelf_getehdr(elf, &ehdr) == NULL) { in elf_ptrsz()
|
| D | stabs.c | 177 stabs_read(tdata_t *td, Elf *elf, char *file) in stabs_read() argument 193 if (!((stabidx = findelfsecidx(elf, file, ".stab.excl")) >= 0 && in stabs_read() 194 (stabstridx = findelfsecidx(elf, file, ".stab.exclstr")) >= 0) && in stabs_read() 195 !((stabidx = findelfsecidx(elf, file, ".stab")) >= 0 && in stabs_read() 196 (stabstridx = findelfsecidx(elf, file, ".stabstr")) >= 0)) { in stabs_read() 208 scn = elf_getscn(elf, stabidx); in stabs_read() 250 if ((str = elf_strptr(elf, stabstridx, in stabs_read() 378 cvt_fixups(td, elf_ptrsz(elf)); in stabs_read()
|
| /freebsd-10-stable/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/ |
| D | ObjectFileELF.h | 25 elf::elf_word n_namesz; 26 elf::elf_word n_descsz; 27 elf::elf_word n_type; 179 const elf::ELFProgramHeader * 194 typedef std::vector<elf::ELFProgramHeader> ProgramHeaderColl; 198 struct ELFSectionHeaderInfo : public elf::ELFSectionHeader 206 typedef std::vector<elf::ELFDynamic> DynamicSymbolColl; 214 elf::ELFHeader m_header; 263 const elf::ELFHeader &header, 313 DumpELFHeader(lldb_private::Stream *s, const elf::ELFHeader& header); [all …]
|
| /freebsd-10-stable/contrib/binutils/ld/ |
| D | configure.tgt | 44 arc-*-elf*) targ_emul=arcelf 64 armeb-*-elf) targ_emul=armelfb ;; 65 arm-*-elf | arm*-*-eabi*) 69 arm9e-*-elf) targ_emul=armelf ;; 98 strongarm-*-elf) targ_emul=armelf ;; 101 thumb-*-elf) targ_emul=armelf ;; 107 xscale-*-elf) targ_emul=armelf 112 bfin-*-elf) targ_emul=elf32bfin; 124 cr16-*-elf*) targ_emul=elf32cr16 ;; 125 cr16c-*-elf*) targ_emul=elf32cr16c [all …]
|
| D | Makefile.am | 435 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h elf-hints-local.h 498 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em 499 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultemp… 519 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 523 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 527 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 532 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 536 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 541 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 546 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} [all …]
|
| D | Makefile.in | 685 ldwrite.h mri.h deffile.h pe-dll.h pep-dll.h elf-hints-local.h 703 ELF_DEPS = $(srcdir)/emultempl/elf32.em $(srcdir)/emultempl/elf-generic.em 704 ELF_GEN_DEPS = $(srcdir)/emultempl/generic.em $(srcdir)/emultempl/elf-generic.em $(srcdir)/emultemp… 1348 $(ELF_GEN_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 1352 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 1356 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 1361 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 1365 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 1370 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} 1375 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} [all …]
|
| /freebsd-10-stable/gnu/usr.bin/binutils/ld/ |
| D | Makefile.sparc64 | 8 scripttempl/elf.sc genscripts.sh stringify.sed 17 EMS+= elf${BITS}_sparc 19 LDSCRIPTS+= elf${BITS}_sparc.${ext} 20 ldscripts/elf${BITS}_sparc.${ext}: eelf${BITS}_sparc.c 25 eelf${BITS}_sparc.c: emulparams/elf${BITS}_sparc.sh emultempl/elf32.em \ 26 scripttempl/elf.sc genscripts.sh stringify.sed 30 elf${BITS}_sparc "" no elf${BITS}_sparc ${TARGET_TUPLE}
|
| /freebsd-10-stable/lib/libelf/ |
| D | Makefile | 3 LIB= elf 77 MAN= elf.3 \ 152 gelf_checksum.3 elf${E}_checksum.3 \ 153 gelf_fsize.3 elf${E}_fsize.3 \ 154 gelf_getehdr.3 elf${E}_getehdr.3 \ 155 gelf_getphdr.3 elf${E}_getphdr.3 \ 156 gelf_getshdr.3 elf${E}_getshdr.3 \ 157 gelf_newehdr.3 elf${E}_newehdr.3 \ 158 gelf_newphdr.3 elf${E}_newphdr.3 \ 159 gelf_xlatetof.3 elf${E}_xlatetof.3 \ [all …]
|
| D | libelf.c | 51 _libelf_get_elf_class(Elf *elf) in _libelf_get_elf_class() argument 53 return elf->e_class; in _libelf_get_elf_class() 57 _libelf_set_elf_class(Elf *elf, int c) in _libelf_set_elf_class() argument 59 elf->e_class = c; in _libelf_set_elf_class()
|
| /freebsd-10-stable/contrib/binutils/binutils/ |
| D | Makefile.am | 491 $(INCDIR)/symcat.h bucomm.h $(INCDIR)/elf/dwarf2.h \ 536 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \ 537 $(INCDIR)/elf/external.h $(INCDIR)/bfdlink.h $(INCDIR)/elf/common.h \ 545 budbg.h $(INCDIR)/filenames.h $(INCDIR)/fnmatch.h $(BFDDIR)/elf-bfd.h \ 546 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \ 576 $(INCDIR)/elf/common.h $(INCDIR)/elf/external.h $(INCDIR)/elf/internal.h \ 577 $(INCDIR)/elf/h8.h $(INCDIR)/elf/reloc-macros.h $(INCDIR)/elf/alpha.h \ 578 $(INCDIR)/elf/arc.h $(INCDIR)/elf/arm.h $(INCDIR)/elf/avr.h \ 579 $(INCDIR)/elf/bfin.h $(INCDIR)/elf/cris.h $(INCDIR)/elf/crx.h \ 580 $(INCDIR)/elf/d10v.h $(INCDIR)/elf/d30v.h $(INCDIR)/elf/dlx.h \ [all …]
|
| /freebsd-10-stable/usr.bin/ldd/ |
| D | ldd.c | 281 Elf_Ehdr elf; in is_executable() member 350 if ((size_t)n >= sizeof(hdr.elf) && IS_ELF(hdr.elf) && in is_executable() 351 hdr.elf.e_ident[EI_CLASS] == ELF_TARG_CLASS) { in is_executable() 359 if (lseek(fd, hdr.elf.e_phoff, SEEK_SET) == -1) { in is_executable() 363 for (i = 0; i < hdr.elf.e_phnum; i++) { in is_executable() 364 if (read(fd, &phdr, hdr.elf.e_phentsize) in is_executable() 379 if (hdr.elf.e_type == ET_DYN) { in is_executable() 380 switch (hdr.elf.e_ident[EI_OSABI]) { in is_executable() 386 if (hdr.elf.e_machine != EM_ARM) in is_executable() 388 if (((hdr.elf.e_flags & 0xff000000) >> 24) < 4) in is_executable()
|
| /freebsd-10-stable/contrib/gcc/ |
| D | config.gcc | 63 # tm_file="${tm_file} dbxelf.h elfos.h svr4.h ${cpu_type.h}/elf.h" 67 # - specializing target headers like ${cpu_type.h}/elf.h 440 tmake_file="t-slibgcc-elf-ver t-freebsd" 475 tmake_file="t-slibgcc-elf-ver t-linux" 498 tmake_file="t-slibgcc-elf-ver t-linux t-gnu" 501 … tm_file="${cpu_type}/${cpu_type}.h alpha/elf.h alpha/linux.h alpha/linux-elf.h gnu.h ${tm_file}" 511 tmake_file="t-slibgcc-elf-ver t-libc-ok t-netbsd t-libgcc-pic" 578 *-*-elf) 606 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h" 615 tm_file="${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h" [all …]
|
| /freebsd-10-stable/contrib/libexecinfo/ |
| D | symtab.c | 86 Elf *elf; in symtab_create() local 95 elf = elf_begin(fd, ELF_C_READ, NULL); in symtab_create() 96 if (elf == NULL) { in symtab_create() 103 elf_end(elf); in symtab_create() 107 while ((scn = elf_nextscn(elf, scn)) != NULL) { in symtab_create() 141 elf_strptr(elf, shdr.sh_link, sym.st_name)); in symtab_create() 153 elf_end(elf); in symtab_create() 158 elf_end(elf); in symtab_create()
|