This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A sh-elf PIC problem


On Mar  9, 2001, kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:

> My current workaround is the appended patch which defines again
> the macro LEGITIMATE_PIC_OPERAND_P which was removed from sh.h at
> 2000/11/25.

Doh!  That was a moment of stupidity of mine :-(

I vividly remember looking for references to LEGITIMATE_PIC_OPERAND_P
in gcc/config/sh/*, finding none, and deciding it was unused.
Obviously, I failed to consider the possibility that it was a generic
back-end macro I hadn't known about at that point :-(

The patch is obviously correct.  Please check it in if you have write
access.  If not, please post a ChangeLog entry and I'll check it in
for you.

Thanks!

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]