diff options
| author | Alex Rønne Petersen <alex@alexrp.com> | 2024-10-01 03:53:27 +0200 |
|---|---|---|
| committer | Alex Rønne Petersen <alex@alexrp.com> | 2024-10-01 03:53:27 +0200 |
| commit | 496a067d3f7c2d48c68ff0adae389994e68b70ba (patch) | |
| tree | 49a85767f49a558096c138ed845872203eda2625 /lib/std/elf.zig | |
| parent | 3b465ebec59ee942b6c490ada2f81902ec047d7f (diff) | |
| download | zig-496a067d3f7c2d48c68ff0adae389994e68b70ba.tar.gz zig-496a067d3f7c2d48c68ff0adae389994e68b70ba.zip | |
std.elf: Define ET.(LOOS,HIOS) constants.
Diffstat (limited to 'lib/std/elf.zig')
| -rw-r--r-- | lib/std/elf.zig | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/std/elf.zig b/lib/std/elf.zig index d92973c314..f09bbb63fb 100644 --- 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; }; |
