xref: /llvm-project/lld/test/ELF/i386-reloc-16-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 0x7c00 %t -o %t2
4# RUN: llvm-objdump -s %t2 | FileCheck %s
5
6# CHECK:       Contents of section .text:
7# CHECK-NEXT:  7c00 b800ff
8
9.code16
10.global _start
11_start:
12 movw $_start+0x8300,%ax
13