Displaying 1 result from an estimated 1 matches for "end_init".
Did you mean:
send_init
2010 Feb 21
3
[LLVMdev] how to build eglibc using llvm-gcc without unsupported -fno-toplevel-reorder
...for functions. As result
gawk strips wrong parts into crt*.s.
Exmple initfini.c fragment:
asm (".section " ".init" );
extern void __attribute__ ((section (".init"))) _init (void);
void
_init (void)
{
call_gmon_start ();
asm ("ALIGN");
asm("END_INIT");
asm ("\n/*@_init_PROLOG_ENDS*/");
asm ("\n/*@_init_EPILOG_BEGINS*/");
asm (".section " ".init" );
}
asm ("END_INIT");
asm ("\n/*@_init_EPILOG_ENDS*/");
asm ("\n/*@_fini_PROLOG_BEGINS*/");
Regards,
Sergey Yako...