home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 7 / FreshFishVol7.bin / bbs / gnu / gcc-2.3.3-src.lha / GNU / src / amiga / gcc-2.3.3 / config / sol2-ci.asm < prev    next >
Assembly Source File  |  1994-02-06  |  2KB  |  60 lines

  1. ! crti.s for solaris 2.0.
  2.  
  3. !   Copyright (C) 1992 Free Software Foundation, Inc.
  4. !   Written By David Vinayak Henkel-Wallace, June 1992
  5. ! This file is free software; you can redistribute it and/or modify it
  6. ! under the terms of the GNU General Public License as published by the
  7. ! Free Software Foundation; either version 2, or (at your option) any
  8. ! later version.
  9. ! In addition to the permissions in the GNU General Public License, the
  10. ! Free Software Foundation gives you unlimited permission to link the
  11. ! compiled version of this file with other programs, and to distribute
  12. ! those programs without any restriction coming from the use of this
  13. ! file.  (The General Public License restrictions do apply in other
  14. ! respects; for example, they cover modification of the file, and
  15. ! distribution when not linked into another program.)
  16. ! This file is distributed in the hope that it will be useful, but
  17. ! WITHOUT ANY WARRANTY; without even the implied warranty of
  18. ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  19. ! General Public License for more details.
  20. ! You should have received a copy of the GNU General Public License
  21. ! along with this program; see the file COPYING.  If not, write to
  22. ! the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  23. !    As a special exception, if you link this library with files
  24. !    compiled with GCC to produce an executable, this does not cause
  25. !    the resulting executable to be covered by the GNU General Public License.
  26. !    This exception does not however invalidate any other reasons why
  27. !    the executable file might be covered by the GNU General Public License.
  28.  
  29. ! This file just make a stack frame for the contents of the .fini and
  30. ! .init sections.  Users may put any desired instructions in those
  31. ! sections.
  32.  
  33. ! This file is linked in before the Values-Xx.o files and also before
  34. ! crtbegin, with which perhaps it should be merged.
  35.  
  36.     .file        "crti.s"
  37.  
  38.     .section    ".init"
  39.     .proc    022
  40.     .global    _init
  41.     .type    _init,#function
  42.     .align    4
  43. _init:
  44.     save    %sp, -96, %sp
  45.  
  46.  
  47.     .section    ".fini"
  48.     .proc    022
  49.     .global    _fini
  50.     .type    _fini,#function
  51.     .align    4
  52. _fini:
  53.     save    %sp, -96, %sp
  54.