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.
This commit is contained in:
Joseph Myers 2009-03-18 14:31:30 +00:00
parent edb1d6ef2f
commit 0262d0c47c
2 changed files with 7 additions and 1 deletions

View 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):

View 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