[NDS32] Consider -mcmodel=X in nds32_legitimate_address_p implementation.
authorChung-Ju Wu <jasonwucj@gmail.com>
Tue, 13 Jan 2015 06:06:34 +0000 (06:06 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Tue, 13 Jan 2015 06:06:34 +0000 (06:06 +0000)
commit4855be843467f337cd50f0d081e0a524e6ab4d77
tree4633b6d235806a32aa620ec6ad35c5c286ffe1e8
parent511a41d799f2a3b9946d5176ff0f5404077d2bec
[NDS32] Consider -mcmodel=X in nds32_legitimate_address_p implementation.

gcc/
* config/nds32/nds32.c (nds32_legitimate_address_p): Consider
TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.

From-SVN: r219515
gcc/ChangeLog
gcc/config/nds32/nds32.c