I'm not sure I ever really realized just how poorly specified ELF really is. From the gABI, PT_NOTE segments—and SHT_NOTE sections—are arrays of 4- or 8-byte entries depending on the ELF class. http://www.sco.com/developers/gabi/latest/ch5.pheader.html#note_section … Linux's elf.h has only 4-byte entries.https://github.com/torvalds/linux/blob/master/include/uapi/linux/elf.h#L434 …
Ah, missed it. So is Linux writing corrupt, invalid notes in 64-bit corefiles?
-
-
I have no idea! It could be that every system uses 4 bytes for these fields. FreeBSD's readelf does.https://github.com/freebsd/freebsd/blob/master/contrib/file/src/readelf.c#L200 …
-
Based on a quick skim of this https://github.com/bminor/binutils-gdb/blob/master/binutils/readelf.c#L18272 … it looks like VMS on IA64 uses 8-byte fields and everything else uses 4-byte.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.