Replace crtendS.o with crtend.o for static link

This commit is contained in:
H.J. Lu 2012-09-24 11:25:57 -07:00
parent 9e5757f801
commit 189e935bf8
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
* 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.

View File

@ -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/