Author: zhuqing
Date: 2011-06-16 03:17:12 -0400 (Thu, 16 Jun 2011)
New Revision: 3650

Modified:
   trunk/osprey/driver/phases.c
Log:
Fix bug782.

Divide options "-m elf_i386" and "-m elf_x86_64" to seperate options.

Reviewed by Sun Chan.


Modified: trunk/osprey/driver/phases.c
===================================================================
--- trunk/osprey/driver/phases.c        2011-06-16 07:09:17 UTC (rev 3649)
+++ trunk/osprey/driver/phases.c        2011-06-16 07:17:12 UTC (rev 3650)
@@ -3115,10 +3115,12 @@
 #ifdef KEY
        // Pass "-m elf_i386" and "-m elf_x86_64" to linker.  Bug 8441.
        if (option_was_seen(O_melf_i386)) {
-           add_string(args, "-m elf_i386");
+           add_string(args, "-m");
+           add_string(args, "elf_i386");
        }
        if (option_was_seen(O_melf_x86_64)) {
-           add_string(args, "-m elf_x86_64");
+           add_string(args, "-m");
+           add_string(args, "elf_x86_64");
        }
 #endif
 


------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to