From 58ff985dd485e6d2ae723f8568be24f37bac0bd2 Mon Sep 17 00:00:00 2001 From: Greg McGary Date: Tue, 27 Jun 2000 01:20:02 +0000 Subject: * 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. --- csu/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'csu') diff --git a/csu/Makefile b/csu/Makefile index 01a44cf22e..a50a44f676 100644 --- a/csu/Makefile +++ b/csu/Makefile @@ -30,11 +30,11 @@ subdir := csu routines = init-first libc-start $(libc-init) sysdep version check_fds csu-dummies = $(filter-out $(start-installed-name),crt1.o Mcrt1.o) extra-objs = start.o gmon-start.o \ - $(start-installed-name) g$(start-installed-name) \ + $(start-installed-name) g$(start-installed-name) b$(start-installed-name) \ $(csu-dummies) omit-deps = $(patsubst %.o,%,$(start-installed-name) g$(start-installed-name) \ - $(csu-dummies)) -install-lib = $(start-installed-name) g$(start-installed-name) \ + b$(start-installed-name) $(csu-dummies)) +install-lib = $(start-installed-name) g$(start-installed-name) b$(start-installed-name) \ $(csu-dummies) distribute = initfini.c gmon-start.c start.c defs.awk munch.awk \ abi-note.S init.c munch-tmpl.c @@ -130,6 +130,9 @@ ifeq (yes,$(elf)) $(objpfx)$(start-installed-name): $(objpfx)start.o $(objpfx)abi-note.o \ $(objpfx)init.o $(link-relocatable) +$(objpfx)b$(start-installed-name): $(objpfx)start.ob $(objpfx)abi-note.ob \ + $(objpfx)init.ob + $(link-relocatable) else # The startfile is installed under different names, so we just call our # source file `start.c' and copy to the installed name after compiling. -- cgit 1.4.1