brintos

brintos / llvm-project-archived public Read only

0
0
Text · 540 B · 804fbf0 Raw
15 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=i386 %s -o %t.o3# RUN: echo '.tbss; .globl a; a:' | llvm-mc -filetype=obj -triple=i386 - -o %t1.o4# RUN: ld.lld -shared %t1.o -o %t1.so5 6## GD to LE relaxation.7# RUN: not ld.lld %t.o %t1.o -o /dev/null 2>&1 | FileCheck -DINPUT=%t.o %s8## GD to IE relaxation.9# RUN: not ld.lld %t.o %t1.so -o /dev/null 2>&1 | FileCheck -DINPUT=%t.o %s10 11# CHECK: error: [[INPUT]]:(.text+0x0): R_386_TLS_GOTDESC must be used in leal x@tlsdesc(%ebx), %eax12 13leal a@tlsdesc(%ebx), %ecx14call *a@tlscall(%eax)15