* libobjc: updated ABI comment
@ 2010-12-11 16:04 Nicola Pero
0 siblings, 0 replies; only message in thread
From: Nicola Pero @ 2010-12-11 16:04 UTC (permalink / raw)
To: gcc-patches
Committed to trunk.
Thanks
Index: objc-private/module-abi-8.h
===================================================================
--- objc-private/module-abi-8.h (revision 167709)
+++ objc-private/module-abi-8.h (working copy)
@@ -47,8 +47,11 @@
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: ChangeLog
===================================================================
--- ChangeLog (revision 167709)
+++ ChangeLog (working copy)
@@ -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: objc/deprecated/struct_objc_symtab.h
===================================================================
--- objc/deprecated/struct_objc_symtab.h (revision 167709)
+++ objc/deprecated/struct_objc_symtab.h (working copy)
@@ -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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-12-11 14:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-11 16:04 libobjc: updated ABI comment Nicola Pero
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).