[PATCH 53/57][Arm][OBJDUMP] Add support for MVE instructions: vand, vbrsr, vcls,...
[binutils-gdb.git] / ld / testsuite / ld-ifunc / ifunc-lib.c
blob13ca25065a9f41cb6c1a7ab5c611299f369c460e
1 static int
2 one (void)
4 return 1;
7 static int
8 minus_one (void)
10 return -1;
13 void * foo_ifunc (void) __asm__ ("foo");
14 __asm__(".type foo, %gnu_indirect_function");
16 void *
17 foo_ifunc (void)
19 return one;
22 void * bar_ifunc (void) __asm__ ("bar");
23 __asm__(".type bar, %gnu_indirect_function");
25 void *
26 bar_ifunc (void)
28 return minus_one;