isohdpfx: work around gas/ld miscompilation
authorH. Peter Anvin <hpa@zytor.com>
Fri, 27 Feb 2009 15:48:07 +0000 (07:48 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 27 Feb 2009 15:48:07 +0000 (07:48 -0800)
commitfc7c93a512f03a4ac912d4c16c3e601e199864a2
treefdaba933c9669c5137cb454ce0cdf934194f6c7c
parent7ea0d78e6b84abbc66591125fd5754a1a205a25f
isohdpfx: work around gas/ld miscompilation

Some, unknown, version of gas or ld miscompiles a relative jump to an
absolute symbol, resulting in a broken isohybrid.  Implement a
workaround for it by using a far jmp, which is absolute.  Fortunately,
the isohybrid prefix is one of the very few boot sectors we have which
isn't short on space.
mbr/isohdpfx.S