2018-06-06 21:56:51 +08:00
|
|
|
// REQUIRES: x86
|
2016-11-17 02:01:41 +08:00
|
|
|
// RUN: llvm-mc %s -o %t.o -triple x86_64-pc-linux -filetype=obj
|
|
|
|
// RUN: ld.lld %t.o -o %t
|
|
|
|
|
|
|
|
// Don't error if __tls_get_addr is defined.
|
|
|
|
|
|
|
|
.global _start
|
|
|
|
.global __tls_get_addr
|
|
|
|
_start:
|
|
|
|
__tls_get_addr:
|
|
|
|
nop
|