From: Alessandro Rubini <[EMAIL PROTECTED]>
Subject: Re: [getting offtopic] grub: as version numbers
Date: Thu, 31 Aug 2000 10:38:05 +0200

> yes, I understood that. Unfortunately I haven't been able to produce a
> program listing of the erroneous compile to compare with the good
> one. And I didn't find where the 512b contraint is (to remove it and
> get a listing spit out).

  FYI, here are what I did:

1. I quickly noticed that the problem was caused because the binary
image would be two bytes larger, seeing the error message reported by
you.

2. I removed all the relocation directives (i.e. . = _start + FOO)
temporarily, to force as-2.9.1.0.x to produce the result.

3. To visualize the difference between the code outputed by as-2.10
and the one by as-2.9.1.0.x, I executed "objdump -D -mi8086 stage1.o"
for each code, and ran "diff -u".

4. It turned out that "movb mem, %al" was assembled to a different
opcode, so I examined the list of x86 opcodes in the Ralf Brown's
Interrupt List, to ensure that my analysis was correct.

5. And, finally, I fixed that. :)

Okuji

Reply via email to