summaryrefslogtreecommitdiff
path: root/packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2006-08-31 21:23:31 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2006-08-31 21:23:31 +0000
commit9814adc8f6e4c83701ab3f1f0d9503bb2fcd348c (patch)
treea283c4ec04a4175bd50e6ced69bc1d37acbb40f0 /packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch
parent595160162414a8b0a1db18dfb80a457cac2b53ac (diff)
parenteb9aa42c10eccc39c3cb939c9f9dd70ed89991e4 (diff)
merge of '2994aa36c2fc770f17f1156ec1d07bb4890f2c1c'
and '73e50ed2ac3eec8ff383c4b49eb7dac23c9663bf'
Diffstat (limited to 'packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch')
-rw-r--r--packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch b/packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch
new file mode 100644
index 0000000000..0097ff94d3
--- /dev/null
+++ b/packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch
@@ -0,0 +1,15 @@
+--- glibc-2.3.3/ports/sysdeps/unix/sysv/linux/arm/socket.S.orig 2006-07-12 13:57:05.990485563 -0700
++++ glibc-2.3.3/ports/sysdeps/unix/sysv/linux/arm/socket.S 2006-07-12 13:58:41.197865230 -0700
+@@ -32,7 +32,11 @@
+ The .S files for the other calls just #define socket and #include this. */
+
+ #ifndef __socket
+-#define __socket P(__,socket)
++# ifndef NO_WEAK_ALIAS
++# define __socket P(__,socket)
++# else
++# define __socket socket
++# endif
+ #endif
+
+ #define PUSHARGS_1 str a1, [sp, $-4]!