about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-14 05:59:50 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-14 06:00:02 -0700
commitd3d9c95aefded7716d037e241f9d23a1cccab45a (patch)
tree2b926e69a63a8e6ba6ea89f4f35e85b1b6d72390 /ChangeLog
parent8f763b04a0249d5a94a667da31294dd2395ec3bf (diff)
downloadglibc-d3d9c95aefded7716d037e241f9d23a1cccab45a.tar.gz
glibc-d3d9c95aefded7716d037e241f9d23a1cccab45a.tar.xz
glibc-d3d9c95aefded7716d037e241f9d23a1cccab45a.zip
Support PLT and GOT references in local PIC check
Linker in binutils 2.26 and newer generate GOT references instead
PLT references when -z now is passed to linker.  We need to extend
scripts/localplt.awk to allow PLT or GOT references.

	[BZ #19007]
	* scripts/localplt.awk: Also allow GOT references.
	* sysdeps/unix/sysv/linux/i386/localplt.data: Mark
	_Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
	with "+ REL R_386_GLOB_DAT".
	* sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
	and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog10
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5c8dc110f4..6cc7224af6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,15 @@
 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
 
+	[BZ #19007]
+	* scripts/localplt.awk: Also allow GOT references.
+	* sysdeps/unix/sysv/linux/i386/localplt.data: Mark
+	_Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
+	with "+ REL R_386_GLOB_DAT".
+	* sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
+	and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
+
+2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
 	INLINE_SYSCALL_ERROR_RETURN_VALUE.
 	* sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):