[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ELF / pic-diff.s
bloba3dd8247f310e46c6d5592f12b2e06e6c1fe6d38
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r --symbols | FileCheck %s
3 // CHECK: Relocations [
4 // CHECK-NEXT: Section ({{[^ ]+}}) {{[^ ]+}} {
5 // CHECK-NEXT: 0xC R_X86_64_PC32 baz 0x8
6 // CHECK-NEXT: }
7 // CHECK-NEXT: ]
9 // CHECK: Symbol {
10 // CHECK: Name: baz
11 // CHECK-NEXT: Value: 0x0
12 // CHECK-NEXT: Size: 0
13 // CHECK-NEXT: Binding: Global
14 // CHECK-NEXT: Type: None
15 // CHECK-NEXT: Other: 0
16 // CHECK-NEXT: Section: Undefined (0x0)
17 // CHECK-NEXT: }
19 .zero 4
20 .data
22 .zero 1
23 .align 4
24 foo:
25 .zero 8
26 .long baz - foo