summaryrefslogtreecommitdiff
path: root/include/spawn.h
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2015-06-28 02:48:33 +0300
committerRich Felker <dalias@aerifal.cx>2015-06-28 02:30:12 +0000
commit8f08a58c635bea5cdfae6bc0e323c80aa9ff82a7 (patch)
treef39298a1bd459ffc84e05eed0bfd39d88a3f8dff /include/spawn.h
parent5b4286e12cd6baac343b10a41dc17ac578832089 (diff)
downloadmusl-8f08a58c635bea5cdfae6bc0e323c80aa9ff82a7.tar.gz
musl-8f08a58c635bea5cdfae6bc0e323c80aa9ff82a7.tar.bz2
musl-8f08a58c635bea5cdfae6bc0e323c80aa9ff82a7.tar.xz
musl-8f08a58c635bea5cdfae6bc0e323c80aa9ff82a7.zip
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.
Diffstat (limited to 'include/spawn.h')
0 files changed, 0 insertions, 0 deletions