add getrlimit64 stub
authorYour Name <waterman@eecs.berkeley.edu>
Sat, 12 Nov 2011 08:05:21 +0000 (00:05 -0800)
committerYour Name <waterman@eecs.berkeley.edu>
Sat, 12 Nov 2011 08:05:21 +0000 (00:05 -0800)
Necessary to link busybox on RISC-V.  The problem is
actually that the generic version doesn't libc_hidden_def
itself, so the exported symbol name was mangled.

tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/getrlimit64.c [new file with mode: 0644]

diff --git a/tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/getrlimit64.c b/tools/compilers/gcc-glibc/glibc-2.14.1-ros/sysdeps/ros/getrlimit64.c
new file mode 100644 (file)
index 0000000..698f59e
--- /dev/null
@@ -0,0 +1,2 @@
+#include <resource/getrlimit64.c>
+libc_hidden_def (getrlimit64)