Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / cris / rd-tls-1.s
1 ; Check that non-PIC TLS operands get their right relocation type.
2 ; First some expected uses, similar to what GCC will emit.
3
4         .section .tdata,"awT",@progbits
5         .type   x, @object
6         .size   x, 4
7 x:
8         .dword 0
9
10         .text
11         .syntax no_register_prefix
12 start:
13         sub.d x:GD,r1
14         add.d extsym2:GD,r9
15         move.d [r3+extsym:TPOFF],r10
16         move.w extsym14:TPOFF16+77,r10
17
18 ; Other for GAS valid operands (some with questionable PIC semantics).
19         sub.d extsym4:GD+42,r9
20         sub.d extsym4:GD-96,r3
21         move.d [r7=r3+extsym10:GD-330],r13
22         move.d [r11+extsym14:TPOFF16-256],r9
23         add.d [r10+extsym3:TPOFF+56],r7,r8
24         move.d [extsym5:IE],r1
25         add.d extsym7:IE,r11