summaryrefslogtreecommitdiff
path: root/src/libc.c
Commit message (Collapse)AuthorAge
* libc: Handle THREAD_SIGNAL correctlyJari Vetoniemi2018-07-30
|
* libc: Wrap low level glibc io calls for stdioJari Vetoniemi2018-06-02
| | | | This is much less work and actually works better.
* libc: Fix signal functionsJari Vetoniemi2018-05-30
| | | | | bionic uses different sized types, also bugs: https://android.googlesource.com/platform/bionic/+/master/docs/32-bit-abi.md
* libc: Fix printf formattersJari Vetoniemi2018-05-29
|
* libc: Temporary hack for sigactionJari Vetoniemi2018-05-16
| | | | | For some reason doesn't work with NULL act, need to investigate more later.
* libc: Fix sa_flags in bionic sigaction structJari Vetoniemi2018-05-16
|
* libc: support only android's libstdc++Jari Vetoniemi2018-04-19
| | | | | Supporting host libstdc++ is going to be complicated. Because c++'s ABI is unstable and mess.
* 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.