x86, boot: use .code16gcc instead of .code16
authorH. Peter Anvin <hpa@zytor.com>
Wed, 17 Jun 2009 00:39:04 +0000 (17:39 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Wed, 17 Jun 2009 00:47:32 +0000 (17:47 -0700)
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>
arch/x86/boot/bioscall.S

index 5077937..1dfbf64 100644 (file)
@@ -13,7 +13,7 @@
  * touching registers they shouldn't be.
  */
 
-       .code16
+       .code16gcc
        .text
        .globl  intcall
        .type   intcall, @function