sdbout.c (sdbout_symbol): Do not output type .def statements for builtin types.

* sdbout.c (sdbout_symbol): Do not output type .def statements
	for builtin types.

From-SVN: r89911
This commit is contained in:
Danny Smith 2004-10-31 02:41:14 +00:00 committed by Danny Smith
parent 0a3ee0fdb5
commit 7fe6341883
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-10-30 Danny Smith <dannysmith@users.sourceforge.net>
* sdbout.c (sdbout_symbol): Do not output type .def statements
for builtin types.
2004-10-30 Gabriel Dos Reis <gdr@integrable-solutions.net> 2004-10-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-common.c (catenate_strings): New. * c-common.c (catenate_strings): New.

View File

@ -737,6 +737,11 @@ sdbout_symbol (tree decl, int local)
return; return;
if (DECL_IGNORED_P (decl)) if (DECL_IGNORED_P (decl))
return; return;
/* Don't output intrinsic types. GAS chokes on SDB .def
statements that contain identifiers with embedded spaces
(eg "unsigned long"). */
if (DECL_IS_BUILTIN (decl))
return;
/* Output typedef name. */ /* Output typedef name. */
if (template_name_p (DECL_NAME (decl))) if (template_name_p (DECL_NAME (decl)))