freebsd-skq/libexec/rtld-elf/mips
John Baldwin 6a368d16c8 Fix _mips_rtld_bind() to handle ELF filters.
MIPS does not use the common _rtld_bind() to handle runtime binding.
Instead, it uses a private _mips_rtld_bind().  Update _mips_rtld_bind()
to include the changes made to _rtld_bind() in r216695 and r218476 to
support upgrading the read-locked rtld_bind_lock to a write lock when
an object with a filter is encountered.

While here, add a 'where' variable to track the location of the fixup
in the GOT to make the code flow more closely match _rtld_bind().

Reviewed by:	kib
Obtained from:	CheriBSD
Sponsored by:	DARPA / AFRL
Differential Revision:	https://reviews.freebsd.org/D8625
2016-11-23 20:21:53 +00:00
..
reloc.c Fix _mips_rtld_bind() to handle ELF filters. 2016-11-23 20:21:53 +00:00
rtld_machdep.h Pass CPUID[1] %edx (cpu_feature), %ecx (cpu_feature2) and 2016-11-15 09:43:26 +00:00
rtld_start.S Before jumping to application's entry point set ra == pc in order 2012-03-23 17:54:06 +00:00