mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-11-08 23:27:15 -05:00
outmacho.c: mark zeroing warning as WARN_ZEROING
The zeroing warning should, amazingly enough, have been WARN_ZEROING. Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
@@ -592,7 +592,7 @@ static void macho_output(int32_t secto, const void *data,
|
|||||||
switch (type) {
|
switch (type) {
|
||||||
case OUT_RESERVE:
|
case OUT_RESERVE:
|
||||||
if (!is_bss) {
|
if (!is_bss) {
|
||||||
nasm_warn(WARN_OTHER, "uninitialized space declared in"
|
nasm_warn(WARN_ZEROING, "uninitialized space declared in"
|
||||||
" %s,%s section: zeroing", s->segname, s->sectname);
|
" %s,%s section: zeroing", s->segname, s->sectname);
|
||||||
|
|
||||||
sect_write(s, NULL, size);
|
sect_write(s, NULL, size);
|
||||||
|
|||||||
Reference in New Issue
Block a user