summaryrefslogtreecommitdiff
path: root/gcc/sdbout.c
diff options
context:
space:
mode:
authordannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-31 02:41:14 +0000
committerdannysmith <dannysmith@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-31 02:41:14 +0000
commit2a9fdfe18a6ba0d2c24542e8f2191b995fa92646 (patch)
tree025ac33030fa266ec63772fa49131312676f8570 /gcc/sdbout.c
parent209c9752c4626d6a6f46bed656e7ba071206a4d9 (diff)
downloadgcc-2a9fdfe18a6ba0d2c24542e8f2191b995fa92646.tar.gz
* sdbout.c (sdbout_symbol): Do not output type .def statements
for builtin types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89911 138bc75d-0d04-0410-961f-82ee72b054a4
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 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)))