brintos

brintos / llvm-project-archived public Read only

0
0
Text · 481 B · ac45ed5 Raw
18 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/shared.s -o %t.o3// RUN: ld.lld %t.o -o %t.so -shared4 5// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t2.o6// RUN: ld.lld %t2.o %t.so -o %t2.so -shared7// RUN: llvm-readobj -r %t2.so | FileCheck %s8 9        .data10fp:11        .quad bar12 13// CHECK:      Relocations [14// CHECK-NEXT:   Section ({{.*}}) .rela.dyn {15// CHECK-NEXT:     R_X86_64_64 bar 0x016// CHECK-NEXT:   }17// CHECK-NEXT: ]18