Home | History | Annotate | Download | only in Mips
      1 # RUN: llvm-mc -filetype=obj -triple mips64eb-unknown-freebsd %s -o - | llvm-readobj -s -sd | FileCheck %s
      2 
      3         .section        .fixups,"",@progbits
      4         .byte   0xff
      5 $diff0 = ($loc1)-($loc0)
      6         .2byte   ($diff0)
      7 
      8         .byte   0xff
      9 $diff1 = ($loc2)-($loc0)
     10         .4byte  ($diff1)
     11 
     12         .byte   0xff
     13 $diff2 = ($loc3)-($loc0)
     14         .8byte  ($diff2)
     15         .byte   0xff
     16 
     17 $loc0:
     18         .byte   0xee
     19 $loc1:
     20         .byte   0xdd
     21 $loc2:
     22         .byte   0xcc
     23 $loc3:
     24 
     25 # CHECK:	AddressSize: 64bit
     26 # CHECK:	  Section {
     27 # CHECK:	    Name: .fixups (12)
     28 # CHECK-NEXT:	    Type: SHT_PROGBITS (0x1)
     29 # CHECK-NEXT:	    Flags [ (0x0)
     30 # CHECK-NEXT:	    ]
     31 # CHECK-NEXT:	    Address: 0x0
     32 # CHECK-NEXT:	    Offset: 0x40
     33 # CHECK-NEXT:	    Size: 21
     34 # CHECK-NEXT:	    Link: 0
     35 # CHECK-NEXT:	    Info: 0
     36 # CHECK-NEXT:	    AddressAlignment: 1
     37 # CHECK-NEXT:	    EntrySize: 0
     38 # CHECK-NEXT:	    SectionData (
     39 # CHECK-NEXT:	      0000: FF0001FF 00000002 FF000000 00000000  |................|
     40 # CHECK-NEXT:	      0010: 03FFEEDD CC                          |.....|
     41 # CHECK-NEXT:	    )
     42 # CHECK-NEXT:	  }
     43 # CHECK:	]
     44