build system: make CONFIG_FEATURE_USE_BSS_TAIL less funky
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 29 Jun 2016 13:00:52 +0000 (15:00 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 29 Jun 2016 13:00:52 +0000 (15:00 +0200)
commit5b8c89d1f270909d1a0201478236de6ed89c8ca4
tree3b6ff69877c1d7cb8d6b322fce147fa3ed5c0a3a
parent8f4faa1e3db91fc7b50d633e6f9b2f04bf978bb2
build system: make CONFIG_FEATURE_USE_BSS_TAIL less funky

CONFIG_FEATURE_USE_BSS_TAIL code was aliasing bb_common_bufsiz1 to _end.
This is unreliable: _end may be not sufficiently aligned.

Change code to simply enlarge COMMON_BUFSIZE when we detect that _end
has significant amount of space to the end of page.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
scripts/generate_BUFSIZ.sh