aboutsummaryrefslogtreecommitdiff
path: root/gcc/varasm.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2004-04-13 16:31:56 -0700
committerRichard Henderson <rth@gcc.gnu.org>2004-04-13 16:31:56 -0700
commit73ad3de533055fc656541fa0bb1c501d6b48cb09 (patch)
tree5b5bdc4e0d483212c9e4388bbb5cf2aa47107e24 /gcc/varasm.c
parent3a4bdd05587f48b8a01ac160489d44188bc3a9e7 (diff)
downloadgcc-73ad3de533055fc656541fa0bb1c501d6b48cb09.zip
gcc-73ad3de533055fc656541fa0bb1c501d6b48cb09.tar.gz
gcc-73ad3de533055fc656541fa0bb1c501d6b48cb09.tar.bz2
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
Diffstat (limited to 'gcc/varasm.c')
-rw-r--r--gcc/varasm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/varasm.c b/gcc/varasm.c
index 780bba8..c94d514 100644
--- a/gcc/varasm.c
+++ b/gcc/varasm.c
@@ -228,7 +228,6 @@ unlikely_text_section (void)
{
in_section = in_unlikely_executed_text;
fprintf (asm_out_file, "%s\n", TEXT_SECTION_ASM_OP);
- ASM_OUTPUT_ALIGN (asm_out_file, 2);
}
if (!unlikely_section_label_printed)
@@ -236,6 +235,10 @@ unlikely_text_section (void)
fprintf (asm_out_file, "__%s_unlikely_section:\n",
current_function_name ());
unlikely_section_label_printed = true;
+
+ /* Make sure that we have approprate alignment for instructions
+ in this section. */
+ assemble_align (FUNCTION_BOUNDARY);
}
}
}