1 #source: start1.s
2 #source: tls-x.s
3 #source: tls-local-58.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 and a R_CRIS_16_GOT_GD against
9 # the same local symbol, gc:ed.  Check that we have nothing left but
10 # the start symbol and its code.  Can't get rid of the GOT just yet.
11 
12 .*:     file format elf32-cris
13 
14 Program Header:
15     LOAD off    0x0+ vaddr 0x0+80000 paddr 0x0+80000 align 2\*\*13
16          filesz 0x0+78 memsz 0x0+78 flags r-x
17     LOAD off    0x0+78 vaddr 0x0+82078 paddr 0x0+82078 align 2\*\*13
18          filesz 0x0+c memsz 0x0+c flags rw-
19 private flags = 0:
20 
21 SYMBOL TABLE:
22 0+80074 l    d  \.text	0+ \.text
23 0+82078 l    d  \.got	0+ \.got
24 0+82078 l     O \.got	0+ _GLOBAL_OFFSET_TABLE_
25 0+80074 g       \.text	0+ _start
26 0+82084 g       \.got	0+ __bss_start
27 0+82084 g       \.got	0+ _edata
28 0+820a0 g       \.got	0+ _end
29 
30 Contents of section \.text:
31  80074 41b20+                             .*
32 Contents of section \.got:
33  82078 0+ 0+ 0+           .*
34