summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches/mips64.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-04 01:00:04 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-04 01:00:04 +0100
commitadcaca72539b2ff4a5f4deee00d5f0251378ac9b (patch)
tree547e6a208cc04861fb178af7caadec7112596804 /toolchain/uClibc/patches/mips64.patch
parentfaa66544c82f39203dca165e8b0a931e21b3a1ba (diff)
parentf991debebbd17225a6302b7bcd51101b0f41a621 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'toolchain/uClibc/patches/mips64.patch')
-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