This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]