Skip to content

Commit 28b4868

Browse files
author
H. Peter Anvin
committed
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>
1 parent e2a7147 commit 28b4868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/boot/bioscall.S

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* touching registers they shouldn't be.
1414
*/
1515

16-
.code16
16+
.code16gcc
1717
.text
1818
.globl intcall
1919
.type intcall, @function

0 commit comments

Comments
 (0)