about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2012-09-24 11:25:57 -0700
committerH.J. Lu <hjl.tools@gmail.com>2012-09-24 11:25:57 -0700
commit189e935bf8d51688e28f4271ca91b5c6f6ce629c (patch)
tree45a3211010cdc077cb7d1c6acc54ece893f2a5a5
parent9e5757f801a5904d370a83e93c42a9b8fa065e01 (diff)
downloadglibc-189e935bf8d51688e28f4271ca91b5c6f6ce629c.tar.gz
glibc-189e935bf8d51688e28f4271ca91b5c6f6ce629c.tar.xz
glibc-189e935bf8d51688e28f4271ca91b5c6f6ce629c.zip
Replace crtendS.o with crtend.o for static link
-rw-r--r--ChangeLog2
-rw-r--r--Makeconfig2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e3329b4359..8c7dfe610f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
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/