]> git.ipfire.org Git - thirdparty/gcc.git/commit
[arm] Mark -marm and -mthumb as being inverse options
authorrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 21:07:11 +0000 (21:07 +0000)
committerrearnsha <rearnsha@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 16 Jun 2017 21:07:11 +0000 (21:07 +0000)
commit4aa5e0b59b2794bd511fcdfe7e705b2017a09349
tree003fd479b2375880983f8a6ed989f9e4e80c08aa
parent93114fe0643a1be9ac402e67ff58595cf19bea1c
[arm] Mark -marm and -mthumb as being inverse options

-marm and -mthumb are opposites: one cancels out the other.  This patch
marks them as such so that the driver will eliminate all but the last
option on the command line.  This aids multilib selection which otherwise
can get confused if both are present.

* config/arm/arm.opt (marm): Mark as the negative of of -mthumb.
(mthumb): Mark as the negative of -marm.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249309 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.opt