1bc9204d5b
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.
11 lines
240 B
Plaintext
11 lines
240 B
Plaintext
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
|