diff options
Diffstat (limited to 'ld/testsuite/ld-ifunc/pr16467b.c')
-rw-r--r-- | ld/testsuite/ld-ifunc/pr16467b.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-ifunc/pr16467b.c b/ld/testsuite/ld-ifunc/pr16467b.c new file mode 100644 index 0000000..264f6cf --- /dev/null +++ b/ld/testsuite/ld-ifunc/pr16467b.c @@ -0,0 +1,7 @@ +void new_sd_get_seats(void); +__asm__(".symver new_sd_get_seats,sd_get_seats@LIBSYSTEMD_209"); +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"); |