summaryrefslogtreecommitdiff
path: root/csu
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-04-21 13:34:44 +0000
committerUlrich Drepper <drepper@redhat.com>1997-04-21 13:34:44 +0000
commite9e8bfe716f7200253d998a553e53aafc44bdacf (patch)
tree001cd13c4bfae455525625f09e6ab4e22f8f2b76 /csu
parente2d554858b9a291fb9b9515ed5f8dbc850d7ea11 (diff)
Place ALIGN instruction at correct positions.
Diffstat (limited to 'csu')
-rw-r--r--csu/initfini.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/csu/initfini.c b/csu/initfini.c
index 96ee7bc2ae..6906c901c4 100644
--- a/csu/initfini.c
+++ b/csu/initfini.c
@@ -76,12 +76,12 @@ _init (void)
if (__gmon_start__)
__gmon_start__ ();
+ asm ("ALIGN");
asm("END_INIT");
/* Now the epilog. */
asm ("\n/*@_init_PROLOG_ENDS*/");
asm ("\n/*@_init_EPILOG_BEGINS*/");
SECTION(".init");
- asm ("ALIGN");
}
asm ("END_INIT");
@@ -95,6 +95,7 @@ _fini (void)
{
/* End of the _fini prolog. */
+ asm ("ALIGN");
asm ("END_FINI");
asm ("\n/*@_fini_PROLOG_ENDS*/");
@@ -109,7 +110,6 @@ _fini (void)
/* Beginning of the _fini epilog. */
asm ("\n/*@_fini_EPILOG_BEGINS*/");
SECTION (".fini");
- asm ("ALIGN");
}
asm ("END_FINI");
@@ -117,6 +117,5 @@ asm ("END_FINI");
is shared between both crt files. */
asm ("\n/*@_fini_EPILOG_ENDS*/");
asm ("\n/*@TRAILER_BEGINS*/");
-asm ("ALIGN");
/* End of file. */