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