The static program builds in libc were getting multiple
definition errors between dl-sysdep and dl-support.
Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-03-26 Richard Henderson <rth@redhat.com>
+ * sysdeps/unix/sysv/linux/alpha/dl-auxv.h (__libc_alpha_cache_shape):
+ Define extern here; move definition...
+ * sysdeps/unix/sysv/linux/alpha/dl-sysdep.c: ... here.
+
+2010-03-26 Richard Henderson <rth@redhat.com>
+
* sysdeps/unix/sysv/linux/alpha/sys/user.h: Don't include asm/page.h.
(PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Define.
/* Scan the Aux Vector for the cache shape entries. */
-long __libc_alpha_cache_shape[4] = { -2, -2, -2, -2 };
+extern long __libc_alpha_cache_shape[4];
#define DL_PLATFORM_AUXV \
case AT_L1I_CACHESHAPE: \
#include "dl-auxv.h"
+
+long __libc_alpha_cache_shape[4] = { -2, -2, -2, -2 };
+
#include <sysdeps/unix/sysv/linux/dl-sysdep.c>