aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2010-03-01 13:05:44 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2010-03-01 05:05:44 -0800
commit3c775d2d898a8d71e7c2812587e6d8d71f748fc1 (patch)
treec505cf9f05455455c0948a2109d6571356b592a1 /gcc
parent434c8f4b99a89391ee874db02f0395979792eb3f (diff)
downloadgcc-3c775d2d898a8d71e7c2812587e6d8d71f748fc1.zip
gcc-3c775d2d898a8d71e7c2812587e6d8d71f748fc1.tar.gz
gcc-3c775d2d898a8d71e7c2812587e6d8d71f748fc1.tar.bz2
Use SPEC_32 and SPEC_64 in ASM_SPEC.
2010-03-01 H.J. Lu <hongjiu.lu@intel.com> * config/i386/linux64.h (ASM_SPEC): Use SPEC_32 and SPEC_64. From-SVN: r157143
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/linux64.h10
2 files changed, 9 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8ea24d3..b2d7fed 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/i386/linux64.h (ASM_SPEC): Use SPEC_32 and SPEC_64.
+
2010-03-01 Richard Guenther <rguenther@suse.de>
PR middle-end/43213
diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h
index d07547a..8075df7 100644
--- a/gcc/config/i386/linux64.h
+++ b/gcc/config/i386/linux64.h
@@ -61,11 +61,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
-#undef ASM_SPEC
-#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
- %{Wa,*:%*} %{m32:--32} %{m64:--64} \
- %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
-
#if TARGET_64BIT_DEFAULT
#define SPEC_32 "m32"
#define SPEC_64 "!m32"
@@ -74,6 +69,11 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#define SPEC_64 "m64"
#endif
+#undef ASM_SPEC
+#define ASM_SPEC "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} %{Ym,*} %{Yd,*} \
+ %{Wa,*:%*} %{" SPEC_32 ":--32} %{" SPEC_64 ":--64} \
+ %{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
+
#undef LINK_SPEC
#define LINK_SPEC "%{" SPEC_64 ":-m elf_x86_64} %{" SPEC_32 ":-m elf_i386} \
%{shared:-shared} \