diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-11-06 19:44:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-11-06 19:44:43 +0000 |
commit | 1bc9204d5bfc2640c6d5fee8cc167f90054e5320 (patch) | |
tree | b2b9b111d3ee85fe76544793815b9d248361d418 /ld/testsuite/ld-shared/xcoff.dat | |
parent | 83c23fca5b413733cce07a1a7b2716ffdd978985 (diff) | |
download | gdb-1bc9204d5bfc2640c6d5fee8cc167f90054e5320.zip gdb-1bc9204d5bfc2640c6d5fee8cc167f90054e5320.tar.gz gdb-1bc9204d5bfc2640c6d5fee8cc167f90054e5320.tar.bz2 |
* ld-shared/shared.exp: Run tests on rs6000*-*-aix* and
powerpc*-*-aix*. Add code to create appropriate exports files,
and pass appropriate compilation flags, and test against
appropriate expected output.
* ld-shared/xcoff.dat: New file.
* ld-shared/main.c: Put #ifndef XCOFF_TEST around tests that can
not be linked using XCOFF. Use shlib_shlibvar1 as a sample
function pointer, rather than shlib_mainvar.
* ld-shared/sh1.c: Likewise.
* ld-shared/shared.dat: Update for change from using shlib_mainvar
to using shlib_shlibvar1.
* ld-shared/sun4.dat: Likewise.
Diffstat (limited to 'ld/testsuite/ld-shared/xcoff.dat')
-rw-r--r-- | ld/testsuite/ld-shared/xcoff.dat | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-shared/xcoff.dat b/ld/testsuite/ld-shared/xcoff.dat new file mode 100644 index 0000000..a409d96 --- /dev/null +++ b/ld/testsuite/ld-shared/xcoff.dat @@ -0,0 +1,10 @@ +mainvar == 1 +overriddenvar == 2 +shlibvar1 == 3 +shlib_shlibvar1 () == 3 +shlib_shlibvar2 () == 4 +shlib_shlibcall () == 5 +main_called () == 6 +shlib_checkfunptr1 (shlib_shlibvar1) == 1 +shlib_getfunptr1 () == shlib_shlibvar1 +shlib_check () == 1 |