mmap64 undefined on arm oabi
Tobias Poschwatta
tp at fonz.de
Fri Apr 18 10:28:06 UTC 2008
Hi,
the 'pure thumb' patch seems to be missing the mmap64 label for the
OABI case:
http://www.uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/arm/mmap64.S?rev=21498&r1=13912&r2=21498&diff_format=h
# readelf -s libc.so.0 | grep mmap64
923: 00000000 0 FUNC GLOBAL DEFAULT UND mmap64
Following patch fixed it here.
BR, Tobias
--- uClibc/libc/sysdeps/linux/arm/mmap64.S.orig 2008-04-18 12:06:09.000000000 +0200
+++ uClibc/libc/sysdeps/linux/arm/mmap64.S 2008-04-18 12:06:33.000000000 +0200
@@ -104,6 +104,7 @@
b __syscall_error
#endif
#else /* !__ARM_EABI__ */
+mmap64:
stmfd sp!, {r4, r5, lr}
ldr r5, [sp, $16]
ldr r4, [sp, $12]
More information about the uClibc
mailing list