~ubuntu-branches/ubuntu/feisty/fpc/feisty

« back to all changes in this revision

Viewing changes to rtl/linux/i386/cprt21.as

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2007-01-27 20:08:50 UTC
  • mfrom: (1.2.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070127200850-9mrptaqqjsx9nwa7
Tags: 2.0.4-5
* Fixed Build-Depends.
* Add myself to Uploaders in debian/control.
* Make sure that the sources are really patched before building them.
* Build unit 'libc' on powerpc too.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
#   $Id: cprt21.as,v 1.6 2004/07/03 21:50:31 daniel Exp $
3
2
#   This file is part of the Free Pascal run time library.
4
3
#   Copyright (c) 1999-2000 by Michael Van Canneyt and Peter Vreman
5
4
#   members of the Free Pascal development team.
74
73
        movl    %ebp,___fpc_ret_ebp
75
74
        pushl   %eax
76
75
 
 
76
        /* Save initial stackpointer */
 
77
        movl    %esp,__stkptr
 
78
 
77
79
        /* start the program */
78
80
        xorl    %ebp,%ebp
79
81
        call    PASCALMAIN
103
105
        .long   0
104
106
 
105
107
.bss
106
 
        .type   ___fpc_brk_addr,@object
107
 
        .comm   ___fpc_brk_addr,4        /* heap management */
108
 
 
109
 
        .comm operatingsystem_parameter_envp,4
110
 
        .comm operatingsystem_parameter_argc,4
111
 
        .comm operatingsystem_parameter_argv,4
112
 
 
113
 
 
114
 
#
115
 
# $Log: cprt21.as,v $
116
 
# Revision 1.6  2004/07/03 21:50:31  daniel
117
 
#   * Modified bootstrap code so separate prt0.as/prt0_10.as files are no
118
 
#     longer necessary
119
 
#
120
 
# Revision 1.5  2002/09/07 16:01:20  peter
121
 
#   * old logs removed and tabs fixed
122
 
#
 
108
        .type   __stkptr,@object
 
109
        .size   __stkptr,4
 
110
        .global __stkptr
 
111
__stkptr:
 
112
        .skip   4
 
113
 
 
114
        .type operatingsystem_parameters,@object
 
115
        .size operatingsystem_parameters,12
 
116
operatingsystem_parameters:
 
117
        .skip 3*4
 
118
 
 
119
        .global operatingsystem_parameter_envp
 
120
        .global operatingsystem_parameter_argc
 
121
        .global operatingsystem_parameter_argv
 
122
        .set operatingsystem_parameter_envp,operatingsystem_parameters+0
 
123
        .set operatingsystem_parameter_argc,operatingsystem_parameters+4
 
124
        .set operatingsystem_parameter_argv,operatingsystem_parameters+8