diff options
Diffstat (limited to 'upstream/testsuite-hardening-fortify.patch')
-rw-r--r-- | upstream/testsuite-hardening-fortify.patch | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/upstream/testsuite-hardening-fortify.patch b/upstream/testsuite-hardening-fortify.patch deleted file mode 100644 index 82456cc..0000000 --- a/upstream/testsuite-hardening-fortify.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- a/gcc/testsuite/lib/target-supports.exp 2012-02-22 12:00:21.000000000 +0100 -+++ b/gcc/testsuite/lib/target-supports.exp 2012-07-27 19:19:30.849216278 +0200 -@@ -4419,6 +4419,14 @@ proc check_effective_target_lto { } { - return [info exists ENABLE_LTO] - } - -+# Return 1 if the compiler has been configure with espf -+# (configure --enable-espf=(all|ssp|pie)) support. -+ -+proc check_effective_target_espf { } { -+ global ENABLE_ESPF -+ return [info exists ENABLE_ESPF] -+} -+ - # Return 1 if this target supports the -fsplit-stack option, 0 - # otherwise. - ---- a/gcc/testsuite/gcc.c-torture/execute/memset-1.x 2012-08-18 14:43:31.963694252 +0200 -+++ b/gcc/testsuite/gcc.c-torture/execute/memset-1.x 2012-07-27 21:47:01.000000000 +0200 -@@ -0,0 +1,6 @@ -+load_lib target-supports.exp -+ -+if { [check_effective_target_espf] } { -+ set additional_flags "-U_FORTIFY_SOURCE" -+} -+return 0 ---- a/gcc/testsuite/gcc.c-torture/execute/vprintf-chk-1.x 2012-07-30 02:31:20.573793905 +0200 -+++ b/gcc/testsuite/gcc.c-torture/execute/vprintf-chk-1.x 2012-07-27 21:47:01.574480025 +0200 -@@ -0,0 +1,6 @@ -+load_lib target-supports.exp -+ -+if [check_effective_target_espf] { -+ set additional_flags "-U_FORTIFY_SOURCE" -+} -+return 0 ---- a/gcc/testsuite/gcc.c-torture/execute/vfprintf-chk-1.x 2012-07-30 02:31:07.366794031 +0200 -+++ b/gcc/testsuite/gcc.c-torture/execute/vfprintf-chk-1.x 2012-07-27 21:47:01.000000000 +0200 -@@ -0,0 +1,6 @@ -+load_lib target-supports.exp -+ -+if [check_effective_target_espf] { -+ set additional_flags "-U_FORTIFY_SOURCE" -+} -+return 0 |