From f05ce01d275402d80998c0ed99c49646c338735c Mon Sep 17 00:00:00 2001 From: sallai Date: Tue, 22 Apr 2008 16:18:53 +0000 Subject: [PATCH] instead of exiting, print just a warning when data section is not found in the binary (e.g. Blink compiled with avr-gcc 4 will not contain a .data section) --- tools/tinyos/misc/tos-set-symbols.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/tinyos/misc/tos-set-symbols.in b/tools/tinyos/misc/tos-set-symbols.in index 9bf0d540..ea483a7e 100644 --- a/tools/tinyos/misc/tos-set-symbols.in +++ b/tools/tinyos/misc/tos-set-symbols.in @@ -78,7 +78,7 @@ while() { } } close(SECTS); -die "Could not find data section in $exein, aborting.\n" +warn "Could not find data section in $exein, aborting.\n" unless defined $segment_vma && defined $segment_lma && defined $segment_off; # build a hash of all data segment symbols to their address and size -- 2.39.2