diff options
author | Nicola Pero <nicola.pero@meta-innovation.com> | 2010-12-11 14:03:38 +0000 |
---|---|---|
committer | Nicola Pero <nicola@gcc.gnu.org> | 2010-12-11 14:03:38 +0000 |
commit | 375d1239a479316e3fc806708477b98b076673e8 (patch) | |
tree | bd5684937f3dfdb210f846cd8072cb242d790fd4 /libobjc | |
parent | 10ae7517ca59376018bba00b5b5a083055e218c6 (diff) | |
download | gcc-375d1239a479316e3fc806708477b98b076673e8.zip gcc-375d1239a479316e3fc806708477b98b076673e8.tar.gz gcc-375d1239a479316e3fc806708477b98b076673e8.tar.bz2 |
module-abi-8.h (struct objc_symtab): Updated description of sel_ref_cnt and refs.
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
Diffstat (limited to 'libobjc')
-rw-r--r-- | libobjc/ChangeLog | 6 | ||||
-rw-r--r-- | libobjc/objc-private/module-abi-8.h | 7 | ||||
-rw-r--r-- | libobjc/objc/deprecated/struct_objc_symtab.h | 7 |
3 files changed, 16 insertions, 4 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 91154b3..bc52213 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -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 diff --git a/libobjc/objc-private/module-abi-8.h b/libobjc/objc-private/module-abi-8.h index bad5478..3ed836c 100644 --- a/libobjc/objc-private/module-abi-8.h +++ b/libobjc/objc-private/module-abi-8.h @@ -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 diff --git a/libobjc/objc/deprecated/struct_objc_symtab.h b/libobjc/objc/deprecated/struct_objc_symtab.h index 8e14d63..75bb27f 100644 --- a/libobjc/objc/deprecated/struct_objc_symtab.h +++ b/libobjc/objc/deprecated/struct_objc_symtab.h @@ -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 |