]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix for ia64/48024 - ensure function pointer equality across elf
authorarun <arun@FreeBSD.org>
Wed, 19 Mar 2003 21:38:27 +0000 (21:38 +0000)
committerarun <arun@FreeBSD.org>
Wed, 19 Mar 2003 21:38:27 +0000 (21:38 +0000)
commit59b094fe433df03e75ead72dc2feac3c6b20c554
tree48b49cf655cea33bbf150155b3de32f83528c7b6
parentcfb004fe959c0ce2e32c72351c5b39514dec8042
Fix for ia64/48024 - ensure function pointer equality across elf
objects.

Programs such as sshd depend on two pointers to the same function being
equal in a given process. However, the current ia64 implementation
ensures that they're equal when both the pointers are instantiated in
the same ELF object. The attached patch ensures that they're equal
irrespective of where they're instantiated.

Reviewed by marcel@ (mentor) and kan@
libexec/rtld-elf/ia64/reloc.c