summaryrefslogtreecommitdiff
path: root/packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2006-09-12 09:25:38 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2006-09-12 09:25:38 +0000
commit30136a8e89b86b9e3d0fa4b07fafdf484ff8d4f2 (patch)
treefda5c2385c803bfdf3e338b3368c7d14622e41c4 /packages/glibc/files/glibc-2.3.5-fix-weak-alias-arm.patch
parent431b0378e7c2a282c4dc5ba2bf641d644facc4dd (diff)
parent1849c7146319438853e3b6c932003bde1a14b32f (diff)
merge of '14cc680dbaa6317eec602330d2fe0ac7dea3be7a'
and '350557edbea2aa55107ce4c0e4dffc849b7e2307'
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]!