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: RFA: gas S_IS_HIDDEN? (detecting hidden symbols in gas)


On Dec 8, 2010, at 3:44 PM, Alan Modra wrote:

> On Wed, Dec 08, 2010 at 09:47:32AM -0800, Matt Thomas wrote:
>> I was surprised to see there was no S_IS_HIDDEN.  So in tc-vax.c
>> I added:
> 
> I would be inclined to use S_GET_OTHER.

Ahhh.  Perfect.  I knew there had to be something.

That means I can get by with:

#ifdef OBJ_ELF
              && ELF_ST_VISIBILITY (S_GET_OTHER (fragP->fr_symbol)) != STV_HIDDEN  
#endif 

Thanks


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