[llvm] r195759 - Darwin-ARM: use movw/movt for static relocations

Tim Northover t.p.northover at gmail.com
Sat Nov 30 01:42:41 PST 2013

>> -  // FIXME: Enable this for static codegen when tool issues are fixed.  Also
>> -  // update ARMFastISel::ARMMaterializeGV.
>> -  if (Subtarget->useMovt() && RelocM != Reloc::Static) {
>> +  if (Subtarget->useMovt()) {
> What were the issues? Do we now require a newer linker?

The linker and kernel extension loader didn't like them back in 2011.
The linker was fixed soon after, and the kernel apparently now uses
PIC. So there shouldn't be any impact (besides, you'd have to go out
of your way to end up using -static on iOS).



More information about the llvm-commits mailing list