HomeFreeBSD

[efi] Build EFI bits with -fPIC on ARM

Description

[efi] Build EFI bits with -fPIC on ARM

clang 3.9.0 without -fPIC generates absolute jump table for
switch/case statement which trips boot1.efi and loader.efi
on ARM platform.

Reviewed by: andrew
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D9108

Details

Provenance
gonzoAuthored on
Reviewer
andrew
Differential Revision
D9108: Fix UEFI support for ARM
Parents
rS311890: [efi] Fix .rel.data.* being erroneously merged into .data on ARM
Branches
Unknown
Tags
Unknown