HomeFreeBSD

Remove -mlong-calls vhen building arm libraries and llvm.

Description

Remove -mlong-calls vhen building arm libraries and llvm.

Clang from 9.0.0 onwards already has the necessary relocation range
extenders, so this workaround is no longer needed (it produces longer
and slower code). Tested on real hardware, and in cross-compile
environment.

Submitted by: mmel

(cherry picked from commit da759cfa320d5076b075d15ff3f00ab3ba5634fd)

Details

Provenance
dimAuthored on Mar 10 2020, 6:49 AM
Parents
rG44ed97d8beee: Merge commit 4d52ebb9b9c7 from llvm git (by Chen Zheng):
Branches
Unknown
Tags
Unknown