diff options
author | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-22 22:26:59 +0000 |
---|---|---|
committer | dj <dj@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-22 22:26:59 +0000 |
commit | 07bcef03397475b032e4d287b27f182ab4de2ede (patch) | |
tree | 44e893c26a2ad9454778ac9c51cbce89e61731d3 /gcc/doc | |
parent | d9530df8d0973107ddd1fcbd098c2d5ba4795729 (diff) | |
download | gcc-07bcef03397475b032e4d287b27f182ab4de2ede.tar.gz |
* doc/extend.texi (Named Address Spaces): Document the M32C named
address space.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165873 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/extend.texi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 0828ff1d2de..c37e4b38489 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -1220,7 +1220,7 @@ As an extension, the GNU C compiler supports named address spaces as defined in the N1275 draft of ISO/IEC DTR 18037. Support for named address spaces in GCC will evolve as the draft technical report changes. Calling conventions for any target might also change. At present, only -the SPU target supports other address spaces. On the SPU target, for +the SPU and M32C targets support other address spaces. On the SPU target, for example, variables may be declared as belonging to another address space by qualifying the type with the @code{__ea} address space identifier: @@ -1237,6 +1237,11 @@ The @code{__ea} identifier may be used exactly like any other C type qualifier (e.g., @code{const} or @code{volatile}). See the N1275 document for more details. +On the M32C target, with the R8C and M16C cpu variants, variables +qualified with @code{__far} are accessed using 32-bit addresses in +order to access memory beyond the first 64k bytes. If @code{__far} is +used with the M32CM or M32C cpu variants, it has no effect. + @node Zero Length @section Arrays of Length Zero @cindex arrays of length zero |