OSDN Git Service

(sdbout_init) [RMS_QUICK_HACK_1]: Call sdbout_symbol for __vtbl_ptr_type.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 1993 22:57:28 +0000 (22:57 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 8 Nov 1993 22:57:28 +0000 (22:57 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6040 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/sdbout.c

index 3c0b519..25b8009 100644 (file)
@@ -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.  */