about summary refs log tree commit diff
path: root/assert
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-03-09 13:22:01 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-03-11 09:40:28 -0700
commit688e958c81f230b5860b57590f45f1bc729ba2cf (patch)
tree889e0d4d54134c351c6c3510021c846dd0f497ae /assert
parenta2d4cf72c0ab07d4e58b42c01ac3ed2b95ca8d9b (diff)
downloadglibc-hjl/pr18078.tar.gz
glibc-hjl/pr18078.tar.xz
glibc-hjl/pr18078.zip
Extend local PLT reference check hjl/pr18078
On x86, linker in binutils 2.26 and newer consolidates R_*_JUMP_SLOT with
R_*_GLOB_DAT relocation against the same symbol.  This patch extends
local PLT reference check to support alternate relocations.

	[BZ #18078]
	* scripts/check-localplt.awk: Support alternate relocations.
	* scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
	sections.
	* sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
	malloc entries with + REL R_386_GLOB_DAT.
	* sysdeps/x86_64/localplt.data: New file.
Diffstat (limited to 'assert')
0 files changed, 0 insertions, 0 deletions