]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2009-03-18 Zhang Le <r0bertz@gentoo.org>
authorJoseph Myers <joseph@codesourcery.com>
Wed, 18 Mar 2009 14:31:30 +0000 (14:31 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 18 Mar 2009 14:31:30 +0000 (14:31 +0000)
[BZ #7074]
* sysdeps/unix/sysv/linux/mips/readelflib.c (process_elf_file):
Fix the condition used to annotate n32 objects.

ChangeLog.mips
sysdeps/unix/sysv/linux/mips/readelflib.c

index db313159074db5af982c3d6356af760c3d40b728..d4a38dca52f8ee2cba43786d711da75b9dff2f7a 100644 (file)
@@ -1,3 +1,9 @@
+2009-03-18  Zhang Le  <r0bertz@gentoo.org>
+
+       [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  <joseph@codesourcery.com>
 
        * sysdeps/unix/sysv/linux/mips/getsysstats.c (GET_NPROCS_PARSER):
index baa92fe57c0c6a796f5aef027c214cc974033c2d..99fbaaca86c149f5b5fcd846b1071458b5024f89 100644 (file)
@@ -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