Update of /cvsroot/linux-vax/glibc/sysdeps/vax/elf
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6664/elf
Modified Files:
start.S
Log Message:
cleanup and pass _dl_fini to the main
Index: start.S
===================================================================
RCS file: /cvsroot/linux-vax/glibc/sysdeps/vax/elf/start.S,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- start.S 26 Feb 2004 11:35:35 -0000 1.6
+++ start.S 29 Feb 2004 07:44:26 -0000 1.7
@@ -19,7 +19,7 @@
/* clear the frame pointer */
movl $0, %fp
-
+ movl %r0, %r5
movl (%sp)+, %r4
movl %sp, %r3
/* r4 has argc in it .. add one to get over NULL
@@ -32,7 +32,7 @@
/* start to load the arguments from the stack */
/* arguments are on ap stack */
pushl %sp
- pushl $0
+ pushl %r5
pushl $_fini
pushl $_init
pushl %r3
|