1 # RUN: llvm-mc -triple i386-pc-linux-musl %s | FileCheck --check-prefix=PRINT %s
3 # RUN: llvm-mc -filetype=obj -triple i386-pc-linux-musl %s -o %t
4 # RUN: llvm-readelf -s %t | FileCheck --check-prefix=SYM %s
5 # RUN: llvm-objdump -dr --no-show-raw-insn %t | FileCheck %s
7 # PRINT: leal a@tlsdesc(%ebx), %eax
8 # PRINT-NEXT: calll *a@tlscall(%eax)
10 # SYM: TLS GLOBAL DEFAULT UND a
12 # CHECK: 0: leal (%ebx), %eax
13 # CHECK-NEXT: 00000002: R_386_TLS_GOTDESC a
14 # CHECK-NEXT: 6: calll *(%eax)
15 # CHECK-NEXT: 00000006: R_386_TLS_DESC_CALL a
17 leal
a@tlsdesc
(%ebx
), %eax