From: Vladimir 'phcoder' Serbinenko Date: Thu, 26 Nov 2009 15:50:56 +0000 (+0100) Subject: Fix wrong segment selector X-Git-Tag: 1.98~314^2~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=928506da8b405370c54ad41aab44e329af143325;p=thirdparty%2Fgrub.git Fix wrong segment selector --- diff --git a/lib/i386/relocator_asm.S b/lib/i386/relocator_asm.S index 343991d3d..bd25143e8 100644 --- a/lib/i386/relocator_asm.S +++ b/lib/i386/relocator_asm.S @@ -208,7 +208,7 @@ RELOCATOR_VARIABLE (edx) .byte 0xea RELOCATOR_VARIABLE (eip) .long 0 - .word 0x08 + .word CODE_SEGMENT /* GDT. Copied from loader/i386/linux.c. */ .p2align 4