This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RFC: Should we check IFUNC definition against non-IFUNC versioned reference?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]