1 # RUN: yaml2obj %s > %t
2 # RUN: obj2yaml %t | FileCheck %s
4 # CHECK: - Name: .rela.text
5 # CHECK-NEXT: Type: SHT_RELA
6 # CHECK-NEXT: Link: .symtab
7 # CHECK-NEXT: AddressAlign: 0x0000000000000008
8 # CHECK-NEXT: EntSize: 0x0000000000000018
9 # CHECK-NEXT: Info: .text
10 # CHECK-NEXT: Relocations:
11 # CHECK-NEXT: - Offset: 0x0000000000000000
12 # CHECK-NEXT: Symbol: main
13 # CHECK-NEXT: Type: R_AARCH64_ABS64
14 # CHECK-NEXT: - Offset: 0x0000000000000008
15 # CHECK-NEXT: Symbol: main
16 # CHECK-NEXT: Type: R_AARCH64_TLSGD_ADR_PREL21
27 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
29 Content: 00000000000000000000000000000000
42 Type: R_AARCH64_TLSGD_ADR_PREL21