[rtems commit] libdebugger: Avoid use of <bsp/linker-symbols.h>
Sebastian Huber
sebh at rtems.org
Wed Dec 13 08:07:55 UTC 2017
Module: rtems
Branch: master
Commit: 6ad3f4714370e652d972c64c02b65d42789b346f
Changeset: http://git.rtems.org/rtems/commit/?id=6ad3f4714370e652d972c64c02b65d42789b346f
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Dec 13 08:42:07 2017 +0100
libdebugger: Avoid use of <bsp/linker-symbols.h>
Update #3254.
---
cpukit/libdebugger/rtems-debugger-arm.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/cpukit/libdebugger/rtems-debugger-arm.c b/cpukit/libdebugger/rtems-debugger-arm.c
index 6e5c9dc..722dd54 100644
--- a/cpukit/libdebugger/rtems-debugger-arm.c
+++ b/cpukit/libdebugger/rtems-debugger-arm.c
@@ -37,8 +37,6 @@
#include <rtems.h>
#include <rtems/score/threadimpl.h>
-#include <bsp/linker-symbols.h>
-
#include "rtems-debugger-target.h"
#include "rtems-debugger-threads.h"
@@ -946,6 +944,10 @@ target_exception_data_abort(void)
*/
static uint32_t text_section_flags;
+/* Defined by linkcmds.base */
+extern char bsp_section_text_begin[];
+extern char bsp_section_text_end[];
+
static void
rtems_debugger_target_set_vectors(void)
{
More information about the vc
mailing list