On 13.04.2008 01:06, Jordan Crouse wrote:
On 11/04/08 16:43 -0700, ron minnich wrote:
one simple suggestion. Your types are 32 bits. But the type numbers are things like 1, 2, 3 etc:
I think it's worth it to bite the bulet and use more than the 3 lowest bits of the 32 bits, for several reasons:
- it's easier to detect a bogus type if you use more bits, and bogus
type detection is good for bogus problems. 2. With a jtag debugger, it's easier to verify that it really is a type and not just the number '1', etc. 3. use those bits! They're there for a reason :-)
So, ignore me if you will, but how about 'CODE' 'DATA' 'BSS ' 'NAME' 'NOTE' 'ENTR'
I dig this. We will make it so. I think we should also force all the header members to be little endian to avoid issues later on with PowerPC.
Ack.
Regards, Carl-Daniel