overhaul elf csu (c-runtime startup) logic

- more support for linux, android, freebsd, netbsd, openbsd, dragonfly
- centralize musl utils; musl logic is no longer intertwined with csu
- fix musl compilation to build crti/crtn for full archs list
- fix openbsd to support `zig build-lib -dynamic`
- initial dragonfly linking success (with a warning)

ancillary:

- fix emutls (openbsd) tests to use `try`
This commit is contained in:
Michael Dusan
2021-05-16 15:59:34 -04:00
committed by Andrew Kelley
parent 44e480aa2c
commit 0f26120377
11 changed files with 288 additions and 91 deletions

View File

@@ -171,6 +171,7 @@ pub fn addCases(cases: *tests.StackTracesContext) void {
cases.addCase(.{
.exclude_os = .{
.openbsd, // integer overflow
.windows,
},
.name = "dumpCurrentStackTrace",