2
0
mirror of git://gcc.gnu.org/git/gcc.git synced 2024-12-25 23:49:34 +08:00

i386.c (legitimate_pic_address_disp_p): Allow UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.

* config/i386/i386.c (legitimate_pic_address_disp_p): Allow
	UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.

From-SVN: r57351
This commit is contained in:
Jakub Jelinek 2002-09-20 18:40:31 +02:00 committed by Jakub Jelinek
parent 651912d6b9
commit 600f3392f8
2 changed files with 5 additions and 6 deletions
gcc
ChangeLog
config/i386

View File

@ -1,3 +1,8 @@
2002-09-20 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.c (legitimate_pic_address_disp_p): Allow
UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant.
2002-09-20 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com>
* config/arm/arm.md (sign_extract_onebit, not_signextract_onebit):

View File

@ -5081,14 +5081,8 @@ legitimate_pic_address_disp_p (disp)
return false;
return initial_exec_symbolic_operand (XVECEXP (disp, 0, 0), Pmode);
case UNSPEC_NTPOFF:
/* ??? Could support offset here. */
if (saw_plus)
return false;
return local_exec_symbolic_operand (XVECEXP (disp, 0, 0), Pmode);
case UNSPEC_DTPOFF:
/* ??? Could support offset here. */
if (saw_plus)
return false;
return local_dynamic_symbolic_operand (XVECEXP (disp, 0, 0), Pmode);
}