From 16d2ea4c821502948d193a152c8b151f5497a0d3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 26 Jul 2009 16:10:00 -0700 Subject: Make sure no code in ld.so uses xmm/ymm registers on x86-64. This patch introduces a test to make sure no function modifies the xmm/ymm registers. With the exception of the auditing functions. The test is probably too pessimistic. All code linked into ld.so is checked. Perhaps at some point the callgraph starting from _dl_fixup and _dl_profile_fixup is checked and we can start using faster SSE-using functions in parts of ld.so. --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 7adbf1f7a8..12ac487385 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2009-07-26 Ulrich Drepper + + * sysdeps/x86_64/tst-xmmymm.sh: New file. Check whether any of the + functions used in ld.so modify xmm/ymm registers. + * sysdeps/x86_64/Makefile: Hook new test up. + * sysdeps/x86_64/rtld-memchr.c: New file. + * sysdeps/x86_64/rtld-memcmp.c: New file. + * sysdeps/x86_64/rtld-rawmemchr.c: New file. + * sysdeps/x86_64/rtld-strchr.S: New file. + * sysdeps/x86_64/rtld-strcmp.S: New file. + * sysdeps/x86_64/rtld-strlen.S: New file. + * sysdeps/x86_64/multiarch/rtld-rawmemchr.c: New file. + * sysdeps/x86_64/multiarch/rtld-strlen.S: New file. + 2009-07-26 H.J. Lu * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove -- cgit v1.2.3