| ... | @@ -153,6 +153,10 @@ pub usingnamespace @import("linux/io_uring.zig"); | ... | @@ -153,6 +153,10 @@ pub usingnamespace @import("linux/io_uring.zig"); |
| 153 | | 153 | |
| 154 | /// Set by startup code, used by `getauxval`. | 154 | /// Set by startup code, used by `getauxval`. |
| 155 | pub var elf_aux_maybe: ?[*]std.elf.Auxv = null; | 155 | pub var elf_aux_maybe: ?[*]std.elf.Auxv = null; |
| | 156 | pub extern var _elf_aux_maybe: ?[*]std.elf.Auxv; |
| | 157 | comptime { |
| | 158 | @export(elf_aux_maybe, .{ .name = "_elf_aux_maybe", .linkage = .Weak }); |
| | 159 | } |
| 156 | | 160 | |
| 157 | /// See `std.elf` for the constants. | 161 | /// See `std.elf` for the constants. |
| 158 | pub fn getauxval(index: usize) usize { | 162 | pub fn getauxval(index: usize) usize { |