aboutsummaryrefslogtreecommitdiff
path: root/src/link/MachO/Symbol.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-07-07 22:15:41 +0200
committerJakub Konka <kubkon@jakubkonka.com>2021-07-15 18:49:47 +0200
commite524f43a6fbb5189d24aa42667ababdcd92a2ab2 (patch)
treeec68e9b10d3c6d9e03932db7a09459419ccbf3e4 /src/link/MachO/Symbol.zig
parent7c662db8d95670f8ac0c88e9a2d6f49ef6782f13 (diff)
downloadzig-e524f43a6fbb5189d24aa42667ababdcd92a2ab2.tar.gz
zig-e524f43a6fbb5189d24aa42667ababdcd92a2ab2.zip
zld: save rebase and TLV offset as part of TextBlock
instead of as part of the Symbol. This seems to be more optimal way of handling dyld ops in presence of no splittable input sections in object files.
Diffstat (limited to 'src/link/MachO/Symbol.zig')
-rw-r--r--src/link/MachO/Symbol.zig5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/link/MachO/Symbol.zig b/src/link/MachO/Symbol.zig
index 5f437dc209..86624653f5 100644
--- a/src/link/MachO/Symbol.zig
+++ b/src/link/MachO/Symbol.zig
@@ -58,8 +58,6 @@ pub const Regular = struct {
local_sym_index: u32 = 0,
- should_rebase: bool = false,
-
pub const Linkage = enum {
translation_unit,
linkage_unit,
@@ -77,9 +75,6 @@ pub const Regular = struct {
if (self.weak_ref) {
try std.fmt.format(writer, ".weak_ref, ", .{});
}
- if (self.should_rebase) {
- try std.fmt.format(writer, ".should_rebase, ", .{});
- }
if (self.file) |file| {
try std.fmt.format(writer, ".file = {s}, ", .{file.name.?});
}