How define absolute local symbol by GNU as?

Oleksandr Gavenko gavenko@bifit.com.ua
Thu Jul 7 16:18:00 GMT 2011
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.



More information about the Binutils mailing list