Fix garbage collection of common symbols
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cris / tls-gc-69.d
CommitLineData
bcae4342
HPN
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
15Program 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-
20private flags = 0:
21
22SYMBOL TABLE:
d2667025
AM
230+80074 l d \.text 0+ \.text
240+82078 l d \.got 0+ \.got
d2667025 250+82078 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
d2667025 260+80074 g \.text 0+ _start
c4621b33
AM
270+82084 g \.got 0+ __bss_start
280+82084 g \.got 0+ _edata
290+820a0 g \.got 0+ _end
bcae4342
HPN
30
31Contents of section .text:
32 80074 41b20+ .*
33Contents of section .got:
34 82078 0+ 0+ 0+ .*
This page took 0.290313 seconds and 4 git commands to generate.