81 Commits
Author SHA1 Message Date
John Törnblom 0c302914bb libc: add c11 threads implementation from freebsd 11.4 2025-05-25 09:25:41 +02:00
John Törnblom b95b6d6b08 libcv: add fflush_unlocked (which just calls fflush) 2025-03-21 19:12:45 +01:00
John Törnblom 22f299fa71 initial support for llvm-20 2025-03-19 19:47:25 +01:00
John Törnblom 23be0e5765 libc: fix crime_r() 2025-03-17 16:30:20 +01:00
John Törnblom ff491adf2d libc: add asctime_r() 2025-03-17 16:30:00 +01:00
John Törnblom 12cf3dda40 libc: set errno if kernel_mprotect fails in mmap or mprotect 2025-03-05 01:34:48 +01:00
John Törnblom 694634c886 libc: set errno and return proper values upon syscall errors 2025-03-05 01:10:52 +01:00
John Törnblom 1516eceadf libc: decouple from crt my using direct syscall when possible 2025-03-05 00:33:24 +01:00
John Törnblom 05aeac3d92 libc: add backtrace() functions 2025-02-05 18:19:17 +01:00
John Törnblom 21d7b047c1 libc: decouple from crt 2025-02-05 18:16:02 +01:00
John Törnblom 78f9fcf8f6 libc: add getprotobyname() 2025-01-22 19:58:07 +01:00
John Törnblom c0f7a3d4c0 decouple libc from crt 2025-01-11 23:23:25 +01:00
John Törnblom af9c092f56 libc: add fts_open() etc 2025-01-07 16:44:43 +01:00
John Törnblom 360603a7fd libc: declare deps to crt1.o as weak 2025-01-06 17:11:12 +01:00
John Törnblom d80d4926c2 syscalls: define function names in C so symbols get exported properly 2025-01-05 02:28:22 +01:00
John Törnblom ea1c95115e mman: allow mmap and mprotect to map executable memory 2025-01-01 21:55:04 +01:00
John Törnblom 37a89e3571 libc: add stubs for syslog 2024-12-21 18:17:31 +01:00
John Törnblom 7c0562100b libc: add stub for getservbyname() 2024-12-21 18:16:46 +01:00
John Törnblom be53a86621 libc: add getservbyport() 2024-12-21 18:16:15 +01:00
John Törnblom 98baec696f libc: add a couple of default service names to getnameinfo 2024-12-21 18:14:54 +01:00
John Törnblom 73bce5c7a7 cosmetics 2024-12-21 15:21:20 +01:00
John Törnblom 87dd05133f cosmetics 2024-11-24 01:34:21 +01:00
John Törnblom 700a8c9914 add support for hosts using llvm-19 2024-11-23 15:11:11 +01:00
John Törnblom 5737cfe938 libc: add dirfd() 2024-11-20 16:58:21 +01:00
John Törnblom d64aca1273 cosmetics 2024-11-19 18:45:36 +01:00
John Törnblom fdf102770d qsort_r: fix freebsd11 adaptation to qsort_s 2024-11-19 18:43:15 +01:00
John Törnblom 5e1d6367e5 qsort_r: initial commit 2024-11-19 16:49:15 +01:00
John Törnblom e9ad012f8a libc: add stub for duplocale() 2024-11-17 18:48:04 +01:00
John Törnblom 9242728f0d libc: add stub for uselocale 2024-11-17 18:18:07 +01:00
John Törnblom 25bdf2f85f make: define PHONY targets 2024-11-16 23:45:36 +01:00
John Törnblom 35d04f49bc fix rtld for payloads 2024-11-14 15:07:13 +01:00
John Törnblom 7c3a832633 rtld: initial experiment with homebrew shared objects 2024-11-14 13:20:37 +01:00
John Törnblom 580866d91e libc: add a couple of stubs for functions that currently does not work on ps5 2024-11-07 19:11:20 +01:00
John Törnblom b5329a550a libc: patch: make sure the syscall constructor is not removed by an optimization pass 2024-11-07 18:35:41 +01:00
John Törnblom c8a20d2b08 cosmetics 2024-11-03 23:45:28 +01:00
John Törnblom 21759bec69 decouple libcrt from libc 2024-11-03 23:43:03 +01:00
John Törnblom 99ae0b625e add fvisibility-nodllstorageclass=default to targets 2024-11-03 21:46:10 +01:00
John Törnblom 15ac949427 libc: add reallocarray 2024-11-03 15:50:54 +01:00
John Törnblom f82680f93f place crt in an archive, which simplifies linking in exotic scenarios 2024-11-03 15:43:04 +01:00
John Törnblom 311b4a626b libc: add strsignal 2024-11-02 13:15:58 +01:00
John Törnblom fa8070b537 libc: add setlinebuf and setbuffer 2024-10-13 20:35:51 +02:00
John Törnblom d77dc550d1 libc: add posix_madvise 2024-10-13 20:35:27 +02:00
John Törnblom 92083accd4 libc: add memccpy 2024-10-13 20:35:18 +02:00
John Törnblom 5e537b1fc4 add timegm 2024-10-12 09:48:26 +02:00
John Törnblom 359a9b18f2 __flt_rounds: initial commit 2024-10-12 09:31:39 +02:00
John Törnblom 822c22d93a nl_langinfo: initial commit 2024-10-12 09:30:28 +02:00
John Törnblom 6de0c8e0f8 libc: fix gethostbyaddr 2024-10-11 19:51:43 +02:00
John Törnblom f73a996fda libc: add gethostbyname_r() 2024-10-11 19:39:14 +02:00
John Törnblom 9c49e1ecf4 gethostbyname: fix addr_list, it should be an array of struct in_addr, not an array of strings 2024-10-11 19:38:07 +02:00
John Törnblom 759f521aa5 add experimental support for firmware 5.xx 2024-09-27 04:46:21 +02:00