diff options
author | B. Watson <yalhcru@gmail.com> | 2016-02-01 04:03:14 -0500 |
---|---|---|
committer | B. Watson <yalhcru@gmail.com> | 2016-02-01 04:03:14 -0500 |
commit | 8e8a8418f56fcb9c23c42685075beae0cd8d0aee (patch) | |
tree | d79789a3cae3877085833366c9b19aa7306c3e4a | |
parent | bb03d1a3a4eb97ff4e0b7ca4b642a47828cfd778 (diff) | |
download | taipan-8e8a8418f56fcb9c23c42685075beae0cd8d0aee.tar.gz |
print BSS size in size.pl
-rw-r--r-- | size.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,8 +14,9 @@ close MAP; $free = (0xbc20 - $stack_size) - $bss_end + 1; $code_size = $bss_start - $code_start; +$bss_size = $bss_end - $bss_start + 1; printf "===> code ends at \$%04x (%d, %.1fK)\n", ($bss_start - 1), $code_size, $code_size / 1024; -printf "===> BSS ends at \$%04x\n", $bss_end; +printf "===> BSS ends at \$%04x (%d, %.1fK)\n", $bss_end, $bss_size, $bss_size / 1024; printf "===> stack starts at \$%04x\n", 0xbc20 - $stack_size; printf "===> free code space \$%04x (%d, %.1fK)\n", $free, $free, $free / 1024; |