summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/dietlibc/i386/start.S
diff options
context:
space:
mode:
authorMystery Man <unknown@mandriva.org>2002-08-22 15:26:01 +0000
committerMystery Man <unknown@mandriva.org>2002-08-22 15:26:01 +0000
commitadd076e220fdffdeb6de5ae9a9efb6c7e3e0303e (patch)
tree956c3d91d4b8cfc7851ad7e02301fe5e6db1aa66 /mdk-stage1/dietlibc/i386/start.S
parent76761ff24d3358147c214490defbab4910201d73 (diff)
downloaddrakx-backup-do-not-use-add076e220fdffdeb6de5ae9a9efb6c7e3e0303e.tar
drakx-backup-do-not-use-add076e220fdffdeb6de5ae9a9efb6c7e3e0303e.tar.gz
drakx-backup-do-not-use-add076e220fdffdeb6de5ae9a9efb6c7e3e0303e.tar.bz2
drakx-backup-do-not-use-add076e220fdffdeb6de5ae9a9efb6c7e3e0303e.tar.xz
drakx-backup-do-not-use-add076e220fdffdeb6de5ae9a9efb6c7e3e0303e.zip
This commit was manufactured by cvs2svn to create tag 'V1_1_9_16mdk'.V1_1_9_16mdk
Diffstat (limited to 'mdk-stage1/dietlibc/i386/start.S')
-rw-r--r--mdk-stage1/dietlibc/i386/start.S42
1 files changed, 0 insertions, 42 deletions
diff --git a/mdk-stage1/dietlibc/i386/start.S b/mdk-stage1/dietlibc/i386/start.S
deleted file mode 100644
index 167bb779c..000000000
--- a/mdk-stage1/dietlibc/i386/start.S
+++ /dev/null
@@ -1,42 +0,0 @@
-#include "start.h"
-
-#ifdef __i386__
-.text
-.globl _start
-_start:
-#if 0
- popl %ecx
- movl %esp, %esi
- leal 4(%esp,%ecx,4),%eax
-#else
- movl (%esp),%ecx /* %ecx = argc */
- leal 4(%esp),%esi /* %esi = argv */
-
- leal 4(%esi,%ecx,4),%eax /* eax = 4*ecx+4 = envp */
-#endif
- pushl %eax
- pushl %esi
- pushl %ecx
- movl %eax,environ
-
-#ifdef WANT_DYNAMIC
-/* in %edx we have the dynamic _fini ( register this if non null ) */
- test %edx, %edx
- je .Linit
- push %edx
- call atexit
- pop %edx
-.Linit:
- call _init
- push $_fini
- call atexit
- pop %edx
-#endif
-
- call main
- pushl %eax
- call exit
-.Lfefe:
- .size _start,.Lfefe-_start
-#endif
-