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) {...@@ -1165,11 +1165,11 @@ pub const EM = enum(u16) {
1165 S370 = 9,1165 S370 = 9,
1166 /// MIPS R3000 (and R4000) little-endian, Oct 4 1993 Draft (deprecated)1166 /// MIPS R3000 (and R4000) little-endian, Oct 4 1993 Draft (deprecated)
1167 MIPS_RS3_LE = 10,1167 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)
1169 OLD_SPARCV9 = 11,1169 OLD_SPARCV9 = 11,
1170 /// HPPA1170 /// HPPA
1171 PARISC = 15,1171 PARISC = 15,
1172 /// Fujitsu VPP500 (also old version of PowerPC; deprecated)1172 /// Fujitsu VPP500 (also old version of PowerPC, which was not gABI assigned)
1173 VPP500 = 17,1173 VPP500 = 17,
1174 /// Sun's "v8plus"1174 /// Sun's "v8plus"
1175 SPARC32PLUS = 18,1175 SPARC32PLUS = 18,
...@@ -1189,7 +1189,7 @@ pub const EM = enum(u16) {...@@ -1189,7 +1189,7 @@ pub const EM = enum(u16) {
1189 FR20 = 37,1189 FR20 = 37,
1190 /// TRW RH321190 /// TRW RH32
1191 RH32 = 38,1191 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)
1193 MCORE = 39,1193 MCORE = 39,
1194 /// ARM1194 /// ARM
1195 ARM = 40,1195 ARM = 40,
...@@ -1301,7 +1301,7 @@ pub const EM = enum(u16) {...@@ -1301,7 +1301,7 @@ pub const EM = enum(u16) {
1301 ARC_COMPACT = 93,1301 ARC_COMPACT = 93,
1302 /// Tensilica Xtensa Architecture1302 /// Tensilica Xtensa Architecture
1303 XTENSA = 94,1303 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)
1305 VIDEOCORE = 95,1305 VIDEOCORE = 95,
1306 /// Thompson Multimedia General Purpose Processor1306 /// Thompson Multimedia General Purpose Processor
1307 TMM_GPP = 96,1307 TMM_GPP = 96,
...@@ -1309,7 +1309,7 @@ pub const EM = enum(u16) {...@@ -1309,7 +1309,7 @@ pub const EM = enum(u16) {
1309 NS32K = 97,1309 NS32K = 97,
1310 /// Tenor Network TPC processor1310 /// Tenor Network TPC processor
1311 TPC = 98,1311 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)
1313 SNP1K = 99,1313 SNP1K = 99,
1314 /// STMicroelectronics ST200 microcontroller1314 /// STMicroelectronics ST200 microcontroller
1315 ST200 = 100,1315 ST200 = 100,
...@@ -1341,7 +1341,7 @@ pub const EM = enum(u16) {...@@ -1341,7 +1341,7 @@ pub const EM = enum(u16) {
1341 ALTERA_NIOS2 = 113,1341 ALTERA_NIOS2 = 113,
1342 /// National Semiconductor CRX1342 /// National Semiconductor CRX
1343 CRX = 114,1343 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)
1345 XGATE = 115,1345 XGATE = 115,
1346 /// Infineon C16x/XC16x processor1346 /// Infineon C16x/XC16x processor
1347 C166 = 116,1347 C166 = 116,