Use SYMBOL_CALLS_LOCAL() to determine whether we can drop relocations for a
authorkettenis <kettenis@openbsd.org>
Thu, 23 Jun 2016 12:02:18 +0000 (12:02 +0000)
committerkettenis <kettenis@openbsd.org>
Thu, 23 Jun 2016 12:02:18 +0000 (12:02 +0000)
commit1a4d5765cd2664be2b8639ec4cec7b75e7804fa4
tree782ee3ce6977b7236da9f4da1f0c60edbef44db4
parent0a80c58a3f722c3fd7044edc8cc269e838bbc2da
Use SYMBOL_CALLS_LOCAL() to determine whether we can drop relocations for a
symbol such that hidden symbols get handled properly.  Gets rid of the
spurious DT_TEXTREL entries seen with (typically) C++ code.

ok deraadt@, guenther@
gnu/usr.bin/binutils-2.17/bfd/elfxx-sparc.c