1*0a6a1f1dSLionel Sambuc// RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -r | FileCheck %s 2*0a6a1f1dSLionel Sambuc 3*0a6a1f1dSLionel Sambuc// CHECK: Relocations [ 4*0a6a1f1dSLionel Sambuc// CHECK-NEXT: ] 5*0a6a1f1dSLionel Sambuc 6*0a6a1f1dSLionel Sambuc .section .test1_foo 7*0a6a1f1dSLionel Sambuc.Ltest1_1: 8*0a6a1f1dSLionel Sambuc.Ltest1_2 = .Ltest1_1 9*0a6a1f1dSLionel Sambuc .section .test1_bar 10*0a6a1f1dSLionel Sambuc .long .Ltest1_1-.Ltest1_2 11*0a6a1f1dSLionel Sambuc 12*0a6a1f1dSLionel Sambuc 13*0a6a1f1dSLionel Sambuc .section test2 14*0a6a1f1dSLionel Sambuc 15*0a6a1f1dSLionel Sambuc.Ltest2_a: 16*0a6a1f1dSLionel Sambuc.Ltest2_b = .Ltest2_a 17*0a6a1f1dSLionel Sambuc.Ltest2_c: 18*0a6a1f1dSLionel Sambuc.Ltest2_d = .Ltest2_c-.Ltest2_b 19*0a6a1f1dSLionel Sambuc .long .Ltest2_d 20