brintos

brintos / llvm-project-archived public Read only

0
0
Text · 440 B · 7c0d704 Raw
17 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=i386 %s -o %t.o3# RUN: ld.lld --noinhibit-exec %t.o -o %t 2>&14# RUN: llvm-objdump --no-print-imm-hex -d %t | FileCheck %s5 6## Undefined TLS symbols resolve to 0.7## In --noinhibit-exec mode, a non-weak undefined symbol is not an error.8 9# CHECK: subl $0, %eax10# CHECK: subl $0, %eax11 12.weak weak_undef13movl %gs:0, %eax14subl $weak_undef@tpoff,%eax15movl %gs:0, %eax16subl $undef@tpoff,%eax17