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