2018-08-04 14:47:16 -07:00
|
|
|
// REQUIRES: x86
|
2017-08-27 14:46:59 -07:00
|
|
|
// 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
|
2017-08-27 14:46:59 -07:00
|
|
|
|
|
|
|
// Don't error if __tls_get_addr is defined.
|
|
|
|
|
|
|
|
.global _start
|
|
|
|
.global __tls_get_addr
|
|
|
|
_start:
|
|
|
|
__tls_get_addr:
|
|
|
|
nop
|