You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
476 B
17 lines
476 B
## Check how the 'Flags' key can be used to encode e_flags field values.
|
|
|
|
## Check we are able to produce no flags for EM_NONE. EM_NONE is an arbitrary
|
|
## e_machine type that has no EF_* values defined for it.
|
|
# RUN: yaml2obj %s -o %t-no-flags
|
|
# RUN: llvm-readelf --file-headers %t-no-flags | FileCheck %s --check-prefix=NOFLAGS
|
|
|
|
# NOFLAGS: Flags: 0x0{{$}}
|
|
|
|
--- !ELF
|
|
FileHeader:
|
|
Class: ELFCLASS32
|
|
Data: ELFDATA2LSB
|
|
Type: ET_REL
|
|
Machine: EM_NONE
|
|
Flags: [ ]
|