From: H.J. Lu Date: Mon, 24 Sep 2012 18:25:57 +0000 (-0700) Subject: Replace crtendS.o with crtend.o for static link X-Git-Tag: upstream/2.20~3282 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=189e935bf8d51688e28f4271ca91b5c6f6ce629c;p=platform%2Fupstream%2Flinaro-glibc.git Replace crtendS.o with crtend.o for static link --- diff --git a/ChangeLog b/ChangeLog index e3329b4..8c7dfe6 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 8d4f7b4..42b836e 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/