Commit | Line | Data |
---|---|---|
24b368f8 CZ |
1 | ;;; Test if the assembler correctly generates TLS relocations |
2 | ||
3 | .cpu HS | |
4 | .text | |
5 | ;; RELOC_ARC_TLS_IE_GOT | |
6 | ld r2,[pcl,@var@tlsie] | |
7 | ||
8 | ;; RELOC_ARC_TLS_GD_GOT | |
9 | add r0,pcl,@var@tlsgd | |
10 | ||
11 | ;; RELOC_ARC_TLS_DTPOFF | |
12 | add r1,r0,@var@dtpoff | |
13 | ||
14 | ;; RELOC_ARC_TLS_LE_32 | |
15 | add r0,r25,@var@tpoff | |
16 | ||
17 | ;; RELOC_ARC_TLS_GD_LD | |
18 | .tls_gd_ld @.tdata`bl @func@plt |