aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@mips.com>2014-12-11 10:23:01 -0800
committerSteve Ellcey <sellcey@mips.com>2014-12-11 10:23:01 -0800
commitd0276e18f327503f8cb9d6b942f25a87d144e60f (patch)
tree3abcd4e30989c67908a48dee92ba8d0babcf517a /sysdeps/mips
parentfc56e970934d9e936108240f3dc05e5e131f5772 (diff)
downloadglibc-d0276e18f327503f8cb9d6b942f25a87d144e60f.tar
glibc-d0276e18f327503f8cb9d6b942f25a87d144e60f.tar.gz
glibc-d0276e18f327503f8cb9d6b942f25a87d144e60f.tar.bz2
glibc-d0276e18f327503f8cb9d6b942f25a87d144e60f.zip
* sysdeps/mips/dl-trampoline.c: Modify switch expression to have
integer value instead of boolean.
Diffstat (limited to 'sysdeps/mips')
-rw-r--r--sysdeps/mips/dl-trampoline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mips/dl-trampoline.c b/sysdeps/mips/dl-trampoline.c
index f565654934..66a1ea1c78 100644
--- a/sysdeps/mips/dl-trampoline.c
+++ b/sysdeps/mips/dl-trampoline.c
@@ -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:
{