rebase with master

This commit is contained in:
Jakub Konka 2021-03-17 20:05:29 +01:00
parent 1ec620be62
commit 900658a85d

View File

@ -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();