summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-07-03 01:04:05 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-07-03 01:04:05 +0000
commitec3793208c23bcd6d78cf90de400a392a3067474 (patch)
treee4e1ada8357876f4942b2af220208e8add0c8cb4 /sys-devel
parentAddresses bug 17223, patch submitted by Kfir Ozer <ufk2k@yahoo.com> (diff)
downloadgentoo-2-ec3793208c23bcd6d78cf90de400a392a3067474.tar.gz
gentoo-2-ec3793208c23bcd6d78cf90de400a392a3067474.tar.bz2
gentoo-2-ec3793208c23bcd6d78cf90de400a392a3067474.zip
hopefully that way everything is ok
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch13
1 files changed, 9 insertions, 4 deletions
diff --git a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch b/sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch
index 2acdc80704e2..bc763ae54939 100644
--- a/sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch
+++ b/sys-devel/gcc/files/3.2.3/gcc-3.2.3-mergel-fix.patch
@@ -1,7 +1,7 @@
diff -ruN gcc-3.2.3.orig/gcc/config/rs6000/altivec.h gcc-3.2.3/gcc/config/rs6000/altivec.h
---- gcc-3.2.3.orig/gcc/config/rs6000/altivec.h 2002-05-18 07:40:16.000000000 +0200
-+++ gcc-3.2.3/gcc/config/rs6000/altivec.h 2003-07-02 10:11:35.000000000 +0200
-@@ -8535,4 +8535,52 @@
+--- gcc-3.2.3.orig/gcc/config/rs6000/altivec.h 2003-07-03 02:47:36.000000000 +0200
++++ gcc-3.2.3/gcc/config/rs6000/altivec.h 2003-07-03 02:49:17.000000000 +0200
+@@ -8535,4 +8535,57 @@
#endif /* __cplusplus */
@@ -35,6 +35,10 @@ diff -ruN gcc-3.2.3.orig/gcc/config/rs6000/altivec.h gcc-3.2.3/gcc/config/rs6000
+ };
+ return vec_perm (A, B, lowword);
+}
++/*#define my_vmrglb my_vmrglb
++#define my_vmrglh my_vmrglh
++#define my_vmrglw my_vmrglw
++*/
+#undef vec_mergel
+
+#define vec_mergel(a1, a2) \
@@ -53,4 +57,5 @@ diff -ruN gcc-3.2.3.orig/gcc/config/rs6000/altivec.h gcc-3.2.3/gcc/config/rs6000
+__ch (__bin_args_eq (vector unsigned int, (a1), vector unsigned int, (a2)), \
+ ((vector unsigned int) my_vmrglw ((vector signed int) (a1), (vector signed int) (a2))), \
+ __altivec_link_error_invalid_argument ())))))))
-#endif /* _ALTIVEC_H */
++
+ #endif /* _ALTIVEC_H */