freebsd_amp_hwpstate/test/ELF/tls-archive.s

11 lines
308 B
ArmAsm

// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/tls-mismatch.s -o %t2
// RUN: rm -f %t.a
// RUN: llvm-ar cru %t.a %t2
// RUN: ld.lld %t.a %t -o %t3
.globl _start,tlsvar
_start:
movq tlsvar@GOTTPOFF(%rip),%rdx