mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32:44 +00:00
rebase with master
This commit is contained in:
parent
1ec620be62
commit
900658a85d
@ -2505,14 +2505,6 @@ fn writeRebaseInfoTable(self: *Zld) !void {
|
||||
try self.file.?.pwriteAll(buffer, dyld_info.rebase_off);
|
||||
}
|
||||
|
||||
fn pointerCmp(context: void, a: Pointer, b: Pointer) bool {
|
||||
if (a.segment_id < b.segment_id) return true;
|
||||
if (a.segment_id == b.segment_id) {
|
||||
return a.offset < b.offset;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
fn writeBindInfoTable(self: *Zld) !void {
|
||||
var pointers = std.ArrayList(Pointer).init(self.allocator);
|
||||
defer pointers.deinit();
|
||||
|
Loading…
Reference in New Issue
Block a user