diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-11-28 19:09:58 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-11-28 19:09:58 +0000 |
commit | da954cd7b6deb1bc17f4cdb467d0cfac9a79bcb9 (patch) | |
tree | 6372ef776d1fafc2329c0ac46f0c2703aa074be2 /gas/config | |
parent | cf644706d6d01ee43df3f55f2c548853bd4f2a68 (diff) | |
download | gdb-da954cd7b6deb1bc17f4cdb467d0cfac9a79bcb9.zip gdb-da954cd7b6deb1bc17f4cdb467d0cfac9a79bcb9.tar.gz gdb-da954cd7b6deb1bc17f4cdb467d0cfac9a79bcb9.tar.bz2 |
Remove unused sy_name_offset from ELF_TARGET_SYMBOL_FIELDS.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/obj-multi.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/gas/config/obj-multi.h b/gas/config/obj-multi.h new file mode 100644 index 0000000..aa562cb --- /dev/null +++ b/gas/config/obj-multi.h @@ -0,0 +1,41 @@ +/* hi */ + +#include "emul.h" +#include "targ-cpu.h" + +#define OUTPUT_FLAVOR (this_format->flavor) +#define obj_frob_symbol(S,P) (this_format->frob_symbol)(S,&(P)) +#define obj_frob_file (this_format->frob_file) +#define obj_ecoff_set_ext (this_format->ecoff_set_ext) +#define obj_pop_insert (this_format->pop_insert) +#define obj_read_begin_hook() (this_format->read_begin_hook?this_format->read_begin_hook():(void)0) +#define obj_symbol_new_hook (this_format->symbol_new_hook) +#define obj_sec_sym_ok_for_reloc (this_format->sec_sym_ok_for_reloc) +#define S_GET_SIZE (this_format->s_get_size) +#define S_SET_SIZE (this_format->s_set_size) +#define S_GET_ALIGN (this_format->s_get_align) +#define S_SET_ALIGN (this_format->s_set_align) +#define obj_copy_symbol_attributes (this_format->copy_symbol_attributes) +#define OBJ_PROCESS_STAB (this_format->process_stab) + +#if defined (OBJ_MAYBE_ECOFF) || (defined (OBJ_MAYBE_ELF) && defined (TC_MIPS)) +#define ECOFF_DEBUGGING 1 +#endif + +#ifdef OBJ_MAYBE_ELF +#define ELF_TARGET_SYMBOL_FIELDS int local:1; +#else +#define ELF_TARGET_SYMBOL_FIELDS +#endif + +#ifdef ECOFF_DEBUGGING +struct efdr; +struct localsym; +#define ECOFF_DEBUG_TARGET_SYMBOL_FIELDS struct efdr *ecoff_file; struct localsym *ecoff_symbol; valueT ecoff_extern_size; +#else +#define ECOFF_DEBUG_TARGET_SYMBOL_FIELDS +#endif + +#define TARGET_SYMBOL_FIELDS \ + ELF_TARGET_SYMBOL_FIELDS \ + ECOFF_DEBUG_TARGET_SYMBOL_FIELDS |