[libc] Pull crt0 out into its own module

Sorta. crt0 is a separate module as far as bonnibel is concerned, but it's
still part of the libc module file.
This commit is contained in:
Justin C. Miller
2024-02-13 22:41:40 -08:00
parent 75d30fb56d
commit ba6e8e1349
7 changed files with 28 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
---
ccflags: [
"-fpie"
]
@@ -8,3 +9,7 @@ ldflags: [
"--dynamic-linker", "/jsix/lib/ld.so",
"--push-state", "--as-needed", "-Bstatic", "-lc++", "-lc++abi", "-lunwind", "--pop-state",
]
libs: [
"${target_dir}/crt0.o",
]