[lanai] Update ELF number to correspond to the assigned number.

Change EM_LANAI to correspond to machine number assigned by Xinuos.

llvm-svn: 274042
This commit is contained in:
Jacques Pienaar 2016-06-28 18:22:22 +00:00
parent 16eb3a800a
commit f43266b868
4 changed files with 2 additions and 6 deletions

View File

@ -310,16 +310,12 @@ enum {
EM_NORC = 218, // Nanoradio Optimized RISC
EM_CSR_KALIMBA = 219, // CSR Kalimba architecture family
EM_AMDGPU = 224, // AMD GPU architecture
EM_LANAI = 244, // Lanai 32-bit processor
// A request has been made to the maintainer of the official registry for
// such numbers for an official value for WebAssembly. As soon as one is
// allocated, this enum will be updated to use it.
EM_WEBASSEMBLY = 0x4157, // WebAssembly architecture
// A request has been made to the maintainer of the official registry for
// an official value for Lanai. As soon as one is allocated, this enum will be
// updated to use it.
EM_LANAI = 0x8123, // Lanai 32-bit processor
};
// Object file classes.

View File

@ -353,7 +353,7 @@ ELF-LANAI-NEXT: ABIVersion: 0
ELF-LANAI-NEXT: Unused: (00 00 00 00 00 00 00)
ELF-LANAI-NEXT: }
ELF-LANAI-NEXT: Type: Relocatable (0x1)
ELF-LANAI-NEXT: Machine: EM_LANAI (0x8123)
ELF-LANAI-NEXT: Machine: EM_LANAI (0xF4)
ELF-LANAI-NEXT: Version: 1
ELF-LANAI-NEXT: Entry: 0x0
ELF-LANAI-NEXT: ProgramHeaderOffset: 0x0