Small optimization of STT_GNU_IFUNC handling.
commitfd96f062085be71f4e2c07c98a3002bd55793b6e
authorUlrich Drepper <drepper@redhat.com>
Mon, 1 Jun 2009 18:49:05 +0000 (1 11:49 -0700)
committerUlrich Drepper <drepper@redhat.com>
Mon, 1 Jun 2009 18:49:05 +0000 (1 11:49 -0700)
tree9dd63d31fbd1b922fa612a591b4124b27b417c83
parent21e66bc528edcbe18d434eb33a601e0f796904c9
Small optimization of STT_GNU_IFUNC handling.

The test to call the indirect function now includes a subtest to
checked whether the symbol is defined.  When coming to that point
this is almost always the case.  The test for STT_GNU_IFUNC on the
other hand rarely is true.  Move it to the front means we don't have
to perform the second test unless really necessary.
ChangeLog
sysdeps/i386/dl-machine.h
sysdeps/x86_64/dl-machine.h