bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Large size array problem


From: Nick Clifton
Subject: Re: Large size array problem
Date: Wed, 11 Jun 2003 13:38:38 +0100
User-agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux)

Hi Miklos,

> I am using the GNU Pascal built on GCC 3.2.1 under Sun Solaris 9 (64
> bit architecture). I am using the GNU as (gas) with this system and
> it works fine in normal cases. Please find a sample Pascal code and
> the assembler counterpart that generates error. Virtually, the size
> of the array is too large for the gas. Smaller arrays are OK. The
> problem is on the gas side by the look of it. The memory of the
> system should be sufficient for the larger array.
>
> So is there a limitation for memory allocation for a single array?

Sadly yes.  GAS does not support single array sizes greater than half
of the address space of the architecture.

> Is there a special switch to force a larger memory allocation?

No, sorry, there is not.  My best suggestion would be to see if you
can split your array up into several, smaller arrays.

Cheers
        Nick
        





reply via email to

[Prev in Thread] Current Thread [Next in Thread]