Commit 3a4bdd05 by Richard Henderson Committed by Richard Henderson

defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot.

        * defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise.
        * doc/invoke.texi: Update to match.

From-SVN: r80668
parent b50b729d
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
* bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode * bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode
for LABEL_REFs. for LABEL_REFs.
* defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot.
(UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise.
* doc/invoke.texi: Update to match.
2004-04-13 Ulrich Weigand <uweigand@de.ibm.com> 2004-04-13 Ulrich Weigand <uweigand@de.ibm.com>
* reload1.c (emit_reload_insns): Set reg_has_output_reload to one * reload1.c (emit_reload_insns): Set reg_has_output_reload to one
......
...@@ -620,7 +620,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! ...@@ -620,7 +620,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#endif #endif
#ifndef HOT_TEXT_SECTION_NAME #ifndef HOT_TEXT_SECTION_NAME
#define HOT_TEXT_SECTION_NAME "text.hot" #define HOT_TEXT_SECTION_NAME ".text.hot"
#endif #endif
#ifndef NORMAL_TEXT_SECTION_NAME #ifndef NORMAL_TEXT_SECTION_NAME
...@@ -628,7 +628,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! ...@@ -628,7 +628,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#endif #endif
#ifndef UNLIKELY_EXECUTED_TEXT_SECTION_NAME #ifndef UNLIKELY_EXECUTED_TEXT_SECTION_NAME
#define UNLIKELY_EXECUTED_TEXT_SECTION_NAME "text.unlikely" #define UNLIKELY_EXECUTED_TEXT_SECTION_NAME ".text.unlikely"
#endif #endif
#ifndef HAS_LONG_COND_BRANCH #ifndef HAS_LONG_COND_BRANCH
......
...@@ -4217,8 +4217,8 @@ paging and cache locality performance. ...@@ -4217,8 +4217,8 @@ paging and cache locality performance.
@opindex freorder-functions @opindex freorder-functions
Reorder basic blocks in the compiled function in order to reduce number of 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 taken branches and improve code locality. This is implemented by using special
subsections @code{text.hot} for most frequently executed functions and subsections @code{.text.hot} for most frequently executed functions and
@code{text.unlikely} for unlikely executed functions. Reordering is done by @code{.text.unlikely} for unlikely executed functions. Reordering is done by
the linker so object file format must support named sections and linker must the linker so object file format must support named sections and linker must
place them in a reasonable way. place them in a reasonable way.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment