jlinton / rpms / glibc

Forked from rpms/glibc 3 years ago
Clone
0cfc9db
--- glibc-20080828T1623/ChangeLog	26 Aug 2008 19:11:03 -0000	1.11337
0cfc9db
+++ glibc-20080828T1623-fedora/ChangeLog	29 Aug 2008 07:41:59 -0000	1.8782.2.310
0cfc9db
@@ -5608,6 +5608,13 @@
c5a7af7
 	* include/sys/cdefs.h: Redefine __nonnull so that test for
c5a7af7
 	incorrect parameters in the libc code itself are not omitted.
c5a7af7
 
c5a7af7
+2006-07-02  Jakub Jelinek  <jakub@redhat.com>
c5a7af7
+
c5a7af7
+	* nscd/connections.c (sighup_pending): New variable.
c5a7af7
+	(nscd_run): If sighup_pending, prune all 3 caches.
c5a7af7
+	(sighup_handler): Don't prune caches here, rather just set
c5a7af7
+	sighup_pending flag.
c5a7af7
+
c5a7af7
 2007-05-09  Jakub Jelinek  <jakub@redhat.com>
c5a7af7
 
c5a7af7
 	* sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow
0cfc9db
@@ -5903,6 +5910,10 @@
510ee2f
 	[BZ #4368]
510ee2f
 	* stdlib/stdlib.h: Remove obsolete part of comment for realpath.
510ee2f
 
7d351d9
+2007-04-16  Jakub Jelinek  <jakub@redhat.com>
7d351d9
+
7d351d9
+	* locale/programs/locarchive.c (add_alias, insert_name): Remove static.
7d351d9
+
7d351d9
 2007-04-16  Ulrich Drepper  <drepper@redhat.com>
7d351d9
 
7d351d9
 	[BZ #4364]
0cfc9db
@@ -7160,6 +7171,15 @@
6e8aad2
 	separators also if no non-zero digits found.
6e8aad2
 	* stdlib/Makefile (tests): Add tst-strtod3.
6e8aad2
 
9b5c867
+2006-12-10  Jakub Jelinek  <jakub@redhat.com>
9b5c867
+
9b5c867
+	* sysdeps/unix/sysv/linux/netlinkaccess.h: Include linux/if_addr.h
9b5c867
+	if IFA_MAX is not defined.
9b5c867
+	(IFA_RTA, IFA_PAYLOAD, IFLA_RTA, IFLA_PAYLOAD): Define if not
9b5c867
+	defined.
9b5c867
+	* sysdeps/unix/sysv/linux/check_pf.c: Include netlinkaccess.h
9b5c867
+	instead of asm/types.h, linux/netlink.h and linux/rtnetlink.h.
9b5c867
+
9b5c867
 2006-12-09  Ulrich Drepper  <drepper@redhat.com>
9b5c867
 
9b5c867
 	[BZ #3632]
0cfc9db
--- glibc-20080828T1623/ChangeLog.15	16 Feb 2005 07:34:17 -0000	1.1
0cfc9db
+++ glibc-20080828T1623-fedora/ChangeLog.15	19 Dec 2006 19:05:40 -0000	1.1.6.3
e72031f
@@ -477,6 +477,14 @@
e72031f
 
e72031f
 2004-11-26  Jakub Jelinek  <jakub@redhat.com>
e72031f
 
e72031f
+	* posix/Makefile (generated: Add getconf.speclist.
e72031f
+	($(inst_libexecdir)/getconf): Use getconf.speclist instead of
e72031f
+	getconf output.
e72031f
+	($(objpfx)getconf.speclist): New rule.
e72031f
+	* posix/getconf.speclist.h: New file.
e72031f
+
e72031f
+2004-11-26  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
 	* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add GETCONF_DIR.
e72031f
 
e72031f
 2004-11-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83804eb
@@ -1103,6 +1111,13 @@
e72031f
 	* sysdeps/generic/tempname.c (__path_search): Add missing argument
e72031f
 	TRY_TMPDIR.
e72031f
 
e72031f
+2004-11-02  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* include/features.h (__USE_FORTIFY_LEVEL): Also set for Red Hat
e72031f
+	GCC 3.4.x-RH >= 3.4.2-8.
e72031f
+	* debug/tst-chk1.c (do_test): Deal with GCC 3.4.x-RH not
e72031f
+	being able to recognize subobjects.
e72031f
+
e72031f
 2004-10-31  Mariusz Mazur <mmazur@kernel.pl>
e72031f
 
e72031f
 	* sysdeps/unix/sysv/linux/alpha/setregid.c: New file.
83804eb
@@ -1443,6 +1458,11 @@
e72031f
 	* sysdeps/generic/readonly-area.c (__readonly_str): Renamed to ...
e72031f
 	(__readonly_area): ... this.
e72031f
 
e72031f
+2004-10-19  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* include/features.h (__USE_FORTIFY_LEVEL): Enable even with
e72031f
+	Red Hat gcc4 4.0.0 and above.
e72031f
+
e72031f
 2004-10-18  Jakub Jelinek  <jakub@redhat.com>
e72031f
 
e72031f
 	* sysdeps/generic/strcpy_chk.c (__strcpy_chk): Speed up by checking
83804eb
@@ -3182,6 +3202,23 @@
e72031f
 	before return type.
e72031f
 	* locale/localename.c (__current_locale_name): Likewise.
e72031f
 
e72031f
+2004-08-31  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* elf/ldconfig.c (parse_conf): Add prefix argument, prepend it
e72031f
+	before arguments to add_dir and pass to parse_conf_include.
e72031f
+	(parse_conf_include): Add prefix argument, pass it down to
e72031f
+	parse_conf.
e72031f
+	(main): Call arch_startup.  Adjust parse_conf caller.
e72031f
+	Call add_arch_dirs.
e72031f
+	* sysdeps/generic/dl-cache.h (arch_startup, add_arch_dirs): Define.
e72031f
+	* sysdeps/unix/sysv/linux/i386/dl-cache.h: New file.
e72031f
+	* sysdeps/unix/sysv/linux/ia64/dl-cache.h (EMUL_HACK, arch_startup,
e72031f
+	add_arch_dirs): Define.
e72031f
+	* sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Prepend
e72031f
+	/emul/ia32-linux before the 32-bit ld.so pathname.
e72031f
+	* sysdeps/unix/sysv/linux/ia64/dl-procinfo.c: New file.
e72031f
+	* sysdeps/unix/sysv/linux/ia64/dl-procinfo.h: New file.
e72031f
+
e72031f
 2004-08-30  Roland McGrath  <roland@frob.com>
e72031f
 
e72031f
 	* scripts/extract-abilist.awk: If `lastversion' variable defined, omit
0cfc9db
--- glibc-20080828T1623/ChangeLog.16	4 May 2006 16:05:24 -0000	1.1
0cfc9db
+++ glibc-20080828T1623-fedora/ChangeLog.16	5 May 2006 06:11:52 -0000	1.1.2.1
e72031f
@@ -171,6 +171,11 @@
e72031f
 	[BZ #2611]
e72031f
 	* stdio-common/renameat.c (renameat): Fix typo.
e72031f
 
e72031f
+2006-04-27  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* nscd/connections.c (sighup_handler): Only run prune_cache on
e72031f
+	enabled databases.
e72031f
+
e72031f
 2006-04-26  Roland McGrath  <roland@redhat.com>
e72031f
 
e72031f
 	* Makeconfig (%.v.i rule): Don't use -DASSEMBLER.
e72031f
@@ -1030,6 +1035,34 @@
e72031f
 	_SC_CPUTIME and _SC_THREAD_CPUTIME here.
e72031f
 	* sysdeps/unix/sysv/linux/x86_64/sysconf.c (__sysconf): Likewise.
e72031f
 
e72031f
+2006-03-04  Jakub Jelinek  <jakub@redhat.com>
e72031f
+	    Roland McGrath  <roland@redhat.com>
e72031f
+
e72031f
+	* sysdeps/unix/sysv/linux/i386/lowlevellock.h
e72031f
+	(LLL_STUB_UNWIND_INFO_START, LLL_STUB_UNWIND_INFO_END,
e72031f
+	LLL_STUB_UNWIND_INFO_3, LLL_STUB_UNWIND_INFO_4): Define.
e72031f
+	(lll_mutex_lock, lll_robust_mutex_lock, lll_mutex_cond_lock,
e72031f
+	lll_robust_mutex_cond_lock, lll_mutex_timedlock,
e72031f
+	lll_robust_mutex_timedlock, lll_mutex_unlock,
e72031f
+	lll_robust_mutex_unlock, lll_lock, lll_unlock): Use them.
e72031f
+	Add _L_*_ symbols around the subsection.
e72031f
+	* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Add unwind info.
e72031f
+	* sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Likewise.
e72031f
+
e72031f
+2006-03-03  Jakub Jelinek  <jakub@redhat.com>
e72031f
+	    Roland McGrath  <roland@redhat.com>
e72031f
+
e72031f
+	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
e72031f
+	(LLL_STUB_UNWIND_INFO_START, LLL_STUB_UNWIND_INFO_END,
e72031f
+	LLL_STUB_UNWIND_INFO_5, LLL_STUB_UNWIND_INFO_6): Define.
e72031f
+	(lll_mutex_lock, lll_robust_mutex_lock, lll_mutex_cond_lock,
e72031f
+	lll_robust_mutex_cond_lock, lll_mutex_timedlock,
e72031f
+	lll_robust_mutex_timedlock, lll_mutex_unlock,
e72031f
+	lll_robust_mutex_unlock, lll_lock, lll_unlock): Use them.
e72031f
+	Add _L_*_ symbols around the subsection.
e72031f
+	* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Add unwind info.
e72031f
+	* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
e72031f
+
e72031f
 2006-03-05  Roland McGrath  <roland@redhat.com>
e72031f
 
e72031f
 	* malloc/malloc.c (MALLOC_ALIGNMENT): Revert to (2 * SIZE_SZ) value.
e72031f
@@ -2042,6 +2075,11 @@
e72031f
 	(__MATHDECL_2): Use __REDIRECT_NTH instead of __REDIRECT
e72031f
 	followed by __THROW.
e72031f
 
e72031f
+	* sysdeps/unix/sysv/linux/futimesat.c (futimesat): If
e72031f
+	file == NULL, use __futimes unconditionally.
e72031f
+
e72031f
+	* manual/filesys.texi (futimes): Fix prototype.
e72031f
+
e72031f
 2006-02-02  Ulrich Drepper  <drepper@redhat.com>
e72031f
 
e72031f
 	* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
e72031f
@@ -2101,6 +2139,11 @@
e72031f
 	* sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Fix a typo.
e72031f
 	* sysdeps/s390/fpu/libm-test-ulps: Remove llrint ulps.
e72031f
 
e72031f
+2006-01-30  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* include/bits/stdlib-ldbl.h: New file.
e72031f
+	* include/bits/wchar-ldbl.h: New file.
e72031f
+
e72031f
 2006-01-19  Thomas Schwinge  <tschwinge@gnu.org>
e72031f
 
e72031f
 	* libio/genops.c: Include <stdbool.h>.
e72031f
@@ -4527,6 +4570,10 @@
e72031f
 
e72031f
 	* elf/order2mod2.c (init): Cast ignored value to void.
e72031f
 
e72031f
+2005-12-27  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* elf/ldconfig.c (search_dir): Skip prelink temporaries.
e72031f
+
e72031f
 2005-12-27  Ulrich Drepper  <drepper@redhat.com>
e72031f
 
e72031f
 	* elf/tst-tls13.c (do_test): Avoid using the library path when
e72031f
@@ -4810,6 +4857,26 @@
e72031f
 	* sysdeps/unix/sysv/linux/time.c: If __NR_time is not defined,
e72031f
 	use sysdeps/unix/time.c implementation.
e72031f
 
e72031f
+2005-12-20  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* malloc/mtrace.c (__libc_malloc, __libc_free, __libc_realloc,
e72031f
+	__libc_memalign): Add prototypes and libc_hidden_proto resp.
e72031f
+	defines for !_LIBC.
e72031f
+	(tr_freehook): Call __libc_free instead of free.
e72031f
+	(tr_mallochook): Call __libc_malloc instead of malloc.
e72031f
+	(tr_reallochook): Call __libc_realloc instead of realloc.
e72031f
+	(tr_memalignhook): Call __libc_memalign instead of memalign.
e72031f
+	* malloc/mcheck.c: Include stdlib.h.
e72031f
+	(__libc_malloc, __libc_free, __libc_realloc,
e72031f
+	__libc_memalign): Add prototypes and libc_hidden_proto resp.
e72031f
+	defines for !_LIBC.
e72031f
+	(freehook): Call __libc_free instead of free.
e72031f
+	(mallochook): Call __libc_malloc instead of malloc.
e72031f
+	(reallochook): Call __libc_realloc instead of realloc.
e72031f
+	(memalignhook): Call __libc_memalign instead of memalign.
e72031f
+	(mcheck): Call __libc_malloc and __libc_free instead of
e72031f
+	malloc and free.
e72031f
+
e72031f
 2005-12-19  Ulrich Drepper  <drepper@redhat.com>
e72031f
 
e72031f
 	[BZ #1955]
e72031f
@@ -7928,6 +7995,11 @@
e72031f
 	R_ARM_TLS_TPOFF32, R_ARM_TLS_GD32, R_ARM_TLS_LDM32,
e72031f
 	R_ARM_TLS_LDO32, R_ARM_TLS_IE32, R_ARM_TLS_LE32): New macros.
e72031f
 
e72031f
+2005-10-03  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* nscd/selinux.c (audit_init): Print error string in the failure
e72031f
+	message.
e72031f
+
e72031f
 2005-10-03  Roland McGrath  <roland@redhat.com>
e72031f
 
e72031f
 	* sysdeps/powerpc/nofpu: Directory removed, saved in ports repository.
e72031f
@@ -8922,6 +8994,12 @@
e72031f
 	* argp/argp-help.c (__argp_error): __asprintf -> vasprintf.
e72031f
 	(__argp_failure): Likewise.
e72031f
 
e72031f
+2005-08-08  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
e72031f
+	Shift marked &errno down on big-endian instead of up.
e72031f
+	* elf/tst-stackguard1.c (do_test): Fix a typo.
e72031f
+
e72031f
 2005-08-08  Ulrich Drepper  <drepper@redhat.com>
e72031f
 
e72031f
 	* nscd/cache.c (cache_add): Commit hash table and header to disk.
e72031f
@@ -9046,6 +9124,17 @@
e72031f
 	__syslog_chk.
e72031f
 	* misc/Versions: Export __syslog_chk and __vsyslog_chk.
e72031f
 
e72031f
+2005-07-29  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* sysdeps/unix/sysv/linux/dl-osinfo.h: Include errno.h, hp-timing.h,
e72031f
+	endian.h.
e72031f
+	(_dl_setup_stack_chk_guard): Even without
e72031f
+	--enable-stackguard-randomization attempt to do some guard
e72031f
+	randomization using hp-timing (if available) and kernel stack and
e72031f
+	mmap randomization.
e72031f
+	* elf/tst-stackguard1.c (do_test): Don't fail if the poor man's
e72031f
+	randomization doesn't work well enough.
e72031f
+
e72031f
 2005-07-28  Thomas Schwinge  <schwinge@nic-nac-project.de>
e72031f
 
e72031f
 	[BZ #1137]
e72031f
@@ -12106,6 +12195,18 @@
e72031f
 
e72031f
 	* scripts/soversions.awk: Fix default version set handling.
e72031f
 
e72031f
+2005-02-09  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* sysdeps/unix/sysv/linux/bits/termios.h (CMSPAR): Define.
e72031f
+	* sysdeps/unix/sysv/linux/alpha/bits/termios.h: Add __USE_MISC
e72031f
+	and __USE_XOPEN guards to match linux/bits/termios.h.
e72031f
+	(CMSPAR): Define.
e72031f
+	* sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Add __USE_MISC
e72031f
+	and __USE_XOPEN guards to match linux/bits/termios.h.
e72031f
+	(CMSPAR): Define.
e72031f
+	* sysdeps/unix/sysv/linux/sparc/bits/termios.h: Add __USE_MISC
e72031f
+	and __USE_XOPEN guards to match linux/bits/termios.h.
e72031f
+
e72031f
 2005-02-10  Roland McGrath  <roland@redhat.com>
e72031f
 
e72031f
 	[BZ #157]
0cfc9db
--- glibc-20080828T1623/csu/Makefile	1 Mar 2006 10:35:47 -0000	1.79
0cfc9db
+++ glibc-20080828T1623-fedora/csu/Makefile	30 Nov 2006 17:07:37 -0000	1.74.2.6
21860be
@@ -93,7 +93,8 @@ omit-deps += $(crtstuff)
21860be
 $(crtstuff:%=$(objpfx)%.o): %.o: %.S $(objpfx)defs.h
21860be
 	$(compile.S) -g0 $(ASFLAGS-.os) -o $@
21860be
 
21860be
-CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
21860be
+CFLAGS-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time) \
21860be
+		    -fno-asynchronous-unwind-tables
21860be
 
21860be
 vpath initfini.c $(sysdirs)
21860be
 
0cfc9db
--- glibc-20080828T1623/csu/elf-init.c	5 Nov 2005 17:41:38 -0000	1.8
0cfc9db
+++ glibc-20080828T1623-fedora/csu/elf-init.c	15 Nov 2005 09:54:10 -0000	1.3.2.6
e72031f
@@ -49,6 +49,23 @@ extern void (*__init_array_end []) (int,
e72031f
 extern void (*__fini_array_start []) (void) attribute_hidden;
e72031f
 extern void (*__fini_array_end []) (void) attribute_hidden;
e72031f
 
e72031f
+#if defined HAVE_VISIBILITY_ATTRIBUTE \
e72031f
+    && (defined SHARED || defined LIBC_NONSHARED)
e72031f
+# define hidden_undef_2(x) #x
e72031f
+# define hidden_undef_1(x) hidden_undef_2 (x)
e72031f
+# define hidden_undef(x) \
e72031f
+  __asm (hidden_undef_1 (ASM_GLOBAL_DIRECTIVE) " " #x); \
e72031f
+  __asm (".hidden " #x);
e72031f
+#else
e72031f
+# define hidden_undef(x)
e72031f
+#endif
e72031f
+
e72031f
+hidden_undef (__preinit_array_start)
e72031f
+hidden_undef (__preinit_array_end)
e72031f
+hidden_undef (__init_array_start)
e72031f
+hidden_undef (__init_array_end)
e72031f
+hidden_undef (__fini_array_start)
e72031f
+hidden_undef (__fini_array_end)
e72031f
 
e72031f
 /* These function symbols are provided for the .init/.fini section entry
e72031f
    points automagically by the linker.  */
0cfc9db
--- glibc-20080828T1623/debug/tst-chk1.c	5 Mar 2008 06:51:37 -0000	1.19
0cfc9db
+++ glibc-20080828T1623-fedora/debug/tst-chk1.c	5 Mar 2008 09:37:40 -0000	1.1.2.19
e72031f
@@ -17,6 +17,9 @@
e72031f
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
e72031f
    02111-1307 USA.  */
e72031f
 
e72031f
+/* Hack: make sure GCC doesn't know __chk_fail () will not return.  */
e72031f
+#define __noreturn__
e72031f
+
e72031f
 #include <assert.h>
e72031f
 #include <fcntl.h>
e72031f
 #include <locale.h>
ffc48ad
@@ -242,7 +245,7 @@ do_test (void)
e72031f
   if (memcmp (a.buf1, "aabcdabcjj", 10))
e72031f
     FAIL ();
e72031f
 
e72031f
-#if __USE_FORTIFY_LEVEL < 2
e72031f
+#if __USE_FORTIFY_LEVEL < 2 || !__GNUC_PREREQ (4, 0)
e72031f
   /* The following tests are supposed to crash with -D_FORTIFY_SOURCE=2
e72031f
      and sufficient GCC support, as the string operations overflow
e72031f
      from a.buf1 into a.buf2.  */
ffc48ad
@@ -357,7 +360,7 @@ do_test (void)
e72031f
   memset (a.buf1 + 9, 'j', l0 + 2);
e72031f
   CHK_FAIL_END
e72031f
 
4c53b15
-# if __USE_FORTIFY_LEVEL >= 2
4c53b15
+# if __USE_FORTIFY_LEVEL >= 2 && __GNUC_PREREQ (4, 0)
4c53b15
 #  define O 0
4c53b15
 # else
4c53b15
 #  define O 1
0cfc9db
--- glibc-20080828T1623/elf/ldconfig.c	19 Mar 2008 06:43:31 -0000	1.63
0cfc9db
+++ glibc-20080828T1623-fedora/elf/ldconfig.c	26 Mar 2008 11:22:14 -0000	1.47.2.18
11f5889
@@ -1000,17 +1000,19 @@ search_dirs (void)
e72031f
 
e72031f
 
e72031f
 static void parse_conf_include (const char *config_file, unsigned int lineno,
e72031f
-				bool do_chroot, const char *pattern);
e72031f
+				const char *prefix, bool do_chroot,
e72031f
+				const char *pattern);
e72031f
 
e72031f
 /* Parse configuration file.  */
e72031f
 static void
e72031f
-parse_conf (const char *filename, bool do_chroot)
e72031f
+parse_conf (const char *filename, const char *prefix, bool do_chroot)
e72031f
 {
e72031f
   FILE *file = NULL;
e72031f
   char *line = NULL;
e72031f
   const char *canon;
e72031f
   size_t len = 0;
e72031f
   unsigned int lineno;
e72031f
+  size_t prefix_len = prefix ? strlen (prefix) : 0;
e72031f
 
e72031f
   if (do_chroot && opt_chroot)
e72031f
     {
11f5889
@@ -1071,7 +1073,14 @@ parse_conf (const char *filename, bool d
e72031f
 	  cp += 8;
e72031f
 	  while ((dir = strsep (&cp, " \t")) != NULL)
e72031f
 	    if (dir[0] != '\0')
e72031f
-	      parse_conf_include (filename, lineno, do_chroot, dir);
e72031f
+	      parse_conf_include (filename, lineno, prefix, do_chroot, dir);
e72031f
+	}
e72031f
+      else if (prefix != NULL)
e72031f
+	{
e72031f
+	  size_t cp_len = strlen (cp);
e72031f
+	  char new_cp [prefix_len + cp_len + 1];
e72031f
+	  memcpy (mempcpy (new_cp, prefix, prefix_len), cp, cp_len + 1);
e72031f
+	  add_dir (new_cp);
e72031f
 	}
e72031f
       else if (!strncasecmp (cp, "hwcap", 5) && isblank (cp[5]))
e72031f
 	{
11f5889
@@ -1134,7 +1143,7 @@ parse_conf (const char *filename, bool d
e72031f
    config files to read.  */
e72031f
 static void
e72031f
 parse_conf_include (const char *config_file, unsigned int lineno,
e72031f
-		    bool do_chroot, const char *pattern)
e72031f
+		    const char *prefix, bool do_chroot, const char *pattern)
e72031f
 {
e72031f
   if (opt_chroot && pattern[0] != '/')
e72031f
     error (EXIT_FAILURE, 0,
11f5889
@@ -1164,7 +1173,7 @@ parse_conf_include (const char *config_f
e72031f
     {
e72031f
     case 0:
e72031f
       for (size_t i = 0; i < gl.gl_pathc; ++i)
e72031f
-	parse_conf (gl.gl_pathv[i], false);
e72031f
+	parse_conf (gl.gl_pathv[i], prefix, false);
e72031f
       globfree64 (&gl);
e72031f
       break;
e72031f
 
e5e8f77
@@ -1207,6 +1216,8 @@ main (int argc, char **argv)
55601b4
   /* Set the text message domain.  */
55601b4
   textdomain (_libc_intl_domainname);
e72031f
 
e72031f
+  arch_startup (argc, argv);
e72031f
+
e72031f
   /* Parse and process arguments.  */
55601b4
   int remaining;
e72031f
   argp_parse (&argp, argc, argv, 0, &remaining, NULL);
e5e8f77
@@ -1318,12 +1329,14 @@ main (int argc, char **argv)
e72031f
 
e72031f
   if (!opt_only_cline)
e72031f
     {
e72031f
-      parse_conf (config_file, true);
e72031f
+      parse_conf (config_file, NULL, true);
e72031f
 
e72031f
       /* Always add the standard search paths.  */
e72031f
       add_system_dir (SLIBDIR);
e72031f
       if (strcmp (SLIBDIR, LIBDIR))
e72031f
 	add_system_dir (LIBDIR);
e72031f
+
e72031f
+      add_arch_dirs (config_file);
e72031f
     }
e72031f
 
11f5889
   if (! opt_ignore_aux_cache)
0cfc9db
--- glibc-20080828T1623/elf/tst-stackguard1.c	26 Jun 2005 18:08:36 -0000	1.1
0cfc9db
+++ glibc-20080828T1623-fedora/elf/tst-stackguard1.c	8 Aug 2005 21:24:27 -0000	1.1.2.3
e72031f
@@ -160,17 +160,21 @@ do_test (void)
e72031f
      the 16 runs, something is very wrong.  */
e72031f
   int ndifferences = 0;
e72031f
   int ndefaults = 0;
e72031f
+  int npartlyrandomized = 0;
e72031f
   for (i = 0; i < N; ++i) 
e72031f
     {
e72031f
       if (child_stack_chk_guards[i] != child_stack_chk_guards[i+1])
e72031f
 	ndifferences++;
e72031f
       else if (child_stack_chk_guards[i] == default_guard)
e72031f
 	ndefaults++;
e72031f
+      else if (*(char *) &child_stack_chk_guards[i] == 0)
e72031f
+	npartlyrandomized++;
e72031f
     }
e72031f
 
e72031f
-  printf ("differences %d defaults %d\n", ndifferences, ndefaults);
e72031f
+  printf ("differences %d defaults %d partly randomized %d\n",
e72031f
+	  ndifferences, ndefaults, npartlyrandomized);
e72031f
 
e72031f
-  if (ndifferences < N / 2 && ndefaults < N / 2)
e72031f
+  if ((ndifferences + ndefaults + npartlyrandomized) < 3 * N / 4)
e72031f
     {
e72031f
       puts ("stack guard canaries are not randomized enough");
e72031f
       puts ("nor equal to the default canary value");
0cfc9db
--- glibc-20080828T1623/include/features.h	11 Apr 2008 17:33:13 -0000	1.50
0cfc9db
+++ glibc-20080828T1623-fedora/include/features.h	12 Apr 2008 07:48:57 -0000	1.35.2.20
59c5608
@@ -282,8 +282,13 @@
e72031f
 #endif
e72031f
 
e72031f
 #if defined _FORTIFY_SOURCE && _FORTIFY_SOURCE > 0 \
e72031f
-    && __GNUC_PREREQ (4, 1) && defined __OPTIMIZE__ && __OPTIMIZE__ > 0
59c5608
-# if _FORTIFY_SOURCE > 1
59c5608
+    && defined __OPTIMIZE__ && __OPTIMIZE__ > 0
59c5608
+# if !__GNUC_PREREQ (4, 1)
59c5608
+#  ifdef __GNUC_RH_RELEASE__
59c5608
+#   warning _FORTIFY_SOURCE supported only with GCC 4.1 and later
59c5608
+#  endif
59c5608
+#  define __USE_FORTIFY_LEVEL 0
59c5608
+# elif _FORTIFY_SOURCE > 1
e72031f
 #  define __USE_FORTIFY_LEVEL 2
e72031f
 # else
59c5608
 #  define __USE_FORTIFY_LEVEL 1
0cfc9db
--- glibc-20080828T1623/include/bits/stdlib-ldbl.h 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/include/bits/stdlib-ldbl.h	1 Feb 2006 09:30:43 -0000	1.1.2.1
e72031f
@@ -0,0 +1 @@
e72031f
+#include <stdlib/bits/stdlib-ldbl.h>
0cfc9db
--- glibc-20080828T1623/include/bits/wchar-ldbl.h 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/include/bits/wchar-ldbl.h	1 Feb 2006 09:30:43 -0000	1.1.2.1
e72031f
@@ -0,0 +1 @@
e72031f
+#include <wcsmbs/bits/wchar-ldbl.h>
0cfc9db
--- glibc-20080828T1623/intl/locale.alias	28 Oct 2007 01:39:54 -0000	1.24
0cfc9db
+++ glibc-20080828T1623-fedora/intl/locale.alias	12 Dec 2007 18:13:23 -0000	1.23.2.2
aaaf28d
@@ -57,8 +57,6 @@ korean		ko_KR.eucKR
e72031f
 korean.euc 	ko_KR.eucKR
e72031f
 ko_KR		ko_KR.eucKR
e72031f
 lithuanian      lt_LT.ISO-8859-13
e72031f
-no_NO		nb_NO.ISO-8859-1
e72031f
-no_NO.ISO-8859-1 nb_NO.ISO-8859-1
e72031f
 norwegian       nb_NO.ISO-8859-1
e72031f
 nynorsk		nn_NO.ISO-8859-1
e72031f
 polish          pl_PL.ISO-8859-2
0cfc9db
--- glibc-20080828T1623/libio/stdio.h	24 May 2008 18:14:36 -0000	1.93
0cfc9db
+++ glibc-20080828T1623-fedora/libio/stdio.h	24 May 2008 22:22:18 -0000	1.78.2.14
a7c36fd
@@ -145,10 +145,12 @@ typedef _G_fpos64_t fpos64_t;
e72031f
 extern struct _IO_FILE *stdin;		/* Standard input stream.  */
e72031f
 extern struct _IO_FILE *stdout;		/* Standard output stream.  */
e72031f
 extern struct _IO_FILE *stderr;		/* Standard error output stream.  */
e72031f
+#ifdef __STDC__
e72031f
 /* C89/C99 say they're macros.  Make them happy.  */
e72031f
 #define stdin stdin
e72031f
 #define stdout stdout
e72031f
 #define stderr stderr
e72031f
+#endif
e72031f
 
e72031f
 __BEGIN_NAMESPACE_STD
e72031f
 /* Remove file FILENAME.  */
0cfc9db
--- glibc-20080828T1623/locale/iso-4217.def	17 Feb 2007 07:46:20 -0000	1.20
0cfc9db
+++ glibc-20080828T1623-fedora/locale/iso-4217.def	21 Feb 2007 11:15:50 -0000	1.15.2.5
e72031f
@@ -8,6 +8,7 @@
e72031f
  *
e72031f
  * !!! The list has to be sorted !!!
e72031f
  */
e72031f
+DEFINE_INT_CURR("ADP")		/* Andorran Peseta -> EUR  */
e72031f
 DEFINE_INT_CURR("AED")		/* United Arab Emirates Dirham  */
e72031f
 DEFINE_INT_CURR("AFN")		/* Afghanistan Afgani  */
e72031f
 DEFINE_INT_CURR("ALL")		/* Albanian Lek  */
e72031f
@@ -15,12 +16,14 @@ DEFINE_INT_CURR("AMD")		/* Armenia Dram 
e72031f
 DEFINE_INT_CURR("ANG")		/* Netherlands Antilles  */
e72031f
 DEFINE_INT_CURR("AOA")		/* Angolan Kwanza  */
e72031f
 DEFINE_INT_CURR("ARS")		/* Argentine Peso  */
e72031f
+DEFINE_INT_CURR("ATS")		/* Austrian Schilling -> EUR  */
e72031f
 DEFINE_INT_CURR("AUD")		/* Australian Dollar  */
e72031f
 DEFINE_INT_CURR("AWG")		/* Aruba Guilder  */
e72031f
 DEFINE_INT_CURR("AZM")		/* Azerbaijan Manat  */
e72031f
 DEFINE_INT_CURR("BAM")		/* Bosnian and Herzegovina Convertible Mark  */
e72031f
 DEFINE_INT_CURR("BBD")		/* Barbados Dollar  */
e72031f
 DEFINE_INT_CURR("BDT")		/* Bangladesh Taka  */
e72031f
+DEFINE_INT_CURR("BEF")		/* Belgian Franc -> EUR  */
e72031f
 DEFINE_INT_CURR("BGN")		/* Bulgarian Lev  */
e72031f
 DEFINE_INT_CURR("BHD")		/* Bahraini Dinar  */
e72031f
 DEFINE_INT_CURR("BIF")		/* Burundi Franc  */
a7c36fd
@@ -44,6 +47,7 @@ DEFINE_INT_CURR("CUP")		/* Cuban Peso  *
e72031f
 DEFINE_INT_CURR("CVE")		/* Cape Verde Escudo  */
e72031f
 DEFINE_INT_CURR("CYP")		/* Cypriot Pound  */
e72031f
 DEFINE_INT_CURR("CZK")		/* Czech Koruna  */
e72031f
+DEFINE_INT_CURR("DEM")		/* German Mark -> EUR  */
e72031f
 DEFINE_INT_CURR("DJF")		/* Djibouti Franc  */
e72031f
 DEFINE_INT_CURR("DKK")		/* Danish Krone (Faroe Islands, Greenland)  */
e72031f
 DEFINE_INT_CURR("DOP")		/* Dominican Republic  */
a7c36fd
@@ -51,16 +55,20 @@ DEFINE_INT_CURR("DZD")		/* Algerian Dina
e72031f
 DEFINE_INT_CURR("EEK")		/* Estonian Kroon  */
e72031f
 DEFINE_INT_CURR("EGP")		/* Egyptian Pound  */
e72031f
 DEFINE_INT_CURR("ERN")		/* Eritrean Nakfa  */
e72031f
+DEFINE_INT_CURR("ESP")		/* Spanish Peseta -> EUR  */
e72031f
 DEFINE_INT_CURR("ETB")		/* Ethiopian Birr  */
e72031f
 DEFINE_INT_CURR("EUR")		/* European Union Euro  */
e72031f
+DEFINE_INT_CURR("FIM")		/* Finnish Markka -> EUR  */
e72031f
 DEFINE_INT_CURR("FJD")		/* Fiji Dollar  */
e72031f
 DEFINE_INT_CURR("FKP")		/* Falkland Islands Pound (Malvinas)  */
e72031f
+DEFINE_INT_CURR("FRF")		/* French Franc -> EUR  */
e72031f
 DEFINE_INT_CURR("GBP")		/* British Pound  */
e72031f
 DEFINE_INT_CURR("GEL")		/* Georgia Lari  */
e72031f
 DEFINE_INT_CURR("GHC")		/* Ghana Cedi  */
e72031f
 DEFINE_INT_CURR("GIP")		/* Gibraltar Pound  */
e72031f
 DEFINE_INT_CURR("GMD")		/* Gambian Dalasi  */
e72031f
 DEFINE_INT_CURR("GNF")		/* Guinea Franc  */
e72031f
+DEFINE_INT_CURR("GRD")		/* Greek Drachma -> EUR  */
e72031f
 DEFINE_INT_CURR("GTQ")		/* Guatemala Quetzal  */
e72031f
 DEFINE_INT_CURR("GYD")		/* Guyana Dollar  */
e72031f
 DEFINE_INT_CURR("HKD")		/* Hong Kong Dollar  */
a7c36fd
@@ -69,12 +77,14 @@ DEFINE_INT_CURR("HRK")		/* Croatia Kuna 
e72031f
 DEFINE_INT_CURR("HTG")		/* Haiti Gourde  */
e72031f
 DEFINE_INT_CURR("HUF")		/* Hungarian Forint  */
e72031f
 DEFINE_INT_CURR("IDR")		/* Indonesia Rupiah  */
e72031f
+DEFINE_INT_CURR("IEP")		/* Irish Pound -> EUR  */
e72031f
 DEFINE_INT_CURR("ILS")		/* Israeli Shekel  */
e72031f
 DEFINE_INT_CURR("IMP")		/* Isle of Man Pounds  */
e72031f
 DEFINE_INT_CURR("INR")		/* Indian Rupee (Bhutan)  */
e72031f
 DEFINE_INT_CURR("IQD")		/* Iraqi Dinar  */
e72031f
 DEFINE_INT_CURR("IRR")		/* Iranian Rial  */
e72031f
 DEFINE_INT_CURR("ISK")		/* Iceland Krona  */
e72031f
+DEFINE_INT_CURR("ITL")		/* Italian Lira -> EUR  */
e72031f
 DEFINE_INT_CURR("JEP")		/* Jersey Pound  */
e72031f
 DEFINE_INT_CURR("JMD")		/* Jamaican Dollar  */
e72031f
 DEFINE_INT_CURR("JOD")		/* Jordanian Dinar  */
a7c36fd
@@ -94,6 +104,7 @@ DEFINE_INT_CURR("LKR")		/* Sri Lankan Ru
e72031f
 DEFINE_INT_CURR("LRD")		/* Liberian Dollar  */
e72031f
 DEFINE_INT_CURR("LSL")		/* Lesotho Maloti  */
e72031f
 DEFINE_INT_CURR("LTL")		/* Lithuanian Litas  */
e72031f
+DEFINE_INT_CURR("LUF")		/* Luxembourg Franc -> EUR  */
e72031f
 DEFINE_INT_CURR("LVL")		/* Latvia Lat  */
e72031f
 DEFINE_INT_CURR("LYD")		/* Libyan Arab Jamahiriya Dinar  */
e72031f
 DEFINE_INT_CURR("MAD")		/* Moroccan Dirham  */
a7c36fd
@@ -114,6 +125,7 @@ DEFINE_INT_CURR("MZM")		/* Mozambique Me
e72031f
 DEFINE_INT_CURR("NAD")		/* Namibia Dollar  */
e72031f
 DEFINE_INT_CURR("NGN")		/* Nigeria Naira  */
e72031f
 DEFINE_INT_CURR("NIO")		/* Nicaragua Cordoba Oro  */
e72031f
+DEFINE_INT_CURR("NLG")		/* Netherlands Guilder -> EUR  */
e72031f
 DEFINE_INT_CURR("NOK")		/* Norwegian Krone  */
e72031f
 DEFINE_INT_CURR("NPR")		/* Nepalese Rupee  */
e72031f
 DEFINE_INT_CURR("NZD")		/* New Zealand Dollar  */
a7c36fd
@@ -124,6 +136,7 @@ DEFINE_INT_CURR("PGK")		/* Papau New Gui
e72031f
 DEFINE_INT_CURR("PHP")		/* Philippines Peso  */
e72031f
 DEFINE_INT_CURR("PKR")		/* Pakistan Rupee  */
e72031f
 DEFINE_INT_CURR("PLN")		/* Polish Zloty  */
e72031f
+DEFINE_INT_CURR("PTE")		/* Portugese Escudo -> EUR  */
e72031f
 DEFINE_INT_CURR("PYG")		/* Paraguay Guarani  */
e72031f
 DEFINE_INT_CURR("QAR")		/* Qatar Rial  */
e72031f
 DEFINE_INT_CURR("ROL")		/* Romanian Leu  */
0cfc9db
--- glibc-20080828T1623/locale/programs/locarchive.c	16 Jul 2007 00:54:59 -0000	1.25
0cfc9db
+++ glibc-20080828T1623-fedora/locale/programs/locarchive.c	31 Jul 2007 17:45:53 -0000	1.21.2.4
0f388ce
@@ -222,9 +222,9 @@ oldlocrecentcmp (const void *a, const vo
7d351d9
 /* forward decls for below */
7d351d9
 static uint32_t add_locale (struct locarhandle *ah, const char *name,
7d351d9
 			    locale_data_t data, bool replace);
7d351d9
-static void add_alias (struct locarhandle *ah, const char *alias,
7d351d9
-		       bool replace, const char *oldname,
7d351d9
-		       uint32_t *locrec_offset_p);
7d351d9
+void add_alias (struct locarhandle *ah, const char *alias,
7d351d9
+		bool replace, const char *oldname,
7d351d9
+		uint32_t *locrec_offset_p);
7d351d9
 
7d351d9
 static void
7d351d9
 enlarge_archive (struct locarhandle *ah, const struct locarhead *head)
0f388ce
@@ -542,7 +542,7 @@ close_archive (struct locarhandle *ah)
7d351d9
 #include "../../intl/explodename.c"
7d351d9
 #include "../../intl/l10nflist.c"
7d351d9
 
7d351d9
-static struct namehashent *
7d351d9
+struct namehashent *
7d351d9
 insert_name (struct locarhandle *ah,
7d351d9
 	     const char *name, size_t name_len, bool replace)
7d351d9
 {
0f388ce
@@ -600,7 +600,7 @@ insert_name (struct locarhandle *ah,
7d351d9
   return &namehashtab[idx];
7d351d9
 }
7d351d9
 
7d351d9
-static void
7d351d9
+void
7d351d9
 add_alias (struct locarhandle *ah, const char *alias, bool replace,
7d351d9
 	   const char *oldname, uint32_t *locrec_offset_p)
7d351d9
 {
0cfc9db
--- glibc-20080828T1623/localedata/Makefile	30 Mar 2008 23:40:06 -0000	1.108
0cfc9db
+++ glibc-20080828T1623-fedora/localedata/Makefile	8 Apr 2008 07:59:47 -0000	1.101.2.8
0cfc9db
@@ -224,6 +224,7 @@ $(INSTALL-SUPPORTED-LOCALES): install-lo
e72031f
 	echo -n '...'; \
e72031f
 	input=`echo $$locale | sed 's/\([^.]*\)[^@]*\(.*\)/\1\2/'`; \
e72031f
 	$(LOCALEDEF) --alias-file=../intl/locale.alias \
e72031f
+		     --no-archive \
e72031f
 		     -i locales/$$input -c -f charmaps/$$charset \
e72031f
 		     $(addprefix --prefix=,$(install_root)) $$locale; \
e72031f
 	echo ' done'; \
0cfc9db
--- glibc-20080828T1623/localedata/SUPPORTED	4 Mar 2008 22:10:33 -0000	1.109
0cfc9db
+++ glibc-20080828T1623-fedora/localedata/SUPPORTED	5 Mar 2008 09:37:42 -0000	1.71.2.21
aaaf28d
@@ -84,6 +84,7 @@ cy_GB.UTF-8/UTF-8 \
e72031f
 cy_GB/ISO-8859-14 \
e72031f
 da_DK.UTF-8/UTF-8 \
e72031f
 da_DK/ISO-8859-1 \
e72031f
+da_DK.ISO-8859-15/ISO-8859-15 \
e72031f
 de_AT.UTF-8/UTF-8 \
e72031f
 de_AT/ISO-8859-1 \
e72031f
 de_AT@euro/ISO-8859-15 \
aaaf28d
@@ -113,6 +114,7 @@ en_DK.UTF-8/UTF-8 \
e72031f
 en_DK/ISO-8859-1 \
e72031f
 en_GB.UTF-8/UTF-8 \
e72031f
 en_GB/ISO-8859-1 \
e72031f
+en_GB.ISO-8859-15/ISO-8859-15 \
e72031f
 en_HK.UTF-8/UTF-8 \
e72031f
 en_HK/ISO-8859-1 \
e72031f
 en_IE.UTF-8/UTF-8 \
aaaf28d
@@ -128,6 +130,7 @@ en_SG.UTF-8/UTF-8 \
e72031f
 en_SG/ISO-8859-1 \
e72031f
 en_US.UTF-8/UTF-8 \
e72031f
 en_US/ISO-8859-1 \
e72031f
+en_US.ISO-8859-15/ISO-8859-15 \
e72031f
 en_ZA.UTF-8/UTF-8 \
e72031f
 en_ZA/ISO-8859-1 \
e72031f
 en_ZW.UTF-8/UTF-8 \
aaaf28d
@@ -296,6 +299,8 @@ nl_NL/ISO-8859-1 \
e72031f
 nl_NL@euro/ISO-8859-15 \
e72031f
 nn_NO.UTF-8/UTF-8 \
e72031f
 nn_NO/ISO-8859-1 \
e72031f
+no_NO.UTF-8/UTF-8 \
e72031f
+no_NO/ISO-8859-1 \
e72031f
 nr_ZA/UTF-8 \
e72031f
 nso_ZA/UTF-8 \
e72031f
 oc_FR.UTF-8/UTF-8 \
ffc48ad
@@ -352,6 +357,7 @@ sv_FI/ISO-8859-1 \
e72031f
 sv_FI@euro/ISO-8859-15 \
e72031f
 sv_SE.UTF-8/UTF-8 \
e72031f
 sv_SE/ISO-8859-1 \
e72031f
+sv_SE.ISO-8859-15/ISO-8859-15 \
e72031f
 ta_IN/UTF-8 \
e72031f
 te_IN/UTF-8 \
e72031f
 tg_TJ.UTF-8/UTF-8 \
0cfc9db
--- glibc-20080828T1623/localedata/locales/cy_GB	28 Sep 2004 04:37:33 -0000	1.4
0cfc9db
+++ glibc-20080828T1623-fedora/localedata/locales/cy_GB	29 Sep 2004 08:48:23 -0000	1.3.2.2
e72031f
@@ -248,8 +248,11 @@ mon         "<U0049><U006F><U006E>
e72031f
 d_t_fmt     "<U0044><U0079><U0064><U0064><U0020><U0025><U0041><U0020><U0025><U0064><U0020><U006d><U0069><U0073><U0020><U0025><U0042><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
e72031f
 d_fmt       "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0079>"
e72031f
 t_fmt       "<U0025><U0054>"
e72031f
-am_pm       "";""
e72031f
-t_fmt_ampm  ""
e72031f
+am_pm       "<U0041><U004D>";"<U0050><U004D>"
e72031f
+t_fmt_ampm  "<U0025><U006C><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0050><U0020><U0025><U005A>"
e72031f
+date_fmt    "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
e72031f
+<U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
e72031f
+<U0025><U005A><U0020><U0025><U0059>"
e72031f
 END LC_TIME
e72031f
 
e72031f
 LC_MESSAGES
0cfc9db
--- glibc-20080828T1623/localedata/locales/en_GB	30 Sep 2007 18:24:20 -0000	1.15
0cfc9db
+++ glibc-20080828T1623-fedora/localedata/locales/en_GB	3 Oct 2007 19:32:28 -0000	1.10.2.5
e72031f
@@ -116,8 +116,8 @@ mon         "<U004A><U0061><U006E>
e72031f
 d_t_fmt     "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0054><U0020><U0025><U005A>"
e72031f
 d_fmt       "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
e72031f
 t_fmt       "<U0025><U0054>"
e72031f
-am_pm       "";""
e72031f
-t_fmt_ampm  ""
e72031f
+am_pm       "<U0041><U004D>";"<U0050><U004D>"
e72031f
+t_fmt_ampm  "<U0025><U006C><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0050><U0020><U0025><U005A>"
e72031f
 date_fmt	"<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
e72031f
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
e72031f
 <U0025><U005A><U0020><U0025><U0059>"
0cfc9db
--- glibc-20080828T1623/localedata/locales/no_NO 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/localedata/locales/no_NO	22 Sep 2004 21:21:01 -0000	1.11.2.1
e72031f
@@ -0,0 +1,69 @@
e72031f
+escape_char	/
e72031f
+comment_char    %
e72031f
+
e72031f
+% Norwegian language locale for Norway
e72031f
+% Source: Norsk Standardiseringsforbund
e72031f
+% Address: University Library,
e72031f
+%   Drammensveien 41, N-9242 Oslo, Norge
e72031f
+% Contact: Kolbjoern Aamboe
e72031f
+% Tel: +47 - 22859109
e72031f
+% Fax: +47 - 22434497
e72031f
+% Email: kolbjorn.aambo@usit.uio.no
e72031f
+% Language: no
e72031f
+% Territory: NO
e72031f
+% Revision: 4.3
e72031f
+% Date: 1996-10-15
e72031f
+% Application: general
e72031f
+% Users: general
e72031f
+% Repertoiremap: mnemonic.ds
e72031f
+% Charset: ISO-8859-1
e72031f
+% Distribution and use is free, also
e72031f
+% for commercial purposes.
e72031f
+
e72031f
+LC_IDENTIFICATION
e72031f
+copy "nb_NO"
e72031f
+END LC_IDENTIFICATION
e72031f
+
e72031f
+LC_COLLATE
e72031f
+copy "nb_NO"
e72031f
+END LC_COLLATE
e72031f
+
e72031f
+LC_CTYPE
e72031f
+copy "nb_NO"
e72031f
+END LC_CTYPE
e72031f
+
e72031f
+LC_MONETARY
e72031f
+copy "nb_NO"
e72031f
+END LC_MONETARY
e72031f
+
e72031f
+LC_NUMERIC
e72031f
+copy "nb_NO"
e72031f
+END LC_NUMERIC
e72031f
+
e72031f
+LC_TIME
e72031f
+copy "nb_NO"
e72031f
+END LC_TIME
e72031f
+
e72031f
+LC_MESSAGES
e72031f
+copy "nb_NO"
e72031f
+END LC_MESSAGES
e72031f
+
e72031f
+LC_PAPER
e72031f
+copy "nb_NO"
e72031f
+END LC_PAPER
e72031f
+
e72031f
+LC_TELEPHONE
e72031f
+copy "nb_NO"
e72031f
+END LC_TELEPHONE
e72031f
+
e72031f
+LC_MEASUREMENT
e72031f
+copy "nb_NO"
e72031f
+END LC_MEASUREMENT
e72031f
+
e72031f
+LC_NAME
e72031f
+copy "nb_NO"
e72031f
+END LC_NAME
e72031f
+
e72031f
+LC_ADDRESS
e72031f
+copy "nb_NO"
e72031f
+END LC_ADDRESS
0cfc9db
--- glibc-20080828T1623/localedata/locales/zh_TW	31 Oct 2004 23:42:28 -0000	1.7
0cfc9db
+++ glibc-20080828T1623-fedora/localedata/locales/zh_TW	2 Nov 2004 12:25:57 -0000	1.5.2.2
e72031f
@@ -1,7 +1,7 @@
e72031f
 comment_char %
e72031f
 escape_char /
e72031f
 %
e72031f
-% Chinese language locale for Taiwan R.O.C.
e72031f
+% Chinese language locale for Taiwan
e72031f
 % charmap: BIG5-CP950
e72031f
 %
e72031f
 % Original Author:
e72031f
@@ -17,7 +17,7 @@ escape_char /
e72031f
 % Reference:	http://wwwold.dkuug.dk/JTC1/SC22/WG20/docs/n690.pdf
e72031f
 
e72031f
 LC_IDENTIFICATION
e72031f
-title      "Chinese locale for Taiwan R.O.C."
e72031f
+title      "Chinese locale for Taiwan"
e72031f
 source     ""
e72031f
 address    ""
e72031f
 contact    ""
e72031f
@@ -25,7 +25,7 @@ email      "bug-glibc-locales@gnu.org"
e72031f
 tel        ""
e72031f
 fax        ""
e72031f
 language   "Chinese"
e72031f
-territory  "Taiwan R.O.C."
e72031f
+territory  "Taiwan"
e72031f
 revision   "0.2"
e72031f
 date       "2000-08-02"
e72031f
 %
0cfc9db
--- glibc-20080828T1623/malloc/mcheck.c	19 May 2007 04:27:20 -0000	1.20
0cfc9db
+++ glibc-20080828T1623-fedora/malloc/mcheck.c	21 May 2007 20:01:08 -0000	1.18.2.2
e72031f
@@ -24,9 +24,25 @@
e72031f
 # include <mcheck.h>
e72031f
 # include <stdint.h>
e72031f
 # include <stdio.h>
e72031f
+# include <stdlib.h>
e72031f
 # include <libintl.h>
e72031f
 #endif
e72031f
 
e72031f
+#ifdef _LIBC
e72031f
+extern __typeof (malloc) __libc_malloc;
e72031f
+extern __typeof (free) __libc_free;
e72031f
+extern __typeof (realloc) __libc_realloc;
e72031f
+libc_hidden_proto (__libc_malloc)
e72031f
+libc_hidden_proto (__libc_realloc)
e72031f
+libc_hidden_proto (__libc_free)
e72031f
+libc_hidden_proto (__libc_memalign)
e72031f
+#else
e72031f
+# define __libc_malloc(sz) malloc (sz)
e72031f
+# define __libc_free(ptr) free (ptr)
e72031f
+# define __libc_realloc(ptr, sz) realloc (ptr, sz)
e72031f
+# define __libc_memalign(al, sz) memalign (al, sz)
e72031f
+#endif
e72031f
+
e72031f
 /* Old hook values.  */
e72031f
 static void (*old_free_hook) (__ptr_t ptr, __const __ptr_t);
e72031f
 static __ptr_t (*old_malloc_hook) (__malloc_size_t size, const __ptr_t);
e72031f
@@ -197,7 +213,7 @@ freehook (__ptr_t ptr, const __ptr_t cal
e72031f
   if (old_free_hook != NULL)
e72031f
     (*old_free_hook) (ptr, caller);
e72031f
   else
e72031f
-    free (ptr);
e72031f
+    __libc_free (ptr);
e72031f
   __free_hook = freehook;
e72031f
 }
e72031f
 
e72031f
@@ -214,7 +230,7 @@ mallochook (__malloc_size_t size, const 
e72031f
     hdr = (struct hdr *) (*old_malloc_hook) (sizeof (struct hdr) + size + 1,
e72031f
 					     caller);
e72031f
   else
e72031f
-    hdr = (struct hdr *) malloc (sizeof (struct hdr) + size + 1);
e72031f
+    hdr = (struct hdr *) __libc_malloc (sizeof (struct hdr) + size + 1);
e72031f
   __malloc_hook = mallochook;
e72031f
   if (hdr == NULL)
e72031f
     return NULL;
e72031f
@@ -245,7 +261,7 @@ memalignhook (__malloc_size_t alignment,
e72031f
   if (old_memalign_hook != NULL)
e72031f
     block = (*old_memalign_hook) (alignment, slop + size + 1, caller);
e72031f
   else
e72031f
-    block = memalign (alignment, slop + size + 1);
e72031f
+    block = __libc_memalign (alignment, slop + size + 1);
e72031f
   __memalign_hook = memalignhook;
e72031f
   if (block == NULL)
e72031f
     return NULL;
0f388ce
@@ -300,8 +316,8 @@ reallochook (__ptr_t ptr, __malloc_size_
e72031f
 					      sizeof (struct hdr) + size + 1,
e72031f
 					      caller);
e72031f
   else
e72031f
-    hdr = (struct hdr *) realloc ((__ptr_t) hdr,
e72031f
-				  sizeof (struct hdr) + size + 1);
e72031f
+    hdr = (struct hdr *) __libc_realloc ((__ptr_t) hdr,
e72031f
+					 sizeof (struct hdr) + size + 1);
e72031f
   __free_hook = freehook;
e72031f
   __malloc_hook = mallochook;
e72031f
   __memalign_hook = memalignhook;
0f388ce
@@ -361,8 +377,8 @@ mcheck (func)
e72031f
   if (__malloc_initialized <= 0 && !mcheck_used)
e72031f
     {
e72031f
       /* We call malloc() once here to ensure it is initialized.  */
e72031f
-      void *p = malloc (0);
e72031f
-      free (p);
e72031f
+      void *p = __libc_malloc (0);
e72031f
+      __libc_free (p);
e72031f
 
e72031f
       old_free_hook = __free_hook;
e72031f
       __free_hook = freehook;
0cfc9db
--- glibc-20080828T1623/manual/libc.texinfo	31 Jan 2008 01:43:04 -0000	1.98
0cfc9db
+++ glibc-20080828T1623-fedora/manual/libc.texinfo	31 Jan 2008 08:43:19 -0000	1.94.2.4
b1f781b
@@ -5,7 +5,7 @@
0f388ce
 @c setchapternewpage odd
b1f781b
 
b1f781b
 @comment Tell install-info what to do.
0f388ce
-@dircategory Software libraries
b1f781b
+@dircategory Libraries
b1f781b
 @direntry
b1f781b
 * Libc: (libc).                 C library.
b1f781b
 @end direntry
0cfc9db
--- glibc-20080828T1623/misc/sys/cdefs.h	3 Oct 2007 18:27:02 -0000	1.73
0cfc9db
+++ glibc-20080828T1623-fedora/misc/sys/cdefs.h	3 Oct 2007 19:32:28 -0000	1.58.2.10
6ab843b
@@ -132,7 +132,10 @@
6ab843b
 #define __bos(ptr) __builtin_object_size (ptr, __USE_FORTIFY_LEVEL > 1)
6ab843b
 #define __bos0(ptr) __builtin_object_size (ptr, 0)
6ab843b
 
6ab843b
-#if __GNUC_PREREQ (4,3)
6ab843b
+#if __GNUC_PREREQ (4,3) \
6ab843b
+    || (defined __GNUC_RH_RELEASE__ && __GNUC__ == 4 \
6ab843b
+	&& __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 2 \
6ab843b
+	&& __GNUC_RH_RELEASE__ >= 31)
6ab843b
 # define __warndecl(name, msg) \
6ab843b
   extern void name (void) __attribute__((__warning__ (msg)))
6ab843b
 # define __warnattr(msg) __attribute__((__warning__ (msg)))
6ab843b
@@ -291,10 +294,16 @@
4c53b15
 
4c53b15
 /* GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
4c53b15
    inline semantics, unless -fgnu89-inline is used.  */
4c53b15
-#if !defined __cplusplus || __GNUC_PREREQ (4,3)
4c53b15
+#if !defined __cplusplus || __GNUC_PREREQ (4,3) \
4c53b15
+    || (defined __GNUC_RH_RELEASE__ && __GNUC__ == 4 \
4c53b15
+	&& __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 2 \
6ab843b
+	&& __GNUC_RH_RELEASE__ >= 31)
4c53b15
 # if defined __GNUC_STDC_INLINE__ || defined __cplusplus
4c53b15
 #  define __extern_inline extern __inline __attribute__ ((__gnu_inline__))
6ab843b
-#  if __GNUC_PREREQ (4,3)
6ab843b
+#  if __GNUC_PREREQ (4,3) \
6ab843b
+	|| (defined __GNUC_RH_RELEASE__ && __GNUC__ == 4 \
6ab843b
+	    && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 2 \
6ab843b
+	    && __GNUC_RH_RELEASE__ >= 31)
6ab843b
 #   define __extern_always_inline \
6ab843b
   extern __always_inline __attribute__ ((__gnu_inline__, __artificial__))
6ab843b
 #  else
6ab843b
@@ -309,7 +318,10 @@
4c53b15
 
4c53b15
 /* GCC 4.3 and above allow passing all anonymous arguments of an
4c53b15
    __extern_always_inline function to some other vararg function.  */
4c53b15
-#if __GNUC_PREREQ (4,3)
4c53b15
+#if __GNUC_PREREQ (4,3) \
4c53b15
+    || (defined __GNUC_RH_RELEASE__ && __GNUC__ == 4 \
4c53b15
+	&& __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 2 \
6ab843b
+	&& __GNUC_RH_RELEASE__ >= 31)
4c53b15
 # define __va_arg_pack() __builtin_va_arg_pack ()
4c53b15
 # define __va_arg_pack_len() __builtin_va_arg_pack_len ()
4c53b15
 #endif
0cfc9db
--- glibc-20080828T1623/nis/nss	28 Apr 2006 21:02:23 -0000	1.3
0cfc9db
+++ glibc-20080828T1623-fedora/nis/nss	1 May 2006 08:02:53 -0000	1.2.2.2
e72031f
@@ -25,4 +25,4 @@
e72031f
 #  memory with every getXXent() call.  Otherwise each getXXent() call
e72031f
 #  might result into a network communication with the server to get
e72031f
 #  the next entry.
e72031f
-#SETENT_BATCH_READ=TRUE
e72031f
+SETENT_BATCH_READ=TRUE
0cfc9db
--- glibc-20080828T1623/nptl/ChangeLog	15 Aug 2008 22:35:53 -0000	1.1075
0cfc9db
+++ glibc-20080828T1623-fedora/nptl/ChangeLog	29 Aug 2008 07:42:03 -0000	1.706.2.161
0cfc9db
@@ -3242,6 +3242,15 @@
e72031f
 	Use __sigfillset.  Document that sigfillset does the right thing wrt
e72031f
 	to SIGSETXID.
e72031f
 
e72031f
+2005-08-08  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* tst-stackguard1.c (do_test): Likewise.
e72031f
+
e72031f
+2005-07-29  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* tst-stackguard1.c (do_test): Don't fail if the poor man's
e72031f
+	randomization doesn't work well enough.
e72031f
+
e72031f
 2005-07-11  Jakub Jelinek  <jakub@redhat.com>
e72031f
 
e72031f
 	[BZ #1102]
0cfc9db
@@ -3978,6 +3987,11 @@
e72031f
 	Move definition inside libpthread, libc, librt check.  Provide
e72031f
 	definition for rtld.
e72031f
 
e72031f
+2004-09-02  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* pthread_cond_destroy.c (__pthread_cond_destroy): If there are
e72031f
+	waiters, awake all waiters on the associated mutex.
e72031f
+
e72031f
 2004-09-02  Ulrich Drepper  <drepper@redhat.com>
e72031f
 
e72031f
 	* sysdeps/alpha/jmpbuf-unwind.h: Define __libc_unwind_longjmp.
0cfc9db
@@ -6052,6 +6066,11 @@
e72031f
 
e72031f
 	* Makefile [$(build-shared) = yes] (tests): Depend on $(test-modules).
e72031f
 
e72031f
+2003-07-22  Jakub Jelinek  <jakub@redhat.com>
e72031f
+
e72031f
+	* descr.h: Don't include lowlevellock.h, pthreaddef.h and dl-sysdep.h
e72031f
+	if __need_struct_pthread_size, instead define lll_lock_t.
e72031f
+
e72031f
 2003-07-25  Jakub Jelinek  <jakub@redhat.com>
e72031f
 
e72031f
 	* tst-cancel17.c (do_test): Check if aio_cancel failed.
0cfc9db
--- glibc-20080828T1623/nptl/Makefile	31 May 2008 08:56:14 -0000	1.194
0cfc9db
+++ glibc-20080828T1623-fedora/nptl/Makefile	12 Jun 2008 16:53:42 -0000	1.157.2.36
0ec93d3
@@ -339,7 +339,8 @@ endif
b45468e
 extra-objs += $(crti-objs) $(crtn-objs)
b45468e
 omit-deps += crti crtn
b45468e
 
b45468e
-CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time)
b45468e
+CFLAGS-pt-initfini.s = -g0 -fPIC -fno-inline-functions $(fno-unit-at-a-time) \
b45468e
+		       -fno-asynchronous-unwind-tables
b45468e
 endif
b45468e
 
b45468e
 CFLAGS-flockfile.c = -D_IO_MTSAFE_IO
0ec93d3
@@ -523,15 +524,19 @@ $(addprefix $(objpfx), \
e72031f
     $(tests) $(xtests) $(test-srcs))): $(objpfx)libpthread.so \
e72031f
 				       $(objpfx)libpthread_nonshared.a
e72031f
 $(objpfx)tst-unload: $(common-objpfx)dlfcn/libdl.so
e72031f
-# $(objpfx)../libc.so is used instead of $(common-objpfx)libc.so,
e72031f
+# $(objpfx)linklibc.so is used instead of $(common-objpfx)libc.so,
e72031f
 # since otherwise libpthread.so comes before libc.so when linking.
e72031f
 $(addprefix $(objpfx), $(tests-reverse)): \
e72031f
-  $(objpfx)../libc.so $(objpfx)libpthread.so \
e72031f
+  $(objpfx)linklibc.so $(objpfx)libpthread.so \
e72031f
   $(objpfx)libpthread_nonshared.a
e72031f
 $(objpfx)../libc.so: $(common-objpfx)libc.so ;
e72031f
 $(addprefix $(objpfx),$(tests-static) $(xtests-static)): $(objpfx)libpthread.a
e72031f
 
e72031f
 $(objpfx)tst-atfork2.out: $(objpfx)tst-atfork2mod.so
e72031f
+
e72031f
+$(objpfx)linklibc.so: $(common-objpfx)libc.so
e72031f
+	ln -s ../libc.so $@
e72031f
+generated += libclink.so
e72031f
 else
e72031f
 $(addprefix $(objpfx),$(tests) $(test-srcs)): $(objpfx)libpthread.a
e72031f
 endif
0cfc9db
--- glibc-20080828T1623/nptl/tst-stackguard1.c	26 Jun 2005 17:44:14 -0000	1.1
0cfc9db
+++ glibc-20080828T1623-fedora/nptl/tst-stackguard1.c	8 Aug 2005 21:24:28 -0000	1.1.2.3
e72031f
@@ -190,17 +190,21 @@ do_test (void)
e72031f
      the 16 runs, something is very wrong.  */
e72031f
   int ndifferences = 0;
e72031f
   int ndefaults = 0;
e72031f
+  int npartlyrandomized = 0;
e72031f
   for (i = 0; i < N; ++i) 
e72031f
     {
e72031f
       if (child_stack_chk_guards[i] != child_stack_chk_guards[i+1])
e72031f
 	ndifferences++;
e72031f
       else if (child_stack_chk_guards[i] == default_guard)
e72031f
 	ndefaults++;
e72031f
+      else if (*(char *) &child_stack_chk_guards[i] == 0)
e72031f
+	npartlyrandomized++;
e72031f
     }
e72031f
 
e72031f
-  printf ("differences %d defaults %d\n", ndifferences, ndefaults);
e72031f
+  printf ("differences %d defaults %d partly randomized %d\n",
e72031f
+	  ndifferences, ndefaults, npartlyrandomized);
e72031f
 
e72031f
-  if (ndifferences < N / 2 && ndefaults < N / 2)
e72031f
+  if ((ndifferences + ndefaults + npartlyrandomized) < 3 * N / 4)
e72031f
     {
e72031f
       puts ("stack guard canaries are not randomized enough");
e72031f
       puts ("nor equal to the default canary value");
0cfc9db
--- glibc-20080828T1623/nptl/sysdeps/unix/sysv/linux/kernel-features.h 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/nptl/sysdeps/unix/sysv/linux/kernel-features.h	22 Sep 2004 21:21:02 -0000	1.1.2.1
e72031f
@@ -0,0 +1,6 @@
e72031f
+#include_next <kernel-features.h>
e72031f
+
e72031f
+/* NPTL can always assume all clone thread flags work.  */
e72031f
+#ifndef __ASSUME_CLONE_THREAD_FLAGS
e72031f
+# define __ASSUME_CLONE_THREAD_FLAGS	1
e72031f
+#endif
0cfc9db
--- glibc-20080828T1623/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h	8 Mar 2008 01:57:04 -0000	1.16
0cfc9db
+++ glibc-20080828T1623-fedora/nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h	14 Mar 2008 22:36:45 -0000	1.8.2.9
e8c0bf7
@@ -181,4 +181,7 @@
e8c0bf7
 /* Typed memory objects are not available.  */
e8c0bf7
 #define _POSIX_TYPED_MEMORY_OBJECTS	-1
e8c0bf7
 
e8c0bf7
+/* Streams are not available.  */
e8c0bf7
+#define _XOPEN_STREAMS	-1
e8c0bf7
+
e8c0bf7
 #endif /* posix_opt.h */
0cfc9db
--- glibc-20080828T1623/nscd/nscd.conf	6 Nov 2007 00:50:48 -0000	1.16
0cfc9db
+++ glibc-20080828T1623-fedora/nscd/nscd.conf	12 Dec 2007 18:13:28 -0000	1.8.2.7
aaaf28d
@@ -33,7 +33,7 @@
e72031f
 #	logfile			/var/log/nscd.log
aaaf28d
 #	threads			4
aaaf28d
 #	max-threads		32
e72031f
-#	server-user		nobody
e72031f
+	server-user		nscd
aaaf28d
 #	stat-user		somebody
e72031f
 	debug-level		0
e72031f
 #	reload-count		5
0cfc9db
--- glibc-20080828T1623/nscd/nscd.init	1 Dec 2006 20:12:45 -0000	1.10
0cfc9db
+++ glibc-20080828T1623-fedora/nscd/nscd.init	12 Dec 2007 18:13:28 -0000	1.6.2.6
e72031f
@@ -9,6 +9,7 @@
e72031f
 #		slow naming services like NIS, NIS+, LDAP, or hesiod.
e72031f
 # processname: /usr/sbin/nscd
e72031f
 # config: /etc/nscd.conf
e72031f
+# config: /etc/sysconfig/nscd
e72031f
 #
e72031f
 ### BEGIN INIT INFO
e72031f
 # Provides: nscd
e72031f
@@ -28,20 +29,8 @@
e72031f
 # Source function library.
e72031f
 . /etc/init.d/functions
e72031f
 
e72031f
-# nscd does not run on any kernel lower than 2.2.0 because of threading
e72031f
-# problems, so we require that in first place.
e72031f
-case $(uname -r) in
e72031f
-    2.[2-9].*)
e72031f
-	# this is okay
e72031f
-	;;
e72031f
-    [3-9]*)
e72031f
-	# these are of course also okay
e72031f
-	;;
e72031f
-    *)
e72031f
-	#this is not
e72031f
-	exit 1
e72031f
-	;;
e72031f
-esac
e72031f
+# Source an auxiliary options file if we have one, and pick up NSCD_OPTIONS.
e72031f
+[ -r /etc/sysconfig/nscd ] && . /etc/sysconfig/nscd
e72031f
 
e72031f
 RETVAL=0
e72031f
 prog=nscd
479a88e
@@ -50,7 +39,7 @@ start () {
479a88e
     [ -d /var/run/nscd ] || mkdir /var/run/nscd
479a88e
     [ -d /var/db/nscd ] || mkdir /var/db/nscd
e72031f
     echo -n $"Starting $prog: "
479a88e
-    daemon /usr/sbin/nscd
479a88e
+    daemon /usr/sbin/nscd $NSCD_OPTIONS
e72031f
     RETVAL=$?
e72031f
     echo
e72031f
     [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nscd
aaaf28d
@@ -104,9 +93,12 @@ case "$1" in
aaaf28d
 	;;
aaaf28d
     force-reload | reload)
aaaf28d
     	echo -n $"Reloading $prog: "
aaaf28d
-	killproc /usr/sbin/nscd -HUP
aaaf28d
-	RETVAL=$?
aaaf28d
-	echo
aaaf28d
+    	RETVAL=0
aaaf28d
+    	/usr/sbin/nscd -i passwd || RETVAL=$?
aaaf28d
+    	/usr/sbin/nscd -i group || RETVAL=$?
aaaf28d
+    	/usr/sbin/nscd -i hosts || RETVAL=$?
aaaf28d
+    	/usr/sbin/nscd -i services || RETVAL=$?
aaaf28d
+    	echo
aaaf28d
 	;;
aaaf28d
     *)
aaaf28d
 	echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
0cfc9db
--- glibc-20080828T1623/posix/Makefile	20 Nov 2007 00:41:16 -0000	1.203
0cfc9db
+++ glibc-20080828T1623-fedora/posix/Makefile	12 Dec 2007 18:13:30 -0000	1.171.2.27
aaaf28d
@@ -301,11 +301,8 @@ $(inst_libexecdir)/getconf: $(inst_bindi
12ebbc9
 	  mv -f $@/$$spec.new $@/$$spec; \
12ebbc9
 	done < $(objpfx)getconf.speclist
12ebbc9
 
12ebbc9
-$(objpfx)getconf.speclist: $(objpfx)getconf
4c53b15
-ifeq (no,$(cross-compiling))
12ebbc9
-	LC_ALL=C GETCONF_DIR=/dev/null \
12ebbc9
-	$(run-program-prefix) $< _POSIX_V6_WIDTH_RESTRICTED_ENVS > $@.new
4c53b15
-else
4c53b15
-	> $@.new
4c53b15
-endif
e72031f
+$(objpfx)getconf.speclist: getconf.speclist.h
e72031f
+	$(CC) -E $(CFLAGS) $(CPPFLAGS) $< \
e72031f
+	  | sed -n -e '/START_OF_STRINGS/,$${/POSIX_V6_/{s/^[^"]*"//;s/".*$$//;p}}' \
e72031f
+	  > $@.new
e0b4499
 	mv -f $@.new $@
0cfc9db
--- glibc-20080828T1623/posix/getconf.speclist.h 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/posix/getconf.speclist.h	13 Dec 2004 23:32:37 -0000	1.1.2.2
e72031f
@@ -0,0 +1,15 @@
e72031f
+#include <unistd.h>
e72031f
+const char *START_OF_STRINGS =
e72031f
+#if _POSIX_V6_ILP32_OFF32 == 1
e72031f
+"POSIX_V6_ILP32_OFF32"
e72031f
+#endif
e72031f
+#if _POSIX_V6_ILP32_OFFBIG == 1
e72031f
+"POSIX_V6_ILP32_OFFBIG"
e72031f
+#endif
e72031f
+#if _POSIX_V6_LP64_OFF64 == 1
e72031f
+"POSIX_V6_LP64_OFF64"
e72031f
+#endif
e72031f
+#if _POSIX_V6_LPBIG_OFFBIG == 1
e72031f
+"POSIX_V6_LPBIG_OFFBIG"
e72031f
+#endif
e72031f
+"";
0cfc9db
--- glibc-20080828T1623/streams/Makefile	23 Oct 2002 23:48:41 -0000	1.4
0cfc9db
+++ glibc-20080828T1623-fedora/streams/Makefile	14 Mar 2008 22:36:46 -0000	1.4.2.1
e8c0bf7
@@ -21,7 +21,7 @@
e8c0bf7
 #
e8c0bf7
 subdir	:= streams
e8c0bf7
 
e8c0bf7
-headers		= stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
e8c0bf7
+#headers		= stropts.h sys/stropts.h bits/stropts.h bits/xtitypes.h
e8c0bf7
 routines	= isastream getmsg getpmsg putmsg putpmsg fattach fdetach
e8c0bf7
 
e8c0bf7
 include ../Rules
0cfc9db
--- glibc-20080828T1623/sysdeps/generic/dl-cache.h	25 Jun 2003 08:01:22 -0000	1.13
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/generic/dl-cache.h	22 Sep 2004 21:21:07 -0000	1.13.2.1
e72031f
@@ -36,6 +36,14 @@
e72031f
 # define add_system_dir(dir) add_dir (dir)
e72031f
 #endif
e72031f
 
e72031f
+#ifndef arch_startup
e72031f
+# define arch_startup(argc, argv) do { } while (0)
e72031f
+#endif
e72031f
+
e72031f
+#ifndef add_arch_dirs
e72031f
+# define add_arch_dirs(config_file) do { } while (0)
e72031f
+#endif
e72031f
+
e72031f
 #define CACHEMAGIC "ld.so-1.7.0"
e72031f
 
e72031f
 /* libc5 and glibc 2.0/2.1 use the same format.  For glibc 2.2 another
0cfc9db
--- glibc-20080828T1623/sysdeps/i386/Makefile	13 May 2008 05:30:43 -0000	1.21
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/i386/Makefile	15 May 2008 07:57:47 -0000	1.16.2.5
0cfc9db
@@ -64,6 +64,14 @@ endif
e72031f
 
e72031f
 ifneq (,$(filter -mno-tls-direct-seg-refs,$(CFLAGS)))
e72031f
 defines += -DNO_TLS_DIRECT_SEG_REFS
e72031f
+else
e72031f
+# .a libraries are not performance critical and so we
e72031f
+# build them without direct TLS segment references
e72031f
+# always.
e72031f
+CPPFLAGS-.o += -DNO_TLS_DIRECT_SEG_REFS
e72031f
+CFLAGS-.o += -mno-tls-direct-seg-refs
e72031f
+CPPFLAGS-.oS += -DNO_TLS_DIRECT_SEG_REFS
e72031f
+CFLAGS-.oS += -mno-tls-direct-seg-refs
e72031f
 endif
0cfc9db
 
0cfc9db
 ifeq ($(subdir),elf)
0cfc9db
--- glibc-20080828T1623/sysdeps/ia64/Makefile	16 Aug 2004 06:46:14 -0000	1.10
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/ia64/Makefile	22 Sep 2004 21:21:07 -0000	1.10.2.1
e72031f
@@ -12,8 +12,8 @@ elide-routines.os += hp-timing
e72031f
 
e72031f
 ifeq (yes,$(build-shared))
e72031f
 # Compatibility
e72031f
-sysdep_routines += ia64libgcc
e72031f
-shared-only-routines += ia64libgcc
e72031f
+sysdep_routines += libgcc-compat
e72031f
+shared-only-routines += libgcc-compat
e72031f
 endif
e72031f
 endif
e72031f
 
0cfc9db
--- glibc-20080828T1623/sysdeps/ia64/ia64libgcc.S	11 May 2002 05:12:35 -0000	1.2
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/ia64/ia64libgcc.S	22 Sep 2004 21:21:07 -0000	1.2.2.1
e72031f
@@ -1,350 +0,0 @@
e72031f
-/* From the Intel IA-64 Optimization Guide, choose the minimum latency
e72031f
-   alternative.  */
e72031f
-
e72031f
-#include <sysdep.h>
e72031f
-#undef ret
e72031f
-
e72031f
-#include <shlib-compat.h>
e72031f
-
e72031f
-#if SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_2_6)
e72031f
-
e72031f
-/* __divtf3
e72031f
-   Compute a 80-bit IEEE double-extended quotient.
e72031f
-   farg0 holds the dividend.  farg1 holds the divisor.  */
e72031f
-
e72031f
-ENTRY(___divtf3)
e72031f
-	cmp.eq p7, p0 = r0, r0
e72031f
-	frcpa.s0 f10, p6 = farg0, farg1
e72031f
-	;;
e72031f
-(p6)	cmp.ne p7, p0 = r0, r0
e72031f
-	.pred.rel.mutex p6, p7
e72031f
-(p6)	fnma.s1 f11 = farg1, f10, f1
e72031f
-(p6)	fma.s1 f12 = farg0, f10, f0
e72031f
-	;;
e72031f
-(p6)	fma.s1 f13 = f11, f11, f0
e72031f
-(p6)	fma.s1 f14 = f11, f11, f11
e72031f
-	;;
e72031f
-(p6)	fma.s1 f11 = f13, f13, f11
e72031f
-(p6)	fma.s1 f13 = f14, f10, f10
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f13, f11, f10
e72031f
-(p6)	fnma.s1 f11 = farg1, f12, farg0
e72031f
-	;;
e72031f
-(p6)	fma.s1 f11 = f11, f10, f12
e72031f
-(p6)	fnma.s1 f12 = farg1, f10, f1
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f12, f10, f10
e72031f
-(p6)	fnma.s1 f12 = farg1, f11, farg0
e72031f
-	;;
e72031f
-(p6)	fma.s0 fret0 = f12, f10, f11
e72031f
-(p7)	mov fret0 = f10
e72031f
-	br.ret.sptk rp
e72031f
-END(___divtf3)
e72031f
-	.symver ___divtf3, __divtf3@GLIBC_2.2
e72031f
-
e72031f
-/* __divdf3
e72031f
-   Compute a 64-bit IEEE double quotient.
e72031f
-   farg0 holds the dividend.  farg1 holds the divisor.  */
e72031f
-
e72031f
-ENTRY(___divdf3)
e72031f
-	cmp.eq p7, p0 = r0, r0
e72031f
-	frcpa.s0 f10, p6 = farg0, farg1
e72031f
-	;;
e72031f
-(p6)	cmp.ne p7, p0 = r0, r0
e72031f
-	.pred.rel.mutex p6, p7
e72031f
-(p6)	fmpy.s1 f11 = farg0, f10
e72031f
-(p6)	fnma.s1 f12 = farg1, f10, f1
e72031f
-	;;
e72031f
-(p6)	fma.s1 f11 = f12, f11, f11
e72031f
-(p6)	fmpy.s1 f13 = f12, f12
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f12, f10, f10
e72031f
-(p6)	fma.s1 f11 = f13, f11, f11
e72031f
-	;;
e72031f
-(p6)	fmpy.s1 f12 = f13, f13
e72031f
-(p6)	fma.s1 f10 = f13, f10, f10
e72031f
-	;;
e72031f
-(p6)	fma.d.s1 f11 = f12, f11, f11
e72031f
-(p6)	fma.s1 f10 = f12, f10, f10
e72031f
-	;;
e72031f
-(p6)	fnma.d.s1 f8 = farg1, f11, farg0
e72031f
-	;;
e72031f
-(p6)	fma.d fret0 = f8, f10, f11
e72031f
-(p7)	mov fret0 = f10
e72031f
-	br.ret.sptk rp
e72031f
-	;;
e72031f
-END(___divdf3)
e72031f
-	.symver	___divdf3, __divdf3@GLIBC_2.2
e72031f
-
e72031f
-/* __divsf3
e72031f
-   Compute a 32-bit IEEE float quotient.
e72031f
-   farg0 holds the dividend.  farg1 holds the divisor.  */
e72031f
-
e72031f
-ENTRY(___divsf3)
e72031f
-	cmp.eq p7, p0 = r0, r0
e72031f
-	frcpa.s0 f10, p6 = farg0, farg1
e72031f
-	;;
e72031f
-(p6)	cmp.ne p7, p0 = r0, r0
e72031f
-	.pred.rel.mutex p6, p7
e72031f
-(p6)	fmpy.s1 f8 = farg0, f10
e72031f
-(p6)	fnma.s1 f9 = farg1, f10, f1
e72031f
-	;;
e72031f
-(p6)	fma.s1 f8 = f9, f8, f8
e72031f
-(p6)	fmpy.s1 f9 = f9, f9
e72031f
-	;;
e72031f
-(p6)	fma.s1 f8 = f9, f8, f8
e72031f
-(p6)	fmpy.s1 f9 = f9, f9
e72031f
-	;;
e72031f
-(p6)	fma.d.s1 f10 = f9, f8, f8
e72031f
-	;;
e72031f
-(p6)	fnorm.s.s0 fret0 = f10
e72031f
-(p7)	mov fret0 = f10
e72031f
-	br.ret.sptk rp
e72031f
-	;;
e72031f
-END(___divsf3)
e72031f
-	.symver	___divsf3, __divsf3@GLIBC_2.2
e72031f
-
e72031f
-/* __divdi3
e72031f
-   Compute a 64-bit integer quotient.
e72031f
-   in0 holds the dividend.  in1 holds the divisor.  */
e72031f
-
e72031f
-ENTRY(___divdi3)
e72031f
-	.regstk 2,0,0,0
e72031f
-	/* Transfer inputs to FP registers.  */
e72031f
-	setf.sig f8 = in0
e72031f
-	setf.sig f9 = in1
e72031f
-	;;
e72031f
-	/* Convert the inputs to FP, so that they won't be treated as
e72031f
-	   unsigned.  */
e72031f
-	fcvt.xf f8 = f8
e72031f
-	fcvt.xf f9 = f9
e72031f
-	;;
e72031f
-	/* Compute the reciprocal approximation.  */
e72031f
-	frcpa.s1 f10, p6 = f8, f9
e72031f
-	;;
e72031f
-	/* 3 Newton-Raphson iterations.  */
e72031f
-(p6)	fnma.s1 f11 = f9, f10, f1
e72031f
-(p6)	fmpy.s1 f12 = f8, f10
e72031f
-	;;
e72031f
-(p6)	fmpy.s1 f13 = f11, f11
e72031f
-(p6)	fma.s1 f12 = f11, f12, f12
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f11, f10, f10
e72031f
-(p6)	fma.s1 f11 = f13, f12, f12
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f13, f10, f10
e72031f
-(p6)	fnma.s1 f12 = f9, f11, f8
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f12, f10, f11
e72031f
-	;;
e72031f
-	/* Round quotient to an integer.  */
e72031f
-	fcvt.fx.trunc.s1 f10 = f10
e72031f
-	;;
e72031f
-	/* Transfer result to GP registers.  */
e72031f
-	getf.sig ret0 = f10
e72031f
-	br.ret.sptk rp
e72031f
-	;;
e72031f
-END(___divdi3)
e72031f
-	.symver	___divdi3, __divdi3@GLIBC_2.2
e72031f
-
e72031f
-/* __moddi3
e72031f
-   Compute a 64-bit integer modulus.
e72031f
-   in0 holds the dividend (a).  in1 holds the divisor (b).  */
e72031f
-
e72031f
-ENTRY(___moddi3)
e72031f
-	.regstk 2,0,0,0
e72031f
-	/* Transfer inputs to FP registers.  */
e72031f
-	setf.sig f14 = in0
e72031f
-	setf.sig f9 = in1
e72031f
-	;;
e72031f
-	/* Convert the inputs to FP, so that they won't be treated as
e72031f
-	   unsigned.  */
e72031f
-	fcvt.xf f8 = f14
e72031f
-	fcvt.xf f9 = f9
e72031f
-	;;
e72031f
-	/* Compute the reciprocal approximation.  */
e72031f
-	frcpa.s1 f10, p6 = f8, f9
e72031f
-	;;
e72031f
-	/* 3 Newton-Raphson iterations.  */
e72031f
-(p6)	fmpy.s1 f12 = f8, f10
e72031f
-(p6)	fnma.s1 f11 = f9, f10, f1
e72031f
-	;;
e72031f
-(p6)	fma.s1 f12 = f11, f12, f12
e72031f
-(p6)	fmpy.s1 f13 = f11, f11
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f11, f10, f10
e72031f
-(p6)	fma.s1 f11 = f13, f12, f12
e72031f
-	;;
e72031f
-	sub in1 = r0, in1
e72031f
-(p6)	fma.s1 f10 = f13, f10, f10
e72031f
-(p6)	fnma.s1 f12 = f9, f11, f8
e72031f
-	;;
e72031f
-	setf.sig f9 = in1
e72031f
-(p6)	fma.s1 f10 = f12, f10, f11
e72031f
-	;;
e72031f
-	fcvt.fx.trunc.s1 f10 = f10
e72031f
-	;;
e72031f
-	/* r = q * (-b) + a  */
e72031f
-	xma.l f10 = f10, f9, f14
e72031f
-	;;
e72031f
-	/* Transfer result to GP registers.  */
e72031f
-	getf.sig ret0 = f10
e72031f
-	br.ret.sptk rp
e72031f
-	;;
e72031f
-END(___moddi3)
e72031f
-	.symver ___moddi3, __moddi3@GLIBC_2.2
e72031f
-
e72031f
-/* __udivdi3
e72031f
-   Compute a 64-bit unsigned integer quotient.
e72031f
-   in0 holds the dividend.  in1 holds the divisor.  */
e72031f
-
e72031f
-ENTRY(___udivdi3)
e72031f
-	.regstk 2,0,0,0
e72031f
-	/* Transfer inputs to FP registers.  */
e72031f
-	setf.sig f8 = in0
e72031f
-	setf.sig f9 = in1
e72031f
-	;;
e72031f
-	/* Convert the inputs to FP, to avoid FP software-assist faults.  */
e72031f
-	fcvt.xuf.s1 f8 = f8
e72031f
-	fcvt.xuf.s1 f9 = f9
e72031f
-	;;
e72031f
-	/* Compute the reciprocal approximation.  */
e72031f
-	frcpa.s1 f10, p6 = f8, f9
e72031f
-	;;
e72031f
-	/* 3 Newton-Raphson iterations.  */
e72031f
-(p6)	fnma.s1 f11 = f9, f10, f1
e72031f
-(p6)	fmpy.s1 f12 = f8, f10
e72031f
-	;;
e72031f
-(p6)	fmpy.s1 f13 = f11, f11
e72031f
-(p6)	fma.s1 f12 = f11, f12, f12
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f11, f10, f10
e72031f
-(p6)	fma.s1 f11 = f13, f12, f12
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f13, f10, f10
e72031f
-(p6)	fnma.s1 f12 = f9, f11, f8
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f12, f10, f11
e72031f
-	;;
e72031f
-	/* Round quotient to an unsigned integer.  */
e72031f
-	fcvt.fxu.trunc.s1 f10 = f10
e72031f
-	;;
e72031f
-	/* Transfer result to GP registers.  */
e72031f
-	getf.sig ret0 = f10
e72031f
-	br.ret.sptk rp
e72031f
-	;;
e72031f
-END(___udivdi3)
e72031f
-	.symver	___udivdi3, __udivdi3@GLIBC_2.2
e72031f
-
e72031f
-/* __umoddi3
e72031f
-   Compute a 64-bit unsigned integer modulus.
e72031f
-   in0 holds the dividend (a).  in1 holds the divisor (b).  */
e72031f
-
e72031f
-ENTRY(___umoddi3)
e72031f
-	.regstk 2,0,0,0
e72031f
-	/* Transfer inputs to FP registers.  */
e72031f
-	setf.sig f14 = in0
e72031f
-	setf.sig f9 = in1
e72031f
-	;;
e72031f
-	/* Convert the inputs to FP, to avoid FP software assist faults.  */
e72031f
-	fcvt.xuf.s1 f8 = f14
e72031f
-	fcvt.xuf.s1 f9 = f9
e72031f
-	;;
e72031f
-	/* Compute the reciprocal approximation.  */
e72031f
-	frcpa.s1 f10, p6 = f8, f9
e72031f
-	;;
e72031f
-	/* 3 Newton-Raphson iterations.  */
e72031f
-(p6)	fmpy.s1 f12 = f8, f10
e72031f
-(p6)	fnma.s1 f11 = f9, f10, f1
e72031f
-	;;
e72031f
-(p6)	fma.s1 f12 = f11, f12, f12
e72031f
-(p6)	fmpy.s1 f13 = f11, f11
e72031f
-	;;
e72031f
-(p6)	fma.s1 f10 = f11, f10, f10
e72031f
-(p6)	fma.s1 f11 = f13, f12, f12
e72031f
-	;;
e72031f
-	sub in1 = r0, in1
e72031f
-(p6)	fma.s1 f10 = f13, f10, f10
e72031f
-(p6)	fnma.s1 f12 = f9, f11, f8
e72031f
-	;;
e72031f
-	setf.sig f9 = in1
e72031f
-(p6)	fma.s1 f10 = f12, f10, f11
e72031f
-	;;
e72031f
-	/* Round quotient to an unsigned integer.  */
e72031f
-	fcvt.fxu.trunc.s1 f10 = f10
e72031f
-	;;
e72031f
-	/* r = q * (-b) + a  */
e72031f
-	xma.l f10 = f10, f9, f14
e72031f
-	;;
e72031f
-	/* Transfer result to GP registers.  */
e72031f
-	getf.sig ret0 = f10
e72031f
-	br.ret.sptk rp
e72031f
-	;;
e72031f
-END(___umoddi3)
e72031f
-	.symver	___umoddi3, __umoddi3@GLIBC_2.2
e72031f
-
e72031f
-/* __multi3
e72031f
-   Compute a 128-bit multiply of 128-bit multiplicands.
e72031f
-   in0/in1 holds one multiplicand (a), in2/in3 holds the other one (b).  */
e72031f
-
e72031f
-ENTRY(___multi3)
e72031f
-	.regstk 4,0,0,0
e72031f
-	setf.sig f6 = in1
e72031f
-	movl r19 = 0xffffffff
e72031f
-	setf.sig f7 = in2
e72031f
-	;;
e72031f
-	and r14 = r19, in0
e72031f
-	;;
e72031f
-	setf.sig f10 = r14
e72031f
-	and r14 = r19, in2
e72031f
-	xmpy.l f9 = f6, f7
e72031f
-	;;
e72031f
-	setf.sig f6 = r14
e72031f
-	shr.u r14 = in0, 32
e72031f
-	;;
e72031f
-	setf.sig f7 = r14
e72031f
-	shr.u r14 = in2, 32
e72031f
-	;;
e72031f
-	setf.sig f8 = r14
e72031f
-	xmpy.l f11 = f10, f6
e72031f
-	xmpy.l f6 = f7, f6
e72031f
-	;;
e72031f
-	getf.sig r16 = f11
e72031f
-	xmpy.l f7 = f7, f8
e72031f
-	;;
e72031f
-	shr.u r14 = r16, 32
e72031f
-	and r16 = r19, r16
e72031f
-	getf.sig r17 = f6
e72031f
-	setf.sig f6 = in0
e72031f
-	;;
e72031f
-	setf.sig f11 = r14
e72031f
-	getf.sig r21 = f7
e72031f
-	setf.sig f7 = in3
e72031f
-	;;
e72031f
-	xma.l f11 = f10, f8, f11
e72031f
-	xma.l f6 = f6, f7, f9
e72031f
-	;;
e72031f
-	getf.sig r18 = f11
e72031f
-	;;
e72031f
-	add r18 = r18, r17
e72031f
-	;;
e72031f
-	and r15 = r19, r18
e72031f
-	cmp.ltu p7, p6 = r18, r17
e72031f
-	;;
e72031f
-	getf.sig r22 = f6
e72031f
-(p7)	adds r14 = 1, r19
e72031f
-	;;
e72031f
-(p7)	add r21 = r21, r14
e72031f
-	shr.u r14 = r18, 32
e72031f
-	shl r15 = r15, 32
e72031f
-	;;
e72031f
-	add r20 = r21, r14
e72031f
-	;;
e72031f
-	add ret0 = r15, r16
e72031f
-	add ret1 = r22, r20
e72031f
-	br.ret.sptk rp
e72031f
-	;;
e72031f
-END(___multi3)
e72031f
-	.symver	___multi3, __multi3@GLIBC_2.2
e72031f
-
e72031f
-#endif
0cfc9db
--- glibc-20080828T1623/sysdeps/ia64/libgcc-compat.c 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/ia64/libgcc-compat.c	22 Sep 2004 21:21:08 -0000	1.1.2.1
e72031f
@@ -0,0 +1,84 @@
e72031f
+/* pre-.hidden libgcc compatibility
e72031f
+   Copyright (C) 2002 Free Software Foundation, Inc.
e72031f
+   This file is part of the GNU C Library.
e72031f
+
e72031f
+   The GNU C Library is free software; you can redistribute it and/or
e72031f
+   modify it under the terms of the GNU Lesser General Public
e72031f
+   License as published by the Free Software Foundation; either
e72031f
+   version 2.1 of the License, or (at your option) any later version.
e72031f
+
e72031f
+   The GNU C Library is distributed in the hope that it will be useful,
e72031f
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
e72031f
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
e72031f
+   Lesser General Public License for more details.
e72031f
+
e72031f
+   You should have received a copy of the GNU Lesser General Public
e72031f
+   License along with the GNU C Library; if not, write to the Free
e72031f
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
e72031f
+   02111-1307 USA.  */
e72031f
+
e72031f
+
e72031f
+#include <stdint.h>
e72031f
+#include <shlib-compat.h>
e72031f
+
e72031f
+#if SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_2_6)
e72031f
+
e72031f
+typedef int int128_t __attribute__((__mode__(TI)));
e72031f
+
e72031f
+extern long double __divtf3 (long double, long double) attribute_hidden;
e72031f
+long double INTUSE (__divtf3) (long double x, long double y)
e72031f
+{
e72031f
+  return __divtf3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__divtf3), __divtf3, GLIBC_2.2);
e72031f
+
e72031f
+extern double __divdf3 (double, double) attribute_hidden;
e72031f
+double INTUSE (__divdf3) (double x, double y)
e72031f
+{
e72031f
+  return __divdf3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__divdf3), __divdf3, GLIBC_2.2);
e72031f
+
e72031f
+extern float __divsf3 (float, float) attribute_hidden;
e72031f
+float INTUSE (__divsf3) (float x, float y)
e72031f
+{
e72031f
+  return __divsf3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__divsf3), __divsf3, GLIBC_2.2);
e72031f
+
e72031f
+extern int64_t __divdi3 (int64_t, int64_t) attribute_hidden;
e72031f
+int64_t INTUSE (__divdi3) (int64_t x, int64_t y)
e72031f
+{
e72031f
+  return __divdi3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__divdi3), __divdi3, GLIBC_2.2);
e72031f
+
e72031f
+extern int64_t __moddi3 (int64_t, int64_t) attribute_hidden;
e72031f
+int64_t INTUSE (__moddi3) (int64_t x, int64_t y)
e72031f
+{
e72031f
+  return __moddi3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__moddi3), __moddi3, GLIBC_2.2);
e72031f
+
e72031f
+extern uint64_t __udivdi3 (uint64_t, uint64_t) attribute_hidden;
e72031f
+uint64_t INTUSE (__udivdi3) (uint64_t x, uint64_t y)
e72031f
+{
e72031f
+  return __udivdi3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__udivdi3), __udivdi3, GLIBC_2.2);
e72031f
+
e72031f
+extern uint64_t __umoddi3 (uint64_t, uint64_t) attribute_hidden;
e72031f
+uint64_t INTUSE (__umoddi3) (uint64_t x, uint64_t y)
e72031f
+{
e72031f
+  return __umoddi3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__umoddi3), __umoddi3, GLIBC_2.2);
e72031f
+
e72031f
+extern int128_t __multi3 (int128_t, int128_t) attribute_hidden;
e72031f
+int128_t INTUSE (__multi3) (int128_t x, int128_t y)
e72031f
+{
e72031f
+  return __multi3 (x, y);
e72031f
+}
e72031f
+symbol_version (INTUSE (__multi3), __multi3, GLIBC_2.2);
e72031f
+
e72031f
+#endif
0cfc9db
--- glibc-20080828T1623/sysdeps/powerpc/powerpc64/Makefile	2 Feb 2006 08:23:44 -0000	1.8
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/powerpc/powerpc64/Makefile	30 Nov 2006 17:07:38 -0000	1.4.2.5
21860be
@@ -30,6 +30,7 @@ ifneq ($(elf),no)
21860be
 # we use -fpic instead which is much better.
21860be
 CFLAGS-initfini.s += -fpic -O1
21860be
 endif
21860be
+CFLAGS-libc-start.c += -fno-asynchronous-unwind-tables
21860be
 endif
21860be
 
21860be
 ifeq ($(subdir),elf)
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/nice.c	15 Aug 2006 05:24:45 -0000	1.7
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/nice.c	15 Aug 2006 05:53:50 -0000	1.6.2.2
e72031f
@@ -42,7 +42,12 @@ nice (int incr)
e72031f
 	__set_errno (save);
e72031f
     }
e72031f
 
e72031f
-  result = setpriority (PRIO_PROCESS, 0, prio + incr);
e72031f
+  prio += incr;
e72031f
+  if (prio < PRIO_MIN)
e72031f
+    prio = PRIO_MIN;
e72031f
+  else if (prio >= PRIO_MAX)
e72031f
+    prio = PRIO_MAX - 1;
e72031f
+  result = setpriority (PRIO_PROCESS, 0, prio);
e72031f
   if (result == -1)
e72031f
     {
e72031f
       if (errno == EACCES)
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/check_pf.c	3 Jan 2008 00:24:52 -0000	1.15
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/check_pf.c	3 Jan 2008 20:20:42 -0000	1.3.2.11
9b5c867
@@ -27,13 +27,10 @@
9b5c867
 #include <unistd.h>
9b5c867
 #include <sys/socket.h>
9b5c867
 
9b5c867
-#include <asm/types.h>
9b5c867
-#include <linux/netlink.h>
9b5c867
-#include <linux/rtnetlink.h>
9b5c867
-
9b5c867
 #include <not-cancel.h>
9b5c867
 #include <kernel-features.h>
9b5c867
 
9b5c867
+#include "netlinkaccess.h"
9b5c867
 
aaaf28d
 #ifndef IFA_F_HOMEADDRESS
aaaf28d
 # define IFA_F_HOMEADDRESS 0
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/dl-osinfo.h	17 Apr 2008 08:32:24 -0000	1.28
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/dl-osinfo.h	15 May 2008 07:57:48 -0000	1.14.2.14
0cfc9db
@@ -17,10 +17,13 @@
87698ec
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
e72031f
    02111-1307 USA.  */
e72031f
 
e72031f
+#include <errno.h>
e72031f
 #include <kernel-features.h>
e72031f
 #include <dl-sysdep.h>
0cfc9db
 #include <fcntl.h>
e72031f
 #include <stdint.h>
e72031f
+#include <hp-timing.h>
e72031f
+#include <endian.h>
e72031f
 
e72031f
 #ifndef MIN
e72031f
 # define MIN(a,b) (((a)<(b))?(a):(b))
0cfc9db
@@ -77,5 +80,31 @@ _dl_setup_stack_chk_guard (void)
e72031f
   unsigned char *p = (unsigned char *) &ret;
e72031f
   p[sizeof (ret) - 1] = 255;
e72031f
   p[sizeof (ret) - 2] = '\n';
e72031f
+#ifdef HP_TIMING_NOW
e72031f
+  hp_timing_t hpt;
e72031f
+  HP_TIMING_NOW (hpt);
e72031f
+  hpt = (hpt & 0xffff) << 8;
e72031f
+  ret ^= hpt;
e72031f
+#endif
e72031f
+  uintptr_t stk;
e72031f
+  /* Avoid GCC being too smart.  */
e72031f
+  asm ("" : "=r" (stk) : "r" (p));
e72031f
+  stk &= 0x7ffff0;
e72031f
+#if __BYTE_ORDER == __LITTLE_ENDIAN
e72031f
+  stk <<= (__WORDSIZE - 23);
e72031f
+#elif __WORDSIZE == 64
e72031f
+  stk <<= 31;
e72031f
+#endif
e72031f
+  ret ^= stk;
e72031f
+  /* Avoid GCC being too smart.  */
e72031f
+  p = (unsigned char *) &errno;
e72031f
+  asm ("" : "=r" (stk) : "r" (p));
e72031f
+  stk &= 0x7fff00;
e72031f
+#if __BYTE_ORDER == __LITTLE_ENDIAN
e72031f
+  stk <<= (__WORDSIZE - 29);
e72031f
+#else
e72031f
+  stk >>= 8;
e72031f
+#endif
e72031f
+  ret ^= stk;
e72031f
   return ret;
e72031f
 }
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/futimesat.c	3 Feb 2006 05:26:34 -0000	1.6
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/futimesat.c	3 Feb 2006 09:43:55 -0000	1.1.2.7
e72031f
@@ -37,14 +37,14 @@ futimesat (fd, file, tvp)
e72031f
 {
e72031f
   int result;
e72031f
 
e72031f
+  if (file == NULL)
e72031f
+    return __futimes (fd, tvp);
e72031f
+
e72031f
 #ifdef __NR_futimesat
e72031f
 # ifndef __ASSUME_ATFCTS
e72031f
   if (__have_atfcts >= 0)
e72031f
 # endif
e72031f
     {
e72031f
-      if (file == NULL)
e72031f
-	return __futimes (fd, tvp);
e72031f
-
e72031f
       result = INLINE_SYSCALL (futimesat, 3, fd, file, tvp);
e72031f
 # ifndef __ASSUME_ATFCTS
e72031f
       if (result == -1 && errno == ENOSYS)
e72031f
@@ -58,22 +58,7 @@ futimesat (fd, file, tvp)
e72031f
 #ifndef __ASSUME_ATFCTS
e72031f
   char *buf = NULL;
e72031f
 
e72031f
-  if (file == NULL)
e72031f
-    {
e72031f
-      static const char procfd[] = "/proc/self/fd/%d";
e72031f
-      /* Buffer for the path name we are going to use.  It consists of
e72031f
-	 - the string /proc/self/fd/
e72031f
-	 - the file descriptor number.
e72031f
-	 The final NUL is included in the sizeof.   A bit of overhead
e72031f
-	 due to the format elements compensates for possible negative
e72031f
-	 numbers.  */
e72031f
-      size_t buflen = sizeof (procfd) + sizeof (int) * 3;
e72031f
-      buf = alloca (buflen);
e72031f
-
e72031f
-      __snprintf (buf, buflen, procfd, fd);
e72031f
-      file = buf;
e72031f
-    }
e72031f
-  else if (fd != AT_FDCWD && file[0] != '/')
e72031f
+  if (fd != AT_FDCWD && file[0] != '/')
e72031f
     {
e72031f
       size_t filelen = strlen (file);
e72031f
       static const char procfd[] = "/proc/self/fd/%d/%s";
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/netlinkaccess.h	8 Jan 2006 08:21:15 -0000	1.3
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/netlinkaccess.h	10 Dec 2006 10:51:12 -0000	1.1.2.3
9b5c867
@@ -25,6 +25,24 @@
9b5c867
 
9b5c867
 #include <kernel-features.h>
9b5c867
 
9b5c867
+#ifndef IFA_MAX
9b5c867
+/* 2.6.19 kernel headers helpfully removed some macros and
9b5c867
+   moved lots of stuff into new headers, some of which aren't
9b5c867
+   included by linux/rtnetlink.h.  */
9b5c867
+#include <linux/if_addr.h>
9b5c867
+#endif
9b5c867
+
9b5c867
+#ifndef IFA_RTA
9b5c867
+# define IFA_RTA(r) \
9b5c867
+  ((struct rtattr*) ((char*)(r) + NLMSG_ALIGN (sizeof (struct ifaddrmsg))))
9b5c867
+# define IFA_PAYLOAD(n) NLMSG_PAYLOAD (n, sizeof (struct ifaddrmsg))
9b5c867
+#endif
9b5c867
+
9b5c867
+#ifndef IFLA_RTA
9b5c867
+# define IFLA_RTA(r) \
9b5c867
+  ((struct rtattr*) ((char*)(r) + NLMSG_ALIGN (sizeof (struct ifinfomsg))))
9b5c867
+# define IFLA_PAYLOAD(n) NLMSG_PAYLOAD (n, sizeof (struct ifinfomsg))
9b5c867
+#endif
9b5c867
 
9b5c867
 struct netlink_res
9b5c867
 {
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/paths.h	15 Nov 2000 23:06:47 -0000	1.11
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/paths.h	22 Sep 2004 21:21:08 -0000	1.11.4.1
e72031f
@@ -61,7 +61,7 @@
e72031f
 #define	_PATH_TTY	"/dev/tty"
e72031f
 #define	_PATH_UNIX	"/boot/vmlinux"
e72031f
 #define _PATH_UTMP	"/var/run/utmp"
e72031f
-#define	_PATH_VI	"/usr/bin/vi"
e72031f
+#define	_PATH_VI	"/bin/vi"
e72031f
 #define _PATH_WTMP	"/var/log/wtmp"
e72031f
 
e72031f
 /* Provide trailing slash, since mostly used for building pathnames. */
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/tcsetattr.c	10 Sep 2003 19:16:07 -0000	1.16
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/tcsetattr.c	22 Sep 2004 21:21:08 -0000	1.16.2.1
e72031f
@@ -49,6 +49,7 @@ tcsetattr (fd, optional_actions, termios
e72031f
 {
e72031f
   struct __kernel_termios k_termios;
e72031f
   unsigned long int cmd;
e72031f
+  int retval;
e72031f
 
e72031f
   switch (optional_actions)
e72031f
     {
e72031f
@@ -80,6 +81,35 @@ tcsetattr (fd, optional_actions, termios
e72031f
   memcpy (&k_termios.c_cc[0], &termios_p->c_cc[0],
e72031f
 	  __KERNEL_NCCS * sizeof (cc_t));
e72031f
 
e72031f
-  return INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios);
e72031f
+  retval = INLINE_SYSCALL (ioctl, 3, fd, cmd, &k_termios);
e72031f
+
e72031f
+  if (retval == 0 && cmd == TCSETS)
e72031f
+    {
e72031f
+      /* The Linux kernel has a bug which silently ignore the invalid
e72031f
+        c_cflag on pty. We have to check it here. */
e72031f
+      int save = errno;
e72031f
+      retval = INLINE_SYSCALL (ioctl, 3, fd, TCGETS, &k_termios);
e72031f
+      if (retval)
e72031f
+       {
e72031f
+         /* We cannot verify if the setting is ok. We don't return
e72031f
+            an error (?). */
e72031f
+         __set_errno (save);
e72031f
+         retval = 0;
e72031f
+       }
e72031f
+      else if ((termios_p->c_cflag & (PARENB | CREAD))
e72031f
+              != (k_termios.c_cflag & (PARENB | CREAD))
e72031f
+              || ((termios_p->c_cflag & CSIZE)
e72031f
+                  && ((termios_p->c_cflag & CSIZE)
e72031f
+                      != (k_termios.c_cflag & CSIZE))))
e72031f
+       {
e72031f
+         /* It looks like the Linux kernel silently changed the
e72031f
+            PARENB/CREAD/CSIZE bits in c_cflag. Report it as an
e72031f
+            error. */
e72031f
+         __set_errno (EINVAL);
e72031f
+         retval = -1;
e72031f
+       }
e72031f
+    }
e72031f
+
e72031f
+  return retval;
e72031f
 }
e72031f
 libc_hidden_def (tcsetattr)
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/i386/clone.S	3 Dec 2006 23:12:36 -0000	1.27
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/i386/clone.S	14 Dec 2006 09:06:34 -0000	1.22.2.6
6e8aad2
@@ -120,9 +120,6 @@ L(pseudo_end):
6e8aad2
 	ret
6e8aad2
 
6e8aad2
 L(thread_start):
6e8aad2
-	cfi_startproc;
6e8aad2
-	/* Clearing frame pointer is insufficient, use CFI.  */
6e8aad2
-	cfi_undefined (eip);
6e8aad2
 	/* Note: %esi is zero.  */
6e8aad2
 	movl	%esi,%ebp	/* terminate the stack frame */
6e8aad2
 #ifdef RESET_PID
6e8aad2
@@ -155,7 +152,6 @@ L(nomoregetpid):
6e8aad2
 	jmp	L(haspid)
6e8aad2
 	.previous
6e8aad2
 #endif
6e8aad2
-	cfi_endproc;
6e8aad2
 
6e8aad2
 	cfi_startproc
6e8aad2
 PSEUDO_END (BP_SYM (__clone))
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/i386/dl-cache.h 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/i386/dl-cache.h	22 Sep 2004 21:21:08 -0000	1.1.2.1
e72031f
@@ -0,0 +1,59 @@
e72031f
+/* Support for reading /etc/ld.so.cache files written by Linux ldconfig.
e72031f
+   Copyright (C) 2004 Free Software Foundation, Inc.
e72031f
+   This file is part of the GNU C Library.
e72031f
+
e72031f
+   The GNU C Library is free software; you can redistribute it and/or
e72031f
+   modify it under the terms of the GNU Lesser General Public
e72031f
+   License as published by the Free Software Foundation; either
e72031f
+   version 2.1 of the License, or (at your option) any later version.
e72031f
+
e72031f
+   The GNU C Library is distributed in the hope that it will be useful,
e72031f
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
e72031f
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
e72031f
+   Lesser General Public License for more details.
e72031f
+
e72031f
+   You should have received a copy of the GNU Lesser General Public
e72031f
+   License along with the GNU C Library; if not, write to the Free
e72031f
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
e72031f
+   02111-1307 USA.  */
e72031f
+
e72031f
+static inline int
e72031f
+is_ia64 (void)
e72031f
+{
e72031f
+  unsigned int fl1, fl2;
e72031f
+
e72031f
+  /* See if we can use cpuid.  */
e72031f
+  __asm__ ("pushfl; pushfl; popl %0; movl %0,%1; xorl %2,%0;"
e72031f
+           "pushl %0; popfl; pushfl; popl %0; popfl"
e72031f
+           : "=&r" (fl1), "=&r" (fl2)
e72031f
+           : "i" (0x00200000));
e72031f
+  if (((fl1 ^ fl2) & 0x00200000) == 0)
e72031f
+    return 0;
e72031f
+
e72031f
+  /* Host supports cpuid.  See if cpuid gives capabilities, try
e72031f
+     CPUID(0).  Preserve %ebx and %ecx; cpuid insn clobbers these, we
e72031f
+     don't need their CPUID values here, and %ebx may be the PIC
e72031f
+     register.  */
e72031f
+  __asm__ ("pushl %%ecx; pushl %%ebx; cpuid; popl %%ebx; popl %%ecx"
e72031f
+           : "=a" (fl1) : "0" (0) : "edx", "cc");
e72031f
+  if (fl1 == 0)
e72031f
+    return 0;
e72031f
+
e72031f
+  /* Invoke CPUID(1), return %edx; caller can examine bits to
e72031f
+     determine what's supported.  */
e72031f
+  __asm__ ("pushl %%ecx; pushl %%ebx; cpuid; popl %%ebx; popl %%ecx"
e72031f
+           : "=d" (fl2), "=a" (fl1) : "1" (1) : "cc");
e72031f
+  return (fl2 & (1 << 30)) != 0;
e72031f
+}
e72031f
+
e72031f
+#define arch_startup(argc, argv) \
e72031f
+  do {									\
e72031f
+    /* On IA-64, try to execute 64-bit ldconfig if possible.		\
e72031f
+       This is because the badly designed /emul/ia32-linux hack		\
e72031f
+       will cause 32-bit ldconfig to do all sorts of weird things.  */	\
e72031f
+    if (is_ia64 ())							\
e72031f
+      execv ("/emul/ia32-linux/../../sbin/ldconfig",			\
e72031f
+	     (char *const *) argv);					\
e72031f
+  } while (0)
e72031f
+
e72031f
+#include_next <dl-cache.h>
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/ia64/dl-cache.h	6 Jul 2001 04:56:17 -0000	1.2
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/ia64/dl-cache.h	22 Sep 2004 21:21:09 -0000	1.2.4.1
e72031f
@@ -22,4 +22,31 @@
e72031f
 #define _dl_cache_check_flags(flags) \
e72031f
   ((flags) == _DL_CACHE_DEFAULT_ID)
e72031f
 
e72031f
+#define EMUL_HACK "/emul/ia32-linux"
e72031f
+
e72031f
+#define arch_startup(argc, argv) unlink (EMUL_HACK LD_SO_CACHE)
e72031f
+
e72031f
+#define add_arch_dirs(config_file) \
e72031f
+  do {							\
e72031f
+    int save_verbose = opt_verbose;			\
e72031f
+    opt_verbose = 0;					\
e72031f
+							\
e72031f
+    parse_conf (config_file, EMUL_HACK, true);		\
e72031f
+							\
e72031f
+    /* Always add the standard search paths.  */	\
e72031f
+    add_system_dir (EMUL_HACK SLIBDIR);			\
e72031f
+    if (strcmp (SLIBDIR, LIBDIR))			\
e72031f
+      add_system_dir (EMUL_HACK LIBDIR);		\
e72031f
+							\
e72031f
+    char emul_config_file[strlen (config_file)		\
e72031f
+			  + sizeof EMUL_HACK];		\
e72031f
+    strcpy (mempcpy (emul_config_file, EMUL_HACK,	\
e72031f
+		     strlen (EMUL_HACK)), config_file);	\
e72031f
+							\
e72031f
+    if (! access (emul_config_file, R_OK))		\
e72031f
+      parse_conf (emul_config_file, EMUL_HACK, true);	\
e72031f
+							\
e72031f
+    opt_verbose = save_verbose;				\
e72031f
+  } while (0)
e72031f
+
e72031f
 #include_next <dl-cache.h>
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.c	22 Sep 2004 21:21:09 -0000	1.1.2.1
e72031f
@@ -0,0 +1,5 @@
e72031f
+#ifdef IS_IN_ldconfig
e72031f
+#include <sysdeps/i386/dl-procinfo.c>
e72031f
+#else
e72031f
+#include <sysdeps/generic/dl-procinfo.c>
e72031f
+#endif
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h 1 Jan 1970 00:00:00 -0000
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/ia64/dl-procinfo.h	22 Sep 2004 21:21:09 -0000	1.1.2.1
e72031f
@@ -0,0 +1,5 @@
e72031f
+#ifdef IS_IN_ldconfig
e72031f
+#include <sysdeps/unix/sysv/linux/i386/dl-procinfo.h>
e72031f
+#else
e72031f
+#include <sysdeps/generic/dl-procinfo.h>
e72031f
+#endif
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed	17 Jan 2002 06:49:28 -0000	1.2
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed	22 Sep 2004 21:21:09 -0000	1.2.2.1
e72031f
@@ -1 +1 @@
e72031f
-s_^\(RTLDLIST=\)\([^ 	]*\)-ia64\(\.so\.[0-9.]*\)[ 	]*$_\1"\2-ia64\3 \2\3"_
e72031f
+s_^\(RTLDLIST=\)\([^ 	]*\)-ia64\(\.so\.[0-9.]*\)[ 	]*$_\1"\2-ia64\3 /emul/ia32-linux\2\3"_
0cfc9db
--- glibc-20080828T1623/sysdeps/unix/sysv/linux/x86_64/clone.S	3 Dec 2006 23:12:36 -0000	1.7
0cfc9db
+++ glibc-20080828T1623-fedora/sysdeps/unix/sysv/linux/x86_64/clone.S	14 Dec 2006 09:06:34 -0000	1.4.2.4
6e8aad2
@@ -89,9 +89,6 @@ L(pseudo_end):
6e8aad2
 	ret
6e8aad2
 
6e8aad2
 L(thread_start):
6e8aad2
-	cfi_startproc;
6e8aad2
-	/* Clearing frame pointer is insufficient, use CFI.  */
6e8aad2
-	cfi_undefined (rip);
6e8aad2
 	/* Clear the frame pointer.  The ABI suggests this be done, to mark
6e8aad2
 	   the outermost frame obviously.  */
6e8aad2
 	xorl	%ebp, %ebp
6e8aad2
@@ -116,7 +113,6 @@ L(thread_start):
6e8aad2
 	/* Call exit with return value from function call. */
6e8aad2
 	movq	%rax, %rdi
6e8aad2
 	call	HIDDEN_JUMPTARGET (_exit)
6e8aad2
-	cfi_endproc;
6e8aad2
 
6e8aad2
 	cfi_startproc;
6e8aad2
 PSEUDO_END (BP_SYM (__clone))