home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / gcc / config / sparc / sol2-ci.asm < prev    next >
Assembly Source File  |  1995-06-15  |  2KB  |  61 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, 59 Temple Place - Suite 330,
  23. ! Boston, MA 02111-1307, USA.
  24. !    As a special exception, if you link this library with files
  25. !    compiled with GCC to produce an executable, this does not cause
  26. !    the resulting executable to be covered by the GNU General Public License.
  27. !    This exception does not however invalidate any other reasons why
  28. !    the executable file might be covered by the GNU General Public License.
  29.  
  30. ! This file just make a stack frame for the contents of the .fini and
  31. ! .init sections.  Users may put any desired instructions in those
  32. ! sections.
  33.  
  34. ! This file is linked in before the Values-Xx.o files and also before
  35. ! crtbegin, with which perhaps it should be merged.
  36.  
  37.     .file        "crti.s"
  38.  
  39.     .section    ".init"
  40.     .proc    022
  41.     .global    _init
  42.     .type    _init,#function
  43.     .align    4
  44. _init:
  45.     save    %sp, -96, %sp
  46.  
  47.  
  48.     .section    ".fini"
  49.     .proc    022
  50.     .global    _fini
  51.     .type    _fini,#function
  52.     .align    4
  53. _fini:
  54.     save    %sp, -96, %sp
  55.