Elf Header change proposal
Paul and Alan pointed out that I goofed. I analyzed the vmlinux in my 64 bit build area to get the current flags, but it turns out that the vmlinux I looked at was a 32 bit version. I had recently made some 64 bit checkins, and I like to rebuild everything for 32 bit before doing that, to make sure that I haven't broken the 32 bit path by making 64 bit changes.
So, the bad news is that I wasted time writing an unecessarily long design proposal. The good news is that the only thing that needs to change is value in the e_ident[EI_OSABI] field, so that we can differentiate 64 bit HP-UX binaries from 64 bit Linux binaries. We should also change the field for 32 bit Linux also.
John
Quoted 5 lines · John Marvin
So, the bad news is that I wasted time writing an unecessarily long design proposal. The good news is that the only thing that needs to change is value in the e_ident[EI_OSABI] field, so that we can differentiate 64 bit HP-UX binaries from 64 bit Linux binaries. We should also change the field for 32 bit Linux also.
Some other bad news is that the change isn't quite trivial, due to not wishing to break other bfd targets. The good new is I've made the change. Compiling at the moment.
Alan Modra
Signature · 1 line
Linuxcare. Support for the Revolution.