summaryrefslogtreecommitdiff
path: root/output
diff options
context:
space:
mode:
Diffstat (limited to 'output')
-rw-r--r--output/codeview.c4
-rw-r--r--output/outbin.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/output/codeview.c b/output/codeview.c
index 6028fc74..03fee590 100644
--- a/output/codeview.c
+++ b/output/codeview.c
@@ -654,7 +654,7 @@ static uint16_t write_symbolinfo_properties(struct coff_Section *sect,
else if (win32)
section_write16(sect, 0x0006); /* machine */
else
- nasm_assert(!"neither win32 nor win64 are set!");
+ nasm_panic("neither win32 nor win64 are set!");
section_write16(sect, 0); /* verFEMajor */
section_write16(sect, 0); /* verFEMinor */
section_write16(sect, 0); /* verFEBuild */
@@ -711,7 +711,7 @@ static uint16_t write_symbolinfo_symbols(struct coff_Section *sect)
section_write8(sect, 0); /* FLAG */
break;
default:
- nasm_assert(!"unknown symbol type");
+ nasm_panic("unknown symbol type");
}
section_wbytes(sect, sym->name, strlen(sym->name) + 1);
diff --git a/output/outbin.c b/output/outbin.c
index 971b9cc0..5e0dbdbc 100644
--- a/output/outbin.c
+++ b/output/outbin.c
@@ -1507,7 +1507,7 @@ static void write_srecord(unsigned int len, unsigned int alen,
case 4:
break;
default:
- nasm_assert(0);
+ panic();
break;
}