This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
RFC: Should we check IFUNC definition against non-IFUNC versioned reference?
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Sun, 19 Jan 2014 11:24:47 -0800
- Subject: RFC: Should we check IFUNC definition against non-IFUNC versioned reference?
- Authentication-results: sourceware.org; auth=none
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.