Commit Graph

330 Commits

Author SHA1 Message Date
flysand7 1f448dab10 pull out arch-specific stuff into its own folder (windows broken) 2023-08-25 20:18:28 +11:00
flysand7 82788654d8 Linux threads (not working) 2023-08-15 19:54:02 +11:00
flysand7 1beb40051e fix potentially unitialized value 2023-08-15 15:50:52 +11:00
flysand7 50fe56949f Fix SSE by aligning the stack 2023-08-05 22:35:45 +11:00
flysand7 35717f62a0 make dynamic linker perform relocs and jump into the main code 2023-08-05 21:33:19 +11:00
flysand7 48a3a48ce8 Add memory fences around self-relocating code 2023-08-04 06:24:19 +11:00
flysand7 246e9f2071 Fix optimized builds emitting SSE code 2023-08-04 06:20:32 +11:00
flysand7 845d08ee3a Hide dbg_printfs behind a define 2023-08-04 05:46:05 +11:00
flysand7 a812a18033 Custom linux headers 2023-08-04 05:36:03 +11:00
flysand7 14c36e203e pass dyn instead of dynv to loader 2023-08-04 04:17:41 +11:00
flysand7 5b2d0c0c9d self-relocation in dynamic loader 2023-08-04 00:16:15 +11:00
flysand7 bf0d06eeb4 stddef.h 2023-08-02 20:07:54 +11:00
flysand7 d86ac28629 oops 2023-08-02 14:43:20 +11:00
flysand7 c293fc7813 Start on dynamic loader 2023-08-02 14:43:07 +11:00
flysand7 8751a697ee Add valgrind output to .gitignore 2023-08-02 10:44:08 +11:00
flysand7 57a2e138cd Clean up build script 2023-08-02 10:34:37 +11:00
flysand7 443675feec Update TODO 2023-08-01 13:11:56 +11:00
flysand7 e041fdd474 Add export section to library.json 2023-08-01 13:05:10 +11:00
flysand7 e41df0dd4d Use linux includes whenever possible 2023-08-01 12:45:45 +11:00
flysand7 3a965154ed Update readme instruction 2023-08-01 12:23:25 +11:00
flysand7 8efd9b7c7a Add data model macro setting 2023-08-01 12:20:43 +11:00
flysand7 2166660b93 Underscores on allocators 2023-08-01 11:30:32 +11:00
flysand7 fd8f580b63 Rename DEBUG to _DEBUG 2023-08-01 11:28:18 +11:00
flysand7 5a9bea11ad Fix failing link on empty file 2023-08-01 11:26:13 +11:00
flysand7 b2ae7be654 Fix forgot to pass MAP_PRIVATE flag to mmap 2023-08-01 02:29:44 +11:00
flysand7 9442c41168 Fix missing whitespace in buildscript 2023-08-01 02:05:05 +11:00
flysand7 42dd38804a Terminal colors in build script (yay) 2023-07-31 09:43:01 +11:00
flysand7 721aa8c2de Add status table 2023-07-31 09:05:15 +11:00
flysand7 2954ad3b63 Get windows build working 2023-07-31 07:55:59 +11:00
flysand7 8c0590e517 [bugfix] Make one freelist per pool, instead of one per buffer 2023-07-31 04:47:18 +11:00
flysand7 344d9f0398 Fix files not being removed from the pool upon closing 2023-07-31 04:19:05 +11:00
flysand7 d9f530fe58 Add memory pool to cia-mem, use it for FILE 2023-07-31 04:17:57 +11:00
flysand7 80fde89a6f add todo list 2023-07-30 21:12:52 +11:00
flysand7 9f44678472 Underscore syscall stuff 2023-07-30 19:47:59 +11:00
flysand7 9ac97f1e9d Memory manager on linux + remove C23 attributes for now 2023-07-30 18:45:14 +11:00
flysand7 e2158eed8b Update readme 2023-07-29 00:50:04 +11:00
flysand7 b4d8fe5adc Separate out stdint and stdbool 2023-07-29 00:15:38 +11:00
flysand7 84ab80b663 Maybe finally fix Github CI issues 2023-07-28 23:16:35 +11:00
flysand7 50cb96f875 ? 2023-07-28 23:13:17 +11:00
flysand7 55b53bf554 Github CI fix llvm version 2023-07-28 23:10:13 +11:00
flysand7 60db0beac4 ? 2023-07-28 23:08:28 +11:00
flysand7 544948fbf5 Github CI downgrade ubuntu version 2023-07-28 23:03:43 +11:00
flysand7 f08633efff Github CI don't build nasm 2023-07-28 23:00:43 +11:00
flysand7 76ced48fed Github CI cached llvm and clang 2023-07-28 22:57:42 +11:00
flysand7 bd3622dddf Fix compile error 2023-07-28 22:52:54 +11:00
flysand7 fff9716dc8 Add windows build to CI 2023-07-28 22:47:06 +11:00
flysand7 a71e49ca22 Fix linux build failing 2023-07-28 22:41:53 +11:00
flysand7 8a5804b51d Fix module deps checks, make allocators use one proc 2023-07-28 22:29:12 +11:00
flysand7 76904bd19b Handle inter-module dependencies 2023-07-28 21:52:12 +11:00
flysand7 3abf5e3f7f Memory API 2023-07-28 21:49:56 +11:00