stage2: use %type not @type for libc stubs

Apparently ARM uses @ for comments. Everything seems to accept % here
though.
This commit is contained in:
Isaac Freund
2020-12-13 22:12:55 +01:00
committed by Andrew Kelley
parent 481ce7361e
commit 343249efd8
3 changed files with 1667 additions and 1667 deletions

View File

@@ -92,7 +92,7 @@ pub fn main() !void {
.weak => try stdout.print(".weak {s}\n", .{symbol.name}),
}
switch (symbol.type) {
.function => try stdout.print(".type {s}, @function;\n", .{symbol.name}),
.function => try stdout.print(".type {s}, %function;\n", .{symbol.name}),
.object => try stdout.print(".type {s}, @object;\n", .{symbol.name}),
.none => {},
}