This is the mail archive of the
mailing list for the GCC project.
Re: PATCH [alternative] to fix mingw bootstrap failure
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Per Bothner <per at bothner dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Andrew Pinski <pinskia at physics dot uc dot edu>
- Date: Sat, 29 May 2004 21:28:12 -0400
- Subject: Re: PATCH [alternative] to fix mingw bootstrap failure
- References: <40B92110.firstname.lastname@example.org> <40B924E9.email@example.com>
On May 29, 2004, at 20:03, Per Bothner wrote:
Per Bothner wrote:
I notice other targets (rs6000, arm, pa, possibly others)
instead modify the SYMBOL_REF in place, smashing in a new name.
That may be a better solution. If that is the recommended
approach (which seems plausible), I'll try that instead.
This alternative patch uses the smash-name-in-place approach.
It seems to work on my simple testcase at least
I don't know any convenient way to test this, except to do
a mingw build (using Mohan's scripts). Assuming this works,
is this OK to check in? Perhaps someone else can test this
patch for their winnt target setup?
I will note that the Darwin's back-end which I fixed does the
create new SYMBOL_REF technique and not smash into place. I
think it does this way as they can reference the original