|
@@ -84,6 +84,7 @@ call_gmon_start(void)
|
|
|
SECTION (".init")
|
|
|
HIDDEN(_init)
|
|
|
|
|
|
+extern void i_am_not_a_leaf (void);
|
|
|
extern void _init (void);
|
|
|
void _init (void)
|
|
|
{
|
|
@@ -101,7 +102,6 @@ void _init (void)
|
|
|
/* Let GCC know that _init is not a leaf function by having a dummy
|
|
|
* function call here. We arrange for this call to be omitted from
|
|
|
* either crt file. */
|
|
|
- extern void i_am_not_a_leaf (void);
|
|
|
i_am_not_a_leaf ();
|
|
|
}
|
|
|
asm ("\n/*@_init_PROLOG_UNPAUSES*/");
|
|
@@ -121,6 +121,7 @@ asm ("\n/*@_fini_PROLOG_BEGINS*/");
|
|
|
SECTION (".fini")
|
|
|
HIDDEN(_fini)
|
|
|
|
|
|
+extern void i_am_not_a_leaf2 (void);
|
|
|
extern void _fini (void);
|
|
|
void _fini (void)
|
|
|
{
|
|
@@ -134,7 +135,6 @@ void _fini (void)
|
|
|
/* Let GCC know that _fini is not a leaf function by having a dummy
|
|
|
function call here. We arrange for this call to be omitted from
|
|
|
either crt file. */
|
|
|
- extern void i_am_not_a_leaf2 (void);
|
|
|
i_am_not_a_leaf2 ();
|
|
|
}
|
|
|
|