summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-22 01:22:06 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-22 01:22:06 +0000
commit0cfc1492ac2a943ccf5bad7a15209b2bc13fde18 (patch)
tree5ef405506218b7ddaa6660c19974d4adc8698f7f /src/patchsets/glibc/2.9
parentadd fixes from upstream (diff)
downloadgentoo-0cfc1492ac2a943ccf5bad7a15209b2bc13fde18.tar.gz
gentoo-0cfc1492ac2a943ccf5bad7a15209b2bc13fde18.tar.bz2
gentoo-0cfc1492ac2a943ccf5bad7a15209b2bc13fde18.zip
add fix for mips n32 ldconfig #253100
Diffstat (limited to 'src/patchsets/glibc/2.9')
-rw-r--r--src/patchsets/glibc/2.9/6630_all_glibc-mips-n32-ldconfig.patch14
-rw-r--r--src/patchsets/glibc/2.9/README.history3
2 files changed, 17 insertions, 0 deletions
diff --git a/src/patchsets/glibc/2.9/6630_all_glibc-mips-n32-ldconfig.patch b/src/patchsets/glibc/2.9/6630_all_glibc-mips-n32-ldconfig.patch
new file mode 100644
index 0000000000..97e91480d9
--- /dev/null
+++ b/src/patchsets/glibc/2.9/6630_all_glibc-mips-n32-ldconfig.patch
@@ -0,0 +1,14 @@
+http://bugs.gentoo.org/253100
+http://sourceware.org/bugzilla/show_bug.cgi?id=7074
+
+--- ports/sysdeps/unix/sysv/linux/mips/readelflib.c
++++ ports/sysdeps/unix/sysv/linux/mips/readelflib.c
+@@ -43,7 +43,7 @@
+ 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
diff --git a/src/patchsets/glibc/2.9/README.history b/src/patchsets/glibc/2.9/README.history
index 6a4d35eeb7..ba09db6cb7 100644
--- a/src/patchsets/glibc/2.9/README.history
+++ b/src/patchsets/glibc/2.9/README.history
@@ -1,3 +1,6 @@
+5 [pending]
+ + 6630_all_glibc-mips-n32-ldconfig.patch
+
4 21.02.2009
+ 0008_all_glibc-2.9-linker-scripts.patch