zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 496a067d3f7c2d48c68ff0adae389994e68b70ba (tree)
parent 3b465ebec59ee942b6c490ada2f81902ec047d7f
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Tue,  1 Oct 2024 03:53:27 +0200

std.elf: Define ET.(LOOS,HIOS) constants.

Diffstat:
Mlib/std/elf.zig | 8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/lib/std/elf.zig b/lib/std/elf.zig @@ -453,10 +453,16 @@ pub const ET = enum(u16) { /// Core file CORE = 4, + /// Beginning of OS-specific codes + pub const LOOS = 0xfe00; + + /// End of OS-specific codes + pub const HIOS = 0xfeff; + /// Beginning of processor-specific codes pub const LOPROC = 0xff00; - /// Processor-specific + /// End of processor-specific codes pub const HIPROC = 0xffff; };