[PATCH] librt: Add shm_open and shm_unlink + testcase
Mikael Lund Jepsen, ICCC
mlj at iccc.dk
Wed Feb 4 13:57:53 UTC 2009
Hi all,
I've made a number of changes since my original post, taking both Joakim
and Bernards changes into consideration.
I hope they address their concerns properly. Most importantly, I now
malloc a buffer of an appropriate size instead of statically allocating
one as in the original newlib implementation.
The test code compiles fine within the test suite (make check), but I
seem unable to test the exact compile made by the suite, as I am cross
compiling for arm.
Uploading the test app to my target does not work as the lib paths are
then of course wrong. Compiling "manually" with my toolchain (i.e. not
using the test suite make system) works fine - and also passes the test
when run on my target. Am I missing something in the way I compile/setup
the test suite?
For convenience, as requested by Bernard:
text data bss dec hex filename
264 0 0 264 108 librt/shm_open.os
172 0 0 172 ac librt/shm_unlink.os
Please take a look and let me know if I should change anything.
Thanks,
Mikael
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: librt-Add-shm_open-and-shm_unlink-testcase.patch
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20090204/191ebf52/attachment.diff
More information about the uClibc
mailing list