aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorGreg McGary <greg@mcgary.org>2000-06-27 01:20:02 +0000
committerGreg McGary <greg@mcgary.org>2000-06-27 01:20:02 +0000
commit58ff985dd485e6d2ae723f8568be24f37bac0bd2 (patch)
tree07f687f2ecc11542d90f7ab33e459171ecec1d1b /Makeconfig
parent9bbc1eccb70d7748006fae2810de9906c689ad3b (diff)
downloadglibc-58ff985dd485e6d2ae723f8568be24f37bac0bd2.tar
glibc-58ff985dd485e6d2ae723f8568be24f37bac0bd2.tar.gz
glibc-58ff985dd485e6d2ae723f8568be24f37bac0bd2.tar.bz2
glibc-58ff985dd485e6d2ae723f8568be24f37bac0bd2.zip
* Makeconfig: Add missing comment.
* csu/Makefile (extra-objs, omit-deps, install-lib): Add BP-flavored startup object. ($(objpfx)b$(start-installed-name)): New rule. * include/libc-symbols.h (symbol_set_declare): Change type of `__start_##set' and `__stop_##set' to pointer-to-function. (symbol_set_declare): Change type of `set' to array of pointer-to-function. * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to pointer-to-function. * Makeconfig: Add missing comment. * csu/Makefile (extra-objs, omit-deps, install-lib): Add BP-flavored startup object. ($(objpfx)b$(start-installed-name)): New rule. * include/libc-symbols.h (symbol_set_declare): Change type of `__start_##set' and `__stop_##set' to pointer-to-function. (symbol_set_declare): Change type of `set' to array of pointer-to-function. * include/set-hooks.h (RUN_HOOK): Change type of `ptr' to pointer-to-function.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makeconfig b/Makeconfig
index f087137d1b..0395beee56 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -634,6 +634,8 @@ bppfx = BP-
ifeq (yes,$(build-bounded))
# Under --enable-bounded, we build the library with `-fbounded-pointers -g'
# to runtime bounds checking. The bounded-pointer objects are named foo.ob.
+# We disable sibling-call optimizations so that stack traces will be complete
+# and thus aid debugging, since after all, BPs are a debugging tool.
object-suffixes += .ob
CPPFLAGS-.ob = -fbounded-pointers $(pic-default)
CFLAGS-.ob = -g -O2 -fno-optimize-sibling-calls