Commit 28b48688 authored by H. Peter Anvin's avatar H. Peter Anvin

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: default avatarTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
parent e2a71476
......@@ -13,7 +13,7 @@
* touching registers they shouldn't be.
*/
.code16
.code16gcc
.text
.globl intcall
.type intcall, @function
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment