[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] Problem Compiling tinycc For Android: strtold
From: |
Daniel Glöckner |
Subject: |
Re: [Tinycc-devel] Problem Compiling tinycc For Android: strtold |
Date: |
Thu, 12 Sep 2013 09:34:29 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
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