[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

.init and .fini sections



Bassem Fahmy wrote:
>  
> what are these sections? they appear in the arm bsp linker scripts 
> before and after the etext sections. are they for c++ constructors and 
> destructors? if i'm disabling cxx do i still need these sections?
>  

Yes they are for C++. If you do not use C++ they will be empty and nothing 
will happen.

They are provided in case you link to a 3rd party library that is written in C++.

Regards
Chris