diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2024-07-11 14:19:42 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2024-07-18 09:13:08 +0200 |
| commit | 3d58faed12d018d70a4cd28aff89b733621a0259 (patch) | |
| tree | 8f1506351ce7d5447d6ec56661217874dfe01d57 /src | |
| parent | b4e6b3c53c0fd54b43f648d9a207e8ff592dd0ff (diff) | |
| download | zig-3d58faed12d018d70a4cd28aff89b733621a0259.tar.gz zig-3d58faed12d018d70a4cd28aff89b733621a0259.zip | |
macho: we do not yet support interposable symbols
Diffstat (limited to 'src')
| -rw-r--r-- | src/link/MachO/Object.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/MachO/Object.zig b/src/link/MachO/Object.zig index d6f4d903ea..dc62bc6500 100644 --- a/src/link/MachO/Object.zig +++ b/src/link/MachO/Object.zig @@ -840,7 +840,7 @@ fn initSymbols(self: *Object, allocator: Allocator, macho_file: *MachO) !void { symbol.flags.tentative = nlist.tentative(); symbol.flags.no_dead_strip = symbol.flags.no_dead_strip or nlist.noDeadStrip(); symbol.flags.dyn_ref = nlist.n_desc & macho.REFERENCED_DYNAMICALLY != 0; - symbol.flags.interposable = nlist.ext() and (nlist.sect() or nlist.abs()) and macho_file.base.isDynLib() and !nlist.pext(); + symbol.flags.interposable = false; // TODO // symbol.flags.interposable = nlist.ext() and (nlist.sect() or nlist.abs()) and macho_file.base.isDynLib() and macho_file.options.namespace == .flat and !nlist.pext(); |
