Automatic date update in version.in
[binutils-gdb.git] / ld / testsuite / ld-cris / asneed1.d
blob00fba758223f37f21b52f0ce1d65e75932caa2de
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
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.
18 .*: file format elf32-cris
20 Program Header:
21 LOAD off .*
22 filesz .*
23 LOAD off .*
24 filesz .*
25 private flags = 0: