diff options
author | Alan Modra <amodra@gmail.com> | 2004-08-17 05:39:32 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-08-17 05:39:32 +0000 |
commit | 82dd044a0d946473699977f5f4b4ecd78f1ad7d6 (patch) | |
tree | cf7c18444f0c829e0dac33d8b5d01e7763dac97d /ld/testsuite/ld-elfvsb | |
parent | 35b0ce5903637508ed25ab44ca5db3d1850b99ab (diff) | |
download | gdb-82dd044a0d946473699977f5f4b4ecd78f1ad7d6.zip gdb-82dd044a0d946473699977f5f4b4ecd78f1ad7d6.tar.gz gdb-82dd044a0d946473699977f5f4b4ecd78f1ad7d6.tar.bz2 |
* ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols.
Diffstat (limited to 'ld/testsuite/ld-elfvsb')
-rw-r--r-- | ld/testsuite/ld-elfvsb/elfvsb.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/testsuite/ld-elfvsb/elfvsb.exp b/ld/testsuite/ld-elfvsb/elfvsb.exp index b0adabe..0b87c77 100644 --- a/ld/testsuite/ld-elfvsb/elfvsb.exp +++ b/ld/testsuite/ld-elfvsb/elfvsb.exp @@ -117,11 +117,11 @@ proc visibility_test { visibility progname testname main sh1 sh2 dat args } { } if {![ld_simple_link $CC $tmpdir/$progname.so "$shared $shldflags $tmpdir/$sh1 $tmpdir/$sh2"]} { if { [ string match $visibility "hidden_undef" ] - && [regexp ".*/sh1.c.*: undefined reference to \`visibility\'" $link_output] + && [regexp ".*/sh1.c.*: undefined reference to \`\.?visibility\'" $link_output] && [regexp ".*/sh1.c.*: undefined reference to \`visibility_var\'" $link_output] } { pass "$testname" } else { if { [ string match $visibility "protected_undef" ] - && [regexp ".*/sh1.c.*: undefined reference to \`visibility\'" $link_output] + && [regexp ".*/sh1.c.*: undefined reference to \`\.?visibility\'" $link_output] && [regexp ".*/sh1.c.*: undefined reference to \`visibility_var\'" $link_output] } { pass "$testname" } else { @@ -140,13 +140,13 @@ proc visibility_test { visibility progname testname main sh1 sh2 dat args } { } if ![ld_simple_link $CC $tmpdir/$progname "-Wl,-rpath,$rpath $tmpdir/$main $tmpdir/$progname.so"] { if { [ string match $visibility "hidden" ] - && [regexp ".*/main.c.*: undefined reference to \`visibility\'" $link_output] + && [regexp ".*/main.c.*: undefined reference to \`\.?visibility\'" $link_output] && [regexp ".*/main.c.*: undefined reference to \`visibility_var\'" $link_output] } { pass "$testname" } else { if { [ string match $visibility "hidden_undef_def" ] - && [regexp ".*/main.c.*: undefined reference to \`visibility\'" $link_output] + && [regexp ".*/main.c.*: undefined reference to \`\.?visibility\'" $link_output] && [regexp ".*/main.c.*: undefined reference to \`visibility_def\'" $link_output] - && [regexp ".*/main.c.*: undefined reference to \`visibility_func\'" $link_output] + && [regexp ".*/main.c.*: undefined reference to \`\.?visibility_func\'" $link_output] && [regexp ".*/main.c.*: undefined reference to \`visibility_var\'" $link_output] } { pass "$testname" } else { |