summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-06-18 04:21:44 +0000
committerMike Frysinger <vapier@gentoo.org>2006-06-18 04:21:44 +0000
commitebb48cb369db08de37cc7bf0f51be541b3c0f3c7 (patch)
treef2fcc27508f2407272dffbf6fe75e749ba920bc2 /src/patchsets/glibc/2.3.6
parentupdate amd64 string patch (diff)
downloadgentoo-ebb48cb369db08de37cc7bf0f51be541b3c0f3c7.tar.gz
gentoo-ebb48cb369db08de37cc7bf0f51be541b3c0f3c7.tar.bz2
gentoo-ebb48cb369db08de37cc7bf0f51be541b3c0f3c7.zip
fix from upstream #133992
Diffstat (limited to 'src/patchsets/glibc/2.3.6')
-rw-r--r--src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch b/src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch
new file mode 100644
index 0000000000..7c73647c4f
--- /dev/null
+++ b/src/patchsets/glibc/2.3.6/6230_all_arm-glibc-2.3.6-socket-no-weak-alias.patch
@@ -0,0 +1,26 @@
+2005-10-27 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * sysdeps/unix/sysv/linux/arm/socket.S: Honor NO_WEAK_ALIAS.
+
+--- ports/sysdeps/unix/sysv/linux/arm/socket.S
++++ ports/sysdeps/unix/sysv/linux/arm/socket.S
+@@ -32,7 +34,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]!
+@@ -120,4 +122,6 @@
+
+ PSEUDO_END (__socket)
+
++#ifndef NO_WEAK_ALIAS
+ weak_alias (__socket, socket)
++#endif