Make sure no code in ld.so uses xmm/ymm registers on x86-64.
commit16d2ea4c821502948d193a152c8b151f5497a0d3
authorUlrich Drepper <drepper@redhat.com>
Sun, 26 Jul 2009 23:10:00 +0000 (26 16:10 -0700)
committerUlrich Drepper <drepper@redhat.com>
Sun, 26 Jul 2009 23:10:00 +0000 (26 16:10 -0700)
treeb2e680691addcd8cbfc8f4be5d0d6d7ca27baf49
parentdc8e5eb6edc936647b8135e7176df5455e5ff112
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
sysdeps/x86_64/Makefile
sysdeps/x86_64/multiarch/rtld-rawmemchr.c [new file with mode: 0644]
sysdeps/x86_64/multiarch/rtld-strlen.S [new file with mode: 0644]
sysdeps/x86_64/rtld-memchr.c [new file with mode: 0644]
sysdeps/x86_64/rtld-memcmp.c [new file with mode: 0644]
sysdeps/x86_64/rtld-rawmemchr.c [new file with mode: 0644]
sysdeps/x86_64/rtld-strchr.S [new file with mode: 0644]
sysdeps/x86_64/rtld-strcmp.S [new file with mode: 0644]
sysdeps/x86_64/rtld-strlen.S [new file with mode: 0644]
sysdeps/x86_64/tst-xmmymm.sh [new file with mode: 0755]