This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] MeP documentation


Hello DJ,

a couple of typos:

* DJ Delorie wrote on Fri, Jun 26, 2009 at 05:27:23AM CEST:
> --- doc/extend.texi	(revision 148960)
> +++ doc/extend.texi	(working copy)
> @@ -1949,13 +1949,13 @@ The @code{aligned} attribute can also be
>  @cindex @code{alloc_size} attribute
>  The @code{alloc_size} attribute is used to tell the compiler that the
>  function return value points to memory, where the size is given by
>  one or two of the functions parameters.  GCC uses this 
>  information to improve the correctness of @code{__builtin_object_size}.
>  
> -The function parameter(s) denoting the allocated size are specified by
> + The function parameter(s) denoting the allocated size are specified by
>  one or two integer arguments supplied to the attribute.  The allocated size
>  is either the value of the single function argument specified or the product
>  of the two function arguments specified.  Argument numbering starts at
>  one.
>  
>  For instance, 

This hunk seems superfluous.

> +@item cb
> +@item cb (@var{addr})
> +Variables with the @code{cb} attribute are used to access the control
> +bus, using special intructions.  @code{addr} indicates the control bus
> +address.  Example:

instructions

> --- doc/invoke.texi	(revision 148960)
> +++ doc/invoke.texi	(working copy)

> +@item -maverage
> +@opindex maverage
> +Enables the @code{ave} instruction, which computes the averate of two
> +registers.

average

> +@item -mcop
> +@opindex mcop
> +Enables the coprocessor instructions.  By default, this is a 32-bit
> +coprocessor.  Note that the coprocessor is normally enabled bia the
> +@code{-mconfig=} option.

via

> +@item -msimnovec
> +@opindex msimnovec
> +Link the simulator runtime libraries, exluding built-in support
> +for reset and exception vectors and tables.

excluding

Cheers,
Ralf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]