diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-09-03 17:12:39 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-09-03 17:12:39 +0200 |
| commit | 80e1c244b6c9d5f3e855878d92ecc09dc8eb970a (patch) | |
| tree | ef93e21cde0713b0749e29951b2d54bfe000575d /src/link/MachO/TextBlock.zig | |
| parent | 1d2199b71c06e97be407c2bd0b05c07c8bd6cd2c (diff) | |
| download | zig-80e1c244b6c9d5f3e855878d92ecc09dc8eb970a.tar.gz zig-80e1c244b6c9d5f3e855878d92ecc09dc8eb970a.zip | |
macho: dyld info subsections need to follow in strict order
MachO, why are doing this to me?
Diffstat (limited to 'src/link/MachO/TextBlock.zig')
| -rw-r--r-- | src/link/MachO/TextBlock.zig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/link/MachO/TextBlock.zig b/src/link/MachO/TextBlock.zig index af9bf5b3eb..e6ceed9c55 100644 --- a/src/link/MachO/TextBlock.zig +++ b/src/link/MachO/TextBlock.zig @@ -844,9 +844,7 @@ pub fn parseRelocs(self: *TextBlock, relocs: []macho.relocation_info, context: R .sect = context.macho_file.got_section_index.?, }; _ = try context.macho_file.allocateAtom(atom, match); - // TODO don't need both at once - context.macho_file.rebase_info_dirty = true; - context.macho_file.binding_info_dirty = true; + context.macho_file.dyld_info_dirty = true; } else if (parsed_rel.payload == .unsigned) { switch (parsed_rel.where) { .undef => { |
