xref: /llvm-project/lld/test/ELF/i386-reloc-8-large-addend.s (revision bc1d58a6b1cfe13e4b7f24de505bbb286febc73e)
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=i386-pc-linux %s -o %t
3# RUN: ld.lld -Ttext 0x7c %t -o %t2
4# RUN: llvm-objdump -s %t2 | FileCheck %s
5
6# CHECK:       Contents of section .text:
7# CHECK-NEXT:  007c b4ff
8
9.code16
10.global _start
11_start:
12 movb $_start+0x83,%ah
13