[NDS32] Provide TARGET_CMODEL_[SMALL|MEDIUM|LARGE] to check which code model is speci...
commitabc509c045a8a6dc0798fb7fa83d3752311af431
authorjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2015 05:32:08 +0000 (13 05:32 +0000)
committerjasonwucj <jasonwucj@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 13 Jan 2015 05:32:08 +0000 (13 05:32 +0000)
tree388a2512cd1dcff6f6c9bf4432d831056248d810
parentd1bacc44d5821cffb4952f338b7d99c4e21eca91
[NDS32] Provide TARGET_CMODEL_[SMALL|MEDIUM|LARGE] to check which code model is specified.

gcc/
* config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
(TARGET_CMODEL_MEDIUM): New macro.
(TARGET_CMODEL_LARGE): New macro.
* config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
code model setting in assembly code.

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