[PATCH] Fix the last known bootstrap problem on PPC Darwin (PR target/14580)

Andrew Pinski pinskia@physics.uc.edu
Sun Mar 21 21:28:00 GMT 2004


On Mar 21, 2004, at 09:48, Andrew Pinski wrote:

> This patch combined with the two other patches which I posted today
> and yesterday, I am finally able to bootstrap (with java turned on)
> on PowerPC Darwin again on the mainline.
>
> Here is a patch which should workaround the problem.  The correct fix 
> is
> have the back-end only determine when it the symbol needs to be a stub 
> at the
> last momement but that is not going to be done for a while so this 
> just rejects
> the references who is not local (stubs are considered local).
>
> Note this is a slightly different patch which I posted in the bug as I 
> figured
> that I should also test for local data too. And I though I would fix 
> the comment
> too.
>
>
> Thanks,
> Andrew Pinski
>
> ChangeLog:
>
> 	* config/rs6000/rs6000.c (symbol_ref_operand): Reject symbols
> 	who are not local.
>

I knew I would mess up even with testing, here is the patch which fixes 
the issue that Andreas found.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fixdarwinbootstrap.3.diff.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20040321/8ad323a0/attachment.txt>
-------------- next part --------------


Thanks,
Andrew Pinski


More information about the Gcc-patches mailing list