Re: [PATCH] Add ELF note with Linux version

From: Sam Ravnborg
Date: Fri Sep 14 2007 - 02:06:51 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/