summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@joyent.com>2013-07-24 22:08:42 +0000
committerRobert Mustacchi <rm@joyent.com>2013-07-24 22:08:42 +0000
commit2c272de83f112c23b4e57aa427e2cc656539e76e (patch)
tree4d433e38dd003b0d16f7815f8f8fdebe24bdd8f9
parentb034663e3b02babe0051b61f6782e7bfb5b7b9b4 (diff)
downloadillumos-joyent-2c272de83f112c23b4e57aa427e2cc656539e76e.tar.gz
OS-2393 crtn was not properly updated for the crti changes
Reviewed by: Keith M Wesolowski <wesolows@foobazco.org>
-rw-r--r--usr/src/lib/common/i386/crtn.s6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr/src/lib/common/i386/crtn.s b/usr/src/lib/common/i386/crtn.s
index 6e37e25a8f..975d1dba09 100644
--- a/usr/src/lib/common/i386/crtn.s
+++ b/usr/src/lib/common/i386/crtn.s
@@ -23,6 +23,9 @@
* Copyright (c) 2001 by Sun Microsystems, Inc.
* All rights reserved.
*/
+/*
+ * Copyright (c) 2013, Joyent, Inc. All rights reserved.
+ */
/*
* These crt*.o modules are provided as the bare minimum required
@@ -33,7 +36,6 @@
*
* For further details - see bug#4433015
*/
- .ident "%Z%%M% %I% %E% SMI"
.file "crtn.s"
/*
@@ -41,6 +43,7 @@
*/
.section .init,"ax"
+ addl $4, %esp / Undo stack alignment from crti.s
popl %ebx
leave
ret
@@ -50,6 +53,7 @@
*/
.section .fini,"ax"
+ addl $4, %esp / Undo stack alignment from crti.s
popl %ebx
leave
ret