about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-09-28 15:28:00 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-09-28 15:28:12 -0700
commit4088d8dd29ce0629eeaa7cceca02414c85d98e05 (patch)
tree0b807276e1826b3c4522721d076aa81c23c5da8b /ChangeLog
parent4d3693ec1cb7d247a217dc1eb7121c658f818dca (diff)
downloadglibc-4088d8dd29ce0629eeaa7cceca02414c85d98e05.tar.gz
glibc-4088d8dd29ce0629eeaa7cceca02414c85d98e05.tar.xz
glibc-4088d8dd29ce0629eeaa7cceca02414c85d98e05.zip
x86: Allow undefined _DYNAMIC in static executable
When --enable-static-pie is used to build static PIE, _DYNAMIC is used
to compute the load address of static PIE.  But _DYNAMIC is undefined
when creating static executable.  This patch makes _DYNAMIC weak in PIE
libc.a so that it can be undefined.

	* sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
	undefined _DYNAMIC in PIE libc.a.
	* sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
	Likewse.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e4919f2f38..1171915738 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-09-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
+	undefined _DYNAMIC in PIE libc.a.
+	* sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
+	Likewse.
+
 2017-09-28  Wilco Dijkstra  <wdijkstr@arm.com>
 
 	* sysdeps/alpha/fpu/bits/mathinline.h: Delete file.