Blame SOURCES/glibc-arm-hardfloat-3.patch

147e83
(Not needed anymore.)
147e83
147e83
diff -Nru glibc-2.17-c758a686/elf/dl-load.c glibc-2.17-c758a686/elf/dl-load.c
147e83
--- glibc-2.17-c758a686/elf/dl-load.c	2012-06-06 13:07:41.727524312 -0600
147e83
+++ glibc-2.17-c758a686/elf/dl-load.c	2012-06-06 13:11:19.308681002 -0600
147e83
@@ -2093,10 +2093,14 @@ _dl_map_object (struct link_map *loader,
147e83
 	  soname = ((const char *) D_PTR (l, l_info[DT_STRTAB])
147e83
 		    + l->l_info[DT_SONAME]->d_un.d_val);
147e83
 	  if (strcmp (name, soname) != 0)
147e83
-	    continue;
147e83
+#ifdef __arm__
147e83
+	    if (strcmp (name, "ld-linux.so.3")
147e83
+		|| strcmp (soname, "ld-linux-armhf.so.3"))
147e83
+#endif
147e83
+	      continue;
147e83
 
147e83
 	  /* We have a match on a new name -- cache it.  */
147e83
-	  add_name_to_object (l, soname);
147e83
+	  add_name_to_object (l, name);
147e83
 	  l->l_soname_added = 1;
147e83
 	}
147e83