* disassemble.c (disassemble_init_for_target): M32C ISAs are
[deliverable/binutils-gdb.git] / gas / subsegs.h
index a2ef4748a56dbc670476f70374b25abf9864250c..01af884dcf98ca325d77838483090308cd9991c1 100644 (file)
@@ -1,5 +1,5 @@
 /* subsegs.h -> subsegs.c
-   Copyright (C) 1987, 92, 93, 94, 95, 96, 98, 2000
+   Copyright 1987, 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2003, 2005
    Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
@@ -16,8 +16,8 @@
 
    You should have received a copy of the GNU General Public License
    along with GAS; see the file COPYING.  If not, write to the Free
-   Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-   02111-1307, USA.  */
+   Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+   02110-1301, USA.  */
 
 /*
  * For every sub-segment the user mentions in the ASsembler program,
@@ -64,8 +64,7 @@ extern frchainS *frchain_root;
    frag chain, even if it contains no (complete) frags.  */
 extern frchainS *frchain_now;
 
-typedef struct segment_info_struct
-{
+typedef struct segment_info_struct {
   frchainS *frchainP;
   unsigned int hadone : 1;
 
@@ -103,13 +102,12 @@ typedef struct segment_info_struct
   symbolS *sym;
 #endif
 
-  union
-    {
-      /* Current size of section holding stabs strings.  */
-      unsigned long stab_string_size;
-      /* Initial frag for ELF.  */
-      char *p;
-    }
+  union {
+    /* Current size of section holding stabs strings.  */
+    unsigned long stab_string_size;
+    /* Initial frag for ELF.  */
+    char *p;
+  }
   stabu;
 
 #ifdef NEED_LITERAL_POOL
@@ -123,8 +121,8 @@ typedef struct segment_info_struct
 
 #ifdef BFD_ASSEMBLER
 
-extern segment_info_type *seg_info PARAMS ((segT));
-extern symbolS *section_symbol PARAMS ((segT));
+extern segment_info_type *seg_info (segT);
+extern symbolS *section_symbol (segT);
 
 #else /* ! BFD_ASSEMBLER */
 
@@ -141,17 +139,10 @@ extern segment_info_type segment_info[];
 extern frchainS *data0_frchainP;
 extern frchainS *bss0_frchainP;
 
-/* Dummy so stuff can compile.  Should never be used.  */
-struct seg_info_trash {
-  struct {
-    unsigned stab_string_size : 1;
-  } stabu;
-  unsigned hadone : 1;
-};
-#define seg_info(S)    (abort (), (struct seg_info_trash *) 0)
+#define seg_info(S)    (abort (), (segment_info_type *) 0)
 
 #endif
 
 #endif /* ! BFD_ASSEMBLER */
 
-extern void subsegs_print_statistics PARAMS ((FILE *));
+extern void subsegs_print_statistics (FILE *);
This page took 0.027506 seconds and 4 git commands to generate.