Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / cris / tls-err-2.s
1 ; Like tls-err-1.s but for PIC TLS suffixes.
2
3 ; { dg-do assemble }
4 ; { dg-options "--pic --no-underscore --em=criself" }
5
6  .syntax no_register_prefix
7  .text
8 start:
9  move.b extsym:GDGOTREL16,r4    ; { dg-error "PIC relocation size does not match" "" { xfail *-*-* } }
10  move.b extsym12:GDGOTREL,r5    ; { dg-error "PIC relocation size does not match" }
11  move.w extsym2:GDGOTREL,r5     ; { dg-error "PIC relocation size does not match" }
12  move.d extsym3:GDGOTREL16,r6   ; { dg-error "PIC relocation size does not match" }
13  move extsym4:GDGOTREL16,srp    ; { dg-error "PIC relocation size does not match" }
14  move.b extsym5:TPOFFGOT16,r4   ; { dg-error "PIC relocation size does not match" "" { xfail *-*-* } }
15  move.b extsym15:TPOFFGOT,r7    ; { dg-error "PIC relocation size does not match" }
16  move.w extsym6:DTPREL,r5       ; { dg-error "PIC relocation size does not match" }
17  move.d extsym7:DTPREL16,r6     ; { dg-error "PIC relocation size does not match" }
18  move.d extsym7:TPOFFGOT16,r6   ; { dg-error "PIC relocation size does not match" }
19  move extsym8:TPOFFGOT16,srp    ; { dg-error "PIC relocation size does not match" }