aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-04-11 14:39:56 +0100
committerWill Newton <will.newton@linaro.org>2014-06-23 14:13:31 +0100
commitcc7d044752ded296cf737c311f786e87b88180ec (patch)
tree16ba6e4e35e362c85c428334173449a938cd603b /ChangeLog
parentd6d062255489343810ad1e01d05f70acd9cd1918 (diff)
downloadglibc-cc7d044752ded296cf737c311f786e87b88180ec.tar
glibc-cc7d044752ded296cf737c311f786e87b88180ec.tar.gz
glibc-cc7d044752ded296cf737c311f786e87b88180ec.tar.bz2
glibc-cc7d044752ded296cf737c311f786e87b88180ec.zip
elf/dl-lookup.c: Use __glibc_likely and __glibc_unlikely
Convert all uses of __builtin_expect to __glibc_likely and __glibc_unlikely. Most of these are trivial boolean expressions but a few were not. In particular the use of __builtin_expect in the switch expression in do_lookup_x has been removed. Verified that there are no code changes on x86_64 and ARM aside from line numbers. ChangeLog: 2014-06-23 Will Newton <will.newton@linaro.org> * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely rather than __builtin_expect.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f86e3f03c7..426af5d7d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2014-06-23 Will Newton <will.newton@linaro.org>
+ * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
+ rather than __builtin_expect.
+
* elf/dl-lookup.c (undefined_msg): Remove variable.
(_dl_lookup_symbol_x): Replace undefined_msg with string
literal.