Commit e584065d by Richard Henderson Committed by Richard Henderson

alpha.c (alpha_legitimate_constant_p): Reject tls symbols.

        * config/alpha/alpha.c (alpha_legitimate_constant_p): Reject
        tls symbols.

From-SVN: r112323
parent dec6909b
2006-03-23 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_legitimate_constant_p): Reject
tls symbols.
PR target/26347
* config/alpha/predicates.md (local_symbolic_operand): Reject
weak symbols.
......
......@@ -2124,10 +2124,13 @@ alpha_legitimate_constant_p (rtx x)
{
case CONST:
case LABEL_REF:
case SYMBOL_REF:
case HIGH:
return true;
case SYMBOL_REF:
/* TLS symbols are never valid. */
return SYMBOL_REF_TLS_MODEL (x) == 0;
case CONST_DOUBLE:
if (x == CONST0_RTX (mode))
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment