summaryrefslogtreecommitdiff
path: root/multilib-testing/lib32-glibc/glibc-__i686.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-09 23:14:45 +0000
committerroot <root@rshg054.dnsready.net>2011-09-09 23:14:45 +0000
commit42db4a0cf3a829fcd1bc2150669c6aa3c2984815 (patch)
tree91bdb63fa6802146ab19b3fbf8f6fc5ab78e23c2 /multilib-testing/lib32-glibc/glibc-__i686.patch
parenta7b0a0b362d0535cd86b575a45ec70cc2332fa62 (diff)
Fri Sep 9 23:14:45 UTC 2011
Diffstat (limited to 'multilib-testing/lib32-glibc/glibc-__i686.patch')
-rw-r--r--multilib-testing/lib32-glibc/glibc-__i686.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/multilib-testing/lib32-glibc/glibc-__i686.patch b/multilib-testing/lib32-glibc/glibc-__i686.patch
new file mode 100644
index 000000000..28d5dd424
--- /dev/null
+++ b/multilib-testing/lib32-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