diff options
author | root <root@rshg054.dnsready.net> | 2012-01-16 23:15:11 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-16 23:15:11 +0000 |
commit | 08a16f35d70b750b4db213a4bfcbacf5b3be4d74 (patch) | |
tree | 90c7b6f80849c63a69d3c46d0f04fe23ebf0c099 /multilib-testing/lib32-glibc/glibc-2.15-lddebug-scopes.patch | |
parent | 0b31296d95d2e0f18abf69f30d0946e3a1f35672 (diff) |
Mon Jan 16 23:15:10 UTC 2012
Diffstat (limited to 'multilib-testing/lib32-glibc/glibc-2.15-lddebug-scopes.patch')
-rw-r--r-- | multilib-testing/lib32-glibc/glibc-2.15-lddebug-scopes.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/multilib-testing/lib32-glibc/glibc-2.15-lddebug-scopes.patch b/multilib-testing/lib32-glibc/glibc-2.15-lddebug-scopes.patch new file mode 100644 index 000000000..808cf8d7c --- /dev/null +++ b/multilib-testing/lib32-glibc/glibc-2.15-lddebug-scopes.patch @@ -0,0 +1,27 @@ +From 0c95ab64cb4ec0d22bb222647d9d20c7b4903e38 Mon Sep 17 00:00:00 2001 +From: Andreas Schwab <schwab@redhat.com> +Date: Fri, 7 Oct 2011 09:31:27 +0200 +Subject: [PATCH] Horrible workaround for horribly broken software + +--- + elf/rtld.c | 4 +++- + 1 files changed, 3 insertions(+), 1 deletions(-) + +diff --git a/elf/rtld.c b/elf/rtld.c +index 978c609..8422b9f 100644 +--- a/elf/rtld.c ++++ b/elf/rtld.c +@@ -1393,7 +1393,9 @@ of this helper program; chances are you did not intend to run this program.\n\ + char *copy = malloc (len); + if (copy == NULL) + _dl_fatal_printf ("out of memory\n"); +- l->l_libname->name = l->l_name = memcpy (copy, dsoname, len); ++ l->l_libname->name = memcpy (copy, dsoname, len); ++ if (GLRO(dl_debug_mask)) ++ l->l_name = copy; + } + + /* Add the vDSO to the object list. */ +-- +1.7.3.4 + |