about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-04 12:59:35 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-04 12:59:51 -0700
commit1e8e527dd9718eaebe8417b73befb0c821b7b327 (patch)
tree408997f8dd08bcb0d541baf1ce39ff31d3a490bf /ChangeLog
parente13daad7ac81968e9aaa4a87497f898bb15f4ef8 (diff)
downloadglibc-1e8e527dd9718eaebe8417b73befb0c821b7b327.tar.gz
glibc-1e8e527dd9718eaebe8417b73befb0c821b7b327.tar.xz
glibc-1e8e527dd9718eaebe8417b73befb0c821b7b327.zip
i386: Support static PIE in start.S
Since start.o may be compiled as PIC, we should check PIC instead of
SHARED.  Also avoid dynamic relocation against main in static PIE since
_start is the entry point before the executable is relocated.

	* sysdeps/i386/start.S (_start): Check Check PIC instead of
	SHARED.  Avoid dynamic relocation against main in static PIE.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8291f6e05b..acfcdcc2ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/i386/start.S (_start): Check Check PIC instead of
+	SHARED.  Avoid dynamic relocation against main in static PIE.
+
+2017-08-04  H.J. Lu  <hongjiu.lu@intel.com>
+
 	[BZ #21815]
 	* elf/Makefile (CFLAGS-tst-prelink.c): New.
 	(LDFLAGS-tst-prelink): Likewise.