This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: How define absolute local symbol by GNU as?
- From: Oleksandr Gavenko <gavenko at bifit dot com dot ua>
- To: binutils at sources dot redhat dot com
- Date: Thu, 07 Jul 2011 17:40:57 +0300
- Subject: Re: How define absolute local symbol by GNU as?
- References: <iv4er7$2rn$1@dough.gmane.org> <m31uy2kw13.fsf@hase.home>
On 07.07.2011 17:25, Andreas Schwab wrote:
Oleksandr Gavenko<gavenko@bifit.com.ua> writes:
But how declare it local?
Don't declare it global.
OK, but how?
If I write:
.global @feat.00
@feat.00=1
I get:
$ nm test.obj | grep feat
00000001 A @feat.00
If I write:
/* .global @feat.00 */
@feat.00=1
I get:
$ nm test.obj | grep feat
<empty>
So I expect existence of some directive to get wanted.