aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-06-01 11:49:05 -0700
committerUlrich Drepper <drepper@redhat.com>2009-06-01 11:49:05 -0700
commitfd96f062085be71f4e2c07c98a3002bd55793b6e (patch)
tree9dd63d31fbd1b922fa612a591b4124b27b417c83 /ChangeLog
parent21e66bc528edcbe18d434eb33a601e0f796904c9 (diff)
downloadglibc-fd96f062085be71f4e2c07c98a3002bd55793b6e.tar
glibc-fd96f062085be71f4e2c07c98a3002bd55793b6e.tar.gz
glibc-fd96f062085be71f4e2c07c98a3002bd55793b6e.tar.bz2
glibc-fd96f062085be71f4e2c07c98a3002bd55793b6e.zip
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog4
1 files changed, 4 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 10829a3d21..6aad771397 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2009-06-01 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/i386/dl-machine.h (elf_machine_rel): Reorder conditions
+ for STT_GNU_IFUNC handling for efficiency.
+ * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
+
* sysdeps/i386/dl-irel.h (elf_irel): Use __libc_fatal instead of just
_exit.
* sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.