1 #source: start1.s
2 #source: tls-x.s
3 #source: tls-gd-2.s
4 #source: tls-ie-10.s
5 #source: tls-gd-1.s
6 #source: tls-ie-8.s
7 #as: --pic --no-underscore --em=criself -I$srcdir/$subdir
8 #ld: -m crislinux --gc-sections
9 #objdump: -s -t -r -p
10 
11 # An executable with a R_CRIS_32_GOT_GD, a R_CRIS_16_GOT_GD, a
12 # R_CRIS_32_GOT_TPREL and a R_CRIS_16_GOT_TPREL against the same
13 # symbol, gc:ed.  Check that we have proper NPTL/TLS markings and GOT.
14 
15 .*:     file format elf32-cris
16 
17 Program Header:
18     LOAD off    0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
19          filesz 0x0+78 memsz 0x0+78 flags r-x
20     LOAD off    0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
21          filesz 0x0+c memsz 0x0+c flags rw-
22 private flags = 0:
23 
24 SYMBOL TABLE:
25 0+80074 l    d  \.text	0+ \.text
26 0+82078 l    d  \.got	0+ \.got
27 0+82078 l     O \.got	0+ _GLOBAL_OFFSET_TABLE_
28 0+80074 g       \.text	0+ _start
29 0+82084 g       \.got	0+ __bss_start
30 0+82084 g       \.got	0+ _edata
31 0+820a0 g       \.got	0+ _end
32 
33 Contents of section \.text:
34  80074 41b20+                             .*
35 Contents of section \.got:
36  82078 0+ 0+ 0+           .*
37