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

« back to all changes in this revision

Viewing changes to rtl/linux/sparc/prt0.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
 
#   $Id: prt0.as,v 1.9 2004/07/05 21:07:38 florian Exp $
2
1
/* Startup code for elf32-sparc
3
2
   Copyright (C) 1997, 1998 Free Software Foundation, Inc.
4
3
   This file is part of the GNU C Library.
50
49
        or      %o1,%lo(operatingsystem_parameter_envp),%o1
51
50
        st      %o2, [%o1]
52
51
 
 
52
    /* Save initial stackpointer */
 
53
        sethi   %hi(__stkptr),%o1
 
54
        or      %o1,%lo(__stkptr),%o1
 
55
        st      %sp, [%o1]
 
56
 
53
57
        /* Call the user program entry point.  */
54
58
        call    PASCALMAIN
55
59
        nop
68
72
 
69
73
        .size _start, .-_start
70
74
 
 
75
        .comm __stkptr,4
 
76
 
71
77
        .comm operatingsystem_parameter_envp,4
72
78
        .comm operatingsystem_parameter_argc,4
73
79
        .comm operatingsystem_parameter_argv,4
74
 
 
75
 
#
76
 
# $Log: prt0.as,v $
77
 
# Revision 1.9  2004/07/05 21:07:38  florian
78
 
#   * remade makefile (too old fpcmake)
79
 
#   * fixed sparc startup code
80
 
#
81
 
# Revision 1.8  2004/07/03 21:50:31  daniel
82
 
#   * Modified bootstrap code so separate prt0.as/prt0_10.as files are no
83
 
#     longer necessary
84
 
#
85
 
# Revision 1.7  2004/05/27 23:15:02  peter
86
 
#   * startup argc,argv,envp fix
87
 
#   * stat fixed
88
 
#
89
 
# Revision 1.6  2004/05/17 20:56:56  peter
90
 
#   * use ldsh to load exitcode
91
 
#
92
 
# Revision 1.5  2004/03/16 10:19:11  mazen
93
 
# + _haltproc definition for linux/sparc
94
 
#
95
 
# Revision 1.4  2003/06/02 22:03:37  mazen
96
 
# *making init and fini symbols compatible FPC code by
97
 
#  changing  _init ==> fpc_initialize
98
 
#  and _fini ==> fpc_finalize
99
 
#
100
 
# Revision 1.3  2002/11/18 19:03:46  mazen
101
 
# * start code of gcc adapted for FPC
102
 
#
103