]> granicus.if.org Git - clang/commit
Add -fno-movt frontend option, to disable movt/movw on ARM
authorDimitry Andric <dimitry@andric.com>
Wed, 6 Jan 2016 07:42:18 +0000 (07:42 +0000)
committerDimitry Andric <dimitry@andric.com>
Wed, 6 Jan 2016 07:42:18 +0000 (07:42 +0000)
commitc7ec208494fb5d20f4760c6dff01e8cb2e67778f
tree6fbd84ed177fd411788f966cacbb67295192d532
parent4d5707cc4dca1c25a2c40ea1535fbb47d966f2d9
Add -fno-movt frontend option, to disable movt/movw on ARM

Summary:
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 `-fno-movt`
frontend option.  This way, it can be turned off when needed.

Reviewers: dexonsmith, echristo, emaste, davide

Subscribers: andrew, aemerson, rengolin, davide, cfe-commits, ahatanak, emaste

Differential Revision: http://reviews.llvm.org/D15899

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256920 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Driver/Options.td
lib/Driver/Tools.cpp
test/Driver/arm-no-movt.c