From 0436a53e3919281943c5fea7dbe98df03876ab6a Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Sat, 13 Feb 2010 12:44:48 +0000 Subject: [PATCH] Non-local common symbols on mach-o must be .comm, not .lcomm, of course. [r27146] --- ir/be/begnuas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/begnuas.c b/ir/be/begnuas.c index a310a8c74..fd003d302 100644 --- a/ir/be/begnuas.c +++ b/ir/be/begnuas.c @@ -1311,7 +1311,7 @@ static void emit_common(const ir_entity *entity) switch (be_gas_object_file_format) { case OBJECT_FILE_FORMAT_MACH_O: - be_emit_cstring("\t.lcomm "); + be_emit_cstring("\t.comm "); be_gas_emit_entity(entity); be_emit_irprintf(",%u,%u\n", size, log2_floor(alignment)); be_emit_write_line(); -- 2.20.1