diff --git a/list-obj-sizes.awk b/list-obj-sizes.awk index 98d97e9e788bb00666c4abf86fb38df48eabee96..34bcc2692c0580a1f11e7c5484a6fbc5b6288129 100755 --- a/list-obj-sizes.awk +++ b/list-obj-sizes.awk @@ -35,10 +35,11 @@ BEGIN { text_total += text_size; data_total += data_size; rodata_total += rodata_size; - } + } if ($1 ~ filter) { name = $1; text_size = data_size = rodata_size = 0; + sub(/^[^-]*_a-/, "", name); } else name = ""