]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix dso_handle_check for PIE executables.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 10 Nov 2020 19:07:30 +0000 (19:07 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 10 Nov 2020 19:07:30 +0000 (19:07 +0000)
commitf9fd7337f63698f33239c58c07bf430198235a22
treecf2fbf3cbb3eb93f20d7bf3e467bfda73cc025bb
parentecad1d050ce550cff0a4726190b8374dcdbaa25b
Fix dso_handle_check for PIE executables.

PIE executables use crtbeginS.o and have a non-NULL dso_handle as a
result.

Reviewed by: andrew, emaste
MFC after: 2 weeks
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D27126
lib/csu/tests/fini_test.c