Home | History | Annotate | Download | only in ELF
      1 // RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o %t
      2 // RUN: llvm-objdump -r %t | FileCheck %s
      3 
      4 // Test that we create no fixups for this file since "a" and "b"
      5 // are in the same fragment. If b was in a different section, a
      6 // fixup causing a relocation would be generated in the object file.
      7 
      8 // CHECK-NOT: RELOCATION RECORDS
      9 
     10 a:
     11   nop
     12 b:
     13   .long b - a
     14