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