Lines Matching refs:fail
96 static void fail(const char *fmt, ...) in fail() function
146 fail("Usage: %s [infile] [outfile]\n", argv[0]); in main()
153 fail("Cannot open %s: %s\n", infile, strerror(errno)); in main()
156 fail("Failed stat for %s: %s\n", infile, strerror(errno)); in main()
160 fail("Failed to map %s: %s\n", infile, strerror(errno)); in main()
167 fail("Not an ELF file\n"); in main()
170 fail("Unsupported ELF class\n"); in main()
175 fail("Not a shared object\n"); in main()
178 fail("Unsupported architecture %#x\n", inhdr->e_machine); in main()
183 fail("Unsupported EABI version %#x\n", in main()
188 fail("Unexpected hard-float flag set in e_flags\n"); in main()
194 fail("Cannot open %s: %s\n", outfile, strerror(errno)); in main()
197 fail("Cannot truncate %s: %s\n", outfile, strerror(errno)); in main()
202 fail("Failed to map %s: %s\n", outfile, strerror(errno)); in main()
217 fail("Failed to sync %s: %s\n", outfile, strerror(errno)); in main()