diff options
author | H. Peter Anvin <hpa@zytor.com> | 2006-05-24 17:45:25 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-05-24 17:45:25 -0700 |
commit | 1a3e9934ed1912fb8bd2a31255789c2d28cf6ffe (patch) | |
tree | 9b8d7d2a23c78866a07ffb4fe4361b5dd5b9b4b3 | |
parent | c4690b06ab1aaafc553a8140a53ea3f78312947d (diff) | |
download | syslinux.git-1a3e9934ed1912fb8bd2a31255789c2d28cf6ffe.tar.gz syslinux.git-1a3e9934ed1912fb8bd2a31255789c2d28cf6ffe.tar.xz syslinux.git-1a3e9934ed1912fb8bd2a31255789c2d28cf6ffe.zip |
Be excrutiatingly correct with inline assembly syntaxsyslinux-3.20-pre9
To be absolutely correct, we're supposed to use %* before an indirect
branch target, not just *.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | com32/modules/mboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/modules/mboot.c b/com32/modules/mboot.c index 69eed5da..45f297fd 100644 --- a/com32/modules/mboot.c +++ b/com32/modules/mboot.c @@ -867,7 +867,7 @@ static void trampoline_start(section_t *secs, int sec_count, * * EAX must be 0x2badb002 and EBX must point to the MBI when we jump. */ - asm volatile ("jmp *%2" + asm volatile ("jmp %*%2" : : "a" (0x2badb002), "b" (mbi_run_addr), "cdSDm" (entry)); } static void trampoline_end(void) {} |