c6d234
Fix strncmp in rtld for x86-64 by using the generic implementation.  Not
c6d234
needed upstream since upstream uses
c6d234
d8725b1fba769a89ce2c902a2091d01faa946b66 to enable strncmp from
c6d234
strncmp.S, but this introduces SSE registers into rtld for RHEL7 and
c6d234
this would be the first instance of such a change. While we have done
c6d234
everything we can to save/restore such registers (see the xsave work) it
c6d234
isn't clear if everything is fixed, so to play it safe in RHEL we just
c6d234
use the C version of strncmp for rtld.
c6d234
c6d234
Not needed upstream.
c6d234
c6d234
diff --git a/sysdeps/x86_64/multiarch/rtld-strncmp.c b/sysdeps/x86_64/multiarch/rtld-strncmp.c
c6d234
new file mode 100644
c6d234
index 0000000000000000..5bb3cfb974b9a95d
c6d234
--- /dev/null
c6d234
+++ b/sysdeps/x86_64/multiarch/rtld-strncmp.c
c6d234
@@ -0,0 +1 @@
c6d234
+#include <string/strncmp.c>