aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.3.3/piepatch/30_all_gcc44_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. */