From: sallai Date: Tue, 22 Apr 2008 16:18:53 +0000 (+0000) Subject: instead of exiting, print just a warning when data section is not found in the binary... X-Git-Tag: release_tinyos_2_1_0_0~459 X-Git-Url: https://oss.titaniummirror.com/gitweb/?p=tinyos-2.x.git;a=commitdiff_plain;h=f05ce01d275402d80998c0ed99c49646c338735c 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) --- 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