pub const SHT = enum(Word) Number of defined types
Start of OS-specific
End of OS-specific
LLVM address-significance table
GNU hash table
GNU version definition table
GNU needed versions table
GNU symbol version table
Start of processor-specific
End of processor-specific
Unwind information
Start of application-specific
End of application-specific
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545pub const SHT = enum(Word) {
/// Section header table entry unused
NULL = 0,
/// Program data
PROGBITS = 1,
/// Symbol table
SYMTAB = 2,
/// String table
STRTAB = 3,
/// Relocation entries with addends
RELA = 4,
/// Symbol hash table
HASH = 5,
/// Dynamic linking information
DYNAMIC = 6,
/// Notes
NOTE = 7,
/// Program space with no data (bss)
NOBITS = 8,
/// Relocation entries, no addends
REL = 9,
/// Reserved
SHLIB = 10,
/// Dynamic linker symbol table
DYNSYM = 11,
/// Array of constructors
INIT_ARRAY = 14,
/// Array of destructors
FINI_ARRAY = 15,
/// Array of pre-constructors
PREINIT_ARRAY = 16,
/// Section group
GROUP = 17,
/// Extended section indices
SYMTAB_SHNDX = 18,
/// RELR relative relocations
RELR = 19,
_,
/// Number of defined types
pub const NUM = @typeInfo(SHT).@"enum".field_names.len;
/// Start of OS-specific
pub const LOOS: SHT = @fromBackingInt(@intCast(0x60000000));
/// End of OS-specific
pub const HIOS: SHT = @fromBackingInt(@intCast(0x6fffffff));
/// LLVM address-significance table
pub const LLVM_ADDRSIG: SHT = @fromBackingInt(@intCast(0x6fff4c03));
/// GNU hash table
pub const GNU_HASH: SHT = @fromBackingInt(@intCast(0x6ffffff6));
/// GNU version definition table
pub const GNU_VERDEF: SHT = @fromBackingInt(@intCast(0x6ffffffd));
/// GNU needed versions table
pub const GNU_VERNEED: SHT = @fromBackingInt(@intCast(0x6ffffffe));
/// GNU symbol version table
pub const GNU_VERSYM: SHT = @fromBackingInt(@intCast(0x6fffffff));
/// Start of processor-specific
pub const LOPROC: SHT = @fromBackingInt(@intCast(0x70000000));
/// End of processor-specific
pub const HIPROC: SHT = @fromBackingInt(@intCast(0x7fffffff));
/// Unwind information
pub const X86_64_UNWIND: SHT = @fromBackingInt(@intCast(0x70000001));
/// Start of application-specific
pub const LOUSER: SHT = @fromBackingInt(@intCast(0x80000000));
/// End of application-specific
pub const HIUSER: SHT = @fromBackingInt(@intCast(0xffffffff));
}