Handle -mx32 in x86-64 ASM_SPEC
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 24 Apr 2013 20:07:50 +0000 (20:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 24 Apr 2013 20:07:50 +0000 (13:07 -0700)
* config/i386/x86-64.h (ASM_SPEC): Support -mx32.

From-SVN: r198262

gcc/ChangeLog
gcc/config/i386/x86-64.h

index 029023c51f2f64dcfc1f4881c7c7615cbf38b2da..875a7479e4b918444bfda7ef9ebdc9a33416fbcb 100644 (file)
@@ -1,3 +1,7 @@
+2013-04-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/x86-64.h (ASM_SPEC): Support -mx32.
+
 2013-04-24  Sterling Augustine  <saugustine@google.com>
 
        * dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string)
index c103c5865a31db07cbc39cb08cfdf95daa8dfb6c..336343927c8ed6577a8867a53947f9d728f6236c 100644 (file)
@@ -49,7 +49,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
 #define WCHAR_TYPE_SIZE 32
 
 #undef ASM_SPEC
-#define ASM_SPEC "%{m32:--32} %{m64:--64}"
+#define ASM_SPEC "%{m32:--32} %{m64:--64} %{mx32:--x32}"
 
 #undef ASM_OUTPUT_ALIGNED_BSS
 #define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \