diff options
author | Alan Modra <amodra@gmail.com> | 2013-04-04 14:51:48 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-04-04 14:51:48 +0000 |
commit | e65cb106a6392c767895842229acbf90c5510077 (patch) | |
tree | 16ae64aaa3c0cb2b63f389c1e39dd2fcb481e872 /ld/testsuite/ld-elf/shared.exp | |
parent | 8ff4c1f3c9b64444db91fa0630f150cf964d2d81 (diff) | |
download | gdb-e65cb106a6392c767895842229acbf90c5510077.zip gdb-e65cb106a6392c767895842229acbf90c5510077.tar.gz gdb-e65cb106a6392c767895842229acbf90c5510077.tar.bz2 |
* ld-elf/shared.exp: Update regexp on --no-add-needed and
--no-copy-dt-needed-entries tests.
Diffstat (limited to 'ld/testsuite/ld-elf/shared.exp')
-rw-r--r-- | ld/testsuite/ld-elf/shared.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-elf/shared.exp b/ld/testsuite/ld-elf/shared.exp index 8a7590a..89409fa 100644 --- a/ld/testsuite/ld-elf/shared.exp +++ b/ld/testsuite/ld-elf/shared.exp @@ -361,14 +361,14 @@ run_ld_link_exec_tests [list "*-*-netbsdelf*"] $run_tests # Check --no-add-needed and --no-copy-dt-needed-entries set testname "--no-add-needed" set exec_output [run_host_cmd "$CC" "$gcc_gas_flag $gcc_ld_flag tmpdir/libneeded1c.o -Wl,--no-add-needed,-rpath-link=tmpdir -Ltmpdir -lneeded1a"] -if { [ regexp "'bar' is defined in DSO tmpdir/libneeded1b.so" $exec_output ] } { +if { [ regexp "tmpdir/libneeded1b.so: .*: DSO missing" $exec_output ] } { pass $testname } { fail $testname } set testname "--no-copy-dt-needed-entries" set exec_output [run_host_cmd "$CC" "$gcc_gas_flag $gcc_ld_flag tmpdir/libneeded1c.o -Wl,--no-copy-dt-needed-entries,-rpath-link=tmpdir -Ltmpdir -lneeded1a"] -if { [ regexp "'bar' is defined in DSO tmpdir/libneeded1b.so" $exec_output ] } { +if { [ regexp "tmpdir/libneeded1b.so: .*: DSO missing" $exec_output ] } { pass $testname } { fail $testname |