From 3e8cb558565b9aef410e4d2e7b9c1444534ddb99 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 7 Feb 2005 01:52:27 +0000 Subject: [PATCH] re PR other/17135 (-freorder-functions mis-documented) PR other/17135 * doc/invoke.texi: Correct documentation of -freorder-functions. From-SVN: r94689 --- gcc/ChangeLog | 5 +++++ gcc/doc/invoke.texi | 4 ++-- 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 + + PR other/17135 + * doc/invoke.texi: Correct documentation of -freorder-functions. + 2005-02-06 Joseph S. Myers 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 -- 2.30.2