From 4d5845824e8761937a3ab8bfda8d04c5247a7f6f Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Fri, 30 May 2014 09:11:30 +1000 Subject: [PATCH] bsps/gdbarmsim: Add the missing bspstarthooks.c. --- .../arm/gdbarmsim/startup/bspstarthooks.c | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c diff --git a/c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c b/c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c new file mode 100644 index 0000000000..996d35859d --- /dev/null +++ b/c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c @@ -0,0 +1,20 @@ +/* + * Copyright (c) 2014 Chris Johns All rights reserved. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.org/license/LICENSE. + */ + +#include +#include +# +BSP_START_TEXT_SECTION void bsp_start_hook_0(void) +{ +} + +BSP_START_TEXT_SECTION void bsp_start_hook_1(void) +{ + bsp_start_copy_sections(); + bsp_start_clear_bss(); +}