From 4c4e4de18f94cb6308a3a71d814033608a1b496a Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Mon, 24 Apr 2006 18:29:47 +0000 Subject: [PATCH] (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. --- src/arch/i386/transitions/librm.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386/transitions/librm.S b/src/arch/i386/transitions/librm.S index 2e6ac47b..9d55cff7 100644 --- a/src/arch/i386/transitions/librm.S +++ b/src/arch/i386/transitions/librm.S @@ -584,7 +584,7 @@ EXPORT(prot_call): */ call 1f 1: popl %ebp - movl OFFSET(librm_base-1b)(%ebp), %ebx + movl (librm_base-1b)(%ebp), %ebx /* Jump to running in installed copy of librm */ addl $OFFSET(1f), %ebx