mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
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.
10 lines
135 B
C
10 lines
135 B
C
#include <stdio.h>
|
|
const char* sd_get_seats(void);
|
|
|
|
int
|
|
main (int argc, char **argv)
|
|
{
|
|
printf("%s\n", sd_get_seats());
|
|
return 0;
|
|
}
|