• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * gcc -c -std=c89 -mtune=generic -march=x86-64 crti.c
3  *
4  * NOTE: linking with _old_ crti.o exposes _init and _fini as
5  *       global symbols, the newer versions don't.
6  *
7  * 0000000000000000 g     F .init  0000000000000000 .hidden _init
8  * 0000000000000000 g     F .fini  0000000000000000 .hidden _fini
9  *
10  * So this is a dummy c-runtime object.
11  *
12  */
13 
14 void __attribute__((visibility("default")))
_init(void)15 _init(void)
16 {
17 }
18 
19 void __attribute__((visibility("default")))
_fini(void)20 _fini(void)
21 {
22 }
23