Jeremy Fitzhardinge wrote:
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.
.notes : { *(.note.*) . = ALIGN(4); LONG(0); LONG(0); LONG(0); } Am I missing something? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: [email protected] (Eric W. Biederman)
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- References:
- [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: "H. Peter Anvin" <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Linus Torvalds <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: "H. Peter Anvin" <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Linus Torvalds <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: "H. Peter Anvin" <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Linus Torvalds <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: [email protected] (Eric W. Biederman)
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: "H. Peter Anvin" <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: "H. Peter Anvin" <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: "H. Peter Anvin" <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Jeremy Fitzhardinge <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: "H. Peter Anvin" <[email protected]>
- Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- From: Jeremy Fitzhardinge <[email protected]>
- [GIT PULL] x86 setup: correct booting on 486 (revised)
- Prev by Date: Patch tags [was writeout stalls in current -git]
- Next by Date: Re: device struct bloat
- Previous by thread: Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- Next by thread: Re: [GIT PULL] x86 setup: correct booting on 486 (revised)
- Index(es):