commit | 31428aaa4916d923f2b31e7fbef83777795d6b21 | [log] [tgz] |
---|---|---|
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | Tue Sep 21 09:41:48 2010 |
committer | Evan Martin <martine@danga.com> | Mon Sep 27 21:27:31 2010 |
tree | c5098f9a268c96db3768e2bba31a42ac5f17fb0c | |
parent | 390c312f2b91517d329a5664902bf039a4c0ea6b [diff] |
bloat.py: support for 16bit and 64bit architectures The parse_nm() function assumed that symbol sizes were 8 hex characters, this only holds true on 32 bit architectures, on 64 bit they're 16, and 4 on 16 bit. Just use + in the regex instead of {8}. Due to the surrounding spaces this won't falsely match anything, but it'll add support for 16 and 64 bit. Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>