diff options
Diffstat (limited to 'libgloss/arm/crt0.S')
-rw-r--r-- | libgloss/arm/crt0.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libgloss/arm/crt0.S b/libgloss/arm/crt0.S index 86ee2cd7d..17e3fb6c9 100644 --- a/libgloss/arm/crt0.S +++ b/libgloss/arm/crt0.S @@ -77,6 +77,12 @@ .fnstart #endif +/* The init hook does not use the stack and is called before the stack has been set up. */ +#ifdef ARM_RDI_MONITOR + bl _rdimon_hw_init_hook + .weak FUNCTION (_rdimon_hw_init_hook) +#endif + /* Start by setting up a stack */ #ifdef ARM_RDP_MONITOR /* Issue Demon SWI to read stack info */ |