summaryrefslogtreecommitdiffstats
path: root/gcc
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-02 22:35:36 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2011-03-02 22:35:36 +0000
commit5c377a13dfa2a1a3807c86c99242a9e2cdadcf09 (patch)
tree0883c99e16fa35a566c45474609412ca4078302f /gcc
parentf9fd3680a58e3a500edd8727b4c385d644523ae5 (diff)
downloadppe42-gcc-5c377a13dfa2a1a3807c86c99242a9e2cdadcf09.tar.gz
ppe42-gcc-5c377a13dfa2a1a3807c86c99242a9e2cdadcf09.zip
* config/i386/freebsd64.h (CC1_SPEC): Define.
* config/i386/linux64.h (CC1_SPEC): Define. * config/i386/x86-64.h (CC1_SPEC): Don't define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@170625 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/freebsd64.h5
-rw-r--r--gcc/config/i386/linux64.h5
-rw-r--r--gcc/config/i386/x86-64.h6
4 files changed, 16 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index e4b040c2066..0c8c51f033a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,9 @@
+2011-03-02 Joseph Myers <joseph@codesourcery.com>
+
+ * config/i386/freebsd64.h (CC1_SPEC): Define.
+ * config/i386/linux64.h (CC1_SPEC): Define.
+ * config/i386/x86-64.h (CC1_SPEC): Don't define.
+
2011-03-02 Anatoly Sokolov <aesok@post.ru>
* config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST):
diff --git a/gcc/config/i386/freebsd64.h b/gcc/config/i386/freebsd64.h
index 67be570f355..8b5b149b024 100644
--- a/gcc/config/i386/freebsd64.h
+++ b/gcc/config/i386/freebsd64.h
@@ -1,5 +1,5 @@
/* Definitions for AMD x86-64 running FreeBSD with ELF format
- Copyright (C) 2002, 2004, 2007, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004, 2007, 2010, 2011 Free Software Foundation, Inc.
Contributed by David O'Brien <obrien@FreeBSD.org>
This file is part of GCC.
@@ -25,6 +25,9 @@ along with GCC; see the file COPYING3. If not see
#define SUBTARGET_EXTRA_SPECS \
{ "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
+#undef CC1_SPEC
+#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
+
/* Provide a LINK_SPEC appropriate for the FreeBSD/x86-64 ELF target.
This is a copy of LINK_SPEC from <i386/freebsd.h> tweaked for
the x86-64 target. */
diff --git a/gcc/config/i386/linux64.h b/gcc/config/i386/linux64.h
index b68c40fec58..8392fabd31d 100644
--- a/gcc/config/i386/linux64.h
+++ b/gcc/config/i386/linux64.h
@@ -1,5 +1,5 @@
/* Definitions for AMD x86-64 running Linux-based GNU systems with ELF format.
- Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+ Copyright (C) 2001, 2002, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
Contributed by Jan Hubicka <jh@suse.cz>, based on linux.h.
@@ -40,6 +40,9 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef CPP_SPEC
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
+#undef CC1_SPEC
+#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
+
/* The svr4 ABI for the i386 says that records and unions are returned
in memory. In the 64bit compilation we will turn this flag off in
ix86_option_override_internal, as we never do pcc_struct_return
diff --git a/gcc/config/i386/x86-64.h b/gcc/config/i386/x86-64.h
index 402cf9a306c..b85dab9cdfc 100644
--- a/gcc/config/i386/x86-64.h
+++ b/gcc/config/i386/x86-64.h
@@ -1,5 +1,6 @@
/* OS independent definitions for AMD x86-64.
- Copyright (C) 2001, 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2005, 2007, 2009, 2010, 2011
+ Free Software Foundation, Inc.
Contributed by Bo Thorsen <bo@suse.de>.
This file is part of GCC.
@@ -48,9 +49,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32
-#undef CC1_SPEC
-#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
-
#undef ASM_SPEC
#define ASM_SPEC "%{m32:--32} %{m64:--64}"
OpenPOWER on IntegriCloud