svn commit: trunk/uClibc/ldso/ldso/mips

vapier at uclibc.org vapier at uclibc.org
Tue Feb 13 00:54:36 UTC 2007


Author: vapier
Date: 2007-02-12 16:54:35 -0800 (Mon, 12 Feb 2007)
New Revision: 17872

Log:
use /*...*/ comments rather than #... so we can preprocess

Modified:
   trunk/uClibc/ldso/ldso/mips/resolve.S


Changeset:
Modified: trunk/uClibc/ldso/ldso/mips/resolve.S
===================================================================
--- trunk/uClibc/ldso/ldso/mips/resolve.S	2007-02-12 22:52:32 UTC (rev 17871)
+++ trunk/uClibc/ldso/ldso/mips/resolve.S	2007-02-13 00:54:35 UTC (rev 17872)
@@ -23,60 +23,60 @@
 	.frame	$29, 40, $31
 	.set noreorder
 
-	# Save GP.
+	/* Save GP. */
 	move	$3, $28
 
-	# Save arguments and sp value on stack.
+	/* Save arguments and sp value on stack. */
 	subu	$29, 40
 
-	# Modify t9 ($25) so as to point .cpload instruction.
+	/* Modify t9 ($25) so as to point .cpload instruction. */
 	addiu	$25, 12
 
-	# Compute GP.
+	/* Compute GP. */
 	.set noreorder
 	.cpload $25
 	.set reorder
 
-	# Save slot call pc.
+	/* Save slot call pc. */
 	move	$2, $31
 	.cprestore 32
 
-	# Store function arguments from registers to stack
+	/* Store function arguments from registers to stack */
 	sw	$15, 36($29)
 	sw	$4, 16($29)
 	sw	$5, 20($29)
 	sw	$6, 24($29)
 	sw	$7, 28($29)
 
-	# Setup functions args and call __dl_runtime_resolve
+	/* Setup functions args and call __dl_runtime_resolve */
 	move	$4, $24
 	move	$5, $3
 	jal	__dl_runtime_resolve
 
-	# Restore function arguments from stack to registers
+	/* Restore function arguments from stack to registers */
 	lw	$31, 36($29)
 	lw	$4, 16($29)
 	lw	$5, 20($29)
 	lw	$6, 24($29)
 	lw	$7, 28($29)
 
-	# Do a tail call to the original function
+	/* Do a tail call to the original function */
 	addiu	$29, 40
 #else	/* N32 || N64 */
 	.set noreorder
 
-	# Save GP.
+	/* Save GP. */
 	move	$3, $28
 
-	# Save arguments and sp value on stack.
+	/* Save arguments and sp value on stack. */
 	dsubu	$29, 80
 
-	# Compute GP.
+	/* Compute GP. */
 	.set noreorder
 	.cpsetup	$25, 0, _dl_runtime_resolve
 	.set reorder
 
-	# Store function arguments from registers to stack
+	/* Store function arguments from registers to stack */
 	sd	$15, 72($29)
 	sd	$4, 8($29)
 	sd	$5, 16($29)
@@ -87,12 +87,12 @@
 	sd	$10, 56($29)
 	sd	$11, 64($29)
 
-	# Setup functions args and call __dl_runtime_resolve
+	/* Setup functions args and call __dl_runtime_resolve */
 	move	$4, $24
 	move	$5, $3
 	jal	__dl_runtime_resolve
 
-	# Restore function arguments from stack to registers
+	/* Restore function arguments from stack to registers */
 	ld	$31, 72($29)
 	ld	$4, 8($29)
 	ld	$5, 16($29)
@@ -103,7 +103,7 @@
 	ld	$10, 56($29)
 	ld	$11, 64($29)
 
-	# Do a tail call to the original function
+	/* Do a tail call to the original function */
 	.cpreturn
 	daddu	$29, 80
 #endif	/* N32 || N64 */




More information about the uClibc-cvs mailing list