Home | History | Annotate | Download | only in X86
      1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux < %s | llvm-readobj -r -t | FileCheck %s
      2 
      3 // CHECK:       Section {{.*}} .rela.text {
      4 // CHECK-NEXT:    0x0 R_X86_64_32 d 0x0
      5 // CHECK-NEXT:  }
      6 
      7 // CHECK:      Symbol {
      8 // CHECK:        Name:  d2
      9 // CHECK-NEXT:   Value: 0x2A
     10 
     11 a:
     12         b = a
     13         c = a
     14         d = a
     15         .weak d
     16         .long d + (b - c)
     17 
     18 
     19 a2:
     20         .weak b2
     21         b2 = a2
     22         c2 = b2 - a2
     23         d2 = b2 - a2 + 42
     24