]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC] Fix build-id note on powerpc64 kernel
authorbdragon <bdragon@FreeBSD.org>
Mon, 1 Jun 2020 19:40:59 +0000 (19:40 +0000)
committerbdragon <bdragon@FreeBSD.org>
Mon, 1 Jun 2020 19:40:59 +0000 (19:40 +0000)
commitb5f7989292c65afaab76779e865a4e9db3644338
tree3ef6904b67e313609be9bec95bb53317d51beada
parent41e19af075b746219d7de4fb0764af0d5b6dc97a
[PowerPC] Fix build-id note on powerpc64 kernel

Due to the ordering of the powerpc64 linker script, we were discarding
all notes before emitting .note.gnu.build-id. This had the effect of
generating an empty build id section and breaking the kern.build_id
sysctl added in r348611.

powerpc and powerpcspe are uneffected.

PR: 246430
MFC after: 3 days
Sponsored by: Tag1 Consulting, Inc.
sys/conf/ldscript.powerpc64