Retro68/binutils/ld/testsuite/ld-ifunc/pr16467b.c

11 lines
445 B
C
Raw Normal View History

2015-08-28 15:32:19 +00:00
void new_sd_get_seats(void);
__asm__(".symver new_sd_get_seats,sd_get_seats@LIBSYSTEMD_209");
2017-04-10 11:32:00 +00:00
#if defined __powerpc64__ && defined _CALL_AIXDESC && !defined _CALL_LINUX
__asm__(".symver .new_sd_get_seats,.sd_get_seats@LIBSYSTEMD_209");
#endif
2015-08-28 15:32:19 +00:00
void (*resolve_sd_get_seats(void)) (void) __asm__ ("sd_get_seats");
void (*resolve_sd_get_seats(void)) (void) {
return new_sd_get_seats;
}
__asm__(".type sd_get_seats, %gnu_indirect_function");