diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2001-06-06 21:03:59 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2001-06-06 21:03:59 +0000 |
commit | 66517a2f18e2cbae1a861b138ce9372fff501f2c (patch) | |
tree | 0c73de1e389811f79dae8f9348832914eda1a8cb /ld/testsuite/ld-shared | |
parent | da55addb08b0a3e9331d109997fedf3bcb8361be (diff) | |
download | gdb-66517a2f18e2cbae1a861b138ce9372fff501f2c.zip gdb-66517a2f18e2cbae1a861b138ce9372fff501f2c.tar.gz gdb-66517a2f18e2cbae1a861b138ce9372fff501f2c.tar.bz2 |
2001-06-06 H.J. Lu <hjl@gnu.org>
* ld-bootstrap/bootstrap.exp: Rebuild tmpdir/ld2 with tmpdir/ld3
on Linux/mips.
* ld-elfvers/vers.exp: Also run on istarget Linux/mips.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-shared/shared.exp: Likewise.
* ld-selective/selective.exp: Mark selective2, selective3,
selective4 and selective5 xfail on Linux/mips.
* ld-shared/main.c: Skip invalid -Bsymbolic tests on Linux/mips.
* symbolic.dat: Remove invalid -Bsymbolic tests on Linux/mips.
* ld-srec/srec.exp: Add Linux/mips to xfail.
Diffstat (limited to 'ld/testsuite/ld-shared')
-rw-r--r-- | ld/testsuite/ld-shared/main.c | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-shared/shared.exp | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-shared/symbolic.dat | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/ld/testsuite/ld-shared/main.c b/ld/testsuite/ld-shared/main.c index fe5c78a..ce06261 100644 --- a/ld/testsuite/ld-shared/main.c +++ b/ld/testsuite/ld-shared/main.c @@ -55,6 +55,7 @@ main () printf ("shlib_maincall () == %d\n", shlib_maincall ()); #endif printf ("main_called () == %d\n", main_called ()); +#ifndef SYMBOLIC_TEST printf ("shlib_checkfunptr1 (shlib_shlibvar1) == %d\n", shlib_checkfunptr1 (shlib_shlibvar1)); #ifndef XCOFF_TEST @@ -77,6 +78,7 @@ main () printf ("!="); printf (" main_called\n"); #endif +#endif printf ("shlib_check () == %d\n", shlib_check ()); return 0; } diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp index 43959e5..256c862 100644 --- a/ld/testsuite/ld-shared/shared.exp +++ b/ld/testsuite/ld-shared/shared.exp @@ -36,6 +36,7 @@ if { ![istarget i?86-*-sysv4*] \ && ![istarget ia64-*-linux*] \ && ![istarget m68k-*-linux*] \ && ![istarget mips*-*-irix5*] \ + && ![istarget mips*-*-linux*] \ && ![istarget powerpc-*-elf*] \ && ![istarget powerpc-*-linux*] \ && ![istarget powerpc-*-sysv4*] \ @@ -204,6 +205,7 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o] setup_xfail "*-*-linux*libc1" setup_xfail "powerpc-*-linux*" setup_xfail "ia64-*-linux*" + setup_xfail "mips*-*-linux*" shared_test shnp "shared (non PIC, load offset)" \ mainnp.o sh1np.o sh2np.o shared \ "-T $srcdir/$subdir/elf-offset.ld" @@ -222,8 +224,8 @@ if ![ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o] shared_test shp "shared" mainnp.o sh1p.o sh2p.o xcoff } else { shared_test shp "shared" mainnp.o sh1p.o sh2p.o shared - ld_compile "$CC $CFLAGS -DXCOFF_TEST $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o - ld_compile "$CC $CFLAGS -DXCOFF_TEST $SHCFLAG $picflag" $srcdir/$subdir/sh1.c $tmpdir/sh1p.o + ld_compile "$CC $CFLAGS -DSYMBOLIC_TEST -DXCOFF_TEST $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o + ld_compile "$CC $CFLAGS -DSYMBOLIC_TEST -DXCOFF_TEST $SHCFLAG $picflag" $srcdir/$subdir/sh1.c $tmpdir/sh1p.o shared_test shp "shared -Bsymbolic" mainnp.o sh1p.o sh2p.o symbolic "-Bsymbolic" ld_compile "$CC $CFLAGS $SHCFLAG" $srcdir/$subdir/main.c $tmpdir/mainnp.o ld_compile "$CC $CFLAGS $SHCFLAG $picflag" $srcdir/$subdir/sh1.c $tmpdir/sh1p.o diff --git a/ld/testsuite/ld-shared/symbolic.dat b/ld/testsuite/ld-shared/symbolic.dat index 2859f3d..7146486 100644 --- a/ld/testsuite/ld-shared/symbolic.dat +++ b/ld/testsuite/ld-shared/symbolic.dat @@ -5,6 +5,4 @@ shlib_shlibvar1 () == 3 shlib_shlibvar2 () == 4 shlib_shlibcall () == 5 main_called () == 6 -shlib_checkfunptr1 (shlib_shlibvar1) == 0 -shlib_getfunptr1 () != shlib_shlibvar1 shlib_check () == 1 |