Home
last modified time | relevance | path

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

12345678910>>...19

/freebsd-12.1/contrib/binutils/gas/
H A DMakefile.in355 elf \
778 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
791 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
809 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
816 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
822 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
831 $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
865 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1044 $(BFDDIR)/elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1052 $(INCDIR)/elf/dwarf2.h $(srcdir)/config/obj-elf.h $(BFDDIR)/elf-bfd.h \
[all …]
/freebsd-12.1/contrib/binutils/bfd/
H A DMakefile.am1008 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1303 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1308 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1318 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1322 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1335 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1343 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1347 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1351 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1355 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
[all …]
H A DMakefile.in1587 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1882 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1887 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1897 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1901 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1914 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1922 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1926 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1930 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
1934 elf-bfd.h $(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h \
[all …]
H A Dconfigure.in572 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo dwarf1.lo"
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" ;;
638 bfd_elf32_i386_vec) tb="$tb elf32-i386.lo elf-vxworks.lo elf32.lo $elf" ;;
649 tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
652 bfd_elf32_littlearm_vec) tb="$tb elf32-arm.lo elf32.lo elf-vxworks.lo $elf" ;;
669 bfd_elf32_mn10200_vec) tb="$tb elf-m10200.lo elf32.lo $elf" ;;
670 bfd_elf32_mn10300_vec) tb="$tb elf-m10300.lo elf32.lo $elf" ;;
681 bfd_elf32_powerpc_vec) tb="$tb elf32-ppc.lo elf-vxworks.lo elf32.lo $elf" ;;
[all …]
H A Delf64-ppc.c4026 to->elf.plt.plist = from->elf.plt.plist; in move_plt_plist()
4087 edir->elf.ref_dynamic |= eind->elf.ref_dynamic; in ppc64_elf_copy_indirect_symbol()
4088 edir->elf.ref_regular |= eind->elf.ref_regular; in ppc64_elf_copy_indirect_symbol()
4090 edir->elf.needs_plt |= eind->elf.needs_plt; in ppc64_elf_copy_indirect_symbol()
4124 edir->elf.got.glist = eind->elf.got.glist; in ppc64_elf_copy_indirect_symbol()
4136 edir->elf.dynindx = eind->elf.dynindx; in ppc64_elf_copy_indirect_symbol()
5739 fh->elf.root.type = fh->oh->elf.root.type; in func_desc_adjust()
5810 fdh->elf.ref_regular |= fh->elf.ref_regular; in func_desc_adjust()
5811 fdh->elf.ref_dynamic |= fh->elf.ref_dynamic; in func_desc_adjust()
5813 fdh->elf.non_got_ref |= fh->elf.non_got_ref; in func_desc_adjust()
[all …]
H A Dconfig.bfd208 arc-*-elf*)
294 arm9e-*-elf)
382 crx-*-elf*)
391 dlx-*-elf*)
405 fr30-*-elf)
409 frv-*-elf)
859 mep-*-elf)
1006 mt-*-elf)
1274 shl*-*-elf* | sh[1234]l*-*-elf* | sh3el*-*-elf* | shl*-*-kaos*)
1334 sparclite-*-elf* | sparc86x-*-elf*)
[all …]
H A Delf32-ppc.c2582 return &ret->elf.root; in ppc_elf_link_hash_table_create()
2742 edir->elf.non_got_ref |= eind->elf.non_got_ref; in ppc_elf_copy_indirect_symbol()
2744 edir->elf.ref_dynamic |= eind->elf.ref_dynamic; in ppc_elf_copy_indirect_symbol()
2745 edir->elf.ref_regular |= eind->elf.ref_regular; in ppc_elf_copy_indirect_symbol()
2746 edir->elf.ref_regular_nonweak |= eind->elf.ref_regular_nonweak; in ppc_elf_copy_indirect_symbol()
2747 edir->elf.needs_plt |= eind->elf.needs_plt; in ppc_elf_copy_indirect_symbol()
2755 edir->elf.got.refcount += eind->elf.got.refcount; in ppc_elf_copy_indirect_symbol()
2783 edir->elf.plt.plist = eind->elf.plt.plist; in ppc_elf_copy_indirect_symbol()
2792 edir->elf.dynindx = eind->elf.dynindx; in ppc_elf_copy_indirect_symbol()
2793 edir->elf.dynstr_index = eind->elf.dynstr_index; in ppc_elf_copy_indirect_symbol()
[all …]
/freebsd-12.1/bin/sh/tests/builtins/
H A Dcommand7.012 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; :)" = ""'
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dinput.c50 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()
110 if ((si = symit_new(elf, file)) == NULL) { in read_file()
188 Elf *elf; in read_ctf_common() local
201 switch (elf_kind(elf)) { in read_ctf_common()
208 found = read_file(elf, file, label, in read_ctf_common()
216 (void) elf_end(elf); in read_ctf_common()
282 Elf *elf; in count_files() local
304 switch (elf_kind(elf)) { in count_files()
319 (void) elf_end(elf); in count_files()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ObjectFile/ELF/
H A DObjectFileELF.h26 elf::elf_word n_namesz;
27 elf::elf_word n_descsz;
28 elf::elf_word n_type;
150 llvm::ArrayRef<elf::ELFProgramHeader> ProgramHeaders();
174 struct ELFSectionHeaderInfo : public elf::ELFSectionHeader {
182 typedef std::vector<elf::ELFDynamic> DynamicSymbolColl;
194 elf::ELFHeader m_header;
309 const elf::ELFHeader *hdr,
337 const elf::ELFHeader &header);
343 elf::elf_half e_type);
[all …]
/freebsd-12.1/contrib/binutils/ld/
H A Dconfigure.tgt44 arc-*-elf*) targ_emul=arcelf
65 arm-*-elf | arm*-*-eabi*)
69 arm9e-*-elf) targ_emul=armelf ;;
107 xscale-*-elf) targ_emul=armelf
136 crx-*-elf*) targ_emul=elf32crx
143 dlx-*-elf*) targ_emul=elf32_dlx
153 h8300-*-elf* | h8300-*-rtems*)
527 shle*-*-elf* | sh[1234]*le*-*-elf | shle*-*-kaos*)
531 sh-*-elf* | sh[1234]*-*-elf | sh-*-rtems* | sh-*-kaos*)
547 sh64-*-elf*) targ_emul=shelf
[all …]
H A DMakefile.am523 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
527 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
532 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
690 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
1530 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1536 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1542 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1596 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1602 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
1608 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
[all …]
H A DMakefile.in1352 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1356 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1361 $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
1519 $(BFDDIR)/elf-bfd.h $(BFDDIR)/libbfd.h $(INCDIR)/elf/xtensa.h \
2362 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2368 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2374 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2428 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2434 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
2440 $(srcdir)/emultempl/sh64elf.em $(INCDIR)/elf/sh.h $(BFDDIR)/elf-bfd.h \
[all …]
/freebsd-12.1/contrib/elftoolchain/size/
H A Dsize.c277 data = elf_rawfile(elf, &max_size); in handle_core_note()
589 Elf *elf, *elf1; in handle_elf() local
604 arhdr = elf_getarhdr(elf); in handle_elf()
606 (void) elf_end(elf); in handle_elf()
611 if (elf_kind(elf) != ELF_K_ELF || in handle_elf()
613 elf_cmd = elf_next(elf); in handle_elf()
614 (void) elf_end(elf); in handle_elf()
622 (void) elf_end(elf); in handle_elf()
639 sysv_calc(elf, &elfhdr, &shdr); in handle_elf()
653 elf_cmd = elf_next(elf); in handle_elf()
[all …]
/freebsd-12.1/contrib/elftoolchain/libelf/
H A DMakefile5 LIB= elf
7 SRCS= elf.c \
74 MAN= elf.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 …]
/freebsd-12.1/gnu/usr.bin/binutils/ld/
H A DMakefile.sparc648 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-12.1/lib/libelf/
H A DMakefile13 LIB= elf
15 SRCS= elf.c \
93 MAN= elf.3 \
172 gelf_fsize.3 elf${E}_fsize.3 \
173 gelf_getehdr.3 elf${E}_getehdr.3 \
174 gelf_getphdr.3 elf${E}_getphdr.3 \
175 gelf_getshdr.3 elf${E}_getshdr.3 \
176 gelf_newehdr.3 elf${E}_newehdr.3 \
177 gelf_newphdr.3 elf${E}_newphdr.3 \
178 gelf_xlatetof.3 elf${E}_xlatetof.3 \
[all …]
/freebsd-12.1/contrib/elftoolchain/libdwarf/
H A Ddwarf_init.c33 dwarf_elf_init(Elf *elf, int mode, Dwarf_Handler errhand, Dwarf_Ptr errarg, in dwarf_elf_init() argument
39 if (elf == NULL || ret_dbg == NULL) { in dwarf_elf_init()
52 if (_dwarf_elf_init(dbg, elf, error) != DW_DLE_NONE) { in dwarf_elf_init()
73 dwarf_get_elf(Dwarf_Debug dbg, Elf **elf, Dwarf_Error *error) in dwarf_get_elf() argument
77 if (dbg == NULL || elf == NULL) { in dwarf_get_elf()
83 *elf = e->eo_elf; in dwarf_get_elf()
93 Elf *elf; in dwarf_init() local
111 if ((elf = elf_begin(fd, ELF_C_READ, NULL)) == NULL) { in dwarf_init()
119 if (_dwarf_elf_init(dbg, elf, error) != DW_DLE_NONE) { in dwarf_init()
H A Dlibdwarf_elf_init.c143 if (gelf_getehdr(elf, &eh) == NULL) { in _dwarf_elf_relocate()
150 while ((scn = elf_nextscn(elf, scn)) != NULL) { in _dwarf_elf_relocate()
200 _dwarf_elf_init(Dwarf_Debug dbg, Elf *elf, Dwarf_Error *error) in _dwarf_elf_init() argument
224 e->eo_elf = elf; in _dwarf_elf_init()
237 if (gelf_getehdr(elf, &e->eo_ehdr) == NULL) { in _dwarf_elf_init()
245 if (!elf_getshstrndx(elf, &e->eo_strndx)) { in _dwarf_elf_init()
256 while ((scn = elf_nextscn(elf, scn)) != NULL) { in _dwarf_elf_init()
263 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init()
309 while ((scn = elf_nextscn(elf, scn)) != NULL && j < n) { in _dwarf_elf_init()
318 if ((name = elf_strptr(elf, e->eo_strndx, sh.sh_name)) == in _dwarf_elf_init()
[all …]
/freebsd-12.1/contrib/elftoolchain/brandelf/
H A Dbrandelf.c94 Elf *elf; in main() local
159 elf = NULL; in main()
168 if ((elf = elf_begin(fd, (change || force) ? ELF_C_RDWR : in main()
175 if ((kind = elf_kind(elf)) != ELF_K_ELF) { in main()
185 if (gelf_getehdr(elf, &ehdr) == NULL) { in main()
206 if (elf_flagelf(elf, ELF_C_SET, ELF_F_LAYOUT) == 0) { in main()
217 if (gelf_update_ehdr(elf, &ehdr) == 0) { in main()
227 if (elf_update(elf, ELF_C_WRITE) == -1) { in main()
235 if (elf) in main()
236 elf_end(elf); in main()
/freebsd-12.1/contrib/binutils/binutils/
H A DMakefile.am578 $(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 \
581 $(INCDIR)/elf/fr30.h $(INCDIR)/elf/frv.h $(INCDIR)/elf/hppa.h \
582 $(INCDIR)/elf/i386.h $(INCDIR)/elf/i370.h $(INCDIR)/elf/i860.h \
583 $(INCDIR)/elf/i960.h $(INCDIR)/elf/ia64.h $(INCDIR)/elf/ip2k.h \
586 $(INCDIR)/elf/mep.h $(INCDIR)/elf/mips.h $(INCDIR)/elf/mmix.h \
588 $(INCDIR)/elf/msp430.h $(INCDIR)/elf/or32.h $(INCDIR)/elf/pj.h \
589 $(INCDIR)/elf/ppc.h $(INCDIR)/elf/ppc64.h $(INCDIR)/elf/s390.h \
590 $(INCDIR)/elf/score.h $(INCDIR)/elf/sh.h $(INCDIR)/elf/sparc.h \
[all …]
/freebsd-12.1/contrib/gcc/
H A Dconfig.gcc765 arm*-*-elf | ep9312-*-elf)
1464 m68020-*-elf* | m68k-*-elf*)
1582 mipsisa32-*-elf* | mipsisa32el-*-elf*)
1588 mipsisa32r2-*-elf* | mipsisa32r2el-*-elf*)
1594 mipsisa64-*-elf* | mipsisa64el-*-elf*)
1615 mips-*-elf* | mipsel-*-elf*)
1620 mips64-*-elf* | mips64el-*-elf*)
1627 mips64vr-*-elf* | mips64vrel-*-elf*)
1632 mips64orion-*-elf* | mips64orionel-*-elf*)
1655 mipstx39-*-elf* | mipstx39el-*-elf*)
[all …]
/freebsd-12.1/usr.bin/ldd/
H A Dldd.c290 Elf_Ehdr elf; in is_executable() member
361 if ((size_t)n >= sizeof(hdr.elf) && IS_ELF(hdr.elf) && in is_executable()
362 hdr.elf.e_ident[EI_CLASS] == ELF_TARG_CLASS) { in is_executable()
370 if (lseek(fd, hdr.elf.e_phoff, SEEK_SET) == -1) { in is_executable()
374 for (i = 0; i < hdr.elf.e_phnum; i++) { in is_executable()
375 if (read(fd, &phdr, hdr.elf.e_phentsize) in is_executable()
390 if (hdr.elf.e_type == ET_DYN) { in is_executable()
391 switch (hdr.elf.e_ident[EI_OSABI]) { in is_executable()
397 if (hdr.elf.e_machine != EM_ARM) in is_executable()
399 if (EF_ARM_EABI_VERSION(hdr.elf.e_flags) < in is_executable()
/freebsd-12.1/contrib/libexecinfo/
H A Dsymtab.c86 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()
/freebsd-12.1/contrib/elftoolchain/strings/
H A Dstrings.c247 Elf *elf; in handle_elf() local
257 elf = elf_begin(fd, ELF_C_READ, NULL); in handle_elf()
258 if (elf_kind(elf) != ELF_K_ELF) { in handle_elf()
259 (void) elf_end(elf); in handle_elf()
263 if (gelf_getehdr(elf, &elfhdr) == NULL) { in handle_elf()
264 (void) elf_end(elf); in handle_elf()
270 (void) elf_end(elf); in handle_elf()
274 while ((scn = elf_nextscn(elf, scn)) != NULL) { in handle_elf()
284 (void) elf_end(elf); in handle_elf()

12345678910>>...19