mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
codeview: be a bit more explicit about the nature of a panic
When we have to die due to an assertion violation, then show the missing symbol. Also, use nasm_panic() rather than nasm_assert() for this purpose. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
@@ -417,7 +417,7 @@ static void register_reloc(struct coff_Section *const sect,
|
||||
return;
|
||||
}
|
||||
}
|
||||
nasm_assert(!"relocation for unregistered symbol");
|
||||
nasm_panic(0, "codeview: relocation for unregistered symbol: %s", sym);
|
||||
}
|
||||
|
||||
static inline void section_write32(struct coff_Section *sect, uint32_t val)
|
||||
|
Reference in New Issue
Block a user