From 600f3392f849f037464d1b3e9b5f4ec806fcaa2d Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Fri, 20 Sep 2002 18:40:31 +0200 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index beb2ced658a..83d381352fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-09-20 Jakub Jelinek + + * 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 * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit): diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 43b0455c48f..0926ef62fc4 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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); }