On 01/06/2011 01:17 AM, Karel Gardas wrote:
> BTW: This is on GCC Compile Farm IA64 machine. Now my question is: how
> to solve this issue? Does GCC already support something Intel
> discusses in 2008 here:
> http://software.intel.com/en-us/articles/short-data-segment-overflow-error-on-linux-64-on-itaniumr-architecture/
> -- i.e. using huge memory model for static data?

No, we don't.

I thought for a moment that you might be able to use one of the
standalone (aka kernel/rom) modes, such as -mno-pic or -mauto-pic,
which would certainly solve the got-overflow problem above, but
unfortunately they also change the function calling convention.
You'd not be able to link with libc.

It should not be hard to add such support to gcc, if you have an
interest.  All the appropriate relocations are already defined
in the spec and accepted by the assembler.


r~

Reply via email to