This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] Conditionally define TARGET_SYMBOL_FIELDS
- From: Catherine Moore <clm at remus dot sfbay dot redhat dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Catherine Moore <clm at redhat dot com>, binutils at sources dot redhat dot com
- Date: Mon, 17 Jun 2002 18:22:55 -0700
- Subject: Re: [patch] Conditionally define TARGET_SYMBOL_FIELDS
- Reply-to: clm at redhat dot com
: > #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