[NDS32] Add -mcmodel= option to support different code model.
authorChung-Ju Wu <jasonwucj@gmail.com>
Tue, 13 Jan 2015 05:17:54 +0000 (05:17 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Tue, 13 Jan 2015 05:17:54 +0000 (05:17 +0000)
commitfe4c07dc48d92369c030a216831fe6aff8b860bd
tree7378dca118ac738e565a0f11a6561f0b7b847d0d
parentd9a5f0cc4f16f711ef503be185988b4eb1d230e6
[NDS32] Add -mcmodel= option to support different code model.

* config/nds32/nds32.opt (mcmodel): Add new option.
* config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
to describe code model.

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