Commit abf9af02 by Kazu Hirata Committed by Jeff Law

* xcoffout.c: Fix formatting.

From-SVN: r36035
parent ffe9f785
2000-08-28 Kazu Hirata <kazu@hxi.com>
* xcoffout.c: Fix formatting.
2000-08-28 Jason Merrill <jason@redhat.com> 2000-08-28 Jason Merrill <jason@redhat.com>
* dwarf2out.c (attr_checksum): Also ignore DW_AT_producer. * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
......
/* Output xcoff-format symbol table information from GNU compiler. /* Output xcoff-format symbol table information from GNU compiler.
Copyright (C) 1992, 1994, 1995, 1997, 1998, Copyright (C) 1992, 1994, 1995, 1997, 1998, 1999, 2000
1999, 2000 Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -19,7 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to ...@@ -19,7 +19,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330, the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */ Boston, MA 02111-1307, USA. */
/* Output xcoff-format symbol table data. The main functionality is contained /* Output xcoff-format symbol table data. The main functionality is contained
in dbxout.c. This file implements the sdbout-like parts of the xcoff in dbxout.c. This file implements the sdbout-like parts of the xcoff
interface. Many functions are very similar to their counterparts in interface. Many functions are very similar to their counterparts in
...@@ -196,8 +195,8 @@ stab_to_sclass (stab) ...@@ -196,8 +195,8 @@ stab_to_sclass (stab)
return C_GSYM; return C_GSYM;
case N_FNAME: case N_FNAME:
UNKNOWN_STAB ("N_FNAME"); UNKNOWN_STAB ("N_FNAME");
abort(); abort ();
case N_FUN: case N_FUN:
return C_FUN; return C_FUN;
...@@ -208,7 +207,7 @@ stab_to_sclass (stab) ...@@ -208,7 +207,7 @@ stab_to_sclass (stab)
#ifdef N_MAIN #ifdef N_MAIN
case N_MAIN: case N_MAIN:
UNKNOWN_STAB ("N_MAIN"); UNKNOWN_STAB ("N_MAIN");
abort (); abort ();
#endif #endif
...@@ -216,7 +215,7 @@ stab_to_sclass (stab) ...@@ -216,7 +215,7 @@ stab_to_sclass (stab)
return C_RSYM; return C_RSYM;
case N_SSYM: case N_SSYM:
UNKNOWN_STAB ("N_SSYM"); UNKNOWN_STAB ("N_SSYM");
abort (); abort ();
case N_RPSYM: case N_RPSYM:
...@@ -232,59 +231,59 @@ stab_to_sclass (stab) ...@@ -232,59 +231,59 @@ stab_to_sclass (stab)
return C_ENTRY; return C_ENTRY;
case N_SO: case N_SO:
UNKNOWN_STAB ("N_SO"); UNKNOWN_STAB ("N_SO");
abort (); abort ();
case N_SOL: case N_SOL:
UNKNOWN_STAB ("N_SOL"); UNKNOWN_STAB ("N_SOL");
abort (); abort ();
case N_SLINE: case N_SLINE:
UNKNOWN_STAB ("N_SLINE"); UNKNOWN_STAB ("N_SLINE");
abort (); abort ();
#ifdef N_DSLINE #ifdef N_DSLINE
case N_DSLINE: case N_DSLINE:
UNKNOWN_STAB ("N_DSLINE"); UNKNOWN_STAB ("N_DSLINE");
abort (); abort ();
#endif #endif
#ifdef N_BSLINE #ifdef N_BSLINE
case N_BSLINE: case N_BSLINE:
UNKNOWN_STAB ("N_BSLINE"); UNKNOWN_STAB ("N_BSLINE");
abort (); abort ();
#endif #endif
#if 0 #if 0
/* This has the same value as N_BSLINE. */ /* This has the same value as N_BSLINE. */
case N_BROWS: case N_BROWS:
UNKNOWN_STAB ("N_BROWS"); UNKNOWN_STAB ("N_BROWS");
abort (); abort ();
#endif #endif
#ifdef N_BINCL #ifdef N_BINCL
case N_BINCL: case N_BINCL:
UNKNOWN_STAB ("N_BINCL"); UNKNOWN_STAB ("N_BINCL");
abort (); abort ();
#endif #endif
#ifdef N_EINCL #ifdef N_EINCL
case N_EINCL: case N_EINCL:
UNKNOWN_STAB ("N_EINCL"); UNKNOWN_STAB ("N_EINCL");
abort (); abort ();
#endif #endif
#ifdef N_EXCL #ifdef N_EXCL
case N_EXCL: case N_EXCL:
UNKNOWN_STAB ("N_EXCL"); UNKNOWN_STAB ("N_EXCL");
abort (); abort ();
#endif #endif
case N_LBRAC: case N_LBRAC:
UNKNOWN_STAB ("N_LBRAC"); UNKNOWN_STAB ("N_LBRAC");
abort (); abort ();
case N_RBRAC: case N_RBRAC:
UNKNOWN_STAB ("N_RBRAC"); UNKNOWN_STAB ("N_RBRAC");
abort (); abort ();
case N_BCOMM: case N_BCOMM:
...@@ -295,33 +294,33 @@ stab_to_sclass (stab) ...@@ -295,33 +294,33 @@ stab_to_sclass (stab)
return C_ECOML; return C_ECOML;
case N_LENG: case N_LENG:
UNKNOWN_STAB ("N_LENG"); UNKNOWN_STAB ("N_LENG");
abort (); abort ();
case N_PC: case N_PC:
UNKNOWN_STAB ("N_PC"); UNKNOWN_STAB ("N_PC");
abort (); abort ();
#ifdef N_M2C #ifdef N_M2C
case N_M2C: case N_M2C:
UNKNOWN_STAB ("N_M2C"); UNKNOWN_STAB ("N_M2C");
abort (); abort ();
#endif #endif
#ifdef N_SCOPE #ifdef N_SCOPE
case N_SCOPE: case N_SCOPE:
UNKNOWN_STAB ("N_SCOPE"); UNKNOWN_STAB ("N_SCOPE");
abort (); abort ();
#endif #endif
case N_CATCH: case N_CATCH:
UNKNOWN_STAB ("N_CATCH"); UNKNOWN_STAB ("N_CATCH");
abort (); abort ();
default: default:
UNKNOWN_STAB ("default"); UNKNOWN_STAB ("default");
abort (); abort ();
} }
} }
/* Output debugging info to FILE to switch to sourcefile FILENAME. /* Output debugging info to FILE to switch to sourcefile FILENAME.
...@@ -345,7 +344,7 @@ xcoffout_source_file (file, filename, inline_p) ...@@ -345,7 +344,7 @@ xcoffout_source_file (file, filename, inline_p)
fprintf (file, "\n"); fprintf (file, "\n");
xcoff_current_include_file = NULL; xcoff_current_include_file = NULL;
} }
xcoff_inlining=inline_p; xcoff_inlining = inline_p;
if (strcmp (main_input_filename, filename) || inline_p) if (strcmp (main_input_filename, filename) || inline_p)
{ {
fprintf (file, "\t.bi\t"); fprintf (file, "\t.bi\t");
...@@ -353,7 +352,7 @@ xcoffout_source_file (file, filename, inline_p) ...@@ -353,7 +352,7 @@ xcoffout_source_file (file, filename, inline_p)
fprintf (file, "\n"); fprintf (file, "\n");
xcoff_current_include_file = filename; xcoff_current_include_file = filename;
} }
if (!xcoff_lastfile) if (!xcoff_lastfile)
ggc_add_string_root ((char **) &xcoff_lastfile, 1); ggc_add_string_root ((char **) &xcoff_lastfile, 1);
...@@ -432,7 +431,6 @@ xcoffout_begin_block (file, line, n) ...@@ -432,7 +431,6 @@ xcoffout_begin_block (file, line, n)
{ {
tree decl = current_function_decl; tree decl = current_function_decl;
/* The IBM AIX compiler does not emit a .bb for the function level scope, /* The IBM AIX compiler does not emit a .bb for the function level scope,
so we avoid it here also. */ so we avoid it here also. */
if (n != 1) if (n != 1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment