Lines Matching refs:EXIT_FAILURE
292 errx(EXIT_FAILURE, "gelf_getehdr() failed: %s", in create_elf()
295 errx(EXIT_FAILURE, "getclass() failed: %s", in create_elf()
304 errx(EXIT_FAILURE, "gelf_newehdr failed: %s", in create_elf()
307 errx(EXIT_FAILURE, "gelf_getehdr() failed: %s", in create_elf()
329 errx(EXIT_FAILURE, "unsupported e_type"); in create_elf()
332 errx(EXIT_FAILURE, "elf_getshnum failed: %s", in create_elf()
336 err(EXIT_FAILURE, "calloc failed"); in create_elf()
379 errx(EXIT_FAILURE, "gelf_update_ehdr() failed: %s", in create_elf()
400 errx(EXIT_FAILURE, "gelf_getehdr() failed: %s", in create_elf()
435 errx(EXIT_FAILURE, "gelf_fsize() failed: %s", in create_elf()
454 errx(EXIT_FAILURE, "gelf_update_ehdr() failed: %s", in create_elf()
462 errx(EXIT_FAILURE, "elf_update() failed: %s", in create_elf()
569 err(EXIT_FAILURE, "malloc failed"); in create_tempfile()
579 err(EXIT_FAILURE, "mkstemp %s failed", tmpf); in create_tempfile()
585 err(EXIT_FAILURE, "fchmod %s failed", tmpf); in create_tempfile()
659 errx(EXIT_FAILURE, "internal: src == NULL"); in create_file()
661 err(EXIT_FAILURE, "open %s failed", src); in create_file()
664 err(EXIT_FAILURE, "fstat %s failed", src); in create_file()
670 err(EXIT_FAILURE, "open %s failed", dst); in create_file()
682 err(EXIT_FAILURE, "lseek failed"); in create_file()
706 errx(EXIT_FAILURE, "elf_begin() failed: %s", in create_file()
719 errx(EXIT_FAILURE, "Internal: invalid target flavour"); in create_file()
728 err(EXIT_FAILURE, "open %s failed", src); in create_file()
733 err(EXIT_FAILURE, "unlink %s failed", elftemp); in create_file()
742 errx(EXIT_FAILURE, "file format not recognized"); in create_file()
743 errx(EXIT_FAILURE, "elf_begin() failed: %s", in create_file()
750 errx(EXIT_FAILURE, "file format not recognized"); in create_file()
754 errx(EXIT_FAILURE, "elf_begin() failed: %s", in create_file()
776 errx(EXIT_FAILURE, "unlink %s failed", in create_file()
787 err(EXIT_FAILURE, in create_file()
811 errx(EXIT_FAILURE, "PE/EFI support not enabled" in create_file()
817 errx(EXIT_FAILURE, "Internal: unsupported" in create_file()
832 errx(EXIT_FAILURE, "file format not supported"); in create_file()
853 err(EXIT_FAILURE, "creation of %s failed", dst); in create_file()
864 err(EXIT_FAILURE, "fchmod %s failed", dst); in create_file()
868 err(EXIT_FAILURE, "setting timestamps failed"); in create_file()
891 errx(EXIT_FAILURE, in elfcopy_main()
913 errx(EXIT_FAILURE, in elfcopy_main()
1020 errx(EXIT_FAILURE, in elfcopy_main()
1030 errx(EXIT_FAILURE, in elfcopy_main()
1049 errx(EXIT_FAILURE, in elfcopy_main()
1291 errx(EXIT_FAILURE, "unrecognized section flag %s", in parse_sec_flags()
1310 errx(EXIT_FAILURE, "invalid format for %s", optname); in parse_sec_address_op()
1357 err(EXIT_FAILURE, "stat %s failed", fn); in parse_symlist_file()
1366 err(EXIT_FAILURE, "can not open %s", fn); in parse_symlist_file()
1368 err(EXIT_FAILURE, "malloc failed"); in parse_symlist_file()
1371 err(EXIT_FAILURE, "fread failed"); in parse_symlist_file()
1376 err(EXIT_FAILURE, "malloc failed"); in parse_symlist_file()
1412 errx(EXIT_FAILURE, in parse_symlist_file()
1423 errx(EXIT_FAILURE, in parse_symlist_file()
1443 errx(EXIT_FAILURE, "%s: invalid target name", target_name); in set_input_target()
1453 errx(EXIT_FAILURE, "%s: invalid target name", target_name); in set_output_target()
1480 errx(EXIT_FAILURE, "unrecognized OSABI %s", abi); in set_osabi()
1564 exit(EXIT_FAILURE); in elfcopy_usage()
1583 exit(EXIT_FAILURE); in mcs_usage()
1612 exit(EXIT_FAILURE); in strip_usage()
1644 errx(EXIT_FAILURE, "ELF library initialization failed: %s", in main()
1649 err(EXIT_FAILURE, "calloc failed"); in main()