diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2025-10-10 14:04:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-10 14:04:02 +0200 |
| commit | f010a3131976b2e85aadccaaeda5c03d2288849f (patch) | |
| tree | 81a24e3f4113356f994dc8a214b2f6fe379d2662 /lib/std/os/linux/powerpc64.zig | |
| parent | 07b6dbf8cae53d1e7a0c43cf514bb9286c3fd09e (diff) | |
| parent | 36dbe66cf4499e4a8f656bdf4629ec1623b345c1 (diff) | |
| download | zig-f010a3131976b2e85aadccaaeda5c03d2288849f.tar.gz zig-f010a3131976b2e85aadccaaeda5c03d2288849f.zip | |
Merge pull request #25516 from alexrp/std-debug
`std.debug`: greatly expand target support for segfault handling/unwinding, and remove public `ucontext_t` completely
Diffstat (limited to 'lib/std/os/linux/powerpc64.zig')
| -rw-r--r-- | lib/std/os/linux/powerpc64.zig | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/std/os/linux/powerpc64.zig b/lib/std/os/linux/powerpc64.zig index fb4686c7b2..5b1af7cc2b 100644 --- a/lib/std/os/linux/powerpc64.zig +++ b/lib/std/os/linux/powerpc64.zig @@ -336,43 +336,4 @@ pub const timezone = extern struct { dsttime: i32, }; -pub const greg_t = u64; -pub const gregset_t = [48]greg_t; -pub const fpregset_t = [33]f64; - -/// The position of the vscr register depends on endianness. -/// On C, macros are used to change vscr_word's offset to -/// account for this. Here we'll just define vscr_word_le -/// and vscr_word_be. Code must take care to use the correct one. -pub const vrregset = extern struct { - vrregs: [32][4]u32 align(16), - vscr_word_le: u32, - _pad1: [2]u32, - vscr_word_be: u32, - vrsave: u32, - _pad2: [3]u32, -}; -pub const vrregset_t = vrregset; - -pub const mcontext_t = extern struct { - __unused: [4]u64, - signal: i32, - _pad0: i32, - handler: u64, - oldmask: u64, - regs: ?*anyopaque, - gp_regs: gregset_t, - fp_regs: fpregset_t, - v_regs: *vrregset_t, - vmx_reserve: [34 + 34 + 32 + 1]i64, -}; - -pub const ucontext_t = extern struct { - flags: u32, - link: ?*ucontext_t, - stack: stack_t, - sigmask: [1024 / @bitSizeOf(c_ulong)]c_ulong, // Currently a libc-compatible (1024-bit) sigmask - mcontext: mcontext_t, -}; - pub const Elf_Symndx = u32; |
