fix bug on darwn introduced in the '-mtriple' commit
authorMatthias Braun <matze@braunis.de>
Tue, 12 Oct 2010 21:53:20 +0000 (21:53 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 12 Oct 2010 21:53:20 +0000 (21:53 +0000)
[r28110]

main.c

diff --git a/main.c b/main.c
index 3d417c0..5e2c7bc 100644 (file)
--- a/main.c
+++ b/main.c
@@ -673,7 +673,7 @@ static bool set_os_support(const char *os)
                set_create_ld_ident(create_name_linux_elf);
        } else if (streq(os, "darwin")) {
                force_long_double_size = 16;
-               set_be_option("ia32-gasmode=darwin");
+               set_be_option("ia32-gasmode=macho");
                set_be_option("ia32-stackalign=4");
                set_be_option("pic=true");
                set_create_ld_ident(create_name_macho);