summaryrefslogtreecommitdiff
path: root/patches/glibc/ports-2.13/440-alpha-cache-shape.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-02-07 23:53:53 (GMT)
committerAlexey Neyman <stilor@att.net>2017-02-10 02:05:36 (GMT)
commitac4a37c8c43eca8443943c110521a39cec8bf5fc (patch)
treec92d906db51fdfd77ace5ccbcdc1a9cf11589172 /patches/glibc/ports-2.13/440-alpha-cache-shape.patch
parentfb6fe0d70baaf4a3b545aa56b7b25a8457ab1204 (diff)
Revert "patches: remove obsolete glibc patches"
This partially reverts commit 429b3e884662a3b9a72890aae23865501e66330f. Bring back the patches for glibc 2.12 and newer. Propagate/refresh some patches as needed. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/glibc/ports-2.13/440-alpha-cache-shape.patch')
-rw-r--r--patches/glibc/ports-2.13/440-alpha-cache-shape.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/patches/glibc/ports-2.13/440-alpha-cache-shape.patch b/patches/glibc/ports-2.13/440-alpha-cache-shape.patch
new file mode 100644
index 0000000..62ade7b
--- /dev/null
+++ b/patches/glibc/ports-2.13/440-alpha-cache-shape.patch
@@ -0,0 +1,13 @@
+older verisons of glibc would build dl-sysdep as shared-only and dl-support as
+static-only. alpha hooks in a cache variable via dl-auxv.h. newer versions of
+glibc build dl-sysdep as both shared and static which means we now have symbol
+duplication for static builds with dl-sysdep and dl-support. since dl-sysdep
+is both shared/static, there is no point in hooking dl-support anymore, so we
+can punt it.
+
+diff -durN glibc-2.13.orig/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2.13/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/dl-support.c
+--- glibc-2.13.orig/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-05-16 10:36:20.000000000 +0200
++++ glibc-2.13/glibc-ports-2.13/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-11-13 00:50:53.000000000 +0100
+@@ -1,2 +1,1 @@
+-#include "dl-auxv.h"
+ #include <elf/dl-support.c>