diff options
author | Michael Brown | 2006-04-24 20:29:47 +0200 |
---|---|---|
committer | Michael Brown | 2006-04-24 20:29:47 +0200 |
commit | 4c4e4de18f94cb6308a3a71d814033608a1b496a (patch) | |
tree | 989170adf28f375044264486b9ff8e8563e7ea70 /src/arch/i386/transitions | |
parent | Header rearrangement. (diff) | |
download | ipxe-4c4e4de18f94cb6308a3a71d814033608a1b496a.tar.gz ipxe-4c4e4de18f94cb6308a3a71d814033608a1b496a.tar.xz ipxe-4c4e4de18f94cb6308a3a71d814033608a1b496a.zip |
(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.
Diffstat (limited to 'src/arch/i386/transitions')
-rw-r--r-- | src/arch/i386/transitions/librm.S | 2 |
1 files changed, 1 insertions, 1 deletions
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 |