PERFORCE change 97919 for review

John Birrell jb at FreeBSD.org
Fri May 26 22:19:40 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=97919

Change 97919 by jb at jb_freebsd2 on 2006/05/27 05:17:57

	Use some nice label names so that I can recognise stuff in an
	objdump. 
	
	Real men like it when they can recognise stuff. 8-)

Affected files ...

.. //depot/projects/dtrace/src/sys/i386/i386/exception.s#3 edit

Differences ...

==== //depot/projects/dtrace/src/sys/i386/i386/exception.s#3 (text+ko) ====

@@ -206,13 +206,13 @@
 
 	/* Process according to the return value from dtrace_invop. */
 	cmpl	$DTRACE_INVOP_PUSHL_EBP, %eax
-	je	1f
+	je	__dtrace_invop_pushl_ebp
 	cmpl	$DTRACE_INVOP_POPL_EBP, %eax
-	je	2f
+	je	__dtrace_invop_popl_ebp
 	cmpl	$DTRACE_INVOP_LEAVE, %eax
-	je	3f
+	je	__dtrace_invop_leave
 	cmpl	$DTRACE_INVOP_NOP, %eax
-	je	4f
+	je	__dtrace_invop_nop
 
 	/*
 	 * The registered DTrace invalid instruction functions didn't
@@ -225,7 +225,7 @@
 	jmp	norm_ill
 
 	/* case DTRACE_INVOP_PUSHL_EBP: */
-1:
+__dtrace_invop_pushl_ebp:
 	/*
 	 * We must emulate a "pushl %ebp".  To do this, we pull the stack
 	 * down 4 bytes, and then store the base pointer.
@@ -245,7 +245,7 @@
 	iret				/* return from interrupt */
 
 	/* case DTRACE_INVOP_POPL_EBP: */
-2:
+__dtrace_invop_popl_ebp:
 	/*
 	 * We must emulate a "popl %ebp".  To do this, we do the opposite of
 	 * the above:  we remove the %ebp from the stack, and squeeze up the
@@ -266,7 +266,7 @@
 	iret				/* return from interrupt */
 
 	/* case DTRACE_INVOP_LEAVE: */
-3:
+__dtrace_invop_leave:
 	/*
 	 * We must emulate a "leave", which is the same as a "movl %ebp, %esp"
 	 * followed by a "popl %ebp".  This looks similar to the above, but
@@ -293,7 +293,7 @@
 	iret				/* return from interrupt */
 
 	/* case DTRACE_INVOP_NOP: */
-4:
+__dtrace_invop_nop:
 	/*
 	 * We must emulate a "nop".  This is obviously not hard:  we need only
 	 * advance the %eip by one.


More information about the p4-projects mailing list