George Rimar | 4a9cfc8 | 2017-07-11 11:40:59 | [diff] [blame] | 1 | # REQUIRES: x86 |
2 | # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/gnu-ifunc-dso.s -o %t1.o | ||||
3 | # RUN: ld.lld -shared %t1.o -o %t.so | ||||
4 | # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t2.o | ||||
5 | # RUN: ld.lld -shared %t2.o %t.so -o %t | ||||
6 | # RUN: llvm-readobj -dyn-relocations %t | FileCheck %s | ||||
7 | |||||
8 | # CHECK: Dynamic Relocations { | ||||
9 | # CHECK-NEXT: 0x1000 R_X86_64_64 foo 0x0 | ||||
10 | # CHECK-NEXT: } | ||||
11 | |||||
12 | .data | ||||
13 | .quad foo |