aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Granberg (Zorry) <zorry@gentoo.org>2010-04-20 12:14:55 +0200
committerMagnus Granberg (Zorry) <zorry@gentoo.org>2010-04-20 12:14:55 +0200
commite96a372f93496e8dfe06bf1a5b5d6c07b42c7f8d (patch)
tree7aba3bfd07aa2380605472692ecf52f3aee3253a
parentMerge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/hardened-gccp... (diff)
downloadhardened-gccpatchset-e96a372f93496e8dfe06bf1a5b5d6c07b42c7f8d.tar.gz
hardened-gccpatchset-e96a372f93496e8dfe06bf1a5b5d6c07b42c7f8d.tar.bz2
hardened-gccpatchset-e96a372f93496e8dfe06bf1a5b5d6c07b42c7f8d.zip
fix some typos in gcc-4.4.3/piepatch/ esp.h.patch
-rw-r--r--gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch b/gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch
index b9646d9..e373386 100644
--- a/gcc-4.4.3/piepatch/30_all_gcc44_esp.h.patch
+++ b/gcc-4.4.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 " %(espf_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. */