From: Joseph Myers Date: Wed, 18 Mar 2009 14:31:30 +0000 (+0000) Subject: 2009-03-18 Zhang Le X-Git-Tag: glibc-2.16-ports-before-merge~636 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0262d0c47c55109b0ea10239eedc2695f57ad40e;p=thirdparty%2Fglibc.git 2009-03-18 Zhang Le [BZ #7074] * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file): Fix the condition used to annotate n32 objects. --- diff --git a/ChangeLog.mips b/ChangeLog.mips index db313159074..d4a38dca52f 100644 --- a/ChangeLog.mips +++ b/ChangeLog.mips @@ -1,3 +1,9 @@ +2009-03-18 Zhang Le + + [BZ #7074] + * sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file): + Fix the condition used to annotate n32 objects. + 2009-03-17 Joseph Myers * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER): diff --git a/sysdeps/unix/sysv/linux/mips/readelflib.c b/sysdeps/unix/sysv/linux/mips/readelflib.c index baa92fe57c0..99fbaaca86c 100644 --- a/sysdeps/unix/sysv/linux/mips/readelflib.c +++ b/sysdeps/unix/sysv/linux/mips/readelflib.c @@ -43,7 +43,7 @@ process_elf_file (const char *file_name, const char *lib, int *flag, file_contents, file_length); /* n32 libraries are always libc.so.6+. */ - if (ret && (elf_header->e_flags & EF_MIPS_ABI2) != 0) + if (!ret && (elf_header->e_flags & EF_MIPS_ABI2) != 0) *flag = FLAG_MIPS64_LIBN32|FLAG_ELF_LIBC6; } else