Fix PR4639, a ELF-TLS regression from some of my refactoring.
[oota-llvm.git] / test / CodeGen / X86 / global-sections-tls.ll
1 ; RUN: llvm-as < %s | llc -mtriple=i386-unknown-linux-gnu | FileCheck %s -check-prefix=LINUX
2
3 ; PR4639
4 @G1 = internal thread_local global i32 0                ; <i32*> [#uses=1]
5 ; LINUX: .section               .tbss,"awT",@nobits
6 ; LINUX: G1:
7
8
9 define i32* @foo() nounwind readnone {
10 entry:
11         ret i32* @G1
12 }
13
14