diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-24 20:07:50 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-24 20:07:50 +0000 |
commit | 6c4ccb7bca11fdd0ba462e36d013e80d040aa9ae (patch) | |
tree | e035337d98ffc10bf0973c2d31ac59517794c6b2 | |
parent | 1638c736c1a99cc0a108d3f3e54f84510911206b (diff) | |
download | gcc-6c4ccb7bca11fdd0ba462e36d013e80d040aa9ae.tar.gz |
Handle -mx32 in x86-64 ASM_SPEC
* config/i386/x86-64.h (ASM_SPEC): Support -mx32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198262 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/x86-64.h | 2 |
2 files changed, 5 insertions, 1 deletions
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 <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) 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) \ |