mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08:00
19 lines
329 B
C
19 lines
329 B
C
/* This program is linked against SOM shared libraries, which the loader
|
|
automatically loads along with the program itself).
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
|
|
extern int solib_main (int);
|
|
|
|
main ()
|
|
{
|
|
int result;
|
|
|
|
/* Call a shlib function. */
|
|
result = solib_main (100);
|
|
|
|
/* Call it again. */
|
|
result = solib_main (result);
|
|
}
|