From 9f2ced9cdac0617caf618e1a388f76541ba0bfca Mon Sep 17 00:00:00 2001 From: fros4943 Date: Tue, 23 Oct 2007 08:36:47 +0000 Subject: [PATCH] fixed nm command for linux platform --- tools/cooja/config/external_tools_linux.config | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tools/cooja/config/external_tools_linux.config b/tools/cooja/config/external_tools_linux.config index 3f7e35c47..fc52fb40d 100644 --- a/tools/cooja/config/external_tools_linux.config +++ b/tools/cooja/config/external_tools_linux.config @@ -25,8 +25,8 @@ CORECOMM_TEMPLATE_FILENAME = corecomm_template.java PATH_JAVAC = javac DEFAULT_PROJECTDIRS = ../apps/mrm -PARSE_WITH_COMMAND = false -PARSE_COMMAND=nm $(LIBFILE) +PARSE_WITH_COMMAND = true +PARSE_COMMAND=nm -a $(LIBFILE) MAPFILE_DATA_START = ^.data[ \t]*0x([0-9A-Fa-f]*)[ \t]*0x[0-9A-Fa-f]*[ \t]*$ MAPFILE_DATA_SIZE = ^.data[ \t]*0x[0-9A-Fa-f]*[ \t]*0x([0-9A-Fa-f]*)[ \t]*$ MAPFILE_BSS_START = ^.bss[ \t]*0x([0-9A-Fa-f]*)[ \t]*0x[0-9A-Fa-f]*[ \t]*$ @@ -37,7 +37,8 @@ MAPFILE_VAR_ADDRESS_2 = [ \t]*$ MAPFILE_VAR_SIZE_1 = ^ MAPFILE_VAR_SIZE_2 = [ \t]*(0x[0-9A-Fa-f]*)[ \t]*[^ ]*[ \t]*$ COMMAND_VAR_NAME_ADDRESS = ^([0-9A-Fa-f][0-9A-Fa-f]*)[ \t][^Tt][ \t]([^ ._][^ ]*) -COMMAND_DATA_START = ^([0-9A-Fa-f]*)[ \t]D[ \t]_data_start__$ -COMMAND_DATA_END = ^([0-9A-Fa-f]*)[ \t]D[ \t]_data_end__$ -COMMAND_BSS_START = ^([0-9A-Fa-f]*)[ \t]B[ \t]_bss_start__$ -COMMAND_BSS_END = ^([0-9A-Fa-f]*)[ \t]B[ \t]_bss_end__$ +COMMAND_DATA_START = ^([0-9A-Fa-f]*)[ \t]d[ \t].data$ +COMMAND_DATA_END = ^([0-9A-Fa-f]*)[ \t]A[ \t]_edata$ +COMMAND_BSS_START = ^([0-9A-Fa-f]*)[ \t]A[ \t]__bss_start$ +COMMAND_BSS_END = ^([0-9A-Fa-f]*)[ \t]A[ \t]_end$ +