aboutsummaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/sdbout.c')
-rw-r--r--gcc/sdbout.c5
1 files changed, 5 insertions, 0 deletions
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)))