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

« back to all changes in this revision

Viewing changes to rtl/linux/sparc/gprt0.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
 
/*
2
 
  $Id: gprt0.as,v 1.4 2004/11/05 21:36:36 florian Exp $
3
 
*/
4
1
        .section ".text"
5
2
        .align 4
6
3
        .global _start
32
29
        or      %o1,%lo(operatingsystem_parameter_envp),%o1
33
30
        st      %o2, [%o1]
34
31
 
 
32
    /* Save initial stackpointer */
 
33
        sethi   %hi(__stkptr),%o1
 
34
        or      %o1,%lo(__stkptr),%o1
 
35
        st      %sp, [%o1]
 
36
 
35
37
  /* reload the addresses for C startup code  */
36
38
        ld      [%sp+22*4], %o1
37
39
        add     %sp, 23*4, %o2
95
97
 
96
98
.data
97
99
 
98
 
        .comm   ___fpc_brk_addr,4        /* heap management */
 
100
        .comm __stkptr,4
99
101
 
100
102
        .comm operatingsystem_parameter_envp,4
101
103
        .comm operatingsystem_parameter_argc,4
102
104
        .comm operatingsystem_parameter_argv,4
103
 
/*
104
 
  $Log: gprt0.as,v $
105
 
  Revision 1.4  2004/11/05 21:36:36  florian
106
 
    * initial implementation
107
 
 
108
 
  Revision 1.3  2003/05/23 21:09:14  florian
109
 
    + dummy implementation readded to satisfy makefile
110
 
*/