[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ELF / weak-diff.s
blob9785a2befb150d1d4665876681456d2280bd4bc5
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu < %s | llvm-readobj -r | FileCheck %s
3 // CHECK: Relocations [
4 // CHECK-NEXT: Section ({{.*}}) .rela.text {
5 // CHECK-NEXT: 0x1D R_X86_64_PLT32 f2 0xFFFFFFFFFFFFFFFC
6 // CHECK-NEXT: }
7 // CHECK-NEXT: ]
9 .weak f
10 .weak g
12 nop
14 nop
16 .quad g - f
19 .weak f2
20 f2:
21 nop
22 g2:
23 nop
24 .quad g2 - f2
25 .quad f2 - g2
26 call f2