mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-25 06:40:18 +00:00
Use ELFOSABI_NONE. This matches both bfd ld and gold.
llvm-svn: 244033
This commit is contained in:
parent
c80b519f87
commit
87ee8dcb64
@ -123,7 +123,7 @@ template <class ELFT> void Writer<ELFT>::writeHeader() {
|
||||
EHdr->e_ident[EI_CLASS] = ELFCLASS64;
|
||||
EHdr->e_ident[EI_DATA] = ELFDATA2LSB;
|
||||
EHdr->e_ident[EI_VERSION] = EV_CURRENT;
|
||||
EHdr->e_ident[EI_OSABI] = ELFOSABI_GNU;
|
||||
EHdr->e_ident[EI_OSABI] = ELFOSABI_NONE;
|
||||
|
||||
EHdr->e_type = ET_EXEC;
|
||||
EHdr->e_machine = EM_X86_64;
|
||||
|
@ -16,7 +16,7 @@ _start:
|
||||
# CHECK-NEXT: Class: 64-bit (0x2)
|
||||
# CHECK-NEXT: DataEncoding: LittleEndian (0x1)
|
||||
# CHECK-NEXT: FileVersion: 1
|
||||
# CHECK-NEXT: OS/ABI: GNU/Linux (0x3)
|
||||
# CHECK-NEXT: OS/ABI: SystemV (0x0)
|
||||
# CHECK-NEXT: ABIVersion: 0
|
||||
# CHECK-NEXT: Unused: (00 00 00 00 00 00 00)
|
||||
# CHECK-NEXT: }
|
||||
|
Loading…
Reference in New Issue
Block a user