nasm/output
H. Peter Anvin c51369067c errors: simplify nasm_fatal() and nasm_panic()
Nearly all instances of nasm_fatal() and nasm_panic() take a flags
argument of zero. Simplify the code by making nasm_fatal and
nasm_panic default to no flags, and add an alternate version if flags
really are desired. This also means that every call site doesn't have
to initialize a zero argument.

Furthermore, ERR_NOFILE is now often not necessary, as the error code
will no longer cause a null reference if there is no current
file. Therefore, we can remove many instances of ERR_NOFILE which only
deprives the user of information.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2018-06-15 18:20:17 -07:00
..
codeview.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
dwarf.h dwarf: Update dwarf_line_number_extended 2017-03-25 22:15:04 +03:00
elf.h output: elf -- Add ELF32_R_INFO, ELF64_R_INFO helpers 2017-03-18 15:16:10 +03:00
legacy.c Sanitize the handling of segments a bit 2017-05-03 17:33:04 -07:00
nulldbg.c Add a generic pragma-handling infrastructure 2017-03-07 21:32:37 -08:00
nullout.c output: centralize the null definition of ofmt->segbase 2018-06-14 22:41:00 -07:00
outaout.c output: remove ABSOLUTE handling, OUT_RAWDATA asserts 2018-06-15 00:03:53 -07:00
outaout.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outas86.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outas86.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outbin.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outbin.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outcoff.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outcoff.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outdbg.c Make limits 64 bits, add globallines limit to configurable limits 2018-06-15 17:56:25 -07:00
outdbg.mac Sanitize the handling of segments a bit 2017-05-03 17:33:04 -07:00
outelf.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outelf.h output: elf -- Make elf_section_attrib static 2017-03-25 22:15:04 +03:00
outelf.mac output: output format macros should be case insensitive 2017-03-07 22:53:48 -08:00
outform.c Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
outform.h Merge remote-tracking branch 'origin/nasm-2.12.xx' 2016-03-08 01:08:53 -08:00
outieee.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outlib.c Reorganize the source code into subdirectories 2016-05-25 12:06:29 -07:00
outlib.h output: centralize the null definition of ofmt->segbase 2018-06-14 22:41:00 -07:00
outmacho.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outmacho.mac macho: implement do_dead_strip, make subsections_by_symbols a pragma 2017-03-14 18:46:31 -07:00
outobj.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outobj.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outrdf.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outrdf2.c errors: simplify nasm_fatal() and nasm_panic() 2018-06-15 18:20:17 -07:00
outrdf2.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
pecoff.h coff: Add support for the Codeview 8 debug format 2016-01-24 14:14:39 +03:00
stabs.h lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
strtbl.c hashtbl, strtbl: add hash_free_all(), split strtbl_find() 2017-04-24 00:54:51 -07:00
strtbl.h hashtbl, strtbl: add hash_free_all(), split strtbl_find() 2017-04-24 00:54:51 -07:00