diff options
Diffstat (limited to 'mbr/isohdpfx.S')
-rw-r--r-- | mbr/isohdpfx.S | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mbr/isohdpfx.S b/mbr/isohdpfx.S index 9a97a5ee..ecb3a1a0 100644 --- a/mbr/isohdpfx.S +++ b/mbr/isohdpfx.S @@ -143,7 +143,15 @@ next: cli movw $heads, %sp - jmp isolinux_start_hybrid + + /* + * Use a ljmpw here to work around a bug in some unknown version + * of gas or ld when it comes to jumping to an absolute symbol... + * + * Look more closely into it if we ever are short on space. + */ + ljmpw $0, $isolinux_start_hybrid + jmpw *%si bad_signature: call error |