Alex Rønne Petersen
f87b443af1
link.MachO: Add support for the -x flag (discard local symbols).
...
This can also be extended to ELF later as it means roughly the same thing there.
This addresses the main issue in #21721 but as I don't have a macOS machine to
do further testing on, I can't confirm whether zig cc is able to pass the entire
cgo test suite after this commit. It can, however, cross-compile a basic program
that uses cgo to x86_64-macos-none which previously failed due to lack of -x
support. Unlike previously, the resulting symbol table does not contain local
symbols (such as C static functions).
I believe this satisfies the related donor bounty: https://ziglang.org/news/second-donor-bounty
2025-02-22 06:35:19 +01:00
..
2025-02-22 06:35:19 +01:00
2025-02-17 19:18:19 +01:00
2025-01-22 23:34:57 +09:00
2025-02-21 22:45:38 +01:00
2025-02-17 19:18:19 +01:00
2024-12-19 17:10:03 -05:00
2025-02-17 19:18:19 +01:00
2025-01-16 12:46:29 +00:00
2025-02-17 19:18:19 +01:00
2025-01-27 11:13:56 -08:00
2025-02-06 15:00:48 +01:00
2025-02-13 00:19:03 -08:00
2025-02-18 09:47:44 -05:00
2025-02-06 14:50:20 -08:00
2025-01-16 12:49:58 +00:00
2025-01-26 18:40:34 +01:00
2025-02-21 06:05:04 +01:00
2025-02-20 08:44:09 +01:00
2025-02-03 17:07:27 -08:00
2025-02-18 18:08:47 +03:30
2025-02-06 14:23:23 -08:00
2025-02-17 19:18:19 +01:00
2025-02-20 13:33:59 +02:00
2025-01-17 22:55:55 +01:00
2025-02-21 21:40:57 -05:00
2025-02-12 01:55:26 -08:00
2025-02-13 00:19:03 -08:00
2025-02-22 03:48:09 +01:00
2025-02-09 11:46:15 +00:00
2025-01-26 19:03:33 +01:00
2025-02-17 19:18:19 +01:00
2025-02-20 20:42:24 +01:00
2025-02-05 13:58:15 +01:00
2025-02-17 19:18:19 +01:00
2025-02-06 14:23:23 -08:00
2025-02-17 19:17:55 +01:00
2025-01-16 12:49:58 +00:00
2025-02-06 14:23:23 -08:00
2025-02-12 14:45:38 -08:00
2025-02-18 18:07:31 +03:30
2025-02-06 14:23:23 -08:00
2025-02-17 19:18:19 +01:00
2025-01-16 12:49:58 +00:00
2025-02-12 09:48:17 -05:00
2025-02-15 03:40:55 +01:00
2025-02-18 23:35:16 +01:00
2025-02-13 00:19:03 -08:00
2025-02-16 01:02:33 +01:00
2025-01-16 20:42:08 -05:00
2025-02-21 07:29:15 +01:00
2025-02-01 19:02:39 +01:00
2025-02-06 14:23:23 -08:00
2025-01-16 12:46:29 +00:00
2025-02-03 17:07:28 -08:00
2025-01-16 20:42:08 -05:00
2025-02-06 14:23:23 -08:00
2025-02-06 14:23:23 -08:00
2025-02-18 18:08:47 +03:30
2025-02-16 15:51:40 +01:00
2025-02-17 19:18:19 +01:00
2025-02-21 09:03:46 +01:00
2025-01-15 15:11:36 -08:00
2025-02-06 15:00:48 +01:00
2025-02-06 14:23:23 -08:00
2025-02-03 09:14:37 +00:00