brintos

brintos / llvm-project-archived public Read only

0
0
Text · 536 B · a205499 Raw
20 lines · plain
1# REQUIRES: x862 3# RUN: echo -e "EXPORTS\nvariable" > %t-lib.def4# RUN: llvm-dlltool -m i386 -d %t-lib.def -D lib.dll -l %t-lib.lib5 6# RUN: llvm-mc -triple=i386-windows-gnu %s -filetype=obj -o %t.obj7# RUN: lld-link -lldmingw -out:%t.exe -entry:main %t.obj %t-lib.lib -verbose 2>&1 | FileCheck --allow-empty %s8 9# CHECK-NOT: runtime pseudo relocation {{.*}} is too narrow10 11    .global _main12    .text13_main:14    movl _variable, %eax15    ret16 17relocs:18    .long ___RUNTIME_PSEUDO_RELOC_LIST__19    .long ___RUNTIME_PSEUDO_RELOC_LIST_END__20