On Mar 13, 2011, at 12:07 PM, Jan Hubicka wrote:

>> 
>> Yes, I agree that this is a better solution.  This error was put into the 
>> linker to detect some overflow conditions for part of the code that expected 
>> the section number to only be a byte.  It is likely that "things worked" 
>> only out of luck before.
> 
> Interesting, so there is no -ffunction-section type tricks at darwin?

Correct, darwin doesn't support that flag in a useful way.  Instead, macho has 
a (poorly defined and understood) concept of "atoms" that the linker uses to 
slice things up.

-Chris

> 
> Pickling everything into single section seems indeed like easiest approach 
> here.
> The question is who will volunteer to implement it ;)
> 
> Honza

Reply via email to