[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / i386-reloc-16-large-addend.s
blobceb4862d7935a01afc8ebcc66f8ad5d3184ba940
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
6 # CHECK: Contents of section .text:
7 # CHECK-NEXT: 7c00 b800ff
9 .code16
10 .global _start
11 _start:
12 movw $_start+0x8300,%ax