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 /src/glibc.zig | |
| 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 'src/glibc.zig')
| -rw-r--r-- | src/glibc.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glibc.zig b/src/glibc.zig index c704441b6b..df72ccb471 100644 --- a/src/glibc.zig +++ b/src/glibc.zig @@ -811,7 +811,7 @@ pub fn buildSharedObjects(comp: *Compilation) !void { while (ver_i < ver_list.len) : (ver_i += 1) { // Example: // .globl _Exit_2_2_5 - // .type _Exit_2_2_5, @function; + // .type _Exit_2_2_5, %function; // .symver _Exit_2_2_5, _Exit@@GLIBC_2.2.5 // .hidden _Exit_2_2_5 // _Exit_2_2_5: @@ -830,7 +830,7 @@ pub fn buildSharedObjects(comp: *Compilation) !void { ); try zig_body.writer().print( \\.globl {s} - \\.type {s}, @function; + \\.type {s}, %function; \\.symver {s}, {s}{s}GLIBC_{d}.{d} \\.hidden {s} \\{s}: @@ -854,7 +854,7 @@ pub fn buildSharedObjects(comp: *Compilation) !void { ); try zig_body.writer().print( \\.globl {s} - \\.type {s}, @function; + \\.type {s}, %function; \\.symver {s}, {s}{s}GLIBC_{d}.{d}.{d} \\.hidden {s} \\{s}: |
