home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / D / LIBC / LIBC-4.6 / LIBC-4 / libc-linux / sysdeps / linux / i386 / crt / gcrtn.S < prev    next >
Encoding:
Text File  |  1994-11-09  |  397 b   |  21 lines

  1. # This file contains stuff that goes at the end of the .init and .fini
  2. # sections.  The idea is that the linker simply strings together the init
  3. # sections from the various input files, and this end up at the end.
  4.  
  5.  
  6.     .section .init
  7. /*
  8.  *    Setup profiling
  9.  */
  10.     pushl $_mcleanup
  11.     call atexit
  12.     addl $4,%esp
  13.     pushl $_etext
  14.     pushl $_start
  15.     call monstartup
  16.     addl $8,%esp
  17.     ret $0
  18.  
  19.     .section .fini
  20.     ret $0
  21.