* dwarf2dbg.c (dwarf2_gen_line_info): Mirror the section symbol
[deliverable/binutils-gdb.git] / gas / config / obj-multi.h
index fe8d98d0d6e8e0c90d4d562d7ffeffdd49156c8d..d54c61f8becf0a8287da3c3098ddb5a8ac497e2a 100644 (file)
 
 /* FIXME: What's the story here?  Why do we have to define
    OBJ_SYMFIELD_TYPE both here and in obj-elf.h?  */
+
 #ifdef OBJ_MAYBE_ELF
 struct elf_obj_sy
 {
+  int local;
   expressionS *size;
   char *versioned_name;
+#ifdef ECOFF_DEBUGGING
+  /* If we are generating ECOFF debugging information, we need some
+     additional fields for each symbol.  */
+  struct efdr *ecoff_file;
+  struct localsym *ecoff_symbol;
+  valueT ecoff_extern_size;
+#endif
 };
 #define OBJ_SYMFIELD_TYPE struct elf_obj_sy
-#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
This page took 0.023476 seconds and 4 git commands to generate.