scripts/bloat-o-meter: count weak symbol sizes
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 16 Aug 2023 15:33:34 +0000 (17:33 +0200)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 21 Aug 2023 20:46:25 +0000 (13:46 -0700)
commit198430f7f785e072d5d70fe522b6c7abdf41068a
treebe9325fb0896721253e7356dd7bc11b31910dd9c
parentef815d2cba782e96b9aad9483523d474ed41c62a
scripts/bloat-o-meter: count weak symbol sizes

Currently, bloat-o-meter does not take into account weak symbols, and
thus ignores any size changes in code or data marked __weak.

Fix this by handling weak code ("w"/"W") and data ("v"/"V").

Link: https://lkml.kernel.org/r/a1e7abd2571c3bbfe75345d6ee98b276d2d5c39d.1692200010.git.geert+renesas@glider.be
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/bloat-o-meter