zig/deps/lld/test/ELF/defined-tls_get_addr.s

12 lines
228 B
ArmAsm
Raw Normal View History

2018-08-04 14:47:16 -07:00
// REQUIRES: x86
// RUN: llvm-mc %s -o %t.o -triple x86_64-pc-linux -filetype=obj
2018-08-04 14:47:16 -07:00
// RUN: ld.lld %t.o -o /dev/null
// Don't error if __tls_get_addr is defined.
.global _start
.global __tls_get_addr
_start:
__tls_get_addr:
nop