i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF and UNSPEC_DTPOFF.

* config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
        and UNSPEC_DTPOFF.

From-SVN: r67866
This commit is contained in:
Richard Henderson 2003-06-12 17:45:11 -07:00 committed by Richard Henderson
parent 8433f113b6
commit cb0e3e3fc8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2003-06-12 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (legitimate_constant_p): Handle UNSPEC_NTPOFF
and UNSPEC_DTPOFF.
2003-06-12 Richard Henderson <rth@redhat.com>
PR middle-end/10475

View File

@ -5719,7 +5719,10 @@ legitimate_constant_p (x)
switch (XINT (inner, 1))
{
case UNSPEC_TPOFF:
case UNSPEC_NTPOFF:
return local_exec_symbolic_operand (XVECEXP (inner, 0, 0), Pmode);
case UNSPEC_DTPOFF:
return local_dynamic_symbolic_operand (XVECEXP (inner, 0, 0), Pmode);
default:
return false;
}