Re: [PATCH] Add ELF note with Linux version

From: Roland McGrath
Date: Fri Sep 14 2007 - 21:31:39 EST


> Yes, binutils can be pretty fragile with notes about. In this case it
> seems to be a specific problem with build-id; I'm not really sure what
> build-id actually does.

The thing about the build ID section that brings up issues with linking is
that it is a SHF_ALLOC, SHT_NOTE section. As you mentioned, this is a
general, straightforward, and well-defined thing in ELF. But in practice,
there were not previously SHF_ALLOC note sections used with custom linker
scripts like the kernel's. (They are used every day in normal executables
and DSOs, but those don't use custom linker scripts.)


Thanks,
Roland
-
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/