From dc57472538252b824d54df33b5065a2a2502bfc0 Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Thu, 22 Oct 2009 15:17:33 +0530 Subject: [PATCH] Correcting the symbol pattern for finding start/end of various physical regions in use by various containers --- loader/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/loader/SConscript b/loader/SConscript index 44d6576..16a5acc 100644 --- a/loader/SConscript +++ b/loader/SConscript @@ -28,9 +28,9 @@ def find_loader_load_address(target, source, env): for line in file: begin = line.rfind(" ") end = len(line) - if re.search("(PHYS)(.)(_START)", line): + if re.search("(PHYS)([0-9]){1,4}(_START)", line): array_start.append(int(line[begin : end], 16)) - elif re.search("(PHYS)(.)(_END)", line): + elif re.search("(PHYS)([0-9]){1,4}(_END)", line): array_end.append(int(line[begin : end], 16)) array_start.sort() array_end.sort()