alpha.c (alpha_legitimate_constant_p): Reject tls symbols.
* config/alpha/alpha.c (alpha_legitimate_constant_p): Reject tls symbols. From-SVN: r112323
This commit is contained in:
parent
dec6909bcb
commit
e584065d68
@ -1,5 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user