]> git.dujemihanovic.xyz Git - u-boot.git/commit
buildman: Include symbols in the read-only data section
authorSimon Glass <sjg@chromium.org>
Mon, 23 Oct 2023 07:52:43 +0000 (00:52 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 3 Nov 2023 02:38:01 +0000 (22:38 -0400)
commitad8dbabc22fa75163450bb81056f71befe02621f
treed7b09e7db0087d092ff5826bc127c4ba18b4ff30
parent1f46e8af429483e19fb337c9fcc2f443ae29a908
buildman: Include symbols in the read-only data section

When symbols switch between the inited data section and the read-only
data section their visbility changes, at present, with the -B option.

This is confusing, since adding 'const' to a variable declaration can
make it look like a significant improvement in bloat. But in fact
nothing has changed.

Add 'r' to the list of symbols types that are recorded, to correct this
problem. Add a constant to make it easier to find this code next time.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/buildman/builder.py