]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
module-abi-8.h (struct objc_symtab): Updated description of sel_ref_cnt and refs.
authorNicola Pero <nicola.pero@meta-innovation.com>
Sat, 11 Dec 2010 14:03:38 +0000 (14:03 +0000)
committerNicola Pero <nicola@gcc.gnu.org>
Sat, 11 Dec 2010 14:03:38 +0000 (14:03 +0000)
2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>

* objc-private/module-abi-8.h (struct objc_symtab): Updated
description of sel_ref_cnt and refs.
* objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.

From-SVN: r167710

libobjc/ChangeLog
libobjc/objc-private/module-abi-8.h
libobjc/objc/deprecated/struct_objc_symtab.h

index 91154b34a0792a23474f4a8e59bf862d13d38980..bc522133febb37a40a06baa9fdd0f2b415099b27 100644 (file)
@@ -1,3 +1,9 @@
+2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
+
+       * objc-private/module-abi-8.h (struct objc_symtab): Updated
+       description of sel_ref_cnt and refs.
+       * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
+       
 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
 
        PR target/40125
index bad547834ffda25c8c21e33e4932a66585a02e4b..3ed836c518fd89d9175a13368e8e47fc38f22cdd 100644 (file)
@@ -47,8 +47,11 @@ struct objc_static_instances
    categories  defined in the module.   */
 struct objc_symtab
 {
-  unsigned long sel_ref_cnt;  /* Unknown. */
-  SEL        refs;            /* Unknown. */
+  unsigned long sel_ref_cnt;  /* Unused (always set to 0). */
+  SEL      refs;              /* The table of selectors referenced in
+                                 this module.  This is terminated by a
+                                 selector with NULL sel_id and NULL
+                                 sel_types.  */
   unsigned short cls_def_cnt; /* Number of classes compiled (defined)
                                  in the module. */
   unsigned short cat_def_cnt; /* Number of categories compiled
index 8e14d63ee345be661171dbfccd7bf9f0c9e9879e..75bb27f1b5583894d9e4bd33f4b9bd4036034271 100644 (file)
@@ -5,8 +5,11 @@
    A Symtab contains a variable length array of pointers to classes and
    categories  defined in the module.   */
 typedef struct objc_symtab {
-  unsigned long sel_ref_cnt;                     /* Unknown. */
-  SEL        refs;                              /* Unknown. */
+  unsigned long sel_ref_cnt;  /* Unused (always set to 0). */
+  SEL      refs;              /* The table of selectors referenced in
+                                 this module.  This is terminated by a
+                                 selector with NULL sel_id and NULL
+                                 sel_types.  */
   unsigned short cls_def_cnt;                   /* Number of classes compiled
                                                   (defined) in the module. */
   unsigned short cat_def_cnt;                   /* Number of categories