nasm/output
Fabian Giesen 0bbc38dbd5 codeview: Look up %include path when determining files to hash.
The hash calculation in calc_md5 tries to open the source file via
"filename" again. For %includes, this is the file name that was
specified in the %include directive, not the actual name of the file
that was opened by the preprocessor. In other words, this fails if the
include file is not in the current working directory.

Add pp_input_fopen that uses the preprocessor include path lookup
code to resolve a file name and open it, and use that in codeview.c.

Signed-off-by: Fabian Giesen <fabiang@radgametools.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
2016-04-30 16:00:38 +03:00
..
codeview.c codeview: Look up %include path when determining files to hash. 2016-04-30 16:00:38 +03:00
dwarf.h output/dwarf.h: update dwarf constants 2009-08-10 16:00:43 -07:00
elf.h lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
nulldbg.c More constification, mostly of struct dfmt 2016-02-18 02:16:36 -08:00
nullout.c Rename SEGALIGN to SECTALIGN 2010-04-21 18:09:54 +04:00
outaout.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outaout.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outas86.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outas86.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outbin.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outbin.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outcoff.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outcoff.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outdbg.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outelf.c out: Elf -- Fix typo in section name 2016-04-24 20:57:52 +03:00
outelf.h out: Elf32 -- Reuse TY_DEBUGSYMLIN 2016-04-24 20:02:40 +03:00
outelf.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outform.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outform.h Merge remote-tracking branch 'origin/nasm-2.12.xx' 2016-03-08 01:08:53 -08:00
outieee.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outlib.c Add support for one-byte relocations 2010-05-06 15:33:24 -07:00
outlib.h More constification, mostly of struct dfmt 2016-02-18 02:16:36 -08:00
outmacho.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outmacho.mac macho64: Manually merge macho64 branch with master branch. 2009-07-08 23:04:52 -05:00
outobj.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outobj.mac NASM: relicense under the 2-clause BSD license 2009-07-06 11:09:11 -07:00
outrdf2.c lib: split library into stdlib and nasmlib; header handling fixes 2016-03-08 12:20:02 -08:00
outrdf2.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
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