aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-11-08 22:57:28 +0000
committerRichard Stallman <rms@gnu.org>1993-11-08 22:57:28 +0000
commit182056932a47e64d227af000baa8481a0c605e5d (patch)
tree9fcc575b3410af1072c00a367719ee9b58707432
parent840f571bf524a1d708c3c24f5ab6d3d8c9f1cbc6 (diff)
downloadgcc-182056932a47e64d227af000baa8481a0c605e5d.zip
gcc-182056932a47e64d227af000baa8481a0c605e5d.tar.gz
gcc-182056932a47e64d227af000baa8481a0c605e5d.tar.bz2
(sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol for __vtbl_ptr_type.
From-SVN: r6040
-rw-r--r--gcc/sdbout.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/sdbout.c b/gcc/sdbout.c
index 3c0b519..25b8009 100644
--- a/gcc/sdbout.c
+++ b/gcc/sdbout.c
@@ -285,6 +285,14 @@ sdbout_init (asm_file, input_file_name, syms)
char *input_file_name;
tree syms;
{
+#ifdef RMS_QUICK_HACK_1
+ tree t;
+ for (t = syms; t; t = TREE_CHAIN (t))
+ if (DECL_NAME (t) && IDENTIFIER_POINTER (DECL_NAME (t)) != 0
+ && !strcmp (IDENTIFIER_POINTER (DECL_NAME (t)), "__vtbl_ptr_type"))
+ sdbout_symbol (t, 0);
+#endif
+
#if 0 /* Nothing need be output for the predefined types. */
/* Get all permanent types that have typedef names,
and output them all, except for those already output. */