* ld-shared/shared.exp: Run the tests on sparc*-*-sunos4*. Add
authorIan Lance Taylor <ian@airs.com>
Thu, 28 Sep 1995 16:39:55 +0000 (16:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 28 Sep 1995 16:39:55 +0000 (16:39 +0000)
appropriate modifications and setup_xfails.
* ld-shared/sun4.dat: New file.

ld/testsuite/ChangeLog
ld/testsuite/ld-shared/.Sanitize
ld/testsuite/ld-shared/sun4.dat [new file with mode: 0644]

index 5d9b01d339db3cbff9c359b93c5e04fa51030e8e..e50e127f9837fae1ae0e55a07c0aa30091f45349 100644 (file)
@@ -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
index 46b301bca3c315ce2e1ca3a24dfbef0d931a50f0..e8e4b391b2953d6fe0ffb486bfff5190f4822bcf 100644 (file)
@@ -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 (file)
index 0000000..5eafb42
--- /dev/null
@@ -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