blob: ad20a6546e62c86552356d34af1457b75f021552 [file] [log] [blame]
## Check AArch64 st_other extension support.
# RUN: yaml2obj %s -o %t
# RUN: obj2yaml %t | FileCheck %s
# CHECK: Symbols:
# CHECK: - Name: foo1
# CHECK: Other: [ STO_AARCH64_VARIANT_PCS ]
# CHECK: - Name: foo2
# CHECK: Other: [ STO_AARCH64_VARIANT_PCS, 64 ]
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_REL
Machine: EM_AARCH64
Symbols:
- Name: foo1
Other: [ STO_AARCH64_VARIANT_PCS ]
- Name: foo2
Other: [ STO_AARCH64_VARIANT_PCS, 0x40 ]