HomeFreeBSD

Link efi programs with -pie rather than -shared

Description

Link efi programs with -pie rather than -shared

This was causing build failures in CheriBSD where we were passing -pie
already by default.

Reviewed By: andrew
Differential Revision: https://reviews.freebsd.org/D24787

(cherry picked from commit 253e820a4db794c4c5e39e8e6d6bf2775f25d0cc)

Details

Provenance
arichardsonAuthored on Oct 12 2020, 11:27 AM
kevansCommitted on Oct 8 2021, 8:12 AM
Reviewer
andrew
Differential Revision
D24787: Link efi programs with -pie rather than -shared
Parents
rG5f9186c384db: Ignore the .interp section in the arm64 EFI loader
Branches
Unknown
Tags
Unknown