[NDS32] Remove -mgp-direct/-mno-gp-direct options.
authorChung-Ju Wu <jasonwucj@gmail.com>
Tue, 13 Jan 2015 05:22:25 +0000 (05:22 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Tue, 13 Jan 2015 05:22:25 +0000 (05:22 +0000)
commitc9eb51a7f76f70476afb4ebebefe1efbc7b2d035
tree78110f41849c2119b10ae05feb3287548c3ee148
parentfe4c07dc48d92369c030a216831fe6aff8b860bd
[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.

From-SVN: r219510
gcc/ChangeLog
gcc/common/config/nds32/nds32-common.c
gcc/config/nds32/nds32.h
gcc/config/nds32/nds32.opt
gcc/config/nds32/t-mlibs