x86: Make strncmp usable from rtld

System Internals / glibc - Florian Weimer [redhat.com] - 12 June 2018 13:00 EDT

Due to the way the conditions were written, the rtld build of strncmp ended up with no definition of the strncmp symbol at all: The implementations were renamed for use within an IFUNC resolver, but the IFUNC resolver itself was missing (because rtld does not use IFUNCs).

e826574c98 x86: Make strncmp usable from rtld
ChangeLog | 8 ++++++++
sysdeps/i386/i686/multiarch/strncmp-c.c | 2 +-
sysdeps/x86_64/multiarch/strncmp-sse2.S | 11 +++++++----
3 files changed, 16 insertions(+), 5 deletions(-)

Upstream: sourceware.org


  • Share