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:
H. Peter Anvin 2009-06-16 17:39:04 -07:00
parent e2a7147640
commit 28b4868820

View file

@ -13,7 +13,7 @@
* touching registers they shouldn't be.
*/
.code16
.code16gcc
.text
.globl intcall
.type intcall, @function