Home | History | Annotate | Download | only in ELF
      1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - | llvm-readobj -s -sd -t | FileCheck  %s
      2 
      3 // Test that we do not relax these.
      4 
      5 bar:
      6 .globl foo
      7 foo:
      8         .set	zed,foo
      9 
     10         jmp bar
     11         jmp foo
     12         jmp zed
     13 
     14 // CHECK:        Section {
     15 // CHECK:          Name: .text
     16 // CHECK-NEXT:     Type: SHT_PROGBITS
     17 // CHECK-NEXT:     Flags [
     18 // CHECK-NEXT:       SHF_ALLOC
     19 // CHECK-NEXT:       SHF_EXECINSTR
     20 // CHECK-NEXT:     ]
     21 // CHECK-NEXT:     Address: 0x0
     22 // CHECK-NEXT:     Offset: 0x40
     23 // CHECK-NEXT:     Size: 6
     24 // CHECK-NEXT:     Link: 0
     25 // CHECK-NEXT:     Info: 0
     26 // CHECK-NEXT:     AddressAlignment: 4
     27 // CHECK-NEXT:     EntrySize: 0
     28 // CHECK-NEXT:     SectionData (
     29 // CHECK-NEXT:       0000: EBFEEBFC EBFA
     30 // CHECK-NEXT:     )
     31 // CHECK-NEXT:   }
     32 // CHECK:        Symbol {
     33 // CHECK:          Name: foo
     34