]> granicus.if.org Git - clang/commit
Add the -ffixed-r9 flag for ARM.
authorRenato Golin <renato.golin@linaro.org>
Sat, 24 Aug 2013 14:44:35 +0000 (14:44 +0000)
committerRenato Golin <renato.golin@linaro.org>
Sat, 24 Aug 2013 14:44:35 +0000 (14:44 +0000)
commit45bd2946df2ff7460b7daf06a4fe34de8a58b8cf
treeb21e275304edfe7a456f1b4556ed70b7d51a6808
parent809d254c1f1521c141c8807638c29d67b50ebf29
Add the -ffixed-r9 flag for ARM.

This patch adds the -ffixed-r9 flag to clang to instruct llvm to
globally preserve the contents of r9. The flag is added to the newly
created ARM specific group.

While at it, also place marm / mno-thumb in that group.

Patch by Jeroen Hofstee.

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