aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Pinski <pinskia@physics.uc.edu>2005-12-18 04:48:28 +0000
committerAndrew Pinski <pinskia@gcc.gnu.org>2005-12-17 20:48:28 -0800
commita7ceba73e5af3733ab19ecf6cb3dec3c2c64a87a (patch)
tree45495e5e27d649310d9de0a13a91737138d0caf2 /gcc
parent858904db9ee5873db3c28b4ba0f4258e9c8ece0d (diff)
downloadgcc-a7ceba73e5af3733ab19ecf6cb3dec3c2c64a87a.zip
gcc-a7ceba73e5af3733ab19ecf6cb3dec3c2c64a87a.tar.gz
gcc-a7ceba73e5af3733ab19ecf6cb3dec3c2c64a87a.tar.bz2
objc.texi (Type encoding): Add documentation about encoding complex types and _Bool.
2005-12-17 Andrew Pinski <pinskia@physics.uc.edu> * doc/objc.texi (Type encoding): Add documentation about encoding complex types and _Bool. From-SVN: r108737
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/objc.texi4
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a590463..03f63c3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-12-17 Andrew Pinski <pinskia@physics.uc.edu>
+
+ * doc/objc.texi (Type encoding): Add documentation about encoding
+ complex types and _Bool.
+
2005-12-17 Paul Brook <paul@codesourcery.com>
* config/m68k/m68k.md (m68k_output_function_prologue): Always call
diff --git a/gcc/doc/objc.texi b/gcc/doc/objc.texi
index a8a128d..a4d25d1 100644
--- a/gcc/doc/objc.texi
+++ b/gcc/doc/objc.texi
@@ -179,6 +179,8 @@ The types are encoded in the following way:
@c @sp 1
@multitable @columnfractions .25 .75
+@item @code{_Bool}
+@tab @code{B}
@item @code{char}
@tab @code{c}
@item @code{unsigned char}
@@ -215,6 +217,8 @@ The types are encoded in the following way:
@tab @code{*}
@item unknown type
@tab @code{?}
+@item Complex types
+@tab @code {j} followed by the inner type. For an example _Complex double is encoded as "jd".
@item bit-fields
@tab @code{b} followed by the starting position of the bit-field, the type of the bit-field and the size of the bit-field (the bit-fields encoding was changed from the NeXT's compiler encoding, see below)
@end multitable