aboutsummaryrefslogtreecommitdiff
path: root/gcc/common
diff options
context:
space:
mode:
authorChung-Ju Wu <jasonwucj@gmail.com>2015-01-13 05:22:25 +0000
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>2015-01-13 05:22:25 +0000
commitc9eb51a7f76f70476afb4ebebefe1efbc7b2d035 (patch)
tree78110f41849c2119b10ae05feb3287548c3ee148 /gcc/common
parentfe4c07dc48d92369c030a216831fe6aff8b860bd (diff)
downloadgcc-c9eb51a7f76f70476afb4ebebefe1efbc7b2d035.zip
gcc-c9eb51a7f76f70476afb4ebebefe1efbc7b2d035.tar.gz
gcc-c9eb51a7f76f70476afb4ebebefe1efbc7b2d035.tar.bz2
[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
Diffstat (limited to 'gcc/common')
-rw-r--r--gcc/common/config/nds32/nds32-common.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/common/config/nds32/nds32-common.c b/gcc/common/config/nds32/nds32-common.c
index a478e6c..a633ed7 100644
--- a/gcc/common/config/nds32/nds32-common.c
+++ b/gcc/common/config/nds32/nds32-common.c
@@ -95,14 +95,12 @@ static const struct default_options nds32_option_optimization_table[] =
Other MASK_XXX flags are set individually.
By default we enable
- TARGET_GP_DIRECT: Generate gp-imply instruction.
TARGET_16_BIT : Generate 16/32 bit mixed length instruction.
TARGET_PERF_EXT : Generate performance extention instrcution.
TARGET_CMOV : Generate conditional move instruction. */
#undef TARGET_DEFAULT_TARGET_FLAGS
#define TARGET_DEFAULT_TARGET_FLAGS \
(TARGET_CPU_DEFAULT \
- | MASK_GP_DIRECT \
| MASK_16_BIT \
| MASK_PERF_EXT \
| MASK_CMOV)