Home
last modified time | relevance | path

Searched refs:elf_errmsg (Results 1 – 25 of 40) sorted by relevance

12

/freebsd/contrib/elftoolchain/elfcopy/
H A Dbinary.c59 elf_errmsg(-1)); in create_binary()
73 warnx("gelf_getshdr failed: %s", elf_errmsg(-1)); in create_binary()
88 warnx("elf_nextscn failed: %s", elf_errmsg(elferr)); in create_binary()
99 warnx("gelf_getshdr failed: %s", elf_errmsg(-1)); in create_binary()
111 warnx("elf_rawdata failed: %s", elf_errmsg(-1)); in create_binary()
128 warnx("elf_nextscn failed: %s", elf_errmsg(elferr)); in create_binary()
174 elf_errmsg(-1)); in create_elf_from_binary()
177 elf_errmsg(-1)); in create_elf_from_binary()
203 errx(EXIT_FAILURE, "gelf_fsize() failed: %s", elf_errmsg(-1)); in create_elf_from_binary()
210 elf_errmsg(-1)); in create_elf_from_binary()
[all …]
H A Dascii.c92 elf_errmsg(-1)); in create_srec()
100 elf_errmsg(-1)); in create_srec()
122 elf_errmsg(-1)); in create_srec()
135 warnx("elf_nextscn failed: %s", elf_errmsg(elferr)); in create_srec()
163 warnx("gelf_getshdr failed: %s", elf_errmsg(-1)); in create_srec()
179 warnx("elf_getdata failed: %s", elf_errmsg(-1)); in create_srec()
188 warnx("elf_nextscn failed: %s", elf_errmsg(elferr)); in create_srec()
193 elf_errmsg(-1)); in create_srec()
220 elf_errmsg(-1)); in create_elf_from_srec()
223 elf_errmsg(-1)); in create_elf_from_srec()
[all …]
H A Dsections.c120 elf_errmsg(-1)); in is_remove_reloc_sec()
126 elf_errmsg(-1)); in is_remove_reloc_sec()
130 elf_errmsg(-1)); in is_remove_reloc_sec()
139 elf_errmsg(elferr)); in is_remove_reloc_sec()
367 elf_errmsg(-1)); in create_scn()
375 elf_errmsg(-1)); in create_scn()
378 elf_errmsg(-1)); in create_scn()
459 elf_errmsg(-1)); in create_scn()
462 elf_errmsg(-1)); in create_scn()
466 elf_errmsg(-1)); in create_scn()
[all …]
H A Dsymbols.c281 elf_errmsg(-1)); in mark_reloc_symbols()
287 elf_errmsg(-1)); in mark_reloc_symbols()
298 elf_errmsg(-1)); in mark_reloc_symbols()
316 elf_errmsg(-1)); in mark_reloc_symbols()
322 elf_errmsg(-1)); in mark_reloc_symbols()
334 elf_errmsg(elferr)); in mark_reloc_symbols()
339 elf_errmsg(elferr)); in mark_reloc_symbols()
357 elf_errmsg(-1)); in mark_section_group_symbols()
363 elf_errmsg(-1)); in mark_section_group_symbols()
370 elf_errmsg(-1)); in mark_section_group_symbols()
[all …]
H A Dpe.c67 elf_errmsg(-1)); in create_pe()
71 elf_errmsg(-1)); in create_pe()
75 elf_errmsg(-1)); in create_pe()
123 warnx("gelf_getshdr() failed: %s", elf_errmsg(-1)); in create_pe()
129 warnx("elf_strptr() failed: %s", elf_errmsg(-1)); in create_pe()
141 warnx("elf_getdata() failed: %s", elf_errmsg(-1)); in create_pe()
224 warnx("elf_nextscn() failed: %s", elf_errmsg(elferr)); in create_pe()
H A Darchive.c75 elf_errmsg(-1)); in process_ar_obj()
92 elf_errmsg(-1)); in process_ar_obj()
262 warnx("elf_getshstrndx failed: %s", elf_errmsg(-1)); in extract_arsym()
270 warnx("elf_getshdr failed: %s", elf_errmsg(-1)); in extract_arsym()
275 warnx("elf_strptr failed: %s", elf_errmsg(-1)); in extract_arsym()
285 warnx("elf_nextscn failed: %s", elf_errmsg(elferr)); in extract_arsym()
294 warnx("elf_getshdr failed: %s", elf_errmsg(-1)); in extract_arsym()
308 elf_errmsg(-1)); in extract_arsym()
324 elf_errmsg(-1)); in extract_arsym()
334 warnx("elf_nextscn failed: %s", elf_errmsg(elferr)); in extract_arsym()
[all …]
H A Dmain.c293 elf_errmsg(-1)); in create_elf()
296 elf_errmsg(-1)); in create_elf()
305 elf_errmsg(-1)); in create_elf()
308 elf_errmsg(-1)); in create_elf()
333 elf_errmsg(-1)); in create_elf()
380 elf_errmsg(-1)); in create_elf()
401 elf_errmsg(-1)); in create_elf()
436 elf_errmsg(-1)); in create_elf()
455 elf_errmsg(-1)); in create_elf()
463 elf_errmsg(-1)); in create_elf()
[all …]
H A Dsegments.c477 elf_errmsg(-1)); in setup_phdr()
492 elf_errmsg(-1)); in setup_phdr()
553 elf_errmsg(-1)); in copy_phdr()
561 errx(EXIT_FAILURE, "elf_update() failed: %s", elf_errmsg(-1)); in copy_phdr()
573 elf_errmsg(-1)); in copy_phdr()
576 elf_errmsg(-1)); in copy_phdr()
588 elf_errmsg(-1)); in copy_phdr()
/freebsd/contrib/elftoolchain/elfdump/
H A Delfdump.c739 elf_errmsg(-1)); in main()
893 elf_errmsg(-1)); in ac_print_ar()
929 warnx("elf_getarsym failed: %s", elf_errmsg(-1)); in elf_print_ar()
942 warnx("elf_rand failed: %s", elf_errmsg(-1)); in elf_print_ar()
946 warnx("elf_begin failed: %s", elf_errmsg(-1)); in elf_print_ar()
951 elf_errmsg(-1)); in elf_print_ar()
980 warnx("elf_rand failed: %s", elf_errmsg(-1)); in elf_print_ar()
991 elf_errmsg(-1)); in elf_print_ar()
1026 warnx("elf_begin() failed: %s", elf_errmsg(-1)); in elf_print_object()
1061 warnx("gelf_getehdr failed: %s", elf_errmsg(-1)); in elf_print_elf()
[all …]
/freebsd/contrib/elftoolchain/brandelf/
H A Dbrandelf.c170 warnx("elf_begin failed: %s", elf_errmsg(-1)); in main()
186 warnx("gelf_getehdr: %s", elf_errmsg(-1)); in main()
208 elf_errmsg(-1)); in main()
219 elf_errmsg(-1)); in main()
228 warnx("elf_update error: %s", elf_errmsg(-1)); in main()
/freebsd/usr.bin/ldd/
H A Dldd.c279 warnx("%s: %s", fname, elf_errmsg(0)); in has_freebsd_abi_tag()
296 warnx("%s: failed to parse notes: %s", fname, elf_errmsg(0)); in has_freebsd_abi_tag()
346 warnx("%s: %s", fname, elf_errmsg(0)); in is_pie()
352 warnx("%s: %s", fname, elf_errmsg(0)); in is_pie()
370 warnx("%s: failed to parse .dynamic: %s", fname, elf_errmsg(0)); in is_pie()
410 warnx("%s: %s", fname, elf_errmsg(0)); in is_executable()
419 warnx("%s: %s", fname, elf_errmsg(0)); in is_executable()
434 warnx("%s: %s", fname, elf_errmsg(0)); in is_executable()
/freebsd/contrib/elftoolchain/ar/
H A Dwrite.c163 obj->name, elf_errmsg(-1)); in create_obj_from_file()
173 obj->name, elf_errmsg(-1)); in create_obj_from_file()
331 elf_errmsg(-1)); in read_objs()
786 elf_errmsg(-1)); in write_objs()
829 elf_errmsg(-1)); in create_symtab_entry()
838 "elf_getshdr failed: %s", elf_errmsg(-1)); in create_symtab_entry()
843 "elf_strptr failed: %s", elf_errmsg(-1)); in create_symtab_entry()
854 elf_errmsg(elferr)); in create_symtab_entry()
864 elf_errmsg(-1)); in create_symtab_entry()
879 elf_errmsg(-1)); in create_symtab_entry()
[all …]
/freebsd/lib/libpmcstat/
H A Dlibpmcstat_image.c363 buffer, elf_errmsg(-1)); in pmcstat_image_get_elf_params()
387 elf_errmsg(-1)); in pmcstat_image_get_elf_params()
395 (uintmax_t) i, buffer, elf_errmsg(-1)); in pmcstat_image_get_elf_params()
406 buffer, elf_errmsg(-1)); in pmcstat_image_get_elf_params()
430 buffer, elf_errmsg(-1)); in pmcstat_image_get_elf_params()
439 (uintmax_t) i, buffer, elf_errmsg(-1)); in pmcstat_image_get_elf_params()
/freebsd/usr.bin/ar/
H A Dwrite.c589 elf_errmsg(-1)); in write_objs()
743 elf_errmsg(-1)); in create_symtab_entry()
753 elf_errmsg(-1)); in create_symtab_entry()
763 "elf_getshdr failed: %s", elf_errmsg(-1)); in create_symtab_entry()
768 "elf_strptr failed: %s", elf_errmsg(-1)); in create_symtab_entry()
779 elf_errmsg(elferr)); in create_symtab_entry()
790 elf_errmsg(-1)); in create_symtab_entry()
805 elf_errmsg(-1)); in create_symtab_entry()
822 elf_errmsg(-1)); in create_symtab_entry()
833 elf_errmsg(elferr)); in create_symtab_entry()
/freebsd/contrib/elftoolchain/libelf/
H A DMakefile10 elf_end.c elf_errmsg.c elf_errno.c \
78 elf_errmsg.3 \
124 elf_errmsg.3 elf_errno.3 \
H A Delf_errmsg.c61 elf_errmsg(int error) in elf_errmsg() function
H A DVersion.map26 elf_errmsg;
/freebsd/contrib/elftoolchain/readelf/
H A Dreadelf.c2485 warnx("elf_getphnum failed: %s", elf_errmsg(-1)); in dump_phdr()
2509 warnx("gelf_getphdr failed: %s", elf_errmsg(-1)); in dump_phdr()
2525 warnx("elf_rawfile failed: %s", elf_errmsg(-1)); in dump_phdr()
2544 warnx("gelf_getphdr failed: %s", elf_errmsg(-1)); in dump_phdr()
2746 warnx("elf_getdata failed: %s", elf_errmsg(-1)); in dump_dynamic()
2761 elf_errmsg(-1)); in dump_dynamic()
3080 warnx("gelf_getrel failed: %s", elf_errmsg(-1)); in dump_rel()
3164 warnx("gelf_getrel failed: %s", elf_errmsg(-1)); in dump_rela()
3229 elf_errmsg(elferr)); in dump_reloc()
3259 warnx("elf_getdata failed: %s", elf_errmsg(elferr)); in dump_symtab()
[all …]
/freebsd/lib/libelf/
H A DMakefile16 elf_end.c elf_errmsg.c elf_errno.c \
104 elf_errmsg.3 \
151 elf_errmsg.3 elf_errno.3 \
/freebsd/lib/libproc/
H A Dproc_sym.c262 DPRINTFX("ERROR: elf_begin() failed: %s", elf_errmsg(-1)); in open_object()
266 DPRINTFX("ERROR: elf_getehdr() failed: %s", elf_errmsg(-1)); in open_object()
274 elf_errmsg(-1)); in open_object()
281 elf_errmsg(-1)); in open_object()
294 DPRINTFX("ERROR: elf_getdata failed: %s", elf_errmsg(-1)); in open_object()
350 DPRINTFX("ERROR: elf_begin failed: %s", elf_errmsg(-1)); in open_object()
/freebsd/lib/libprocstat/
H A Dcore.c106 warnx("elf_begin: %s", elf_errmsg(-1)); in procstat_core_open()
114 warnx("gelf_getehdr: %s", elf_errmsg(-1)); in procstat_core_open()
127 warnx("gelf_getphdr: %s", elf_errmsg(-1)); in procstat_core_open()
311 warnx("gelf_getphdr: %s", elf_errmsg(-1)); in core_read_mem()
/freebsd/usr.bin/elfctl/
H A Delfctl.c148 warnx("elf_begin failed: %s", elf_errmsg(-1)); in main()
163 warnx("gelf_getehdr: %s", elf_errmsg(-1)); in main()
377 warnx("gelf_getphdr failed: %s", elf_errmsg(-1)); in get_file_features()
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Dutil.c104 elf_errmsg(-1)); in elf_ptrsz()
244 terminate("%s: %s: %s\n", file, msgbuf, elf_errmsg(-1)); in elfterminate()
/freebsd/cddl/contrib/opensolaris/cmd/mdb/tools/common/
H A Ddie.c80 (void) fprintf(stderr, ": %s\n", elf_errmsg(elf_errno())); in elfdie()
/freebsd/contrib/elftoolchain/addr2line/
H A Daddr2line.c798 warnx("gelf_getclass failed: %s", elf_errmsg(-1)); in translate()
852 warnx("gelf_getehdr failed: %s", elf_errmsg(-1)); in find_section_base()
857 warnx("elf_getshstrndx failed: %s", elf_errmsg(-1)); in find_section_base()
866 warnx("gelf_getshdr failed: %s", elf_errmsg(-1)); in find_section_base()
894 warnx("elf_nextscn failed: %s", elf_errmsg(elferr)); in find_section_base()

12