This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: How to declare tiny varaiable
- From: Ben Elliston <bje at au dot ibm dot com>
- To: binutils at sources dot redhat dot com
- Date: 01 Apr 2004 17:13:48 +1000
- Subject: Re: How to declare tiny varaiable
- References: <000901c417ad$fbb09010$7200a8c0@FEROZ>
"K. Ahmed Feroz" <feroz@acmet.com> writes:
> When GAS assembler will create .tbss section. How to qualify a
> variable as "tiny" in the 'C' source file. Please tell me.
You can use variable attributes to specify that a variable be placed
in a specific section. Take a look at:
http://gcc.gnu.org/onlinedocs/gcc/Variable-Attributes.html
Ben