Skip to content

Commit

Permalink
macho: actually emit __compact_unwind section
Browse files Browse the repository at this point in the history
  • Loading branch information
kubkon committed Jan 1, 2024
1 parent 48d37ee commit 23d2254
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MachO/relocatable.zig
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ fn initOutputSections(macho_file: *MachO) !void {
if (macho_file.getFile(index).?.object.has_unwind) break true;
} else false;
if (needs_unwind_info) {
macho_file.unwind_info_sect_index = try macho_file.addSection("__TEXT", "__compact_unwind", .{
macho_file.unwind_info_sect_index = try macho_file.addSection("__LD", "__compact_unwind", .{
.flags = macho.S_ATTR_DEBUG,
});
}
Expand Down

0 comments on commit 23d2254

Please sign in to comment.