RFC: Should we check IFUNC definition against non-IFUNC versioned reference?
H.J. Lu
hjl.tools@gmail.com
Sun Jan 19 19:24:00 GMT 2014
In
https://sourceware.org/bugzilla/show_bug.cgi?id=16467
we wind up with IFUNC symbol, foo, and non-IFUNC versioned reference,
foo@VERSION:
Symbol table '.dynsym' contains 7 entries:
Num: Value Size Type Bind Vis Ndx Name
0: 0000000000000000 0 NOTYPE LOCAL DEFAULT UND
1: 0000000000000280 0 SECTION LOCAL DEFAULT 7
2: 0000000000000280 13 IFUNC GLOBAL DEFAULT 7 sd_get_seats
3: 0000000000200408 0 NOTYPE GLOBAL DEFAULT 11 __bss_start
4: 0000000000200408 0 NOTYPE GLOBAL DEFAULT 11 _edata
5: 0000000000200408 0 NOTYPE GLOBAL DEFAULT 11 _end
6: 0000000000000000 0 FUNC GLOBAL DEFAULT UND
sd_get_seats@LIBSYSTEMD_209 (2)
Should non-IFUNC sd_get_seats@LIBSYSTEMD_209 reference be resolved to
IFUNC sd_get_seats definition within the same DSO?
--
H.J.
More information about the Libc-alpha
mailing list