[NDS32] Basic support for -mcpu= and --with-cpu= options.
authorKito Cheng <kito.cheng@gmail.com>
Mon, 26 Feb 2018 06:47:32 +0000 (06:47 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Mon, 26 Feb 2018 06:47:32 +0000 (06:47 +0000)
commit7f3101c0a87f5be1dcf1811e8e54fb4b32cd2397
tree206cae7c20e8a74776df88d60cb774d12d0f3fd3
parenta8a3f32d583d9fde8e94c11c118c47c702bdea04
[NDS32] Basic support for -mcpu= and --with-cpu= options.

gcc/
* config.gcc: Add --with-cpu support for nds32 target.
* config/nds32/nds32-opts.h(nds32_cpu_type): New.
* config/nds32/nds32.opt: Add -mcpu= option.

From-SVN: r257982
gcc/ChangeLog
gcc/config.gcc
gcc/config/nds32/nds32-opts.h
gcc/config/nds32/nds32.opt