This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to declare tiny varaiable


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







Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]