summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a52f477851c..7350bc66106 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 e265017b480..43ef1c3e61e 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
OpenPOWER on IntegriCloud