]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 308456: Pass the correct flag to find_symdef() from _rtld_bind().
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2016 20:36:48 +0000 (20:36 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 1 Dec 2016 20:36:48 +0000 (20:36 +0000)
commitc72be8e57ed3279e709e8f76354d55f9a5c3e0dd
treea072e04921e54dd0e8edfd2db415454f8fb6556a
parent56c6da38b49fc0da56e1ab8898c05be5ad06dad9
MFC 308456: Pass the correct flag to find_symdef() from _rtld_bind().

When symbol versioning was added to rtld, the boolean 'in_plt' argument
to find_symdef() was converted to a bitmask of flags.  The first flag
added was 'SYMLOOK_IN_PLT' which replaced the 'in_plt' bool.  This
happened to still work by accident as SYMLOOK_IN_PLT had the value of 1
which is the same as 'true', so there should be no functional change.

git-svn-id: svn://svn.freebsd.org/base/stable/10@309371 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
libexec/rtld-elf/rtld.c
libexec/rtld-elf/sparc64/reloc.c