+2018-03-29 Martin Liska <mliska@suse.cz>
+
+ PR lto/84995.
+ * doc/invoke.texi: Document how LTO works with debug info.
+ Describe auto-load support of binutils. Mention 'x86-64'
+ as valid option value of -march option.
+
2018-03-29 Jakub Jelinek <jakub@redhat.com>
* config/i386/sse.md (<avx512>_blendm<mode>): Use <sseintprefix>.
GCC do not work with an older or newer version of GCC.
Link-time optimization does not work well with generation of debugging
-information. Combining @option{-flto} with
-@option{-g} is currently experimental and expected to produce unexpected
-results.
+information on systems other than those using a combination of ELF and
+DWARF.
If you specify the optional @var{n}, the optimization and code
generation done at link time is executed in parallel using @var{n}
@command{gcc-nm}, @command{gcc-ranlib} wrappers to pass the right options
to these tools. With non fat LTO makefiles need to be modified to use them.
+Note that modern binutils provide plugin auto-load mechanism.
+Installing the linker plugin into @file{$libdir/bfd-plugins} has the same
+effect as usage of the command wrappers (@command{gcc-ar}, @command{gcc-nm} and
+@command{gcc-ranlib}).
+
The default is @option{-fno-fat-lto-objects} on targets with linker plugin
support.
produces code optimized for the local machine under the constraints
of the selected instruction set.
+@item x86-64
+A generic CPU with 64-bit extensions.
+
@item i386
Original Intel i386 CPU@.