Re: [PATCH] Add ELF note with Linux version

Sam Ravnborg
2007-09-14T06:06:50Z

On Thu, Sep 13, 2007 at 03:44:13PM -0700, Jeremy Fitzhardinge wrote:
> Sam Ravnborg wrote:
> > I would rather see allt this ELFNOTE stuff reverted.
> > It causes troubles for several archs and is at the moment
> > being discussed at arm-kernel for example.
> >
> > Having it reverted and then applied when it is ready for all archs would
> > be preferred.
> >
>
> What problems does it cause on other archs? It should be
> cross-architecture.
>
> > On top of this I never understood the actual purpose of it...
>
> It was originally there to put ELF notes into the vdso objects. I'm
> using it to create notes in vmlinux for Xen, and apparently people are
> using it to put other metadata into their kernel images.
>From a post on arm-kernel:

> With build-id binutils (e.g. the latest bintuils 2.18), objcopy produces
> a 3.1 Gbytes Image file.

This seems outright silly.
Either we should revert the notes changes or someone caring about it
should sweep all archs and make sure it does not hurt there.

Sam