summaryrefslogtreecommitdiff
path: root/core/glibc/glibc-__i686.patch
blob: 28d5dd4243dd70d8ff8fc3f404968f0b64717400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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