0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/lib
Jakub Konka a88c0b4d08 link: handle -u flag in all linkers
Also clean up parsing of linker args - reuse `ArgsIterator`.

In MachO, ensure we add every symbol marked with `-u` as undefined
before proceeding with symbol resolution. Additionally, ensure those
symbols are never garbage collected.

MachO entry_in_dylib test: pass `-u _my_main` when linking executable
so that it is not incorrectly garbage collected by the linker.
History 2023-04-01 14:22:44 +02:00
..
compiler_rt compiler_rt: fix rare case in udivei4 2023-03-07 03:00:08 -05:00
docs Merge pull request #15127 from der-teufel-programming/autodoc_newbuiltins 2023-03-31 17:30:09 +02:00
include C backend: improve ergonomics of zig.h a little bit 2022-11-13 16:50:16 -07:00
init-exe fix init-exe, init-lib templates 2023-01-31 15:09:35 -07:00
init-lib fix init-exe, init-lib templates 2023-01-31 15:09:35 -07:00
libc Merge pull request #15139 from ziglang/macos-13-fixes 2023-04-01 14:22:29 +02:00
libcxx dragonfly: port libc++ 2023-01-02 19:18:33 -05:00
libcxxabi update libcxxabi to LLVM 15 2022-08-04 18:02:01 -07:00
libunwind update libunwind to LLVM 15 2022-08-04 18:09:10 -07:00
std link: handle -u flag in all linkers 2023-04-01 14:22:44 +02:00
tsan update libcxx, libcxxabi, libunwind, and tsan to llvm 13 rc1 2021-08-16 23:32:13 -07:00
build_runner.zig delete --prominent-compile-errors from help 2023-03-18 20:13:52 +02:00
c.zig Add support for mips64/mips64el 2023-02-04 15:19:53 -05:00
compiler_rt.zig compiler_rt: declutter int.zig, add mulXi3 tests (#14623) 2023-02-24 13:27:02 -05:00
ssp.zig all: rename i386 to x86 2022-11-04 00:09:27 +03:30
test_runner.zig test runner: remove one superfluous stack frame 2023-03-15 10:48:14 -07:00
zig.h zig.h: fix non-msvc warnings in msvc code 2023-03-30 12:07:12 +03:00