authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-04 01:13:08+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-09-04 01:13:59+02:00
log1ca446abc3570b5946c7efb46f4d3e4ef016c1ba
treee6cea9dd2dfeb51d671a03f638506ee27a0915a5
parent1c090d3d67bbc0182652eab003aef86438da0d7d
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

std.elf: document which EM values are not assigned in gABI


1 files changed, 6 insertions(+), 6 deletions(-)

lib/std/elf.zig+6-6
......@@ -1165,11 +1165,11 @@ pub const EM = enum(u16) {
11651165 S370 = 9,
11661166 /// MIPS R3000 (and R4000) little-endian, Oct 4 1993 Draft (deprecated)
11671167 MIPS_RS3_LE = 10,
1168 /// Old version of Sparc v9, from before the ABI (deprecated)
1168 /// Old version of Sparc v9, from before the ABI (not gABI assigned)
11691169 OLD_SPARCV9 = 11,
11701170 /// HPPA
11711171 PARISC = 15,
1172 /// Fujitsu VPP500 (also old version of PowerPC; deprecated)
1172 /// Fujitsu VPP500 (also old version of PowerPC, which was not gABI assigned)
11731173 VPP500 = 17,
11741174 /// Sun's "v8plus"
11751175 SPARC32PLUS = 18,
......@@ -1189,7 +1189,7 @@ pub const EM = enum(u16) {
11891189 FR20 = 37,
11901190 /// TRW RH32
11911191 RH32 = 38,
1192 /// Motorola M*Core, aka RCE (also Fujitsu MMA)
1192 /// Motorola M*Core, aka RCE (also old Fujitsu MMA, which was not gABI assigned)
11931193 MCORE = 39,
11941194 /// ARM
11951195 ARM = 40,
......@@ -1301,7 +1301,7 @@ pub const EM = enum(u16) {
13011301 ARC_COMPACT = 93,
13021302 /// Tensilica Xtensa Architecture
13031303 XTENSA = 94,
1304 /// Alphamosaic VideoCore processor (also old Sunplus S+core7 backend magic number)
1304 /// Alphamosaic VideoCore processor (also old Sunplus S+core7 backend magic number, which was not gABI assigned)
13051305 VIDEOCORE = 95,
13061306 /// Thompson Multimedia General Purpose Processor
13071307 TMM_GPP = 96,
......@@ -1309,7 +1309,7 @@ pub const EM = enum(u16) {
13091309 NS32K = 97,
13101310 /// Tenor Network TPC processor
13111311 TPC = 98,
1312 /// Trebia SNP 1000 processor (also old value for picoJava; deprecated)
1312 /// Trebia SNP 1000 processor (also old value for picoJava, which was not gABI assigned)
13131313 SNP1K = 99,
13141314 /// STMicroelectronics ST200 microcontroller
13151315 ST200 = 100,
......@@ -1341,7 +1341,7 @@ pub const EM = enum(u16) {
13411341 ALTERA_NIOS2 = 113,
13421342 /// National Semiconductor CRX
13431343 CRX = 114,
1344 /// Motorola XGATE embedded processor (also old value for National Semiconductor CompactRISC; deprecated)
1344 /// Motorola XGATE embedded processor (also old value for National Semiconductor CompactRISC, which was not gABI assigned)
13451345 XGATE = 115,
13461346 /// Infineon C16x/XC16x processor
13471347 C166 = 116,