diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-13 04:55:22 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-13 04:55:22 +0000 |
commit | e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e (patch) | |
tree | 10aa7531c2dd4eb35c227930794f26dab9b0b609 /4.2.4 | |
parent | update my local git path (diff) | |
download | gcc-patches-e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e.tar.gz gcc-patches-e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e.tar.bz2 gcc-patches-e8c3a99f00aad957b370f8d8e4a2e5df6d3b6d5e.zip |
stop enabling trampoline warnings by default in older versions for compatibility and simplicity -- these are really only used for old builds now and cross-compiling
Diffstat (limited to '4.2.4')
-rw-r--r-- | 4.2.4/gentoo/00_all_gcc-trampolinewarn.patch | 32 | ||||
-rw-r--r-- | 4.2.4/gentoo/README.history | 3 |
2 files changed, 3 insertions, 32 deletions
diff --git a/4.2.4/gentoo/00_all_gcc-trampolinewarn.patch b/4.2.4/gentoo/00_all_gcc-trampolinewarn.patch deleted file mode 100644 index a68a43f..0000000 --- a/4.2.4/gentoo/00_all_gcc-trampolinewarn.patch +++ /dev/null @@ -1,32 +0,0 @@ - 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)'. - Kevin F. Quinn <kevquinn@gentoo.org> 17 Jan 2006 - ---- gcc/gcc/common.opt -+++ gcc/gcc/common.opt -@@ -141,6 +141,10 @@ - Common Var(warn_system_headers) - Do not suppress warnings from system headers - -+Wtrampolines -+Common Var(warn_trampolines) Init(1) -+Warn whenever a trampoline is generated -+ - Wuninitialized - Common Var(warn_uninitialized) - Warn about uninitialized automatic variables ---- gcc/gcc/builtins.c -+++ gcc/gcc/builtins.c -@@ -5224,6 +5224,9 @@ - #endif - trampolines_created = 1; - INITIALIZE_TRAMPOLINE (r_tramp, r_func, r_chain); -+ -+ if (warn_trampolines) -+ warning (OPT_Wtrampolines, "generating trampoline in object (requires executable stack)"); - - return const0_rtx; - } diff --git a/4.2.4/gentoo/README.history b/4.2.4/gentoo/README.history index 458dad7..6ade77c 100644 --- a/4.2.4/gentoo/README.history +++ b/4.2.4/gentoo/README.history @@ -1,3 +1,6 @@ +1.4 [pending] + - 00_all_gcc-trampolinewarn.patch + 1.3 27 Dec 2013 + 27_all_gcj-glibc-2.15-pr50888.patch |