mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
std.os.linux: define PROT.SEM for xtensa
This commit is contained in:
parent
c8efebcf53
commit
6c760d76b9
1 changed files with 1 additions and 2 deletions
|
|
@ -3614,8 +3614,7 @@ pub const PROT = struct {
|
|||
pub const EXEC = 0x4;
|
||||
/// page may be used for atomic ops
|
||||
pub const SEM = switch (native_arch) {
|
||||
// TODO: also xtensa
|
||||
.mips, .mipsel, .mips64, .mips64el => 0x10,
|
||||
.mips, .mipsel, .mips64, .mips64el, .xtensa => 0x10,
|
||||
else => 0x8,
|
||||
};
|
||||
/// mprotect flag: extend change to start of growsdown vma
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue