4584ec1207
After resolving a versioned reference, foo@VER1, to a default versioned definition, foo@@VER1, from a shared object, we also merge it with the existing regular default symbol definition, foo. When foo is IFUNC and foo@@VER1 aren't, we will merge 2 incompatible definitions. This patch avoids merging foo@@VER1 definition with foo definition if one is IFUNC and the other isn't.
8 lines
296 B
C
8 lines
296 B
C
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");
|