Skip to content

Commit

Permalink
* sysdeps/mips/dl-trampoline.c: Modify switch expression to have
Browse files Browse the repository at this point in the history
	integer value instead of boolean.
  • Loading branch information
Steve Ellcey committed Dec 11, 2014
1 parent fc56e97 commit d0276e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/mips/dl-trampoline.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
{
Expand Down

0 comments on commit d0276e1

Please sign in to comment.