Re: [GIT PULL] x86 setup: correct booting on 486 (revised)

Jeremy Fitzhardinge
2007-11-06T16:17:47Z

H. Peter Anvin wrote:
> The ELF note format is sane enough, although it looks like it's not
> self-terminating, so we'd either need an offset and a length field, or
> adopt the convention that namesz = descsz = type = 0 terminates the
> block (I prefer the latter, myself.)

Hm, I think offset+length would be better: it's how they're represented
in a normal ELF file, so you can just extract the length if you're
extracting the notes. Also, generating a terminating note with the
current linker-based notes machinery would be a bit of a pain.

J