PR ld/13683
[binutils.git] / ld / testsuite / ld-cris / tls-gc-75.d
blobb1c77bfc67f06dd8b6f6a49491cc4c4ff1a5ccc6
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
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.
15 .*: file format elf32-cris
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:
24 SYMBOL TABLE:
25 0+80074 l d .text 0+ .text
26 0+82078 l d .got 0+ .got
27 0+82084 l \*ABS\* 0+ __bss_start
28 0+82084 l \*ABS\* 0+ _edata
29 0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
30 0+820a0 l \*ABS\* 0+ _end
31 0+80074 g .text 0+ _start
33 Contents of section .text:
34 80074 41b20+ .*
35 Contents of section .got:
36 82078 0+ 0+ 0+ .*