diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-08-27 07:31:29 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-08-29 11:39:35 +0200 |
| commit | 42e0850d78e63fcc602dd0e167ac90dfb3cfec02 (patch) | |
| tree | 62cbed417608fcffc6c7ef4f3bda6045d067f00a /src/link/MachO.zig | |
| parent | 84853c5c56e87a7ee6c5392756b0773b650d283c (diff) | |
| download | zig-42e0850d78e63fcc602dd0e167ac90dfb3cfec02.tar.gz zig-42e0850d78e63fcc602dd0e167ac90dfb3cfec02.zip | |
macho: save indexes to all sections of interest
Diffstat (limited to 'src/link/MachO.zig')
| -rw-r--r-- | src/link/MachO.zig | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/link/MachO.zig b/src/link/MachO.zig index ac07e5c687..de723639f1 100644 --- a/src/link/MachO.zig +++ b/src/link/MachO.zig @@ -33,14 +33,19 @@ data_segment_cmd_index: ?u8 = null, linkedit_segment_cmd_index: ?u8 = null, text_section_index: ?u8 = null, -stubs_section_index: ?u8 = null, -stub_helper_section_index: ?u8 = null, -got_section_index: ?u8 = null, data_const_section_index: ?u8 = null, -la_symbol_ptr_section_index: ?u8 = null, data_section_index: ?u8 = null, +bss_section_index: ?u8 = null, thread_vars_section_index: ?u8 = null, thread_data_section_index: ?u8 = null, +thread_bss_section_index: ?u8 = null, +eh_frame_section_index: ?u8 = null, +unwind_info_section_index: ?u8 = null, +stubs_section_index: ?u8 = null, +stub_helper_section_index: ?u8 = null, +got_section_index: ?u8 = null, +la_symbol_ptr_section_index: ?u8 = null, +tlv_ptr_section_index: ?u8 = null, locals: std.ArrayListUnmanaged(macho.nlist_64) = .{}, globals: std.ArrayListUnmanaged(SymbolWithLoc) = .{}, |
