[RFH] Fixing -fsection-anchors on powerpc-darwin

Eric Christopher echristo@apple.com
Tue Feb 21 18:12:00 GMT 2006


On Feb 19, 2006, at 12:13 PM, Andrew Pinski wrote:

>
> On Feb 19, 2006, at 2:39 PM, Andrew Pinski wrote:
>> Now I run into another problem:
>> /var/tmp//ccBWaqmT.s:130:Fixup of 1073745640 too large for field  
>> width of 26 bits
>
> We have a 1GB decl here.  So the section that this decl goes into
> is between the TEXT section and the stub section which causes this
> error to happen.
>
> I am starting to think the Darwin back-end needs to be changed (or
> even linker too, I think Eric C. might be dealing with this but I  
> don't
> know).

I'm not dealing with it directly outside of getting rid of the stubs  
being emitted by the compiler since ld64 can fix them up itself.

-eric



More information about the Gcc mailing list