Add -fmerge-debug-strings option
Ian Lance Taylor
iant@google.com
Fri Jan 18 18:23:00 GMT 2008
"Manuel López-Ibáñez" <lopezibanez@gmail.com> writes:
> The comments by Mark are still valid for this version of the patch.
>
> http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01261.html
>
> I would suggest (again), to include both -fno-merge-debug-strings and
> -fmerge-debug-strings in the index:
>
> http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01262.html
Sorry, you're quite right. Thanks for catching this.
I committed this patch to fix this. I'm regarding this as covered by
the previous ChangeLog entry.
Ian
Index: doc/invoke.texi
===================================================================
--- doc/invoke.texi (revision 131630)
+++ doc/invoke.texi (working copy)
@@ -304,7 +304,7 @@ Objective-C and Objective-C++ Dialects}.
-ftest-coverage -ftime-report -fvar-tracking @gol
-g -g@var{level} -gcoff -gdwarf-2 @gol
-ggdb -gstabs -gstabs+ -gvms -gxcoff -gxcoff+ @gol
--fmerge-debug-strings -fdebug-prefix-map=@var{old}=@var{new} @gol
+-fno-merge-debug-strings -fdebug-prefix-map=@var{old}=@var{new} @gol
-femit-struct-debug-baseonly -femit-struct-debug-reduced @gol
-femit-struct-debug-detailed@r{[}=@var{spec-list}@r{]} @gol
-p -pg -print-file-name=@var{library} -print-libgcc-file-name @gol
@@ -4162,8 +4162,9 @@ The default is @samp{-femit-struct-debug
This option works only with DWARF 2.
-@item -fmerge-debug-strings
+@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
More information about the Gcc-patches
mailing list