[patch] fix bootstrap on i?86-apple-darwin with libjava

Mike Stump mrs@apple.com
Sun Feb 25 16:09:00 GMT 2007


On Feb 24, 2007, at 2:50 PM, Andreas Tobler wrote:
>> +#if TARGET_MACHO
>> +	      && machopic_classify_symbol (x) ==  
>> MACHOPIC_UNDEFINED_FUNCTION
>> +#endif
>
> This seems wrong to me. The #endif should be below.

Ah, yes.  Odd, I thought we engineered it to get through things like  
linux and that we had already done that.  I built up a linux cross  
compiler and sure enough, didn't work.  I expanded the scope just  
slightly and rebuilt the linux cross and it worked ok, so I checked  
in the fix so that others wouldn't notice...

Thanks.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: x86a.diffs.txt
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070225/bf2bbf59/attachment.txt>
-------------- next part --------------



More information about the Gcc-patches mailing list