commit | 8f08a58c635bea5cdfae6bc0e323c80aa9ff82a7 | [log] [tgz] |
---|---|---|
author | Alexander Monakov <amonakov@ispras.ru> | Sun Jun 28 02:48:33 2015 +0300 |
committer | Rich Felker <dalias@aerifal.cx> | Sun Jun 28 02:30:12 2015 +0000 |
tree | f39298a1bd459ffc84e05eed0bfd39d88a3f8dff | |
parent | 5b4286e12cd6baac343b10a41dc17ac578832089 [diff] |
dynlink.c: pass gnu-hash table pointer to gnu_lookup The callers need to check the value of the pointer anyway, so make them pass the pointer to gnu_lookup instead of reloading it there. Reorder gnu_lookup arguments so that always-used ones are listed first. GCC can choose a calling convention with arguments in registers (e.g. up to 3 arguments in eax, ecx, edx on x86), but cannot reorder the arguments for static functions.