1 ## Test some relocation types for REL format.
2 # RUN: yaml2obj -DMACHINE=AARCH64 -DR0=R_AARCH64_ABS64 -DR1=R_AARCH64_PREL32 -DR2=R_AARCH64_PREL64 %s -o %t.o
3 # RUN: ld.lld %t.o -o /dev/null
4 # RUN: yaml2obj -DMACHINE=PPC -DBITS=32 -DR0=R_PPC_ADDR32 -DR1=R_PPC_REL32 %s -o %t.o
5 # RUN: ld.lld %t.o -o /dev/null
6 # RUN: yaml2obj -DMACHINE=PPC64 -DR0=R_PPC64_ADDR64 -DR1=R_PPC64_REL32 -DR2=R_PPC64_REL64 %s -o %t.o
7 # RUN: ld.lld %t.o -o /dev/null
11 Class: ELFCLASS[[BITS=64]]
14 Machine: EM_[[MACHINE]]
18 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
22 Flags: [ SHF_WRITE, SHF_ALLOC ]