elf/dl-lookup.c: Use __glibc_likely and __glibc_unlikely
authorWill Newton <will.newton@linaro.org>
Fri, 11 Apr 2014 13:39:56 +0000 (14:39 +0100)
committerWill Newton <will.newton@linaro.org>
Mon, 23 Jun 2014 13:13:31 +0000 (14:13 +0100)
commitcc7d044752ded296cf737c311f786e87b88180ec
tree16ba6e4e35e362c85c428334173449a938cd603b
parentd6d062255489343810ad1e01d05f70acd9cd1918
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.
ChangeLog
elf/dl-lookup.c