[PATCH] D15791: Disable generating movt on FreeBSD
Davide Italiano via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 29 06:42:05 PST 2015
davide accepted this revision.
davide added a reviewer: davide.
davide added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: lib/Driver/Tools.cpp:941
@@ -940,3 +940,3 @@
- // The kext linker doesn't know how to deal with movw/movt.
- if (KernelOrKext)
+ // The kext and FreeBSD linkers don't know how to deal with movw/movt.
+ if (KernelOrKext || Triple.isOSFreeBSD())
----------------
I'd add a FIXME I expect this to be fixed in the foreseeable future.
Repository:
rL LLVM
http://reviews.llvm.org/D15791
More information about the cfe-commits
mailing list