From 563ec40ca81867c0d1cea1ae0f2381bfe832af24 Mon Sep 17 00:00:00 2001 From: Mystery Man Date: Wed, 13 Aug 2003 10:49:24 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'V9_2_0_29mdk'. --- mdk-stage1/dietlibc/ppc/start.S | 42 ----------------------------------------- 1 file changed, 42 deletions(-) delete mode 100644 mdk-stage1/dietlibc/ppc/start.S (limited to 'mdk-stage1/dietlibc/ppc/start.S') diff --git a/mdk-stage1/dietlibc/ppc/start.S b/mdk-stage1/dietlibc/ppc/start.S deleted file mode 100644 index 7b2aed7fb..000000000 --- a/mdk-stage1/dietlibc/ppc/start.S +++ /dev/null @@ -1,42 +0,0 @@ -.text -.global _start -.type _start,@function -_start: - /* Save the stack pointer, in case we're statically linked under Linux. */ - mr 9,1 - /* Set up an initial stack frame, and clear the LR. */ - clrrwi 1,1,4 - li 0,0 - stwu 1,-16(1) - mtlr 0 - stw 0,0(1) - - /* r9 contains the initial stack pointer - argc = (r9) - argv = (r9+4) - envp = argv+(argc+1)*4 */ - - lwzu 3,0(9) /* argc */ - addi 4,9,4 /* argv */ - add 5,0,3 /* argc... */ - addi 5,5,1 /* argc+1...*/ - slwi 5,5,2 /* (argc+1)*4 */ - add 5,5,4 /* argv+(argc+1)*4 */ - - lis 14,environ@ha - stw 5,environ@l(14) - -#ifdef WANT_DYNAMIC - mr 6,7 - bl _dyn_start -#else - bl main -#endif - b exit -.size _start,.-_start - - -/* Define a symbol for the first piece of initialized data. */ - .section ".data" -__data_start: - -- cgit v1.2.1