diff options
Diffstat (limited to 'output/outelf32.c')
-rw-r--r-- | output/outelf32.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/output/outelf32.c b/output/outelf32.c index a8b181a2..9c83a579 100644 --- a/output/outelf32.c +++ b/output/outelf32.c @@ -422,7 +422,7 @@ static void elf_deflabel(char *name, int32_t segment, int64_t offset, /* we have to be sure at least text section is there */ int tempint; if (segment != elf_section_names(".text", 2, &tempint)) - nasm_error(ERR_PANIC, "strange segment conditions in ELF driver"); + nasm_panic(0, "strange segment conditions in ELF driver"); } for (i = 0; i < nsects; i++) { if (segment == sects[i]->index) { @@ -686,7 +686,7 @@ static void elf_out(int32_t segto, const void *data, if (!s) { int tempint; /* ignored */ if (segto != elf_section_names(".text", 2, &tempint)) - nasm_error(ERR_PANIC, "strange segment conditions in ELF driver"); + nasm_panic(0, "strange segment conditions in ELF driver"); else { s = sects[nsects - 1]; i = nsects - 1; @@ -723,7 +723,7 @@ static void elf_out(int32_t segto, const void *data, case OUT_RAWDATA: if (segment != NO_SEG) - nasm_error(ERR_PANIC, "OUT_RAWDATA with other than NO_SEG"); + nasm_panic(0, "OUT_RAWDATA with other than NO_SEG"); elf_sect_write(s, data, size); break; @@ -846,7 +846,7 @@ static void elf_out(int32_t segto, const void *data, case OUT_REL4ADR: if (segment == segto) - nasm_error(ERR_PANIC, "intra-segment OUT_REL4ADR"); + nasm_panic(0, "intra-segment OUT_REL4ADR"); if (segment != NO_SEG && segment % 2) { nasm_error(ERR_NONFATAL, "ELF format does not support" " segment base references"); |