aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.4/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch')
-rw-r--r--gcc-4.4.4/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc-4.4.4/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch b/gcc-4.4.4/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch
new file mode 100644
index 0000000..b9fed34
--- /dev/null
+++ b/gcc-4.4.4/piepatch/33_all_gcc44_config_rs6000_linux64.h.patch
@@ -0,0 +1,16 @@
+2009-09-23 Peter S. Mazinger <ps.m@gmx.net>
+
+ * gcc/config/rs6000/linux64.h ASM_SPEC32 Change %{fpic:-K PIC} %{fPIC:-K PIC}
+ to %{fpic|fPIC|fpie|fPIE:-K PIC}
+
+--- gcc/config/rs6000/linux64.h.psm 2009-04-10 01:23:07.000000000 +0200
++++ gcc/config/rs6000/linux64.h 2009-09-23 12:34:26.000000000 +0200
+@@ -156,7 +156,7 @@
+ #endif
+
+ #define ASM_SPEC32 "-a32 %{n} %{T} %{Ym,*} %{Yd,*} \
+-%{mrelocatable} %{mrelocatable-lib} %{fpic:-K PIC} %{fPIC:-K PIC} \
++%{mrelocatable} %{mrelocatable-lib} %{fpic|fPIC|fpie|fPIE:-K PIC} \
+ %{memb} %{!memb: %{msdata: -memb} %{msdata=eabi: -memb}} \
+ %{!mlittle: %{!mlittle-endian: %{!mbig: %{!mbig-endian: \
+ %{mcall-freebsd: -mbig} \