[SeaBIOS] [PATCH 4/4] vgaentry: Use .code16 not .code16gcc
David Woodhouse
dwmw2 at infradead.org
Tue Jun 3 18:28:58 CEST 2014
There's no need to use .code16gcc where we are writing assembler code
explicitly. It only affects word-size-ambiguous instructions, and we
should just be explicit. And we are.
Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
vgasrc/vgaentry.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vgasrc/vgaentry.S b/vgasrc/vgaentry.S
index 11197f1..3c2c885 100644
--- a/vgasrc/vgaentry.S
+++ b/vgasrc/vgaentry.S
@@ -15,7 +15,7 @@
****************************************************************/
.section .rom.header
- .code16gcc
+ .code16
.global _rom_header, _rom_header_size, _rom_header_checksum
_rom_header:
.word 0xaa55
--
1.9.3
--
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://www.seabios.org/pipermail/seabios/attachments/20140603/6d253c9b/attachment.bin>
More information about the SeaBIOS
mailing list