summaryrefslogtreecommitdiff
path: root/src/libc.c
Commit message (Collapse)AuthorAge
* libc: Implement bionic's ctypeJari Vetoniemi2018-04-19
|
* libc: stdio must be wrappedJari Vetoniemi2018-04-18
| | | | | | | | | | | | | | 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.
* libc: Togglable libstdc++ supportJari Vetoniemi2018-02-27
| | | | | Can use either host libstdc++ or android's where android's is probably must for anything other than clang or gcc
* libc: Implement sigactionJari Vetoniemi2018-02-27
|
* libc: ugly dynamic_cast hackJari Vetoniemi2018-02-25
| | | | | We should have option to use android's libstdc++ implementations as well.
* libc: verbose sysconfJari Vetoniemi2018-02-25
|
* libc: Implement __page_size and __h_errnoJari Vetoniemi2018-02-25
|
* refactor commitJari Vetoniemi2018-02-22
|
* Messy commit of hacks and implementationsJari Vetoniemi2018-02-20
|
* refactoring, fixing and implementingJari Vetoniemi2018-02-19
| | | | messy commits yay
* Initial commitJari Vetoniemi2018-02-16
Stuff in src/linker will get rewritten from scratch eventually, it's all horrible. But for now focus is getting on shit work.