Non-local common symbols on mach-o must be .comm, not .lcomm, of course.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 13 Feb 2010 12:44:48 +0000 (12:44 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 13 Feb 2010 12:44:48 +0000 (12:44 +0000)
[r27146]

ir/be/begnuas.c

index a310a8c..fd003d3 100644 (file)
@@ -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();