xref: /llvm-project/lld/test/ELF/relocation-absolute.s (revision 75cdab6dc2453a508157a9c383b93373a93078d6)
1// REQUIRES: x86
2// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %S/Inputs/abs.s -o %tabs
3// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
4// RUN: ld.lld %tabs %t -o %tout
5// RUN: llvm-objdump --no-print-imm-hex -d %tout | FileCheck %s
6
7.global _start
8_start:
9  movl $abs, %edx
10
11//CHECK:      <_start>:
12//CHECK-NEXT: movl	$66, %edx
13