treewide: remove FSF address
[osmocom-bb.git] / src / target / firmware / include / ctors.h
blobee4c7b3e9a349d47cb1e2f31159994cb322f5bc1
1 #ifndef _CTORS_H
2 #define _CTORS_H
4 #if 0
5 /* only supported by gcc 3.4 or later */
6 #define __ctor_data __attribute__ ((constructor) (100))
7 #define __ctor_board __attribute__ ((constructor) (200))
8 #else
9 #define __ctor_data __attribute__ ((constructor))
10 #define __ctor_board __attribute__ ((constructor))
11 #endif
13 /* iterate over list of constructor functions and call each element */
14 void do_global_ctors(const char *ctors_start, const char *ctors_end);
16 #endif