Commit 73ad3de5 by Richard Henderson Committed by Richard Henderson

varasm.c (unlikely_text_section): Use assemble_align instead of ASM_OUTPUT_ALIGN.

        * varasm.c (unlikely_text_section): Use assemble_align instead of
        ASM_OUTPUT_ALIGN.  Use it in the correct place with an approximately
        correct alignment argument.

From-SVN: r80669
parent 3a4bdd05
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
(UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise. (UNLIKELY_EXECUTED_TEXT_SECTION_NAME): Likewise.
* doc/invoke.texi: Update to match. * doc/invoke.texi: Update to match.
* varasm.c (unlikely_text_section): Use assemble_align instead of
ASM_OUTPUT_ALIGN. Use it in the correct place with an approximately
correct alignment argument.
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
......
...@@ -228,7 +228,6 @@ unlikely_text_section (void) ...@@ -228,7 +228,6 @@ unlikely_text_section (void)
{ {
in_section = in_unlikely_executed_text; in_section = in_unlikely_executed_text;
fprintf (asm_out_file, "%s\n", TEXT_SECTION_ASM_OP); fprintf (asm_out_file, "%s\n", TEXT_SECTION_ASM_OP);
ASM_OUTPUT_ALIGN (asm_out_file, 2);
} }
if (!unlikely_section_label_printed) if (!unlikely_section_label_printed)
...@@ -236,6 +235,10 @@ unlikely_text_section (void) ...@@ -236,6 +235,10 @@ unlikely_text_section (void)
fprintf (asm_out_file, "__%s_unlikely_section:\n", fprintf (asm_out_file, "__%s_unlikely_section:\n",
current_function_name ()); current_function_name ());
unlikely_section_label_printed = true; unlikely_section_label_printed = true;
/* Make sure that we have approprate alignment for instructions
in this section. */
assemble_align (FUNCTION_BOUNDARY);
} }
} }
} }
......
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