aboutsummaryrefslogtreecommitdiff
path: root/src/objcopy.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/objcopy.zig')
-rw-r--r--src/objcopy.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objcopy.zig b/src/objcopy.zig
index 12129aba9c..c5d0e8dcb3 100644
--- a/src/objcopy.zig
+++ b/src/objcopy.zig
@@ -402,7 +402,7 @@ const BinaryElfOutput = struct {
}
}
- std.sort.sort(*BinaryElfSegment, self.segments.items, {}, segmentSortCompare);
+ mem.sort(*BinaryElfSegment, self.segments.items, {}, segmentSortCompare);
for (self.segments.items, 0..) |firstSegment, i| {
if (firstSegment.firstSection) |firstSection| {
@@ -427,7 +427,7 @@ const BinaryElfOutput = struct {
}
}
- std.sort.sort(*BinaryElfSection, self.sections.items, {}, sectionSortCompare);
+ mem.sort(*BinaryElfSection, self.sections.items, {}, sectionSortCompare);
return self;
}