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: Small error in manual


Ralf Wildenhues <Ralf.Wildenhues@gmx.de> writes:

> 2009-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
>
>         * doc/invoke.texi (Debugging Options): Fix description of
>         -fno-merge-debug-strings.

Really the original text is slightly wrong.

> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index d1c86dc..8b97fa0 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -4408,11 +4408,11 @@ This option works only with DWARF 2.
>  @item -fno-merge-debug-strings
>  @opindex fmerge-debug-strings
>  @opindex fno-merge-debug-strings
> -Direct the linker to merge together strings which are identical in
> -different object files.  This is not supported by all assemblers or
> -linker.  This decreases the size of the debug information in the
> -output file at the cost of increasing link processing time.  This is
> -on by default.
> +Direct the linker to not merge together strings which are identical in
> +different object files.  Merging is not supported by all assemblers or
> +linker.  It decreases the size of the debug information in the output
> +file at the cost of increasing link processing time.  Merging is enabled
> +by default.

This option only applies to strings in debugging information.  It should
say something like "Direct the linker to not merge together strings in
the debugging information which are identical in different object
files."  Also I think s/It decreases/Merging decreases/.

OK with those changes.

Thanks.

Ian


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