This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[PATCH] Fix sparc32 LD_AUDIT
- From: "David S. Miller" <davem at davemloft dot net>
- To: libc-alpha at sources dot redhat dot com
- Cc: jakub at redhat dot com, roland at redhat dot com
- Date: Sun, 10 Apr 2005 19:53:14 -0700
- Subject: [PATCH] Fix sparc32 LD_AUDIT
My LD_AUDIT patch from last week had a latent bug in the
sparc32 trampoline code. It uses the 64-bit Sparc stx
instruction while copying over the frame contents instead
of the correct std instruction.
This patch corrects that.
Please apply, thanks.
2005-04-10 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/dl-trampoline.S: Use std not stx.
--- sysdeps/sparc/sparc32/dl-trampoline.S 5 Apr 2005 21:36:52 -0000 1.1
+++ sysdeps/sparc/sparc32/dl-trampoline.S 11 Apr 2005 02:47:26 -0000
@@ -91,7 +91,7 @@ _dl_profile_invoke:
1: ldd [%l2], %g2
add %l2, 0x8, %l2
subcc %l7, 1, %l7
- stx %g2, [%l3]
+ std %g2, [%l3]
bne 1b
add %l3, 0x8, %l3