Messages in this thread | | | From | Roland McGrath <> | Subject | Re: [PATCH] Add ELF note with Linux version | Date | Fri, 14 Sep 2007 18:30:52 -0700 (PDT) |
| |
> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |