Merge remote-tracking branch 'vszakats/outcoff-file-repro'
This commit is contained in:
commit
665a9820f5
1 changed files with 4 additions and 1 deletions
|
@ -1275,7 +1275,10 @@ static void coff_write_symbols(void)
|
||||||
* The `.file' record, and the file name auxiliary record.
|
* The `.file' record, and the file name auxiliary record.
|
||||||
*/
|
*/
|
||||||
coff_symbol(".file", 0L, 0L, -2, 0, 0x67, 1);
|
coff_symbol(".file", 0L, 0L, -2, 0, 0x67, 1);
|
||||||
strncpy(filename, inname, 18);
|
if (reproducible)
|
||||||
|
memset(filename, 0, 18);
|
||||||
|
else
|
||||||
|
strncpy(filename, inname, 18);
|
||||||
nasm_write(filename, 18, ofile);
|
nasm_write(filename, 18, ofile);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue