From 7011b1c8da31753b5886f7545e083bd968895751 Mon Sep 17 00:00:00 2001 From: Allan Stephens Date: Thu, 15 Oct 2015 14:58:47 -0400 Subject: [PATCH] x86: Undo workaround required by Diab toolchain This workaround is no longer required. Change-Id: I797237be77b7568fe836df0e82640027d8d4882b Signed-off-by: Allan Stephens --- arch/x86/core/crt0.S | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/x86/core/crt0.S b/arch/x86/core/crt0.S index ba640769896..e4353b6c524 100644 --- a/arch/x86/core/crt0.S +++ b/arch/x86/core/crt0.S @@ -108,12 +108,7 @@ SECTION_FUNC(TEXT_START, __start) movw %ax, %gs /* set GS */ movw %ax, %ss /* set SS */ - /* this is 'ljmp $0x08:$_csSet': diab 5.9.1.0 does not encode - * it correctly */ - .byte 0xea - .long __csSet - .byte 0x08 - .byte 0x00 + ljmp $0x08, $__csSet /* set CS = 0x08 */ __csSet: #endif /* CONFIG_BOOTLOADER_UNKNOWN */