aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg (Zorry) <zorry@gentoo.org>2010-04-20 12:09:01 +0200
committerMagnus Granberg (Zorry) <zorry@gentoo.org>2010-04-20 12:09:01 +0200
commit476674f7de927126e4ab19784d44f1bf0e90f91e (patch)
treeb5ced6c046d0e82a42a84bda6ef436a7b7f46d84
parentAdded gcc-4.4.3/piepatch 0.4.0 and gcc-4.4.3/specs 0.1.8 (diff)
downloadhardened-gccpatchset-476674f7de927126e4ab19784d44f1bf0e90f91e.tar.gz
hardened-gccpatchset-476674f7de927126e4ab19784d44f1bf0e90f91e.tar.bz2
hardened-gccpatchset-476674f7de927126e4ab19784d44f1bf0e90f91e.zip
fix some typos in gcc-4.4.3/piepatch/ esp.h.patch
-rw-r--r--gcc-4.3.3/piepatch/30_all_gcc44_esp.h.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.3.3/piepatch/30_all_gcc44_esp.h.patch b/gcc-4.3.3/piepatch/30_all_gcc44_esp.h.patch
index b9646d9..c8119ad 100644
--- a/gcc-4.3.3/piepatch/30_all_gcc44_esp.h.patch
+++ b/gcc-4.3.3/piepatch/30_all_gcc44_esp.h.patch
@@ -26,7 +26,7 @@
+#ifdef ENABLE_ESP
+
+ /* Hack to support gcc-specs-* in toolchain-funcs.eclass and _filter-hardened in flag-o-matic.eclass */
-+ #define ESP_CC1_SPEC " %(espf_cc1_ssp) %(espf_cc1_pie) %(espf_cc1_strict)"
++ #define ESP_CC1_SPEC " %(esp_cc1_ssp) %(esp_cc1_pie) %(esp_cc1_strict)"
+ #ifdef HAVE_GCC_SSP
+ #define ESP_CC1_SSP_SPEC "%{!fno-stack-protector: %{!fno-stack-protector-all: }}"
+ #else
@@ -61,7 +61,7 @@
+ #ifdef HAVE_LD_PIE
+
+ /* We use ESP_COMMAND_OPTIONS_SPEC to add pie command-line options. */
-+ #define ESP_COMMAND_OPTIONS_SPEC "%{!D__KERNEL__:%{!nopie:%(espf_options_pie) %(espf_link_pie)}}"
++ #define ESP_COMMAND_OPTIONS_SPEC "%{!D__KERNEL__:%{!nopie:%(esp_options_pie) %(esp_link_pie)}}"
+
+ /* This will add -fPIE if we don't have -pie -fpic -fPIC -fpie -fPIE -fno-pic -fno-PIC -fno-pie -fno-PIE -shared -static
+ -nostdlib -nostartfiles. */