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]
Other format: [Raw text]

Re: [Patch,committed] Fix PR/target 32313, MIPS bootstrap failure running gengtype in stage 2.



I don't think this is right. Locally-binding functions for -mno- shared
should never use lazy-binding stubs, so should never need $gp to be
initialised on entry. (Functions called directly should intialise $gp
if they need it.) In the PR, why does get_output_file_with_visibility
need $gp to be initialised on entry?

Argh!. I may not have been thinking clearly. Let me look at this again. It is possible that this is the problem that is fixed by:


http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01252.html

If it is, I will revert this patch.

Should be on second thought since the problem you were working around was that we were clobbering $gp in the case where we needed it, but not registering the fact.


-eric


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