2000-10-19 H.J. Lu (hjl@gnu.org)
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 19 Oct 2000 19:52:28 +0000 (19:52 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 19 Oct 2000 19:52:28 +0000 (19:52 +0000)
* ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
for Linux/PPC.
* ld-shared/shared.exp: Likewise.

ld/testsuite/ChangeLog
ld/testsuite/ld-elfvsb/elfvsb.exp
ld/testsuite/ld-shared/shared.exp

index 956a257626c6f51c40fcf5be88ac5b9f78e626bd..24030c974ef6e3662e4910d89c2ebde2f2637864 100644 (file)
@@ -1,3 +1,9 @@
+2000-10-19  H.J. Lu  (hjl@gnu.org)
+
+       * ld-elfvsb/elfvsb.exp (visibility_run): Set expected failures
+       for Linux/PPC.
+       * ld-shared/shared.exp: Likewise.
+
 2000-10-09  Hans-Peter Nilsson  <hp@bitrange.com>
 
        * ld-selective/selective.exp: Rearrange to be table-driven.
index b563c3487dd55aa82c9f72155a88d48379043351..134faebe046ecd8a4a03a4c4066d2cda6e61b714 100644 (file)
@@ -232,6 +232,10 @@ proc visibility_run {visibility} {
            } else {
                setup_xfail "*-*-sunos4*"
            }
+           if { [ string match $visibility "hidden_weak" ]
+                || [ string match $visibility "protected_weak" ] } {
+               setup_xfail "powerpc-*-linux*"
+           }
            visibility_test $visibility vnp "visibility ($visibility) (non PIC)" mainnp.o sh1np.o sh2np.o elfvsb
 
            # Test ELF shared library relocations with a non-zero load
@@ -247,6 +251,14 @@ proc visibility_run {visibility} {
                setup_xfail "*-*-sunos4*"
                setup_xfail "*-*-linux*libc1"
            }
+           if { [ string match $visibility "hidden_normal" ]
+                || [ string match $visibility "hidden_weak" ]
+                || [ string match $visibility "protected" ]
+                || [ string match $visibility "protected_undef_def" ]
+                || [ string match $visibility "protected_weak" ]
+                || [ string match $visibility "normal" ] } {
+               setup_xfail "powerpc-*-linux*"
+           }
            visibility_test $visibility vnp "visibility ($visibility) (non PIC, load offset)" \
                mainnp.o sh1np.o sh2np.o elfvsb \
                "-T $srcdir/$subdir/elf-offset.ld"
@@ -294,6 +306,10 @@ proc visibility_run {visibility} {
                } else {
                    setup_xfail "*-*-sunos4*"
                }
+               if { [ string match $visibility "hidden_weak" ]
+                    || [ string match $visibility "protected_weak" ] } {
+                   setup_xfail "powerpc-*-linux*"
+               }
                visibility_test $visibility vmpnp "visibility ($visibility) (PIC main, non PIC so)" mainp.o sh1np.o sh2np.o elfvsb
            }
        } else {
index 6eb0a8c5a731de2295e6759949d781b6bda6259f..fd01aa47f4fd19a35b5e34c80dcdea456e55933e 100644 (file)
@@ -204,6 +204,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o]
        # the load address is not zero (which is the default).
        setup_xfail "*-*-sunos4*"
        setup_xfail "*-*-linux*libc1"
+       setup_xfail "powerpc-*-linux*"
        shared_test shnp "shared (non PIC, load offset)" \
                mainnp.o sh1np.o sh2np.o shared \
                "-T $srcdir/$subdir/elf-offset.ld"