summaryrefslogtreecommitdiff
path: root/testing/glibc/glibc-__i686.patch
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-09 13:03:24 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-06-09 13:03:24 -0300
commit06a22f3bf7a44edf24bd02b6023cf05a6bc77256 (patch)
tree583c62f4fbd0d8ed3401fb1f34ea5756b8aee8d4 /testing/glibc/glibc-__i686.patch
parentd54a0874c6641a08e4cc71269e8be3a1919e70a4 (diff)
parent498f3fc095103b2a220a00b27d43f4dae02d5459 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: core/gcc/PKGBUILD extra/qt/PKGBUILD multilib/gcc-multilib/PKGBUILD testing/pidgin/PKGBUILD
Diffstat (limited to 'testing/glibc/glibc-__i686.patch')
-rw-r--r--testing/glibc/glibc-__i686.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/glibc/glibc-__i686.patch b/testing/glibc/glibc-__i686.patch
new file mode 100644
index 000000000..28d5dd424
--- /dev/null
+++ b/testing/glibc/glibc-__i686.patch
@@ -0,0 +1,13 @@
+diff -Naur glibc-old//sysdeps/i386/Makefile glibc//sysdeps/i386/Makefile
+--- glibc-old//sysdeps/i386/Makefile 2010-03-18 11:52:30.000000000 +1000
++++ glibc//sysdeps/i386/Makefile 2010-04-16 15:05:50.000000000 +1000
+@@ -1,6 +1,7 @@
+ # The mpn functions need a #define for asm syntax flavor.
+-# Every i386 port in use uses gas syntax (I think).
+-asm-CPPFLAGS += -DGAS_SYNTAX
++# Every i386 port in use uses gas syntax (I think). Don't replace
++# __i686 in __i686.get_pc_thunk.bx.
++asm-CPPFLAGS += -DGAS_SYNTAX -U __i686
+
+ # The i386 `long double' is a distinct type we support.
+ long-double-fcts = yes