defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot.
authorRichard Henderson <rth@redhat.com>
Tue, 13 Apr 2004 23:31:10 +0000 (16:31 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 13 Apr 2004 23:31:10 +0000 (16:31 -0700)
        * defaults.h (HOT_TEXT_SECTION_NAME): Add leading dot.
        (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise.
        * doc/invoke.texi: Update to match.

From-SVN: r80668

gcc/ChangeLog
gcc/defaults.h
gcc/doc/invoke.texi

index 7f60022e9618cb0097d383d0af00097052425c30..dc01a689367649c49dc55dc4bf6a4c4d6d23e2dc 100644 (file)
@@ -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
index 697ed8eca0ca1af47ae7e11d975ab17ed2c29327..5867291460bdc4b0c5036fc39e50de97a1ed9560 100644 (file)
@@ -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
index 83845f0ea40b070aaee6253d568f46c05ec7841e..65810252458a592957edec6620d4c15d7672b3fc 100644 (file)
@@ -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.