about summary refs log tree commit diff
path: root/stdlib/test-canon.c
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 /stdlib/test-canon.c
parentd6d062255489343810ad1e01d05f70acd9cd1918 (diff)
downloadglibc-cc7d044752ded296cf737c311f786e87b88180ec.tar.gz
glibc-cc7d044752ded296cf737c311f786e87b88180ec.tar.xz
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 'stdlib/test-canon.c')
0 files changed, 0 insertions, 0 deletions