libgcc

Alex Waugh ajw498 at ecs.soton.ac.uk
Wed Mar 27 12:17:38 PST 2002


Hi

Am I correct in thinking that lib1aof_1.s and lib1aof_2.s are just old
versions of lib1aof.s? If so, then I suggest they are removed.
The following patch fixes a warning, removes a comment that is wrong, and
fixes what looks like a typo.

Index: gcc/gcc/config/arm/lib1aof.s
===================================================================
RCS file: /usr/local/cvsroot/gccsdk/gcc/gcc/config/arm/lib1aof.s,v
retrieving revision 1.1.1.1.2.1
diff -u -r1.1.1.1.2.1 lib1aof.s
--- gcc/gcc/config/arm/lib1aof.s	2001/08/06 16:19:55	1.1.1.1.2.1
+++ gcc/gcc/config/arm/lib1aof.s	2002/03/27 19:22:57
@@ -733,7 +733,7 @@
 	CMP	a4, ip /* high */
 	CMPEQ	a3, v4 /* low */
 	/* if denominator is lower or the same as the numerator
-	/* signify an extra shift and carry on. */
+	   signify an extra shift and carry on. */
 	ADDLS	lr, lr, #1
 	BLS	|__moddi3.bit_count|

@@ -1738,11 +1738,8 @@

 	/* SharedCLibrary style: Current frame is outside current stack
 	   chunk, so current frame's stack is the first in this chunk
-	   and was created via stack extension.
+	   and was created via stack extension. */

-	   This means that x$stack_overflow has copied the current stack
-	   frame somewhere else and then created a new stack frame (in it's
-	   old place) which points to the 'current' frame.  */
 |__builtin_frame_address.shared.c.library|
 	LDR	sc, [sc, #8] /* sc->sc_prev */
 	CMP	sc, #0 /* No previous stack chunk */
@@ -1816,7 +1813,7 @@
 	   and remove the pointer to the next stack chunk in the
 	   previous stack chunk.  */
 	MOV	a1, #0
-	STR	a1, [sl, #4]	/* sc->sc_next = 0 */
+	STR	a1, [sc, #4]	/* sc->sc_next = 0 */
 	MOV	a1, sc
 	LDR	sc, [sc, #8]
 	STMFD	sp!, {sc, temp_lr, next_fp}


Alex

-- 
Alex Waugh                               alex at alexwaugh.com

PHP, Roots, WebJames and more from http://www.alexwaugh.com/




More information about the gcc mailing list