aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-02-07 01:52:27 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-02-07 01:52:27 +0000
commit3e8cb558565b9aef410e4d2e7b9c1444534ddb99 (patch)
treeb65c85dd16a3e596a17cb05cff77af853aed8d66
parentee86feafba09f78f8d4b344dde6da94981ace0d4 (diff)
downloadgcc-3e8cb558565b9aef410e4d2e7b9c1444534ddb99.zip
gcc-3e8cb558565b9aef410e4d2e7b9c1444534ddb99.tar.gz
gcc-3e8cb558565b9aef410e4d2e7b9c1444534ddb99.tar.bz2
re PR other/17135 (-freorder-functions mis-documented)
PR other/17135 * doc/invoke.texi: Correct documentation of -freorder-functions. From-SVN: r94689
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index a52f477..7350bc6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-07 Joseph S. Myers <joseph@codesourcery.com>
+
+ PR other/17135
+ * doc/invoke.texi: Correct documentation of -freorder-functions.
+
2005-02-06 Joseph S. Myers <joseph@codesourcery.com>
PR other/14402
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index e265017..43ef1c3 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -4837,8 +4837,8 @@ sections.
@item -freorder-functions
@opindex freorder-functions
-Reorder basic blocks in the compiled function in order to reduce number of
-taken branches and improve code locality. This is implemented by using special
+Reorder functions in the object file in order to
+improve code locality. This is implemented by using special
subsections @code{.text.hot} for most frequently executed functions and
@code{.text.unlikely} for unlikely executed functions. Reordering is done by
the linker so object file format must support named sections and linker must