summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/arm/gdbarmsim
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2014-05-30 09:11:30 +1000
committerChris Johns <chrisj@rtems.org>2014-05-30 09:11:30 +1000
commit4d5845824e8761937a3ab8bfda8d04c5247a7f6f (patch)
tree41488bfeaec01ff8ca1343ec5258ca49d8923bae /c/src/lib/libbsp/arm/gdbarmsim
parentRevert "Ignore emacs backfiles and TAGS." (diff)
downloadrtems-4d5845824e8761937a3ab8bfda8d04c5247a7f6f.tar.bz2
bsps/gdbarmsim: Add the missing bspstarthooks.c.
Diffstat (limited to 'c/src/lib/libbsp/arm/gdbarmsim')
-rw-r--r--c/src/lib/libbsp/arm/gdbarmsim/startup/bspstarthooks.c20
1 files changed, 20 insertions, 0 deletions
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 <chrisj@rtems.org> 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 <bsp.h>
+#include <bsp/start.h>
+#
+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();
+}