| Commit message (Collapse) | Author | Age |
| |
|
| |
|
| |
|
|
|
|
| |
This is much less work and actually works better.
|
|
|
|
|
| |
bionic uses different sized types, also bugs:
https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md
|
| |
|
|
|
|
|
| |
For some reason doesn't work with NULL act, need to investigate more
later.
|
| |
|
|
|
|
|
| |
Supporting host libstdc++ is going to be complicated.
Because c++'s ABI is unstable and mess.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bionic libc does stupid stuff and defines standard streams as macros to
reference of an array element. Thus we can't just point standard streams
to their respective correct addresses. (Why does both glibc and bionic
even expose the internal FILE structs??)
So we have to wrap every function that takes FILE* as argument and
mangle it with bionic_file_to_glibc_file. We can't just check addresses
because gnu's libstdc++ copies the FILE*.
I assume same thing happens with the c++ locale support, and we need to
do more complex ctype wrapping.
|
|
|
|
|
| |
Can use either host libstdc++ or android's
where android's is probably must for anything other than clang or gcc
|
| |
|
|
|
|
|
| |
We should have option to use android's libstdc++ implementations as
well.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
messy commits yay
|
|
Stuff in src/linker will get rewritten from scratch eventually, it's all
horrible. But for now focus is getting on shit work.
|