]> rtime.felk.cvut.cz Git - jailhouse.git/commitdiff
inmates: x86: Use .code16 instead of .code16gcc
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 31 Oct 2014 12:43:42 +0000 (13:43 +0100)
committerJan Kiszka <jan.kiszka@siemens.com>
Fri, 31 Oct 2014 12:43:42 +0000 (13:43 +0100)
This removes support for binutils < 2.16 but makes us more portable.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
inmates/lib/x86/header-32.S
inmates/lib/x86/header.S

index bf1c11460a2eec3de89cea0102aad100d02db5ed..c6bd43bec8c959ae045674d55d679bbb17bbfccc 100644 (file)
@@ -18,7 +18,7 @@
 
 #define X86_CR4_PSE    0x00000010
 
-       .code16gcc
+       .code16
        .section ".boot", "ax"
 
        ljmp $0xf000,$start16
index bac50286c2dd2c033467d9edc356c2337c67dd1a..80fea82b81cd52806985a1216e7f2c6bc124978e 100644 (file)
@@ -21,7 +21,7 @@
 #define MSR_EFER       0xc0000080
 #define EFER_LME       0x00000100
 
-       .code16gcc
+       .code16
        .section ".boot", "ax"
 
        ljmp $0xf000,$start16