aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2013-04-24 20:07:50 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2013-04-24 13:07:50 -0700
commit0db63e7fd0cb07d6882cd78f79fcfe067145a334 (patch)
treee035337d98ffc10bf0973c2d31ac59517794c6b2 /gcc
parent61949153f4972928c912cf1a93f5ef869e5c9484 (diff)
downloadgcc-0db63e7fd0cb07d6882cd78f79fcfe067145a334.zip
gcc-0db63e7fd0cb07d6882cd78f79fcfe067145a334.tar.gz
gcc-0db63e7fd0cb07d6882cd78f79fcfe067145a334.tar.bz2
Handle -mx32 in x86-64 ASM_SPEC
* config/i386/x86-64.h (ASM_SPEC): Support -mx32. From-SVN: r198262
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/x86-64.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 029023c..875a747 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 c103c58..3363439 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) \