diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-28 16:39:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-28 16:39:55 +0000 |
commit | a43308b283ef04a0795db045a8bdd77911cff934 (patch) | |
tree | 7d10d0350d28cd96a2bcc207bd1b2200dd6d126c /ld | |
parent | 5753006bf045fa872b7e7b377b6fe4e299305b69 (diff) | |
download | fsf-binutils-gdb-a43308b283ef04a0795db045a8bdd77911cff934.zip fsf-binutils-gdb-a43308b283ef04a0795db045a8bdd77911cff934.tar.gz fsf-binutils-gdb-a43308b283ef04a0795db045a8bdd77911cff934.tar.bz2 |
* ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
appropriate modifications and setup_xfails.
* ld-shared/sun4.dat: New file.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-shared/.Sanitize | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-shared/sun4.dat | 15 |
3 files changed, 29 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 5d9b01d..e50e127 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,16 @@ +Thu Sep 28 12:37:14 1995 Ian Lance Taylor <ian@cygnus.com> + + * 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 <ian@cygnus.com> + + * 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 <ian@cygnus.com> * 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 46b301b..e8e4b39 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 0000000..5eafb42 --- /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 |