summaryrefslogtreecommitdiff
path: root/package/busybox/config/libbb/Config.in
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-25 01:29:34 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-06-25 01:31:18 +0200
commitcf89431cc54bfa4b48732133bd29ef9999368c36 (patch)
tree98cb4ad50799d09e8ea6844aa39e573b5e192a55 /package/busybox/config/libbb/Config.in
parent01af213ee5720c929973534da555f89abaf301f5 (diff)
busybox: update to 1.25.0
Diffstat (limited to 'package/busybox/config/libbb/Config.in')
-rw-r--r--package/busybox/config/libbb/Config.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/busybox/config/libbb/Config.in b/package/busybox/config/libbb/Config.in
index 9205677e2..9eb353dc0 100644
--- a/package/busybox/config/libbb/Config.in
+++ b/package/busybox/config/libbb/Config.in
@@ -6,6 +6,39 @@
menu "Busybox Library Tuning"
+config BUSYBOX_FEATURE_USE_BSS_TAIL
+ bool "Use the end of BSS page"
+ default n
+ help
+ Attempt to reclaim a small unused part of BSS.
+
+ Executables have the following parts:
+ = read-only executable code and constants, also known as "text"
+ = read-write data
+ = non-initialized (zeroed on demand) data, also known as "bss"
+
+ At link time, "text" is padded to a full page. At runtime, all "text"
+ pages are mapped RO and executable.
+ "Data" starts on the next page boundary, but is not padded
+ to a full page at the end. "Bss" starts wherever "data" ends.
+ At runtime, "data" pages are mapped RW and they are file-backed
+ (this includes a small portion of "bss" which may live in the last
+ partial page of "data").
+ Pages which are fully in "bss" are mapped to anonymous memory.
+
+ "Bss" end is usually not page-aligned. There is an unused space
+ in the last page. Linker marks its start with the "_end" symbol.
+
+ This option will attempt to use that space for bb_common_bufsiz1[]
+ array. If it fits after _end, it will be used, and COMMON_BUFSIZE
+ will be enlarged from its guaranteed minimum size of 1 kbyte.
+ This may require recompilation a second time, since value of _end
+ is known only after final link.
+
+ If you are getting a build error like this:
+ appletlib.c:(.text.main+0xd): undefined reference to '_end'
+ disable this option.
+
config BUSYBOX_FEATURE_SYSTEMD
bool "Enable systemd support"
default n