summaryrefslogtreecommitdiff
path: root/patches/gcc/3.4.6/810-mips-xgot.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/gcc/3.4.6/810-mips-xgot.patch')
-rw-r--r--patches/gcc/3.4.6/810-mips-xgot.patch7
1 files changed, 7 insertions, 0 deletions
diff --git a/patches/gcc/3.4.6/810-mips-xgot.patch b/patches/gcc/3.4.6/810-mips-xgot.patch
new file mode 100644
index 0000000..e294670
--- /dev/null
+++ b/patches/gcc/3.4.6/810-mips-xgot.patch
@@ -0,0 +1,7 @@
+diff -durN gcc-3.4.6.orig/gcc/config/mips/t-linux gcc-3.4.6/gcc/config/mips/t-linux
+--- gcc-3.4.6.orig/gcc/config/mips/t-linux 1970-01-01 01:00:00.000000000 +0100
++++ gcc-3.4.6/gcc/config/mips/t-linux 2007-08-15 23:08:15.000000000 +0200
+@@ -0,0 +1,3 @@
++# Compile crtbegin/end with xgot so it works for both
++# normal and large GOTs.
++CRTSTUFF_T_CFLAGS = -mxgot