arrfab / rpms / glibc

Forked from rpms/glibc 4 years ago
Clone

Blame SOURCES/glibc-fedora-elf-rh737223.patch

147e83
Binary filesglibc-2.17-c758a686/elf/.rtld.c.rej.swp andglibc-2.17-c758a686/elf/.rtld.c.rej.swp differ
147e83
diff -Nru glibc-2.17-c758a686/elf/setup-vdso.h glibc-2.17-c758a686/elf/setup-vdso.h
147e83
--- glibc-2.17-c758a686/elf/setup-vdso.h	2012-10-10 21:34:38.000000000 -0600
147e83
+++ glibc-2.17-c758a686/elf/setup-vdso.h	2012-10-11 09:43:14.152958832 -0600
147e83
@@ -93,7 +93,9 @@ setup_vdso (struct link_map *main_map __
147e83
 	  char *copy = malloc (len);
147e83
 	  if (copy == NULL)
147e83
 	    _dl_fatal_printf ("out of memory\n");
147e83
-	  l->l_libname->name = l->l_name = memcpy (copy, dsoname, len);
147e83
+	  l->l_libname->name = memcpy (copy, dsoname, len);
147e83
+	  if (GLRO(dl_debug_mask))
147e83
+	    l->l_name = copy;
147e83
 	}
147e83
 
147e83
       /* Add the vDSO to the object list.  */