* ld-shared/symbolic.dat: New.
* ld-shared/shared.exp: Also check -Bsymbolic.
+2001-04-29 H.J. Lu <hjl@gnu.org>
+
+ * ld-shared/symbolic.dat: New.
+
+ * ld-shared/shared.exp: Also check -Bsymbolic.
+
2001-04-28 Andreas Jaeger <aj@suse.de>
* ld-scripts/phdrs.exp: x86-64 is a 64 bit ELF platform, handle it
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
+ 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
} }
}
}
--- /dev/null
+mainvar == 1
+overriddenvar == 2
+shlibvar1 == 3
+shlib_shlibvar1 () == 3
+shlib_shlibvar2 () == 4
+shlib_shlibcall () == 5
+main_called () == 6
+shlib_checkfunptr1 (shlib_shlibvar1) == 0
+shlib_getfunptr1 () != shlib_shlibvar1
+shlib_check () == 1