Blame SOURCES/glibc-ia64-lib64.patch

b40826
2004-05-14  Jakub Jelinek  <jakub@redhat.com>
b40826
b40826
	* sysdeps/unix/sysv/linux/configure.in: Use */lib64 even for ia64.
b40826
	* sysdeps/unix/sysv/linux/configure: Rebuilt.
b40826
	* sysdeps/unix/sysv/linux/ia64/dl-procinfo.c: New file.
b40826
	* sysdeps/unix/sysv/linux/ia64/dl-procinfo.h: New file.
b40826
	* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Change /lib64/ld*
b40826
	into /lib/ld*.  Add LD_LIBRARY_VERSION.
b40826
	* sysdeps/unix/sysv/linux/ia64/ldconfig.h
b40826
	(SYSDEP_KNOWN_INTERPRETER_NAMES): Add /lib64/ld-linux-ia64.so.2.
b40826
	* sysdeps/unix/sysv/linux/ia64/dl-cache.h: Include sparc-linux
b40826
	dl-cache.h instead of generic dl-cache.h.
b40826
b40826
--- libc/sysdeps/unix/sysv/linux/configure.jj	2003-03-23 03:10:04.000000000 +0100
b40826
+++ libc/sysdeps/unix/sysv/linux/configure	2004-05-14 15:54:35.669802684 +0200
b40826
@@ -225,7 +225,7 @@ case "$prefix" in
b40826
   # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib
b40826
   case $machine in
b40826
   sparc/sparc64 | x86_64 | powerpc/powerpc64 | s390/s390-64 | \
b40826
-  mips/mips64/n64/* )
b40826
+  mips/mips64/n64/* | ia64 )
b40826
     libc_cv_slibdir="/lib64"
b40826
     if test "$libdir" = '${exec_prefix}/lib'; then
b40826
       libdir='${exec_prefix}/lib64';
b40826
--- libc/sysdeps/unix/sysv/linux/configure.in.jj	2003-03-23 03:10:04.000000000 +0100
b40826
+++ libc/sysdeps/unix/sysv/linux/configure.in	2004-05-14 15:53:44.355998785 +0200
b40826
@@ -158,7 +158,7 @@ case "$prefix" in
b40826
   # 64-bit libraries on bi-arch platforms go in /lib64 instead of /lib
b40826
   case $machine in
b40826
   sparc/sparc64 | x86_64 | powerpc/powerpc64 | s390/s390-64 | \
b40826
-  mips/mips64/n64/* )
b40826
+  mips/mips64/n64/* | ia64 )
b40826
     libc_cv_slibdir="/lib64"
b40826
     if test "$libdir" = '${exec_prefix}/lib'; then
b40826
       libdir='${exec_prefix}/lib64';
b40826
--- libc/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c.jj	2004-05-14 15:42:09.307560515 +0200
b40826
+++ libc/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c	2003-09-30 00:23:24.000000000 +0200
b40826
@@ -0,0 +1,5 @@
b40826
+#ifdef IS_IN_ldconfig
b40826
+#include <sysdeps/i386/dl-procinfo.c>
b40826
+#else
b40826
+#include <sysdeps/generic/dl-procinfo.c>
b40826
+#endif
b40826
--- libc/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed.jj	2002-01-17 07:49:28.000000000 +0100
b40826
+++ libc/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed	2004-05-14 16:21:03.041325040 +0200
b40826
@@ -1 +1,4 @@
b40826
-s_^\(RTLDLIST=\)\([^ 	]*\)-ia64\(\.so\.[0-9.]*\)[ 	]*$_\1"\2-ia64\3 \2\3"_
b40826
+/LD_TRACE_LOADED_OBJECTS=1/a\
b40826
+add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
b40826
+s_^\(RTLDLIST=\)/lib64/ld\([^ 	]*\)-ia64\(\.so\.[0-9.]*\)[ 	]*$_\1"/lib/ld\2-ia64\3 /lib/ld\2\3"_
b40826
+s_^\(RTLDLIST=\)\([^"][^ 	]*\)-ia64\(\.so\.[0-9.]*\)[ 	]*$_\1"\2-ia64\3 \2\3"_
b40826
--- libc/sysdeps/unix/sysv/linux/ia64/ldconfig.h.jj	2001-07-06 06:56:17.000000000 +0200
b40826
+++ libc/sysdeps/unix/sysv/linux/ia64/ldconfig.h	2004-05-14 15:45:40.103783087 +0200
b40826
@@ -1,4 +1,4 @@
b40826
-/* Copyright (C) 2001 Free Software Foundation, Inc.
b40826
+/* Copyright (C) 2001, 2004 Free Software Foundation, Inc.
b40826
    This file is part of the GNU C Library.
b40826
 
b40826
    The GNU C Library is free software; you can redistribute it and/or
b40826
@@ -19,7 +19,8 @@
b40826
 #include <sysdeps/generic/ldconfig.h>
b40826
 
b40826
 #define SYSDEP_KNOWN_INTERPRETER_NAMES \
b40826
-  { "/lib/ld-linux.so.2", FLAG_ELF_LIBC6 },
b40826
+  { "/lib/ld-linux.so.2", FLAG_ELF_LIBC6 }, \
b40826
+  { "/lib64/ld-linux-ia64.so.2", FLAG_ELF_LIBC6 },
b40826
 #define SYSDEP_KNOWN_LIBRARY_NAMES \
b40826
   { "libc.so.6", FLAG_ELF_LIBC6 },	\
b40826
   { "libm.so.6", FLAG_ELF_LIBC6 },
b40826
--- libc/sysdeps/unix/sysv/linux/ia64/dl-cache.h.jj	2001-07-06 06:56:17.000000000 +0200
b40826
+++ libc/sysdeps/unix/sysv/linux/ia64/dl-cache.h	2004-05-14 15:41:11.658891907 +0200
b40826
@@ -1,5 +1,5 @@
b40826
 /* Support for reading /etc/ld.so.cache files written by Linux ldconfig.
b40826
-   Copyright (C) 2000 Free Software Foundation, Inc.
b40826
+   Copyright (C) 2000, 2004 Free Software Foundation, Inc.
b40826
    This file is part of the GNU C Library.
b40826
 
b40826
    The GNU C Library is free software; you can redistribute it and/or
b40826
@@ -22,4 +22,4 @@
b40826
 #define _dl_cache_check_flags(flags) \
b40826
   ((flags) == _DL_CACHE_DEFAULT_ID)
b40826
 
b40826
-#include_next <dl-cache.h>
b40826
+#include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>
b40826
--- libc/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h.jj	2004-05-14 15:42:13.018895395 +0200
b40826
+++ libc/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h	2003-07-23 00:06:23.000000000 +0200
b40826
@@ -0,0 +1,5 @@
b40826
+#ifdef IS_IN_ldconfig
b40826
+#include <sysdeps/unix/sysv/linux/i386/dl-procinfo.h>
b40826
+#else
b40826
+#include <sysdeps/generic/dl-procinfo.h>
b40826
+#endif