On Tue, 2009-06-23 at 00:43 +0200, Robert Millan wrote:

> If I omit ADDR32 on i386-pc, I get:
> 
>     836f:       2e 66 0f 01 16 68 83    lgdtl  %cs:-0x7c98
> 
> "-0x7c98" being the signed version of 0x8368, which is also 16-bit.  What is
> really odd is that you got 0x168 which is an offset to 0x8200, when in fact
> %cs is 0, so I don't think your binary would work (did you test it?).

That's because you are disassembling the linked image after relocation
and I'm disassembling the object file.

-- 
Regards,
Pavel Roskin


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to