llvm-project/lld/test/ELF/i386-reloc-8-large-addend.s

13 lines
277 B
ArmAsm

# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t
# RUN: ld.lld -Ttext 0x7c %t -o %t2
# RUN: llvm-objdump -s %t2 | FileCheck %s
# CHECK: Contents of section .text:
# CHECK-NEXT: 007c b4ff
.code16
.global _start
_start:
movb $_start+0x83,%ah