aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/sdbout.c5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 05f4e81..a689a2a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
* c-common.c (catenate_strings): New.
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index a0f31fe..d9ab44c 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -737,6 +737,11 @@ sdbout_symbol (tree decl, int local)
return;
if (DECL_IGNORED_P (decl))
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. */
if (template_name_p (DECL_NAME (decl)))