OSDN Git Service

* ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols.
authorAlan Modra <amodra@bigpond.net.au>
Tue, 17 Aug 2004 05:39:32 +0000 (05:39 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 17 Aug 2004 05:39:32 +0000 (05:39 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-elfvsb/elfvsb.exp

index 6db4a1c..6a92eee 100644 (file)
@@ -1,5 +1,9 @@
 2004-08-17  Alan Modra  <amodra@bigpond.net.au>
 
+       * ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols.
+
+2004-08-17  Alan Modra  <amodra@bigpond.net.au>
+
        * ld-scripts/cross1.t: Remove .opd section spec.
 
 2004-08-01  Stephane Carrez  <stcarrez@nerim.fr>
index b0adabe..0b87c77 100644 (file)
@@ -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 {