]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/nds32/nds32.c
[NDS32] Provide TARGET_CMODEL_[SMALL|MEDIUM|LARGE] to check which code model is speci...
authorChung-Ju Wu <jasonwucj@gmail.com>
Tue, 13 Jan 2015 05:32:08 +0000 (05:32 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Tue, 13 Jan 2015 05:32:08 +0000 (05:32 +0000)
commit77b7a1ca23b82f89ddf3561c5a7ea0cd83983b59
tree388a2512cd1dcff6f6c9bf4432d831056248d810
parentc9eb51a7f76f70476afb4ebebefe1efbc7b2d035
[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.

From-SVN: r219511
gcc/ChangeLog
gcc/config/nds32/nds32.c
gcc/config/nds32/nds32.h