On Thu, 27 Dec 2012 21:06:52 +0100, Aleksandar Ristovski wrote:
build-id would be great if it was required by the standard
GDB can check if it exists and do something as a fallback if it does not exist.
Such as printing a warning and possibly also verifying the program headers, if
compatibility with binaries from old toolchain and/or toolchain without
configured ld --build-id is required in some situations (which I doubt).
and mapped into loadable segments.
It is mapped, because one of its purposes is to get dumped into a core file.
In fact there is a special care to make it always present in the first page.