From 189e935bf8d51688e28f4271ca91b5c6f6ce629c Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 24 Sep 2012 11:25:57 -0700 Subject: [PATCH] Replace crtendS.o with crtend.o for static link --- ChangeLog | 2 ++ Makeconfig | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e3329b4359..8c7dfe610f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2012-09-24 H.J. Lu + * Makeconfig (+postctorT): Replace crtendS.o with crtend.o. + [BZ #14562] * malloc/arena.c (heap_trim): Properly get fencepost and adjust new chunk size with MALLOC_ALIGN_MASK. diff --git a/Makeconfig b/Makeconfig index 8d4f7b4404..42b836ee18 100644 --- a/Makeconfig +++ b/Makeconfig @@ -581,7 +581,7 @@ endif +postctorS = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o` # Variants of the two previous definitions for statically linking programs. +prectorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtbeginT.o` -+postctorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtendS.o` ++postctorT = `$(CC) $(sysdep-LDFLAGS) --print-file-name=crtend.o` +interp = $(addprefix $(elf-objpfx),interp.os) csu-objpfx = $(common-objpfx)csu/ elf-objpfx = $(common-objpfx)elf/ -- 2.11.4.GIT