rtld: Sync with FreeBSD after gnu_hash import
authorJohn Marino <draco@marino.st>
Fri, 4 May 2012 16:41:58 +0000 (18:41 +0200)
committerJohn Marino <draco@marino.st>
Sat, 5 May 2012 07:33:18 +0000 (09:33 +0200)
commit8ffc528ee0622d23fbf7e7026cee9c8568757070
tree1d7de91e9b809357a48cec14c08d0d2cdea74db9
parentb21d164153f8ed6667baeb1075f9bfe225fb31d4
rtld: Sync with FreeBSD after gnu_hash import

For the most part, FreeBSD took our gnu_hash implementation without much
modification.  Most of these changes are caused by whitespace differences
due to a different style scheme, and by declarating variables separately
from their assignments.  Notable exceptions were:
* FreeBSD didn't use int_fast32_t type
* FreeBSD keeps checking the first character before doing strcmp
* FreeBSD renamed the symlook_obj2 to symlook_obj1_*

The only additions were two debug statements.  This commits syncs the
following back to DragonFly:

FreeBSD SVN 234840 (30 APR 2012)
FreeBSD SVN 234841 (30 APR 2012)
libexec/rtld-elf/rtld.c