| ... | @@ -7353,7 +7353,7 @@ pub const AUDIT = struct { | ... | @@ -7353,7 +7353,7 @@ pub const AUDIT = struct { |
| 7353 | ARMEB = toAudit(.armeb), | 7353 | ARMEB = toAudit(.armeb), |
| 7354 | CSKY = toAudit(.csky), | 7354 | CSKY = toAudit(.csky), |
| 7355 | HEXAGON = @intFromEnum(std.elf.EM.HEXAGON), | 7355 | HEXAGON = @intFromEnum(std.elf.EM.HEXAGON), |
| 7356 | X86 = toAudit(.x86), | 7356 | LOONGARCH64 = toAudit(.loongarch64), |
| 7357 | M68K = toAudit(.m68k), | 7357 | M68K = toAudit(.m68k), |
| 7358 | MIPS = toAudit(.mips), | 7358 | MIPS = toAudit(.mips), |
| 7359 | MIPSEL = toAudit(.mips) | LE, | 7359 | MIPSEL = toAudit(.mips) | LE, |
| ... | @@ -7367,18 +7367,22 @@ pub const AUDIT = struct { | ... | @@ -7367,18 +7367,22 @@ pub const AUDIT = struct { |
| 7367 | S390X = toAudit(.s390x), | 7367 | S390X = toAudit(.s390x), |
| 7368 | SPARC = toAudit(.sparc), | 7368 | SPARC = toAudit(.sparc), |
| 7369 | SPARC64 = toAudit(.sparc64), | 7369 | SPARC64 = toAudit(.sparc64), |
| | 7370 | X86 = toAudit(.x86), |
| 7370 | X86_64 = toAudit(.x86_64), | 7371 | X86_64 = toAudit(.x86_64), |
| | 7372 | XTENSA = toAudit(.xtensa), |
| 7371 | | 7373 | |
| 7372 | fn toAudit(arch: std.Target.Cpu.Arch) u32 { | 7374 | fn toAudit(arch: std.Target.Cpu.Arch) u32 { |
| 7373 | var res: u32 = @intFromEnum(arch.toElfMachine()); | 7375 | var res: u32 = @intFromEnum(arch.toElfMachine()); |
| 7374 | if (arch.endian() == .little) res |= LE; | 7376 | if (arch.endian() == .little) res |= LE; |
| 7375 | switch (arch) { | 7377 | switch (arch) { |
| 7376 | .aarch64, | 7378 | .aarch64, |
| | 7379 | .loongarch64, |
| 7377 | .mips64, | 7380 | .mips64, |
| 7378 | .mips64el, | 7381 | .mips64el, |
| 7379 | .powerpc64, | 7382 | .powerpc64, |
| 7380 | .powerpc64le, | 7383 | .powerpc64le, |
| 7381 | .riscv64, | 7384 | .riscv64, |
| | 7385 | .s390x, |
| 7382 | .sparc64, | 7386 | .sparc64, |
| 7383 | .x86_64, | 7387 | .x86_64, |
| 7384 | => res |= @"64BIT", | 7388 | => res |= @"64BIT", |