How to declare tiny varaiable

Bill Cox bill@qswtools.com
Sun Apr 4 00:52:00 GMT 2004


K. Ahmed Feroz wrote:

>Hi,
>
>When GAS assembler will create tiny (small) section. How to qualify a
>variable as "tiny" (small) in the 'C' source file.  Please tell me.
>
>Target is GNU for MIPS processor, GNU version I am using is 2.7.
>  
>

Check out the -G nn option.  It used to specify the size of the largest 
variable
that would be put into the small data or small bss areas.  We use "-G 0" 
all the time
to avoid putting *anything* into the small areas.

>Regards
>K. Feroz
>
>
>
>  
>



More information about the Gcc mailing list