1// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | elf-dump | FileCheck %s 2 3 .global zed 4foo: 5 nop 6bar: 7 nop 8zed: 9 mov zed+(bar-foo), %eax 10 11// CHECK: # Relocation 0 12// CHECK-NEXT: (('r_offset', 0x0000000000000005) 13// CHECK-NEXT: ('r_sym', 0x00000006) 14// CHECK-NEXT: ('r_type', 0x0000000b) 15// CHECK-NEXT: ('r_addend', 0x0000000000000001) 16