mirror of
https://github.com/netwide-assembler/nasm.git
synced 2024-11-21 03:14:19 +08:00
macho: Add warning message in macho_output()
Based-on-code-from: zenith432 <zenith432@users.sourceforge.net> Signed-off-by: Chang S. Bae <changseok.bae@gmail.com>
This commit is contained in:
parent
7fcf32ba31
commit
703e565849
@ -665,6 +665,9 @@ static void macho_output(int32_t secto, const void *data,
|
||||
if (is_bss && type != OUT_RESERVE) {
|
||||
nasm_error(ERR_WARNING, "attempt to initialize memory in "
|
||||
"BSS section: ignored");
|
||||
/* FIXME */
|
||||
nasm_error(ERR_WARNING, "section size may be negative"
|
||||
"with address symbols");
|
||||
s->size += realsize(type, size);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user