crosstool-ng/patches/glibc/2.9/480-alpha-glibc-2.8-cache-shape.patch
Yann E. MORIN" f31a1dc035 Update the alphaev56-unknown-linux-gnu sample, as per:
http://sourceware.org/ml/crossgcc/2009-05/msg00009.html

 -------- diffstat follows --------
 /trunk/patches/glibc/2.9/480-alpha-glibc-2.8-cache-shape.patch |    3     1     2     0 -
 /trunk/patches/glibc/2.9/540-alpha-atfcts.patch                |   12    12     0     0 ++++
 /trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config    |   50    15    35     0 +++++-----------
 3 files changed, 28 insertions(+), 37 deletions(-)
2009-05-05 18:22:33 +00:00

18 lines
910 B
Diff

Original patch from: gentoo/src/patchsets/glibc/2.9/6018_all_alpha-glibc-2.8-cache-shape.patch
-= BEGIN original header =-
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.
-= END original header =-
diff -durN glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c
--- glibc-2_9.orig/sysdeps/unix/sysv/linux/alpha/dl-support.c 2007-03-13 22:25:16.000000000 +0100
+++ glibc-2_9/sysdeps/unix/sysv/linux/alpha/dl-support.c 2009-02-02 22:01:37.000000000 +0100
@@ -1,1 +1,0 @@
-#include "dl-auxv.h"