|
@@ -33,41 +33,6 @@
|
|
argc <--- esp
|
|
argc <--- esp
|
|
}
|
|
}
|
|
|
|
|
|
-{
|
|
|
|
- This file is part of the Free Pascal run time library.
|
|
|
|
- Copyright (c) 2005 by Michael Van Canneyt, Peter Vreman,
|
|
|
|
- & Daniel Mantione, members of the Free Pascal development team.
|
|
|
|
-
|
|
|
|
- See the file COPYING.FPC, included in this distribution,
|
|
|
|
- for details about the copyright.
|
|
|
|
-
|
|
|
|
- This program is distributed in the hope that it will be useful,
|
|
|
|
- but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
-
|
|
|
|
- **********************************************************************}
|
|
|
|
-
|
|
|
|
-{
|
|
|
|
- Linux ELF startup code for Free Pascal
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- Stack layout at program start:
|
|
|
|
-
|
|
|
|
- nil
|
|
|
|
- envn
|
|
|
|
- ....
|
|
|
|
- .... ENVIRONMENT VARIABLES
|
|
|
|
- env1
|
|
|
|
- env0
|
|
|
|
- nil
|
|
|
|
- argn
|
|
|
|
- ....
|
|
|
|
- .... COMMAND LINE OPTIONS
|
|
|
|
- arg1
|
|
|
|
- arg0
|
|
|
|
- argc <--- esp
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
{$asmmode att}
|
|
{$asmmode att}
|
|
|
|
|
|
{ Some helpers }
|
|
{ Some helpers }
|