Lines 398-404
Link Here
|
398 |
# On systems that do not need a special startfile for statically linked |
398 |
# On systems that do not need a special startfile for statically linked |
399 |
# binaries, simply set it to the normal name. |
399 |
# binaries, simply set it to the normal name. |
400 |
ifndef static-start-installed-name |
400 |
ifndef static-start-installed-name |
401 |
static-start-installed-name = $(start-installed-name) |
401 |
static-start-installed-name = S$(start-installed-name) |
402 |
endif |
402 |
endif |
403 |
|
403 |
|
404 |
ifeq (yesyesyes,$(build-shared)$(elf)$(have-z-combreloc)) |
404 |
ifeq (yesyesyes,$(build-shared)$(elf)$(have-z-combreloc)) |
Lines 528-535
Link Here
|
528 |
ifeq ($(elf),yes) |
528 |
ifeq ($(elf),yes) |
529 |
+preinit = $(addprefix $(csu-objpfx),crti.o) |
529 |
+preinit = $(addprefix $(csu-objpfx),crti.o) |
530 |
+postinit = $(addprefix $(csu-objpfx),crtn.o) |
530 |
+postinit = $(addprefix $(csu-objpfx),crtn.o) |
531 |
+prector = `$(CC) --print-file-name=crtbegin.o` |
531 |
+prector = `$(CC) --print-file-name=crtbeginS.o` |
532 |
+postctor = `$(CC) --print-file-name=crtend.o` |
532 |
+postctor = `$(CC) --print-file-name=crtendS.o` |
533 |
+interp = $(addprefix $(elf-objpfx),interp.os) |
533 |
+interp = $(addprefix $(elf-objpfx),interp.os) |
534 |
endif |
534 |
endif |
535 |
csu-objpfx = $(common-objpfx)csu/ |
535 |
csu-objpfx = $(common-objpfx)csu/ |