Silence -Wunused-variable in release builds.
[llvm/stm8.git] / test / MC / ELF / pic-diff.s
blobc2f96c250639cff88c0b58f9dfec749cadb2fb10
1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s
3 // CHECK: ('_relocations', [
4 // CHECK-NEXT: # Relocation 0x00000000
5 // CHECK-NEXT: (('r_offset', 0x0000000c)
6 // CHECK-NEXT: ('r_sym', 0x00000005)
7 // CHECK-NEXT: ('r_type', 0x00000002)
8 // CHECK-NEXT: ('r_addend', 0x00000008)
9 // CHECK-NEXT: ),
10 // CHECK-NEXT: ])
12 // CHECK: # Symbol 0x00000005
13 // CHECK-NEXT: (('st_name', 0x00000005) # 'baz'
14 // CHECK-NEXT: ('st_bind', 0x00000001)
15 // CHECK-NEXT: ('st_type', 0x00000000)
16 // CHECK-NEXT: ('st_other', 0x00000000)
17 // CHECK-NEXT: ('st_shndx', 0x00000000)
18 // CHECK-NEXT: ('st_value', 0x0000000000000000)
19 // CHECK-NEXT: ('st_size', 0x0000000000000000)
20 // CHECK-NEXT: ),
22 .zero 4
23 .data
25 .zero 1
26 .align 4
27 foo:
28 .zero 8
29 .long baz - foo