StuBS
libc.cc File Reference
#include "compiler/libc.h"
#include "types.h"
Include dependency graph for libc.cc:

Namespaces

namespace  CSU
 C StartUp (CSU) required by the compiler and provided by the c standard library.
 

Functions

void _init ()
 
void _fini ()
 
void CSU::initializer ()
 Call global constructors and initialization functions (this is usually done by __libc_csu_init)
 
void CSU::finalizer ()
 Call global destructors and finalizer functions (this is usually done by __libc_csu_fini)
 

Constants

void(* __preinit_array_start [])()
 Function pointer for initialization/finalization functions for global objects required since GCC 4.7 and later.
 
void(* __preinit_array_end [])()
 
void(* __init_array_start [])()
 
void(* __init_array_end [])()
 
void(* __fini_array_start [])()
 
void(* __fini_array_end [])()
 

Function Documentation

◆ _init()

void _init ( )

◆ _fini()

void _fini ( )

Variable Documentation

◆ __preinit_array_start

void(* __preinit_array_start[])() ( )
extern

Function pointer for initialization/finalization functions for global objects required since GCC 4.7 and later.

These symbols appear kind of magically due to the compiler

◆ __preinit_array_end

void(* __preinit_array_end[])() ( )
extern

◆ __init_array_start

void(* __init_array_start[])() ( )
extern

◆ __init_array_end

void(* __init_array_end[])() ( )
extern

◆ __fini_array_start

void(* __fini_array_start[])() ( )
extern

◆ __fini_array_end

void(* __fini_array_end[])() ( )
extern