This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [WEB][PATCH] Describe -pg and LTO changes
- From: Gerald Pfeifer <gerald at pfeifer dot com>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 8 Apr 2015 18:41:41 +0200 (CEST)
- Subject: Re: [WEB][PATCH] Describe -pg and LTO changes
- Authentication-results: sourceware.org; auth=none
- References: <20141116200245 dot GA10567 at basil dot fritz dot box>
On Sun, 16 Nov 2014, Andi Kleen wrote:
> This patch describes some user visible changes that were
> added to gcc 5.
Thanks, Andi!
I added some <code> environments, broke up a long one, changed
"a LTO build" to "an LTO build",
Index: changes.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.html,v
retrieving revision 1.97
diff -u -r1.97 changes.html
--- changes.html 8 Apr 2015 07:26:23 -0000 1.97
+++ changes.html 8 Apr 2015 16:39:59 -0000
@@ -330,7 +330,8 @@
about qualifiers on pointers being discarded via a new warning option
<code>-Wno-discarded-qualifiers</code>.</li>
<li>The C front end now generates more precise caret diagnostics.</li>
- <li>The -pg option now only affects the current file in a LTO build.</li>
+ <li>The <code>-pg</code> command-line option now only affects the current
+ file in an LTO build.</li>
</ul>
<h3 id="cxx">C++</h3>
@@ -684,12 +685,13 @@
<code>-mavx512ifma</code> and for AVX-512 Vector Bit Manipulation
Instructions: <code>-mavx512vbmi</code>.</li>
<li>The new <code>-mrecord-mcount</code> option for <code>-pg</code>
- generates a Linux kernel style table of pointers to mcount or
- __fentry__ calls at the beginning of functions. The new
- <code>-mnop-mcount</code> option in addition also generates nops in
- place of the __fentry__ or mcount call, so that a call per function
- can be later patched in. This can be used for low overhead tracing or
- hot code patching.</li>
+ generates a Linux kernel style table of pointers to
+ <code>mcount</code> or <code>__fentry__</code> calls at the beginning
+ of functions. The new <code>-mnop-mcount</code> option in addition
+ also generates nops in place of the <code>__fentry__</code> or
+ <code>mcount</code> call, so that a call per function can be later
+ patched in. This can be used for low overhead tracing or hot code
+ patching.</li>
<li>The new <code>-malign-data</code> option controls how
GCC aligns variables. <code>-malign-data=compat</code> uses
increased alignment compatible with GCC 4.8 and earlier,
@@ -838,8 +840,9 @@
<h2>Other significant improvements</h2>
<h3 id="gcc-ar"></h3>
<ul>
- <li>The <code>gcc-ar, gcc-nm, gcc-ranlib</code> wrappers now
- understand a <code>-B</code> option to set the compiler to use.</li>
+ <li>The <code>gcc-ar</code>, <code>gcc-nm</code>, <code>gcc-ranlib</code>
+ wrappers now understand a <code>-B</code> option to set the compiler
+ to use.</li>
</ul>
<h3 id="driver"></h3>
<ul>