diff options
Diffstat (limited to 'recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99434.patch')
-rw-r--r-- | recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99434.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99434.patch b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99434.patch new file mode 100644 index 0000000000..adda68c62e --- /dev/null +++ b/recipes-devtools/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99434.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | 2010-11-3 Chung-Lin Tang <cltang@codesourcery.com> | ||
2 | |||
3 | Backport from mainline: | ||
4 | |||
5 | 2010-11-02 Chung-Lin Tang <cltang@codesourcery.com> | ||
6 | |||
7 | gcc/ | ||
8 | * Makefile.in (LIBGCC2_CFLAGS): Add -fno-stack-protector, to | ||
9 | explicitly disable stack protection when building libgcc. | ||
10 | (CRTSTUFF_CFLAGS): Same, for crtbegin/end. | ||
11 | |||
12 | --- old/gcc/Makefile.in 2010-11-08 22:08:43 +0000 | ||
13 | +++ new/gcc/Makefile.in 2010-11-11 11:34:59 +0000 | ||
14 | @@ -646,6 +646,7 @@ | ||
15 | LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) $(TARGET_LIBGCC2_CFLAGS) \ | ||
16 | $(LIBGCC2_DEBUG_CFLAGS) $(GTHREAD_FLAGS) \ | ||
17 | -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED \ | ||
18 | + -fno-stack-protector \ | ||
19 | $(INHIBIT_LIBC_CFLAGS) | ||
20 | |||
21 | # Additional options to use when compiling libgcc2.a. | ||
22 | @@ -659,6 +660,7 @@ | ||
23 | CRTSTUFF_CFLAGS = -O2 $(GCC_CFLAGS) $(INCLUDES) $(MULTILIB_CFLAGS) -g0 \ | ||
24 | -finhibit-size-directive -fno-inline -fno-exceptions \ | ||
25 | -fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize \ | ||
26 | + -fno-stack-protector \ | ||
27 | $(INHIBIT_LIBC_CFLAGS) | ||
28 | |||
29 | # Additional sources to handle exceptions; overridden by targets as needed. | ||
30 | |||