brintos

brintos / llvm-project-archived public Read only

0
0
Text · 386 B · 76f64fa Raw
12 lines · plain
1// REQUIRES: x862// RUN: llvm-mc %s -o %t.o -filetype=obj -triple=x86_64-pc-linux3// RUN: llvm-mc %p/Inputs/copy-rel-corrupted.s -o %t2.o -filetype=obj -triple=x86_64-pc-linux4// RUN: ld.lld %t2.o -o %t2.so -shared5// RUN: not ld.lld %t.o %t2.so -o /dev/null 2>&1 | FileCheck %s6 7// CHECK: error: cannot create a copy relocation for symbol x8 9.global _start10_start:11        .long x - .12