[NDS32] Remove -mgp-direct/-mno-gp-direct options.
authorjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2015 05:22:25 +0000 (05:22 +0000)
committerjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2015 05:22:25 +0000 (05:22 +0000)
commitd1bacc44d5821cffb4952f338b7d99c4e21eca91
tree78110f41849c2119b10ae05feb3287548c3ee148
parentda2e70a9ce3679a777391dc426b6454106483f60
[NDS32] Remove -mgp-direct/-mno-gp-direct options.

gcc/
* common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
Remove MASK_GP_DIRECT flag.
* config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
one of the multilib default options.
* config/nds32/nds32.opt (mgp-direct): Remove.
* config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
-mgp-direct.  We also remove unnecessary -mlittle-endian/-mbig-endian.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219510 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/common/config/nds32/nds32-common.c
gcc/config/nds32/nds32.h
gcc/config/nds32/nds32.opt
gcc/config/nds32/t-mlibs