diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-10-31 02:41:14 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@gcc.gnu.org> | 2004-10-31 02:41:14 +0000 |
commit | 7fe63418838e0fade217715817d1349e206d5117 (patch) | |
tree | 025ac33030fa266ec63772fa49131312676f8570 | |
parent | 0a3ee0fdb5abdf4f071032ed54ef2bfea876c81c (diff) | |
download | gcc-7fe63418838e0fade217715817d1349e206d5117.zip gcc-7fe63418838e0fade217715817d1349e206d5117.tar.gz gcc-7fe63418838e0fade217715817d1349e206d5117.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/sdbout.c | 5 |
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))) |