]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Avoid retpolineplt with static linking
authorEd Maste <emaste@FreeBSD.org>
Mon, 19 Nov 2018 20:48:47 +0000 (20:48 +0000)
committerEd Maste <emaste@FreeBSD.org>
Mon, 19 Nov 2018 20:48:47 +0000 (20:48 +0000)
commit14608708809b2357e0803a47773194313a169525
tree5a0758f2ce02ebf1943eee608d21bd34d6a5644b
parentfd91f859346eaa58f83419db2ec3b3216021ab4a
Avoid retpolineplt with static linking

Statically linked binaries linked with -zretpolineplt crash at startup
as lld produces a broken PLT.

PR: 233336
Sponsored by: The FreeBSD Foundation
share/mk/bsd.prog.mk