From 7fe63418838e0fade217715817d1349e206d5117 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Sun, 31 Oct 2004 02:41:14 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/sdbout.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 05f4e819137..a689a2a2c26 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-10-30 Danny Smith + + * sdbout.c (sdbout_symbol): Do not output type .def statements + for builtin types. + 2004-10-30 Gabriel Dos Reis * c-common.c (catenate_strings): New. diff --git a/gcc/sdbout.c b/gcc/sdbout.c index a0f31fe0653..d9ab44c6dad 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))) -- 2.30.2