On Wed, Sep 11, 2013 at 08:26:31PM -0500, Cayce Pollard wrote: > Also, would that work for linking __clear_cache to the Android equivalent > cacheflush?
I would prefer directly using the __ARM_NR_cacheflush syscall to make it work on non-Bionic Linux as well. The syscall has been introduced into Linux in 2.3.7pre6. Glibc uses it in libdl after perfoming relocations since 2005 and according to https://github.com/android/platform_bionic/blob/master/libc/arch-arm/syscalls/cacheflush.S it is what Bionic's cacheflush uses under der hood. Unfortunately it is not exposed by Glibc. Daniel _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel