This is the mail archive of the binutils@sources.redhat.com 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: [patch] Conditionally define TARGET_SYMBOL_FIELDS


: >   #define ELF_TARGET_SYMBOL_FIELDS int local:1;
: >   
: >   /* Don't change this; change ELF_TARGET_SYMBOL_FIELDS instead.  */
: > + #ifndef TARGET_SYMBOL_FIELDS
: >   #define TARGET_SYMBOL_FIELDS ELF_TARGET_SYMBOL_FIELDS
: > + #endif
: 
: Hmm, I don't see any need for ELF_TARGET_SYMBOL_FIELDS.  Perhaps
: you'd like to get rid of ELF_TARGET_SYMBOL_FIELDS while you're at it.

   I would prefer to keep it in.  I use this definition of 
   TARGET_SYMBOL_FIELDS in my port (it's elf-based):

#define TARGET_SYMBOL_FIELDS ELF_TARGET_SYMBOL_FIELDS int my_sym_field;

   Catherine


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