In rL256641, @davide turned off movt generation by default for FreeBSD.
This was because our ld is very old, and did not support the relocations
for it. However, Ian Lepore added the support very recently, so we
would like to revert rL256641, and replace it with a new -mno-movt
frontend option. This way, it can be turned off when needed.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
I'm not opposed to this but ... this will likely it only 11 (and maybe 10.3 if backported) -- what about people running <= 10.2 ? Isn't this a problem for them?
Comment Actions
People running ports-provided or hand-built clang 3.8.0 or higher on older FreeBSD's can use -fno-movt. For clang versions 3.7.x and earlier, they can still use the old style -mllvm -arm-use-movt=0.
We'll fix the FreeBSD build system so it uses the right options for older and newer clang versions.