aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2009-07-02 04:33:12 -0700
committerUlrich Drepper <drepper@redhat.com>2009-07-02 04:33:12 -0700
commit167d5ed5de0c6e587506b8a595fe0e4aa630bbb0 (patch)
tree84d6ecc93e0c7854dcead18ad7dbbd7d187638b5 /sysdeps
parentaf263b81541d1f4a10fc0862d0f3e3b9464534c1 (diff)
downloadglibc-167d5ed5de0c6e587506b8a595fe0e4aa630bbb0.zip
glibc-167d5ed5de0c6e587506b8a595fe0e4aa630bbb0.tar.gz
glibc-167d5ed5de0c6e587506b8a595fe0e4aa630bbb0.tar.bz2
Fix handling of xmm6 in ld.so audit hooks on x86-64.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/x86_64/dl-trampoline.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/x86_64/dl-trampoline.S b/sysdeps/x86_64/dl-trampoline.S
index d8d9bc1..33e6115 100644
--- a/sysdeps/x86_64/dl-trampoline.S
+++ b/sysdeps/x86_64/dl-trampoline.S
@@ -107,7 +107,8 @@ _dl_runtime_profile:
movaps %xmm3, 112(%rsp)
movaps %xmm4, 128(%rsp)
movaps %xmm5, 144(%rsp)
- movaps %xmm7, 160(%rsp)
+ movaps %xmm6, 160(%rsp)
+ movaps %xmm7, 176(%rsp)
movq %rsp, %rcx # La_x86_64_regs pointer to %rcx.
movq 48(%rbx), %rdx # Load return address if needed.
@@ -128,7 +129,8 @@ _dl_runtime_profile:
movaps 112(%rsp), %xmm3
movaps 128(%rsp), %xmm4
movaps 144(%rsp), %xmm5
- movaps 160(%rsp), %xmm7
+ movaps 160(%rsp), %xmm6
+ movaps 176(%rsp), %xmm7
movq 16(%rbx), %r10 # Anything in framesize?
testq %r10, %r10