diff options
author | Will Newton <will.newton@linaro.org> | 2014-04-11 14:39:56 +0100 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-06-23 14:13:31 +0100 |
commit | cc7d044752ded296cf737c311f786e87b88180ec (patch) | |
tree | 16ba6e4e35e362c85c428334173449a938cd603b /ChangeLog | |
parent | d6d062255489343810ad1e01d05f70acd9cd1918 (diff) | |
download | glibc-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-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |