From: Ian Lance Taylor Date: Thu, 28 Sep 1995 16:39:55 +0000 (+0000) Subject: * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a43308b283ef04a0795db045a8bdd77911cff934;p=binutils-gdb.git * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add appropriate modifications and setup_xfails. * ld-shared/sun4.dat: New file. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5d9b01d339d..e50e127f983 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,16 @@ +Thu Sep 28 12:37:14 1995 Ian Lance Taylor + + * ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add + appropriate modifications and setup_xfails. + * ld-shared/sun4.dat: New file. + +Mon Sep 18 14:12:56 1995 Ian Lance Taylor + + * lib/ld.exp (default_ld_version): Call prune_system_crud. + (default_ld_relocate, default_ld_link): Likewise. + (default_ld_simple_link, default_ld_compile): Likewise. + (default_ld_assemble, default_ld_nm): Likewise. + Fri Sep 8 17:15:38 1995 Ian Lance Taylor * ld-cdtest/cdtest.exp: If the compiler does not exist, mark the diff --git a/ld/testsuite/ld-shared/.Sanitize b/ld/testsuite/ld-shared/.Sanitize index 46b301bca3c..e8e4b391b29 100644 --- a/ld/testsuite/ld-shared/.Sanitize +++ b/ld/testsuite/ld-shared/.Sanitize @@ -28,6 +28,7 @@ sh1.c sh2.c shared.dat shared.exp +sun4.dat Things-to-lose: diff --git a/ld/testsuite/ld-shared/sun4.dat b/ld/testsuite/ld-shared/sun4.dat new file mode 100644 index 00000000000..5eafb42dfc7 --- /dev/null +++ b/ld/testsuite/ld-shared/sun4.dat @@ -0,0 +1,15 @@ +mainvar == 1 +overriddenvar == 2 +shlibvar1 == 3 +shlib_mainvar () == 1 +shlib_overriddenvar () == 2 +shlib_shlibvar1 () == 3 +shlib_shlibvar2 () == 4 +shlib_shlibcall () == 5 +shlib_maincall () == 6 +main_called () == 6 +shlib_checkfunptr1 (shlib_mainvar) == 0 +shlib_checkfunptr2 (main_called) == 1 +shlib_getfunptr1 () != shlib_mainvar +shlib_getfunptr2 () == main_called +shlib_check () == 1