blob: cac20fa9d3941a1e3412df0d3d18053f5081f7fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
extern int global;
extern void hello(int);
#if defined (__mips__)
void tst_pc16(void)
{
printf("R_MIPS_PC16: 'b tst_pc16' \n");
return;
}
#endif
int test(int argc, char **argv)
{
global = 1; //inter-module data access
printf("In test() global = %d\n", global);
hello(2); //inter-module call
}
int my_main(int argc, char **argv)
{
exit(0);
}
|