From: Joshua W. <jpe...@gm...> - 2019-12-18 17:46:39
|
Adds a command line option --debug-prefix-map that changes the way file paths are encoded in debug information (similar to -fdebug-prefix-map in GCC). This allows nasm to generate reproducible output regardless of the location of the files. Joshua Watt (2): stdlib: Add strlcat Add --debug-prefix-map option Makefile.in | 2 +- asm/nasm.c | 26 ++++++++++++++++++++++++- configure.ac | 2 ++ include/compiler.h | 4 ++++ include/nasmlib.h | 9 +++++++++ nasm.txt | 4 ++++ nasmlib/filename.c | 20 +++++++++++++++++++ output/outas86.c | 4 +++- output/outcoff.c | 4 ++-- output/outelf.c | 2 +- output/outieee.c | 2 +- output/outobj.c | 2 +- stdlib/strlcat.c | 43 +++++++++++++++++++++++++++++++++++++++++ test/elfdebugprefix.asm | 6 ++++++ test/performtest.pl | 12 ++++++++++-- 15 files changed, 132 insertions(+), 10 deletions(-) create mode 100644 stdlib/strlcat.c create mode 100644 test/elfdebugprefix.asm -- 2.23.0 |