mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-22 11:59:41 +08:00
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
This commit is contained in:
parent
b50b729d4d
commit
3a4bdd0558
@ -3,6 +3,10 @@
|
||||
* bb-reorder.c (fix_crossing_unconditional_branches): Use Pmode
|
||||
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>
|
||||
|
||||
* reload1.c (emit_reload_insns): Set reg_has_output_reload to one
|
||||
|
@ -620,7 +620,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
|
||||
#endif
|
||||
|
||||
#ifndef HOT_TEXT_SECTION_NAME
|
||||
#define HOT_TEXT_SECTION_NAME "text.hot"
|
||||
#define HOT_TEXT_SECTION_NAME ".text.hot"
|
||||
#endif
|
||||
|
||||
#ifndef NORMAL_TEXT_SECTION_NAME
|
||||
@ -628,7 +628,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
|
||||
#endif
|
||||
|
||||
#ifndef UNLIKELY_EXECUTED_TEXT_SECTION_NAME
|
||||
#define UNLIKELY_EXECUTED_TEXT_SECTION_NAME "text.unlikely"
|
||||
#define UNLIKELY_EXECUTED_TEXT_SECTION_NAME ".text.unlikely"
|
||||
#endif
|
||||
|
||||
#ifndef HAS_LONG_COND_BRANCH
|
||||
|
@ -4217,8 +4217,8 @@ paging and cache locality performance.
|
||||
@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
|
||||
subsections @code{text.hot} for most frequently executed functions and
|
||||
@code{text.unlikely} for unlikely executed functions. Reordering is done by
|
||||
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
|
||||
place them in a reasonable way.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user