1999-06-12 Mark Kettenis <kettenis@gnu.org>
+ * Makeconfig (static-start-installed-name): Set to
+ $(start-installed-name) if not defined.
+ (+link-static): Use $(static-start-installed-name) instead of
+ $(start-installed-name).
+ * sysdeps/mach/hurd/i386/Makefile (static-start-installed-name):
+ Set to crt0.o.
+
+1999-06-12 Mark Kettenis <kettenis@gnu.org>
+
* sysdeps/mach/hurd/fork.c (__fork): Make use of `insert_type' when
inserting a send right into the child instead of unconditionally
copying the send right.
# some additional bizarre files.
start-installed-name = crt1.o
endif
-
+# On systems that do not need a special startfile for statically linked
+# binaries, simply set it to the normal name.
+ifndef static-start-installed-name
+static-start-installed-name = $(start-installed-name)
+endif
# Command for linking programs with the C library.
ifndef +link
ifndef +link-static
+link-static = $(CC) -nostdlib -nostartfiles -static -o $@ \
$(sysdep-LDFLAGS) $(LDFLAGS) \
- $(addprefix $(csu-objpfx),$(start-installed-name)) \
+ $(addprefix $(csu-objpfx),$(static-start-installed-name)) \
$(+preinit) $(+prector) \
$(filter-out $(addprefix $(csu-objpfx),start.o \
$(start-installed-name))\