Skip to content

Commit a7c52c8

Browse files
committed
std.os.linux: Rename start_pie.zig to pie.zig.
This just reflects the name it's actually exposed with in code.
1 parent a330aaa commit a7c52c8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/std/os/linux.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pub const user_desc = arch_bits.user_desc;
115115
pub const getcontext = arch_bits.getcontext;
116116

117117
pub const tls = @import("linux/tls.zig");
118-
pub const pie = @import("linux/start_pie.zig");
118+
pub const pie = @import("linux/pie.zig");
119119
pub const BPF = @import("linux/bpf.zig");
120120
pub const IOCTL = @import("linux/ioctl.zig");
121121
pub const SECCOMP = @import("linux/seccomp.zig");
File renamed without changes.

lib/std/start.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,8 @@ fn _start() callconv(.Naked) noreturn {
288288
,
289289
.csky =>
290290
// The CSKY ABI assumes that `gb` is set to the address of the GOT in order for
291-
// position-independent code to work. We depend on this in `std.os.linux.start_pie`
292-
// to locate `_DYNAMIC` as well.
291+
// position-independent code to work. We depend on this in `std.os.linux.pie` to locate
292+
// `_DYNAMIC` as well.
293293
\\ grs t0, 1f
294294
\\ 1:
295295
\\ lrw gb, 1b@GOTPC

0 commit comments

Comments
 (0)