diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-06-17 02:39:04 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-17 02:47:32 +0200 |
commit | 28b4868820a56de661f54742ff91b78e12f1e582 (patch) | |
tree | 8e414ee3ef78b0b0ed4f0b47f703d1c3bfe16bd3 /arch/x86/boot | |
parent | x86: correct the conversion of EFI memory types (diff) | |
download | linux-28b4868820a56de661f54742ff91b78e12f1e582.tar.xz linux-28b4868820a56de661f54742ff91b78e12f1e582.zip |
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>
Diffstat (limited to 'arch/x86/boot')
-rw-r--r-- | arch/x86/boot/bioscall.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/bioscall.S b/arch/x86/boot/bioscall.S index 507793739ea5..1dfbf64e52a2 100644 --- a/arch/x86/boot/bioscall.S +++ b/arch/x86/boot/bioscall.S @@ -13,7 +13,7 @@ * touching registers they shouldn't be. */ - .code16 + .code16gcc .text .globl intcall .type intcall, @function |