gcc/
* config/nds32/nds32.c (nds32_legitimate_address_p): Add TLS model
into consideration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@268509
138bc75d-0d04-0410-961f-
82ee72b054a4
+2019-02-04 Chung-Ju Wu <jasonwucj@gmail.com>
+
+ * config/nds32/nds32.c (nds32_legitimate_address_p): Add TLS model
+ into consideration.
+
2019-02-04 Chung-Ju Wu <jasonwucj@gmail.com>
* config.gcc (with_nds32_lib, glibc):
/* Now we see the [ + const_addr ] pattern, but we need
some further checking. */
- if (flag_pic)
+ if (flag_pic || SYMBOL_REF_TLS_MODEL (op0))
return false;
/* If -mcmodel=large, the 'const_addr' is not a valid address