aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/gcc.c
diff options
context:
space:
mode:
authorDoug Kwan <dougkwan@google.com>2011-06-10 16:02:39 -0700
committerDoug Kwan <dougkwan@google.com>2011-06-10 16:02:39 -0700
commitfe2afdf3f3701489c05d2a7509752d6f0c7616f7 (patch)
tree0f879781b400d82bd939cb03642fe57298875223 /gcc-4.4.3/gcc/gcc.c
parentfac2e2f3e863f49fc8a2feb2aa9fd8cfa315219c (diff)
downloadtoolchain_gcc-fe2afdf3f3701489c05d2a7509752d6f0c7616f7.tar.gz
toolchain_gcc-fe2afdf3f3701489c05d2a7509752d6f0c7616f7.tar.bz2
toolchain_gcc-fe2afdf3f3701489c05d2a7509752d6f0c7616f7.zip
Sync internal and external version:
Changes: -x86 security patch (for ChromeOS) -Fix bug in inlining. -Fix freestanding C++ library build: http://gcc.gnu.org/viewcvs?view=revision&revision=173220 -Fix out-of-range branches in Thumb-2 mode. -Fix gcda file corruption problem. -Hanlde LDFLAGS_FOR_TARGETS in configure. This is a backport of upstrem patch r173558. -Backport upstream fix for Atom performance at r164379. Change-Id: Id5a6cfb8949cbd390a0bb3546d55d83383ee4f8c
Diffstat (limited to 'gcc-4.4.3/gcc/gcc.c')
-rw-r--r--gcc-4.4.3/gcc/gcc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gcc-4.4.3/gcc/gcc.c b/gcc-4.4.3/gcc/gcc.c
index 3ce244cdf..afa6a014b 100644
--- a/gcc-4.4.3/gcc/gcc.c
+++ b/gcc-4.4.3/gcc/gcc.c
@@ -829,8 +829,11 @@ static const char *cpp_unique_options =
%{remap} %{g3|ggdb3|gstabs3|gcoff3|gxcoff3|gvms3:-dD}\
%{H} %C %{D*&U*&A*} %{i*} %Z %i\
%{fmudflap:-D_MUDFLAP -include mf-runtime.h}\
- %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH -include mf-runtime.h}\
- %{E|M|MM:%W{o*}}";
+ %{fmudflapth:-D_MUDFLAP -D_MUDFLAPTH -include mf-runtime.h}"
+#ifdef EFAULT_FORTIFY_SOURCE
+" %{!D_FORTIFY_SOURCE:%{!D_FORTIFY_SOURCE=*:%{!U_FORTIFY_SOURCE:-D_FORTIFY_SOURCE=2}}}"
+#endif
+" %{E|M|MM:%W{o*}}";
/* This contains cpp options which are common with cc1_options and are passed
only when preprocessing only to avoid duplication. We pass the cc1 spec