xref: /minix/external/bsd/llvm/dist/llvm/test/MC/ELF/no-fixup.s (revision 83133719)
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
10a:
11  nop
12b:
13  .long b - a
14