mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 11:50:06 +00:00
* sysdeps/mips/dl-trampoline.c: Modify switch expression to have
integer value instead of boolean.
This commit is contained in:
parent
fc56e97093
commit
d0276e18f3
@ -1,3 +1,8 @@
|
||||
2014-12-11 Steve Ellcey <sellcey@imgtec.com>
|
||||
|
||||
* sysdeps/mips/dl-trampoline.c: Modify switch expression to have
|
||||
integer value instead of boolean.
|
||||
|
||||
2014-12-11 Steve Ellcey <sellcey@imgtec.com>
|
||||
|
||||
* malloc/malloc.c: Fix powerof2 check.
|
||||
|
@ -139,7 +139,7 @@ __dl_runtime_resolve (ElfW(Word) sym_index,
|
||||
/* FIXME: The symbol versioning stuff is not tested yet. */
|
||||
if (__builtin_expect (ELFW(ST_VISIBILITY) (sym->st_other), 0) == 0)
|
||||
{
|
||||
switch (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL)
|
||||
switch (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL ? 1 : 0)
|
||||
{
|
||||
default:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user