On Fri, Mar 21, 2008 at 10:15:15AM -0700, Ulrich Drepper wrote:
Linux executables already contain plenty of extensions outside
the ELF spec like GNU_EH_FRAME or debuglink etc. It is not surprising
because the ELF spec is kind of not maintained anymore afaik.
Can you expand how the bitmap headers or pbitmap.c violate these rules?
Concrete suggestions please.
What is invalid?
Well there was no other choice I know of short of relinking. Or do you
have a way to add a PHDR without relinking? I am aware the SHDR is a hack,
I called it that myself. I just don't know of a better way.
If the pbitmaps were universally adopted the use of the SHDRs would
be phased out quickly I expect because the bitmaps would be standard
parts of all PHDRs, but short term not requiring relinking
is a huge advantage.
When would that time be? I cannot think of a single heuristic that would
work for both "/bin/true" and a OpenOffice start.
-Andi
--