x86, boot: use .code16gcc instead of .code16
Use .code16gcc to compile arch/x86/boot/bioscall.S rather than .code16, since some older versions of binutils can't generate 32-bit addressing expressions (67 prefixes) in .code16 mode, only in .code16gcc mode. Reported-by: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
This commit is contained in:
parent
e2a7147640
commit
28b4868820
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@
|
|||
* touching registers they shouldn't be.
|
||||
*/
|
||||
|
||||
.code16
|
||||
.code16gcc
|
||||
.text
|
||||
.globl intcall
|
||||
.type intcall, @function
|
||||
|
|
Loading…
Reference in a new issue