macho: mark __mh_execute_header as ref'd dynamically

This commit is contained in:
Jakub Konka 2022-07-17 23:52:32 +02:00
parent 0da8ba816a
commit 0f1b5d45bc

View File

@ -2942,7 +2942,7 @@ fn createMhExecuteHeaderSymbol(self: *MachO) !void {
.n_strx = n_strx, .n_strx = n_strx,
.n_type = macho.N_SECT | macho.N_EXT, .n_type = macho.N_SECT | macho.N_EXT,
.n_sect = 0, .n_sect = 0,
.n_desc = 0, .n_desc = macho.REFERENCED_DYNAMICALLY,
.n_value = 0, .n_value = 0,
}); });