1 # Check handling of a bad relocation (in this case dynamic in a static object).
2 # RUN: yaml2obj -format=elf %s > %t-obj
3 # RUN: not lld -flavor gnu -target arm64 -o %t-exe %t-obj 2>&1 | FileCheck %s
5 # CHECK: Unhandled reference type in file {{.*}}: reference from data1+4 to data1+0 of type 1024 (R_AARCH64_COPY)
8 FileHeader: !FileHeader
19 Flags: [SHF_ALLOC, SHF_EXECINSTR]
22 Content: "0000000000000000"
24 Flags: [SHF_ALLOC, SHF_WRITE]