[patch] Conditionally define TARGET_SYMBOL_FIELDS

Catherine Moore clm@remus.sfbay.redhat.com
Mon Jun 17 18:27:00 GMT 2002


: >   #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



More information about the Binutils mailing list