dynlink.c: slim down gnu_lookup
authorAlexander Monakov <amonakov@ispras.ru>
Sat, 27 Jun 2015 23:48:32 +0000 (02:48 +0300)
committerRich Felker <dalias@aerifal.cx>
Sun, 28 Jun 2015 01:51:15 +0000 (01:51 +0000)
commit5b4286e12cd6baac343b10a41dc17ac578832089
treee6741b056a2a89d2e5e8f58b23abe254e2965e6f
parent84389c64562e2b2ba43225b5b7a9df7d974479b1
dynlink.c: slim down gnu_lookup

Do not reference dso->syms and dso->strings until point of use.
Check 'h1 == (h2|1)', the simplest condition, before the others.
src/ldso/dynlink.c