From: H.J. Lu Date: Wed, 24 Apr 2013 20:07:50 +0000 (+0000) Subject: Handle -mx32 in x86-64 ASM_SPEC X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0db63e7fd0cb07d6882cd78f79fcfe067145a334;p=gcc.git Handle -mx32 in x86-64 ASM_SPEC * config/i386/x86-64.h (ASM_SPEC): Support -mx32. From-SVN: r198262 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 029023c51f2..875a7479e4b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2013-04-24 H.J. Lu + + * config/i386/x86-64.h (ASM_SPEC): Support -mx32. + 2013-04-24 Sterling Augustine * dwarf2out.c (skeleton_debug_str_hash, add_skeleton_AT_string) diff --git a/gcc/config/i386/x86-64.h b/gcc/config/i386/x86-64.h index c103c5865a3..336343927c8 100644 --- a/gcc/config/i386/x86-64.h +++ b/gcc/config/i386/x86-64.h @@ -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) \