summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--output/outmacho.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/output/outmacho.c b/output/outmacho.c
index 4ec85690..e78623e3 100644
--- a/output/outmacho.c
+++ b/output/outmacho.c
@@ -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;
}