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>
* dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
......
/* Output xcoff-format symbol table information from GNU compiler.
Copyright (C) 1992, 1994, 1995, 1997, 1998,
1999, 2000 Free Software Foundation, Inc.
Copyright (C) 1992, 1994, 1995, 1997, 1998, 1999, 2000
Free Software Foundation, Inc.
This file is part of GNU CC.
......@@ -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,
Boston, MA 02111-1307, USA. */
/* Output xcoff-format symbol table data. The main functionality is contained
in dbxout.c. This file implements the sdbout-like parts of the xcoff
interface. Many functions are very similar to their counterparts in
......@@ -196,8 +195,8 @@ stab_to_sclass (stab)
return C_GSYM;
case N_FNAME:
UNKNOWN_STAB ("N_FNAME");
abort();
UNKNOWN_STAB ("N_FNAME");
abort ();
case N_FUN:
return C_FUN;
......@@ -208,7 +207,7 @@ stab_to_sclass (stab)
#ifdef N_MAIN
case N_MAIN:
UNKNOWN_STAB ("N_MAIN");
UNKNOWN_STAB ("N_MAIN");
abort ();
#endif
......@@ -216,7 +215,7 @@ stab_to_sclass (stab)
return C_RSYM;
case N_SSYM:
UNKNOWN_STAB ("N_SSYM");
UNKNOWN_STAB ("N_SSYM");
abort ();
case N_RPSYM:
......@@ -232,59 +231,59 @@ stab_to_sclass (stab)
return C_ENTRY;
case N_SO:
UNKNOWN_STAB ("N_SO");
UNKNOWN_STAB ("N_SO");
abort ();
case N_SOL:
UNKNOWN_STAB ("N_SOL");
UNKNOWN_STAB ("N_SOL");
abort ();
case N_SLINE:
UNKNOWN_STAB ("N_SLINE");
UNKNOWN_STAB ("N_SLINE");
abort ();
#ifdef N_DSLINE
case N_DSLINE:
UNKNOWN_STAB ("N_DSLINE");
UNKNOWN_STAB ("N_DSLINE");
abort ();
#endif
#ifdef N_BSLINE
case N_BSLINE:
UNKNOWN_STAB ("N_BSLINE");
UNKNOWN_STAB ("N_BSLINE");
abort ();
#endif
#if 0
/* This has the same value as N_BSLINE. */
case N_BROWS:
UNKNOWN_STAB ("N_BROWS");
UNKNOWN_STAB ("N_BROWS");
abort ();
#endif
#ifdef N_BINCL
case N_BINCL:
UNKNOWN_STAB ("N_BINCL");
UNKNOWN_STAB ("N_BINCL");
abort ();
#endif
#ifdef N_EINCL
case N_EINCL:
UNKNOWN_STAB ("N_EINCL");
UNKNOWN_STAB ("N_EINCL");
abort ();
#endif
#ifdef N_EXCL
case N_EXCL:
UNKNOWN_STAB ("N_EXCL");
UNKNOWN_STAB ("N_EXCL");
abort ();
#endif
case N_LBRAC:
UNKNOWN_STAB ("N_LBRAC");
UNKNOWN_STAB ("N_LBRAC");
abort ();
case N_RBRAC:
UNKNOWN_STAB ("N_RBRAC");
UNKNOWN_STAB ("N_RBRAC");
abort ();
case N_BCOMM:
......@@ -295,33 +294,33 @@ stab_to_sclass (stab)
return C_ECOML;
case N_LENG:
UNKNOWN_STAB ("N_LENG");
UNKNOWN_STAB ("N_LENG");
abort ();
case N_PC:
UNKNOWN_STAB ("N_PC");
UNKNOWN_STAB ("N_PC");
abort ();
#ifdef N_M2C
case N_M2C:
UNKNOWN_STAB ("N_M2C");
UNKNOWN_STAB ("N_M2C");
abort ();
#endif
#ifdef N_SCOPE
case N_SCOPE:
UNKNOWN_STAB ("N_SCOPE");
UNKNOWN_STAB ("N_SCOPE");
abort ();
#endif
case N_CATCH:
UNKNOWN_STAB ("N_CATCH");
UNKNOWN_STAB ("N_CATCH");
abort ();
default:
UNKNOWN_STAB ("default");
UNKNOWN_STAB ("default");
abort ();
}
}
}
/* Output debugging info to FILE to switch to sourcefile FILENAME.
......@@ -345,7 +344,7 @@ xcoffout_source_file (file, filename, inline_p)
fprintf (file, "\n");
xcoff_current_include_file = NULL;
}
xcoff_inlining=inline_p;
xcoff_inlining = inline_p;
if (strcmp (main_input_filename, filename) || inline_p)
{
fprintf (file, "\t.bi\t");
......@@ -353,7 +352,7 @@ xcoffout_source_file (file, filename, inline_p)
fprintf (file, "\n");
xcoff_current_include_file = filename;
}
if (!xcoff_lastfile)
ggc_add_string_root ((char **) &xcoff_lastfile, 1);
......@@ -432,7 +431,6 @@ xcoffout_begin_block (file, line, n)
{
tree decl = current_function_decl;
/* The IBM AIX compiler does not emit a .bb for the function level scope,
so we avoid it here also. */
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