This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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 define absolute local symbol by GNU as?


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.


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