summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-07 22:01:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-07 22:01:27 +0100
commit7de93724af9791bad0a8e887d02bf7a3a872305c (patch)
treec4de7f2ecaa01cc7cf371eb3b771a6b8a8f9a9de /toolchain
parentbd1730cdff6b88d54d5fdb3d63d5733ca33abe59 (diff)
parent254ae86e16cddf282b36c0593148e24151ce1f96 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/uClibc/patches/mips64.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/mips64.patch b/toolchain/uClibc/patches/mips64.patch
new file mode 100644
index 000000000..fd2135a48
--- /dev/null
+++ b/toolchain/uClibc/patches/mips64.patch
@@ -0,0 +1,22 @@
+diff -Nur uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c
+--- uClibc-0.9.30.2.orig/libc/sysdeps/linux/common/getdents.c 2010-01-13 22:22:31.000000000 +0100
++++ uClibc-0.9.30.2/libc/sysdeps/linux/common/getdents.c 2010-02-03 20:21:34.000000000 +0100
+@@ -136,9 +136,6 @@
+ return (char *) dp - buf;
+ }
+
+-#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64
+-attribute_hidden strong_alias(__getdents,__getdents64)
+-#endif
+
+ #elif __WORDSIZE == 32
+
+@@ -171,4 +168,8 @@
+ }
+ #endif
+
++#if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64
++attribute_hidden strong_alias(__getdents,__getdents64)
++#endif
++
+ #endif