[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / tls-symbols.s
blob7affb8c4405d38437a62f9fff5c5468af433ab28
1 # RUN: llvm-mc -arch=mips < %s -position-independent -filetype=obj \
2 # RUN: | llvm-readelf -s | FileCheck %s
3 # RUN: llvm-mc -arch=mips < %s -filetype=obj | llvm-readelf -s | FileCheck %s
5 # Test that TLS relocations cause symbols to be marked as TLS symbols.
7 .set noat
8 lui $3, %tlsgd(foo1)
9 lui $1, %dtprel_hi(foo2)
10 lui $1, %dtprel_lo(foo3)
11 lui $1, %tprel_hi(foo4)
12 lui $1, %tprel_lo(foo5)
13 lw $2, %gottprel(foo6)($28)
15 .hidden foo1
16 .hidden foo2
17 .hidden foo3
18 .hidden foo4
19 .hidden foo5
20 .hidden foo6
22 # CHECK: 1: {{.+}} {{.+}} TLS GLOBAL HIDDEN UND foo1
23 # CHECK: 2: {{.+}} {{.+}} TLS GLOBAL HIDDEN UND foo2
24 # CHECK: 3: {{.+}} {{.+}} TLS GLOBAL HIDDEN UND foo3
25 # CHECK: 4: {{.+}} {{.+}} TLS GLOBAL HIDDEN UND foo4
26 # CHECK: 5: {{.+}} {{.+}} TLS GLOBAL HIDDEN UND foo5
27 # CHECK: 6: {{.+}} {{.+}} TLS GLOBAL HIDDEN UND foo6