HomeFreeBSD

Add -fPIC to the ubldr build. Without this the self relocation code will

Description

Add -fPIC to the ubldr build. Without this the self relocation code will
try to use an absolute address in a switch statement, jumping to an invalid
memory location.

Sponsored by: ABT Systems Ltd

Details

Provenance
andrewAuthored on Dec 15 2016, 5:36 PM
Parents
rG74b66ae1497e: Fix building arm64 kernel after r310117
Branches
Unknown
Tags
Unknown

Event Timeline