1 #source: tls-x.s
2 #source: tls-local-59.s
3 #as: --pic --no-underscore --em=criself -I$srcdir/$subdir
4 #ld: -m crislinux --shared --hash-style=sysv
5 #objdump: -s -t -r -p -R -T
6 
7 # A DSO with a R_CRIS_32_GOT_GD, a R_CRIS_16_GOT_GD, a
8 # R_CRIS_32_GOT_TPREL and a R_CRIS_16_GOT_TPREL against the same local
9 # symbol.  Check that we have proper NPTL/TLS markings and GOT.
10 
11 .*:     file format elf32-cris
12 
13 Program Header:
14 #...
15      TLS off .*
16          filesz 0x00000084 memsz 0x00000084 flags r--
17 #...
18   FLAGS                0x00000010
19 #...
20 DYNAMIC RELOCATION RECORDS
21 OFFSET   TYPE              VALUE
22 000022b4 R_CRIS_32_TPREL   \*ABS\*\+0x0+4
23 000022b8 R_CRIS_DTP        \*ABS\*\+0x0+4
24 
25 Contents of section \.hash:
26 #...
27 Contents of section \.text:
28  0198 6fae1000 00006fae 0c000000 5fae1000  .*
29  01a8 5fae0c00                             .*
30 #...
31 Contents of section \.got:
32  22a8 30220+ 0+ 0+ 040+  .*
33  22b8 0+ 0+                    .*
34