[PATCH 7/57][Arm][GAS] Add support for MVE instructions: vstr/vldr
[binutils-gdb.git] / gdb / testsuite / gdb.base / so-impl-ld.c
blob9310bca1421a2077dda15e624f524d1d74e5d518
1 /* This program is linked against SOM shared libraries, which the loader
2 automatically loads along with the program itself).
3 */
5 #include <stdio.h>
7 #if defined(__cplusplus) || defined(__STDCPP__)
8 extern "C" int solib_main (int arg);
9 #else
10 int solib_main (int arg);
11 #endif
13 int main ()
15 int result;
17 /* Call a shlib function. */
18 result = solib_main (100);
20 /* Call it again. */
21 result = solib_main (result);
22 return 0;