1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/gcc/disable-cet.patch.cross
5 # Copyright (C) 2020 - 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- gcc-11.1.0-RC-20210423/libiberty/configure.vanilla 2021-04-25 23:45:21.547430546 +0200
18 +++ gcc-11.1.0-RC-20210423/libiberty/configure 2021-04-25 23:46:00.331433335 +0200
19 @@ -5283,11 +5283,12 @@
22 i[34567]86-*-linux* | x86_64-*-linux*)
25 cet_save_CFLAGS="$CFLAGS"
26 CFLAGS="$CFLAGS -fcf-protection"
30 # Check if target supports multi-byte NOPs
31 # and if compiler and assembler support CET.
32 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33 --- gcc-11.1.0-RC-20210423/lto-plugin/configure.vanilla 2021-04-25 23:46:17.618434578 +0200
34 +++ gcc-11.1.0-RC-20210423/lto-plugin/configure 2021-04-25 23:47:03.574437883 +0200
35 @@ -5681,11 +5681,12 @@
38 i[34567]86-*-linux* | x86_64-*-linux*)
41 cet_save_CFLAGS="$CFLAGS"
42 CFLAGS="$CFLAGS -fcf-protection"
46 # Check if target supports multi-byte NOPs
47 # and if compiler and assembler support CET.
48 cat confdefs.h - <<_ACEOF >conftest.$ac_ext