diff options
| author | Isaac Freund <ifreund@ifreund.xyz> | 2020-12-13 22:12:55 +0100 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-12-13 23:19:23 -0500 |
| commit | 343249efd845c30fbdcb18a37ebb356ab19da742 (patch) | |
| tree | 31f89db9c20db11da174a2a8e22b9c43a6b80b04 /tools | |
| parent | 481ce7361e075138e06bffff8c68ce8bf8c8eac3 (diff) | |
| download | zig-343249efd845c30fbdcb18a37ebb356ab19da742.tar.gz zig-343249efd845c30fbdcb18a37ebb356ab19da742.zip | |
stage2: use %type not @type for libc stubs
Apparently ARM uses @ for comments. Everything seems to accept % here
though.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/gen_stubs.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gen_stubs.zig b/tools/gen_stubs.zig index b436fdc530..c4f5e25b0c 100644 --- a/tools/gen_stubs.zig +++ b/tools/gen_stubs.zig @@ -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 => {}, } |
