1 # RUN: yaml2obj %s -o %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: 0x8
8 # CHECK-NEXT: Info: .text
9 # CHECK-NEXT: Relocations:
10 # CHECK-NEXT: - Symbol: main
11 # CHECK-NEXT: Type: R_AARCH64_ABS64
12 # CHECK-NEXT: - Offset: 0x8
13 # CHECK-NEXT: Symbol: main
14 # CHECK-NEXT: Type: R_AARCH64_TLSGD_ADR_PREL21
25 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
27 Content: 00000000000000000000000000000000
39 Type: R_AARCH64_TLSGD_ADR_PREL21