Commit fd4cb6b0 by Richard Kenner

(L_eh, i386): Remove in-line comments in assembly code--the '#'

character is not valid for the SYSV as.

From-SVN: r9817
parent 0b15d35f
...@@ -2306,16 +2306,16 @@ __unwind_function(void *ptr) ...@@ -2306,16 +2306,16 @@ __unwind_function(void *ptr)
/* Undo current frame */ /* Undo current frame */
asm("movl %ebp,%esp"); asm("movl %ebp,%esp");
asm("popl %ebp"); asm("popl %ebp");
asm("# like ret, but stay here"); /* like ret, but stay here */
asm("addl $4,%esp"); asm("addl $4,%esp");
/* Now, undo previous frame. */ /* Now, undo previous frame. */
/* This is a test routine, as we have to dynamically probe to find out /* This is a test routine, as we have to dynamically probe to find out
what to pop for certain, this is just a guess. */ what to pop for certain, this is just a guess. */
asm("leal -16(%ebp),%esp"); asm("leal -16(%ebp),%esp");
asm("pop %eax # really for popl %ebx"); asm("pop %eax"); /* really for popl %ebx */
asm("pop %eax # really for popl %esi"); asm("pop %eax"); /* really for popl %esi */
asm("pop %eax # really for popl %edi"); asm("pop %eax"); /* really for popl %edi */
asm("movl %ebp,%esp"); asm("movl %ebp,%esp");
asm("popl %ebp"); asm("popl %ebp");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment