summaryrefslogtreecommitdiffstats
path: root/patches/gcc-linaro-4.5-2011.02-0/0010-all_gcc-trampolinewarn.patch
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2012-12-03 14:54:28 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-12-05 17:36:47 +0100
commit712e333d57c7915e88505e20cdd4217818cd5c01 (patch)
tree45f30d258fad494d0b6ce555629db735e0d331bf /patches/gcc-linaro-4.5-2011.02-0/0010-all_gcc-trampolinewarn.patch
parent3a7ca083d5e6398c1956be5a772e14f3ecb93ce8 (diff)
downloadOSELAS.Toolchain-712e333d57c7915e88505e20cdd4217818cd5c01.tar.gz
OSELAS.Toolchain-712e333d57c7915e88505e20cdd4217818cd5c01.tar.xz
remove obsolete patches
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'patches/gcc-linaro-4.5-2011.02-0/0010-all_gcc-trampolinewarn.patch')
-rw-r--r--patches/gcc-linaro-4.5-2011.02-0/0010-all_gcc-trampolinewarn.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/patches/gcc-linaro-4.5-2011.02-0/0010-all_gcc-trampolinewarn.patch b/patches/gcc-linaro-4.5-2011.02-0/0010-all_gcc-trampolinewarn.patch
deleted file mode 100644
index 35d28a6..0000000
--- a/patches/gcc-linaro-4.5-2011.02-0/0010-all_gcc-trampolinewarn.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From: Kevin F. Quinn <kevquinn@gentoo.org>
-
-Taken from gentoo, original description:
-
-This trivial patch causes gcc to emit a warning whenever it generates a
-trampoline. These are otherwise hard to locate. It is rigged to default
-ON - to have it default to OFF remove the text 'Init(1)' from the
-common.opt patch, leaving just 'Common Var(warn_trampolines)'.
-
-Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
----
- gcc/builtins.c | 3 +++
- gcc/common.opt | 4 ++++
- 2 files changed, 7 insertions(+)
-
-Index: gcc-4.5.1/gcc/common.opt
-===================================================================
---- gcc-4.5.1.orig/gcc/common.opt
-+++ gcc-4.5.1/gcc/common.opt
-@@ -196,6 +196,10 @@ Wtype-limits
- Common Var(warn_type_limits) Init(-1) Warning
- Warn if a comparison is always true or always false due to the limited range of the data type
-
-+Wtrampolines
-+Common Var(warn_trampolines) Init(1)
-+Warn whenever a trampoline is generated
-+
- Wuninitialized
- Common Var(warn_uninitialized) Init(-1) Warning
- Warn about uninitialized automatic variables
-Index: gcc-4.5.1/gcc/builtins.c
-===================================================================
---- gcc-4.5.1.orig/gcc/builtins.c
-+++ gcc-4.5.1/gcc/builtins.c
-@@ -5029,6 +5029,9 @@ expand_builtin_profile_func (bool exitp)
- 0),
- Pmode);
-
-+ if (warn_trampolines)
-+ warning (OPT_Wtrampolines, "generating trampoline in object (requires executable stack)");
-+
- return const0_rtx;
- }
-