Initialize Tizen 2.3
[external/prelink.git] / testsuite / reloc2lib2.c
1 extern int f1 (int dummy);
2
3 int f2 (int add)
4 {
5   if (add)
6     return f1 (0) + 26;
7   return f1 (0);
8 }
9
10 /* Make sure conflict in f3 is not against read-only segment.  */
11 asm (".section trampoline, \"awx\"; .previous");
12 void * __attribute__((section ("trampoline"))) f3 (void)
13 {
14   return (void *) f3;
15 }