summaryrefslogtreecommitdiff
path: root/packages/glibc/2.21/0011-dlclose-assert.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2021-09-21 07:56:07 (GMT)
committerChris Packham <judge.packham@gmail.com>2021-09-21 09:24:31 (GMT)
commit3d2b48fb7a7b958575714d1d3ca180c53aeb8604 (patch)
tree6b0a8cd4a87d4912e4fc0d8dc7286ec7dc820a9b /packages/glibc/2.21/0011-dlclose-assert.patch
parent793b2503458b874e58c9d7fafc68686ecb9fd071 (diff)
glibc: Remove obsolete versions
The following versions were marked obsolete in crosstool-ng-1.24.0, remove them. - glibc-linaro-2.20-2014.11 - glibc-2.12.2 - glibc-2.13 - glibc-2.14.1 - glibc-2.15 - glibc-2.16.0 - glibc-2.18 - glibc-2.20 - glibc-2.21 - glibc-2.22 Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/glibc/2.21/0011-dlclose-assert.patch')
-rw-r--r--packages/glibc/2.21/0011-dlclose-assert.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/packages/glibc/2.21/0011-dlclose-assert.patch b/packages/glibc/2.21/0011-dlclose-assert.patch
deleted file mode 100644
index 4a9de10..0000000
--- a/packages/glibc/2.21/0011-dlclose-assert.patch
+++ /dev/null
@@ -1,42 +0,0 @@
-commit 2bd2cad9e8a410643e80efa0b15f6f2882e1271b
-Author: Roland McGrath <roland@hack.frob.com>
-Date: Fri Apr 17 14:29:40 2015 -0700
-
- Avoid confusing compiler with dynamically impossible statically invalid dereference in _dl_close_worker.
-
----
- elf/dl-close.c | 16 +++++++++++++---
- 1 file changed, 13 insertions(+), 3 deletions(-)
-
---- a/elf/dl-close.c
-+++ b/elf/dl-close.c
-@@ -641,9 +641,16 @@
- DL_UNMAP (imap);
-
- /* Finally, unlink the data structure and free it. */
-- if (imap->l_prev != NULL)
-- imap->l_prev->l_next = imap->l_next;
-- else
-+#if DL_NNS == 1
-+ /* The assert in the (imap->l_prev == NULL) case gives
-+ the compiler license to warn that NS points outside
-+ the dl_ns array bounds in that case (as nsid != LM_ID_BASE
-+ is tantamount to nsid >= DL_NNS). That should be impossible
-+ in this configuration, so just assert about it instead. */
-+ assert (nsid == LM_ID_BASE);
-+ assert (imap->l_prev != NULL);
-+#else
-+ if (imap->l_prev == NULL)
- {
- assert (nsid != LM_ID_BASE);
- ns->_ns_loaded = imap->l_next;
-@@ -652,6 +659,9 @@
- we leave for debuggers to examine. */
- r->r_map = (void *) ns->_ns_loaded;
- }
-+ else
-+#endif
-+ imap->l_prev->l_next = imap->l_next;
-
- --ns->_ns_nloaded;
- if (imap->l_next != NULL)