Back to index

glibc  2.9
Functions
initfini.c File Reference

Go to the source code of this file.

Functions

 __asm__ ("\n\n""#include \"defs.h\"\n""\n""/*@HEADER_ENDS*/\n""\n""/*@_init_PROLOG_BEGINS*/\n")
static void __attribute__ ((used))
 __asm__ (".section .init_array, \"aw\"\n""\tdata8 @fptr(gmon_initializer)\n")
 __asm__ (".section .init\n"" .global _init#\n"" .proc _init#\n""_init:\n"" .prologue\n"" .save ar.pfs, r34\n"" alloc r34 = ar.pfs, 0, 3, 0, 0\n"" .vframe r32\n"" mov r32 = r12\n"" .save rp, r33\n"" mov r33 = b0\n"" .body\n"" adds r12 = -16, r12\n"" ;;\n"" .endp _init#\n""\n""/*@_init_PROLOG_ENDS*/\n""\n""/*@_init_EPILOG_BEGINS*/\n"" .section .init\n"" .proc _init#\n""_init:\n"" .prologue\n"" .save ar.pfs, r34\n"" .vframe r32\n"" .save rp, r33\n"" .body\n"" .regstk 0,2,0,0\n"" mov r12 = r32\n"" mov ar.pfs = r34\n"" mov b0 = r33\n"" br.ret.sptk.many b0\n"" .endp _init#\n""/*@_init_EPILOG_ENDS*/\n""\n""/*@_fini_PROLOG_BEGINS*/\n"" .section .fini\n"" .global _fini#\n"" .proc _fini#\n""_fini:\n"" .prologue\n"" .save ar.pfs, r34\n"" alloc r34 = ar.pfs, 0, 3, 0, 0\n"" .vframe r32\n"" mov r32 = r12\n"" .save rp, r33\n"" mov r33 = b0\n"" .body\n"" adds r12 = -16, r12\n"" ;;\n"" .endp _fini#\n""\n""/*@_fini_PROLOG_ENDS*/\n"" br.call.sptk.many b0 = i_am_not_a_leaf# ;;\n"" ;;\n""\n""/*@_fini_EPILOG_BEGINS*/\n"" .section .fini\n"" .proc _fini#\n""_fini:\n"" .prologue\n"" .save ar.pfs, r34\n"" .vframe r32\n"" .save rp, r33\n"" .body\n"" mov r12 = r32\n"" mov ar.pfs = r34\n"" mov b0 = r33\n"" br.ret.sptk.many b0\n"" .endp _fini#\n""\n""/*@_fini_EPILOG_ENDS*/\n""\n""/*@TRAILER_BEGINS*/\n")

Function Documentation

__asm__ ( "\n\n""#include \"defs.h\"\n""\n""/*@HEADER_ENDS*/\n""\n""/*@_init_PROLOG_BEGINS*/\n )
__asm__ ( ".section .  init_array,
\"aw\"\n""\tdata8 @fptr(gmon_initializer)\n  
)
__asm__ ( ".section .init\n"" .global _init#\n"" .proc _init#\n""_init:\n"" .prologue\n"" .save ar.  pfs,
r34\n""alloc  r34 = ar.pfs,
,
,
,
0\n"".vframe r32\n""mov  r32 = r12\n"" .save rp,
r33\n""mov  r33 = b0\n"" .body\n"" adds r12 = -16,
r12\n"";;\n"".endp _init#\n""\n""/*@_init_PROLOG_ENDS */\n""\n""/*@_init_EPILOG_BEGINS */\n"".section.init\n"".proc _init#\n""_init:\n"".prologue\n"".save ar.  pfs,
r34\n"".vframe r32\n"".save  rp,
r33\n"".body\n"".regstk  0,
,
,
0\n""mov  r12 = r32\n"" mov ar.pfs = r34\n"" mov b0 = r33\n"" br.ret.sptk.many b0\n"" .endp _init#\n""/*@_init_EPILOG_ENDS*/\n""\n""/*@_fini_PROLOG_BEGINS*/\n"" .section .fini\n"" .global _fini#\n"" .proc _fini#\n""_fini:\n"" .prologue\n"" .save ar.pfs,
r34\n""alloc  r34 = ar.pfs,
,
,
,
0\n"".vframe r32\n""mov  r32 = r12\n"" .save rp,
r33\n""mov  r33 = b0\n"" .body\n"" adds r12 = -16,
r12\n"";;\n"".endp _fini#\n""\n""/*@_fini_PROLOG_ENDS */\n""br.call.sptk.many  b0 = i_am_not_a_leaf# ;;\n"" ;;\n""\n""/*@_fini_EPILOG_BEGINS*/\n"" .section .fini\n"" .proc _fini#\n""_fini:\n"" .prologue\n"" .save ar.pfs,
r34\n"".vframe r32\n"".save  rp 
)
static void __attribute__ ( (used)  ) [static]

Definition at line 65 of file initfini.c.

{
  extern void weak_function __gmon_start__ (void);

  if (__gmon_start__)
    (*__gmon_start__)();
}

Here is the call graph for this function: