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