Browse Source

(librm_base-1b) is already an offset; no need to apply OFFSET().

Doing so, in fact, seems to expose an assembler bug; (a-b-0) is
apparently not the same as (a-b).  Go figure.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
4c4e4de18f
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/arch/i386/transitions/librm.S

+ 1
- 1
src/arch/i386/transitions/librm.S View File

@@ -584,7 +584,7 @@ EXPORT(prot_call):
584 584
 	 */
585 585
 	call	1f
586 586
 1:	popl	%ebp
587
-	movl	OFFSET(librm_base-1b)(%ebp), %ebx
587
+	movl	(librm_base-1b)(%ebp), %ebx
588 588
 	
589 589
 	/* Jump to running in installed copy of librm */
590 590
 	addl	$OFFSET(1f), %ebx

Loading…
Cancel
Save