Dynamic TLS section symbols
[deliverable/binutils-gdb.git] / ld / testsuite / ld-cris / asneed1.d
CommitLineData
18080097
HPN
1#source: start1.s
2#source: dso-2.s
3#source: dso-1.s
4#as: --pic --no-underscore --em=criself
5#ld: -m crislinux --as-needed tmpdir/libdso-1.so
6#objdump: -p
7
8# Using --as-needed caused a elf_hash_table (info)->dynobj to be
9# registered before cris_elf_check_relocs was called, thereby
10# voiding an assumption that it was the sole setter of
11# htab->dynobj, trigging a SEGV due to a NULL dereference for
12# the variable holding the .got section.
13# The test-case would FAIL for the SEGV and we also check that
14# we don't get the DT_NEEDED tag (indeed no dynamic things at
15# all) because the library isn't needed and would have to move
16# to the end of the link-line to have effect if actually needed.
17
18.*: file format elf32-cris
19
20Program Header:
21 LOAD off .*
22 filesz .*
23 LOAD off .*
24 filesz .*
25private flags = 0:
This page took 0.298336 seconds and 4 git commands to generate.