]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.base/so-impl-ld.c
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.base / so-impl-ld.c
CommitLineData
ba49f204
DT
1/* This program is linked against SOM shared libraries, which the loader
2 automatically loads along with the program itself).
3 */
4
5#include <stdio.h>
6
7extern int solib_main (int);
8
9main ()
10{
11 int result;
12
13 /* Call a shlib function. */
14 result = solib_main (100);
15
16 /* Call it again. */
17 result = solib_main (result);
18}