olga / rpms / glibc

Forked from rpms/glibc 5 years ago
Clone

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

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