pub const PT = enum(Word) Number of defined types
Start of OS-specific
End of OS-specific
GCC .eh_frame_hdr segment
Indicates stack executability
Read-only after relocation
Sun specific segment
Stack segment
Start of processor-specific
End of processor-specific
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472pub const PT = enum(Word) {
/// Program header table entry unused
NULL = 0,
/// Loadable program segment
LOAD = 1,
/// Dynamic linking information
DYNAMIC = 2,
/// Program interpreter
INTERP = 3,
/// Auxiliary information
NOTE = 4,
/// Reserved
SHLIB = 5,
/// Entry for header table itself
PHDR = 6,
/// Thread-local storage segment
TLS = 7,
_,
/// Number of defined types
pub const NUM = @typeInfo(PT).@"enum".field_names.len;
/// Start of OS-specific
pub const LOOS: PT = @fromBackingInt(@intCast(0x60000000));
/// End of OS-specific
pub const HIOS: PT = @fromBackingInt(@intCast(0x6fffffff));
/// GCC .eh_frame_hdr segment
pub const GNU_EH_FRAME: PT = @fromBackingInt(@intCast(0x6474e550));
/// Indicates stack executability
pub const GNU_STACK: PT = @fromBackingInt(@intCast(0x6474e551));
/// Read-only after relocation
pub const GNU_RELRO: PT = @fromBackingInt(@intCast(0x6474e552));
pub const LOSUNW: PT = @fromBackingInt(@intCast(0x6ffffffa));
pub const HISUNW: PT = @fromBackingInt(@intCast(0x6fffffff));
/// Sun specific segment
pub const SUNWBSS: PT = @fromBackingInt(@intCast(0x6ffffffa));
/// Stack segment
pub const SUNWSTACK: PT = @fromBackingInt(@intCast(0x6ffffffb));
/// Start of processor-specific
pub const LOPROC: PT = @fromBackingInt(@intCast(0x70000000));
/// End of processor-specific
pub const HIPROC: PT = @fromBackingInt(@intCast(0x7fffffff));
}