aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2017-06-23 15:57:58 +0000
committerEd Maste <emaste@FreeBSD.org>2017-06-23 15:57:58 +0000
commit53e0bebaca4f073e7dec262c6b74dd2e79a2c10d (patch)
tree1950d8f0267e0d2e793638c996d6734b25b20ba6 /Makefile
parent4d17a483439c74e9347d4e2f3bc4ad96b566d48d (diff)
downloadsrc-53e0bebaca4f073e7dec262c6b74dd2e79a2c10d.tar.gz
src-53e0bebaca4f073e7dec262c6b74dd2e79a2c10d.zip
enable --build-id for the kernel link
A Build-ID is an identifier generated at link time to uniquely identify ELF binaries. It allows efficient confirmation that an executable or shared library and a corresponding standalone debuginfo file match. (Otherwise, a checksum of the debuginfo file must be calculated when opening it in a debugger.) The FreeBSD base system includes GNU bfd ld 2.17.50 as the linker for architectures other than arm64. Build-ID support was added to bfd ld shortly after that version, so was not previously available to us. We can now start making use of Build-ID as we migrate to using lld or bfd ld from ports, conditionally enabled based on the LINKER_TYPE and LINKER_VERSION make variables added in r320244 and subsequent commits. Reviewed by: dim MFC after: 3 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D11314
Notes
Notes: svn path=/head/; revision=320272
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions