rpms/glibc/F-7 glibc-fedora.patch, 1.227, 1.228 glibc.spec, 1.310, 1.311 sources, 1.231, 1.232
Jakub Jelinek (jakub)
fedora-extras-commits at redhat.com
Sun Jul 8 10:39:44 UTC 2007
Author: jakub
Update of /cvs/pkgs/rpms/glibc/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2583/F-7
Modified Files:
glibc-fedora.patch glibc.spec sources
Log Message:
2.6-4
glibc-fedora.patch:
View full diff with command:
/usr/bin/cvs -f diff -kk -u -N -r 1.227 -r 1.228 glibc-fedora.patch
Index: glibc-fedora.patch
===================================================================
RCS file: /cvs/pkgs/rpms/glibc/F-7/glibc-fedora.patch,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- glibc-fedora.patch 24 May 2007 10:40:34 -0000 1.227
+++ glibc-fedora.patch 8 Jul 2007 10:39:38 -0000 1.228
@@ -1,11 +1,184 @@
--- glibc-20070515T2025/ChangeLog 15 May 2007 20:24:57 -0000 1.10641
-+++ glibc-20070515T2025-fedora/ChangeLog 24 May 2007 10:33:00 -0000 1.8782.2.246
-@@ -1,3 +1,64 @@
-+2007-01-15 Jakub Jelinek <jakub at redhat.com>
-+
-+ * elf/dl-open.c (add_to_global): If the main searchlist is 256
-+ entries or more, on each reallocation at least double the size
-+ of the search list rather than growing it linearly.
++++ glibc-20070515T2025-fedora/ChangeLog 8 Jul 2007 10:08:23 -0000 1.8782.2.258
+@@ -1,3 +1,237 @@
++2007-07-07 Ulrich Drepper <drepper at redhat.com>
++
++ [BZ #4745]
++ * stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF
++ in loop to look for conversion specifier to avoid testing of
++ wrong errno value.
++ * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a.
++ * stdio-common/bug18.c: New file.
++ * stdio-common/bug18a.c: New file.
++ * stdio-common/bug19.c: New file.
++ * stdio-common/bug19a.c: New file.
++
++2007-06-06 Jakub Jelinek <jakub at redhat.com>
++
++ [BZ #4586]
++ * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat
++ pseudo-zeros as zero.
++ * sysdeps/x86_64/ldbl2mpn.c: New file.
++ * sysdeps/ia64/ldbl2mpn.c: New file.
++
++2007-07-01 Jakub Jelinek <jakub at redhat.com>
++
++ * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
++ * elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0).
++ Return NULL if mmap failed instead of asserting it does not.
++ (calloc): Check for integer overflow.
++
++ * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger
++ than LONG_MAX / 10.
++
++2007-07-03 Jakub Jelinek <jakub at redhat.com>
++
++ [BZ #4702]
++ * nis/nss-default.c: Include errno.h.
++ (init): Preserve errno.
++
++2007-06-19 Ulrich Drepper <drepper at redhat.com>
++
++ * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements
++ to fill in holes
++ (rtld_global_ro): Likewise.
++
++2007-06-18 Jakub Jelinek <jakub at redhat.com>
++
++ * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous.
++ Move PT_LOAD checking to...
++ (_dl_addr_inside_object): ... here, new function.
++ * elf/dl-sym.c (do_sym): If not l_contiguous,
++ call _dl_addr_inside_object.
++ * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise.
++ * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
++ * elf/dl-open.c (dl_open_worker): Likewise.
++ (_dl_addr_inside_object): New function if IS_IN_rtld.
++ * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no
++ holes are present or are PROT_NONE protected.
++ * include/link.h (struct link_map): Add l_contiguous field.
++ * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype.
++
++2007-06-18 Jakub Jelinek <jakub at redhat.com>
++
++ * elf/rtld.c (dl_main): Don't call init_tls more than once.
++
++2007-06-19 Ulrich Drepper <drepper at redhat.com>
++
++ * elf/dl-close.c (free_mem): Free _dl_scope_free_list.
++
++2007-06-13 Jakub Jelinek <jakub at redhat.com>
++
++ * include/link.h: Don't include rtld-lowlevel.h.
++ (struct link_map): Remove l_scope_lock.
++ * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h.
++ (_dl_scope_free_list): New field (variable) in _rtld_global.
++ (DL_LOOKUP_SCOPE_LOCK): Remove.
++ (_dl_scope_free): New prototype.
++ * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock.
++ Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x.
++ (_dl_profile_fixup): Likewise.
++ * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x
++ whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and
++ THREAD_GSCOPE_RESET_FLAG around it.
++ * elf/dl-close.c (_dl_close_worker): Don't use
++ __rtld_mrlock_{change,done}. Call _dl_scope_free on the old
++ scope. Make sure THREAD_GSCOPE_WAIT () happens if any old
++ scopes were queued or if l_scope_mem has been abandoned.
++ * elf/dl-open.c (_dl_scope_free): New function.
++ (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}.
++ * elf/dl-support.c (_dl_scope_free_list): New variable.
++ * elf/dl-lookup.c (add_dependency): Remove flags argument.
++ Remove DL_LOOKUP_SCOPE_LOCK handling.
++ (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK
++ handling.
++ * elf/dl-object.c (_dl_new_object): Don't use
++ __rtld_mrlock_initialize.
++
++2007-06-09 Ulrich Drepper <drepper at redhat.com>
++
++ * elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and
++ make sure gcc doesn't mess around with this.
++
++2007-06-08 Ulrich Drepper <drepper at redhat.com>
++
++ * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist.
++
++2007-06-08 Jakub Jelinek <jakub at redhat.com>
++
++ * elf/dl-close.c (_dl_close_worker): Remove all to be removed
++ libraries from the global scope at once and call THREAD_GSCOPE_WAIT
++
++2007-05-18 Ulrich Drepper <drepper at redhat.com>
++
++ * elf/dl-close.c (_dl_close_worker): When removing object from
++ global scope, wait for all lookups to finish afterwards.
++ * elf/dl-open.c (add_to_global): When global scope array must
++ grow, allocate a new one and free old array only after all
++ lookups finish.
++ * elf/dl-runtime.c (_dl_fixup): Protect using global scope.
++ (_dl_lookup_symbol_x): Likewise.
++ * elf/dl-support.c: Define _dl_wait_lookup_done.
++ * sysdeps/generic/ldsodefs.h (struct rtld_global): Add
++ _dl_wait_lookup_done.
++
++2007-06-05 Jakub Jelinek <jakub at redhat.com>
++
++ * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
++ (__mpn_construct_long_double): Fix conversion where result ought
++ to be smaller than __LDBL_MIN__, or the low double should be
++ denormal. Fix decision where to negate low double - honor round
++ to even rules.
++ * stdio-common/tst-sprintf2.c: Include string.h.
++ (COMPARE_LDBL): Define.
++ (TEST): Also test whether a string hexadecimal float representation
++ can be parsed back to the number.
++ (main): Add a couple of further tests.
++
++2007-06-04 Jakub Jelinek <jakub at redhat.com>
++
++ * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
++ (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double
++ is non-zero, but smaller than 2 * __DBL_MIN__.
++ * stdio-common/tst-sprintf2.c: New test.
++ * stdio-common/Makefile (tests): Add tst-sprintf2.
++
++2007-06-04 Jakub Jelinek <jakub at redhat.com>
++
++ * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove
++ unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf.
++ Remove unreachable code at the end.
++
++2007-06-01 Steven Munroe <sjmunroe at us.ibm.com>
++
++ * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of
++ ldbl-128ibm in comment.
++ (fpclassifyl): Correct classification of denormals.
++ * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct
++ return value for MIN denormal. Rewrite using long double math too
++ correctly handle denormals and canonicalize the results.
++
++2007-05-29 Ulrich Drepper <drepper at redhat.com>
++
++ * nscd/nscd_helper.c (get_mapping): Handle short replies instead
++ of crashing. When this is the case or if the reply is malformed,
++ don't try to close the new file descriptor since it does not
++ exist.
++ Patch in part by Guillaume Chazarain <guichaz at yahoo.fr>.
++
++2007-05-21 Ulrich Drepper <drepper at redhat.com>
++
++ * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct value
++ as second parameter to handle_intel.
++
++ * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information
++ handling to ...
++ * sysdeps/x86_64/cacheinfo.c: ... here. New file.
++ * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
++ cacheinfo.
++ * sysdeps/x86_64/memcpy.S: Complete rewrite.
++ * sysdeps/x86_64/mempcpy.S: Adjust appropriately.
++ Patch by Evandro Menezes <evandro.menezes at amd.com>.
+
+2007-05-21 Ulrich Drepper <drepper at redhat.com>
+
[...3931 lines suppressed...]
++ .p2align 4
++
++/* ... when PREFETCHW is not available. */
++
++L(preloop): /* cache-line in state E */
++ decq %rcx
++
++ movq (%rsi), %rax
++ movq 8 (%rsi), %rbx
++ movq 16 (%rsi), %r9
++ movq 24 (%rsi), %r10
++ movq 32 (%rsi), %r11
++ movq 40 (%rsi), %r12
++ movq 48 (%rsi), %r13
++ movq 56 (%rsi), %r14
++
++ prefetcht0 896 + 0 (%rsi)
++ prefetcht0 896 + 64 (%rsi)
++
++ movq %rax, (%rdi)
++ movq %rbx, 8 (%rdi)
++ movq %r9, 16 (%rdi)
++ movq %r10, 24 (%rdi)
++ movq %r11, 32 (%rdi)
++ movq %r12, 40 (%rdi)
++ movq %r13, 48 (%rdi)
++ movq %r14, 56 (%rdi)
++
++ leaq 64 (%rsi), %rsi
++ leaq 64 (%rdi), %rdi
++
++ jz L(prebail)
++
++ decq %rcx
++
++ movq (%rsi), %rax
++ movq 8 (%rsi), %rbx
++ movq 16 (%rsi), %r9
++ movq 24 (%rsi), %r10
++ movq 32 (%rsi), %r11
++ movq 40 (%rsi), %r12
++ movq 48 (%rsi), %r13
++ movq 56 (%rsi), %r14
++
++ prefetcht0 896 - 64 (%rdi)
++ prefetcht0 896 - 0 (%rdi)
++
++ movq %rax, (%rdi)
++ movq %rbx, 8 (%rdi)
++ movq %r9, 16 (%rdi)
++ movq %r10, 24 (%rdi)
++ movq %r11, 32 (%rdi)
++ movq %r12, 40 (%rdi)
++ movq %r13, 48 (%rdi)
++ movq %r14, 56 (%rdi)
++
++ leaq 64 (%rsi), %rsi
++ leaq 64 (%rdi), %rdi
++
++ jnz L(preloop)
++
++L(prebail):
++ movq SAVE3 (%rsp), %rbx
++ cfi_restore (%rbx)
++ movq SAVE2 (%rsp), %r12
++ cfi_restore (%r12)
++ movq SAVE1 (%rsp), %r13
++ cfi_restore (%r13)
++ movq SAVE0 (%rsp), %r14
++ cfi_restore (%r14)
++
++/* .p2align 4 */
++
++L(preskip):
++ subq %r8, %rdx /* check for more */
++ testq $-64, %rdx
++ jnz L(preafter)
++
++ andl $63, %edx /* check for left overs */
++#ifdef USE_AS_MEMPCPY
++ jnz L(1)
++
++ movq %rdi, %rax
++#else
++ movq RETVAL (%rsp), %rax
++ jnz L(1)
++
++ rep
++#endif
++ retq /* exit */
++
++ .p2align 4
++
++L(preafter):
++
++/* Loop to handle huge blocks. */
++
++L(NTtry):
++
++L(NT): /* non-temporal 128-byte */
++ movq %rdx, %rcx
++ shrq $7, %rcx
++ jz L(NTskip)
++
++ movq %r14, SAVE0 (%rsp)
++ cfi_rel_offset (%r14, SAVE0)
++ movq %r13, SAVE1 (%rsp)
++ cfi_rel_offset (%r13, SAVE1)
++ movq %r12, SAVE2 (%rsp)
++ cfi_rel_offset (%r12, SAVE2)
++
++ .p2align 4
++
++L(NTloop):
++ prefetchnta 768 (%rsi)
++ prefetchnta 832 (%rsi)
++
++ decq %rcx
++
++ movq (%rsi), %rax
++ movq 8 (%rsi), %r8
++ movq 16 (%rsi), %r9
++ movq 24 (%rsi), %r10
++ movq 32 (%rsi), %r11
++ movq 40 (%rsi), %r12
++ movq 48 (%rsi), %r13
++ movq 56 (%rsi), %r14
++
++ movntiq %rax, (%rdi)
++ movntiq %r8, 8 (%rdi)
++ movntiq %r9, 16 (%rdi)
++ movntiq %r10, 24 (%rdi)
++ movntiq %r11, 32 (%rdi)
++ movntiq %r12, 40 (%rdi)
++ movntiq %r13, 48 (%rdi)
++ movntiq %r14, 56 (%rdi)
++
++ movq 64 (%rsi), %rax
++ movq 72 (%rsi), %r8
++ movq 80 (%rsi), %r9
++ movq 88 (%rsi), %r10
++ movq 96 (%rsi), %r11
++ movq 104 (%rsi), %r12
++ movq 112 (%rsi), %r13
++ movq 120 (%rsi), %r14
++
++ movntiq %rax, 64 (%rdi)
++ movntiq %r8, 72 (%rdi)
++ movntiq %r9, 80 (%rdi)
++ movntiq %r10, 88 (%rdi)
++ movntiq %r11, 96 (%rdi)
++ movntiq %r12, 104 (%rdi)
++ movntiq %r13, 112 (%rdi)
++ movntiq %r14, 120 (%rdi)
++
++ leaq 128 (%rsi), %rsi
++ leaq 128 (%rdi), %rdi
++
++ jnz L(NTloop)
++
++ sfence /* serialize memory stores */
++
++ movq SAVE2 (%rsp), %r12
++ cfi_restore (%r12)
++ movq SAVE1 (%rsp), %r13
++ cfi_restore (%r13)
++ movq SAVE0 (%rsp), %r14
++ cfi_restore (%r14)
++
++L(NTskip):
++ andl $127, %edx /* check for left overs */
++#ifdef USE_AS_MEMPCPY
++ jnz L(1)
++
++ movq %rdi, %rax
++#else
++ movq RETVAL (%rsp), %rax
++ jnz L(1)
++
++ rep
++#endif
++ retq /* exit */
++
++#endif /* !NOT_IN_libc */
++
++END(memcpy)
++
++#ifndef USE_AS_MEMPCPY
+ libc_hidden_builtin_def (memcpy)
+ #endif
+--- glibc-20070515T2025/sysdeps/x86_64/mempcpy.S 18 Oct 2004 04:17:08 -0000 1.3
++++ glibc-20070515T2025-fedora/sysdeps/x86_64/mempcpy.S 7 Jul 2007 16:06:42 -0000 1.2.2.2
+@@ -1,3 +1,4 @@
++#define USE_AS_MEMPCPY
+ #define memcpy __mempcpy
+ #define __memcpy_chk __mempcpy_chk
+ #include <sysdeps/x86_64/memcpy.S>
--- glibc-20070515T2025/sysdeps/x86_64/fpu/k_cosl.c 1 Jan 1970 00:00:00 -0000
+++ glibc-20070515T2025-fedora/sysdeps/x86_64/fpu/k_cosl.c 21 May 2007 20:01:15 -0000 1.1.2.1
@@ -0,0 +1 @@
Index: glibc.spec
===================================================================
RCS file: /cvs/pkgs/rpms/glibc/F-7/glibc.spec,v
retrieving revision 1.310
retrieving revision 1.311
diff -u -r1.310 -r1.311
--- glibc.spec 24 May 2007 10:40:34 -0000 1.310
+++ glibc.spec 8 Jul 2007 10:39:38 -0000 1.311
@@ -3,7 +3,7 @@
%define glibcsrcdir glibc-20070515T2025
%define glibc_release_tarballs 0
%define glibcversion 2.6
-%define glibcrelease 3
+%define glibcrelease 4
%define auxarches i586 i686 athlon sparcv9 alphaev6
%define xenarches i686 athlon
%ifarch %{xenarches}
@@ -1334,8 +1334,8 @@
done
echo Sorting source file lists. Might take a while...
-xargs -0 -n 1 echo < $sf | LC_ALL=C grep -v '/<internal>$\|\.gperf$' | LC_ALL=C sort -u > $sf.sorted
-xargs -0 -n 1 echo < $csf | LC_ALL=C grep -v '/<internal>$\|\.gperf$' | LC_ALL=C sort -u > $csf.sorted
+xargs -0 -n 1 echo < $sf | LC_ALL=C grep -v '/<internal>$\|<built-in>$\|\.gperf$' | LC_ALL=C sort -u > $sf.sorted
+xargs -0 -n 1 echo < $csf | LC_ALL=C grep -v '/<internal>$\|<built-in>$\|\.gperf$' | LC_ALL=C sort -u > $csf.sorted
mkdir -p $RPM_BUILD_ROOT/usr/src/debug
cat $sf.sorted $csf.sorted \
| (cd $RPM_BUILD_DIR; LC_ALL=C sort -u | cpio -pdm ${RPM_BUILD_ROOT}/usr/src/debug)
@@ -1566,6 +1566,25 @@
%endif
%changelog
+* Sun Jul 8 2007 Jakub Jelinek <jakub at redhat.com> 2.6-4
+- filter <built-in> pseudo-files from debuginfo source lists (#245714)
+- fix sscanf when errno is EINTR before the call (BZ#4745)
+- save/restore errno around reading /etc/default/nss (BZ#4702)
+- fix LD_HWCAP_MASK handling
+- disable workaround for #210748, instead backport
+ ld.so locking fixes from the trunk (#235026)
+- new x86_64 memcpy
+- don't write uninitialized padding bytes to nscd socket
+- fix dl{,v}sym, dl_iterate_phdr and dlopen if some library is
+ mapped into ld.so's inter-segment hole on x86_64 (#245035, #244545)
+- fix LD_AUDIT=a:b program (#180432)
+- don't crash on pseudo-zero long double values passed to
+ *printf on i?86/x86_64/ia64 (BZ#4586)
+- fix *printf %La and strtold with some hexadecimal floating point
+ constants on ppc/ppc64
+- fix nextafterl on ppc/ppc64
+- fix sem_timedwait on i?86 and x86_64
+
* Thu May 24 2007 Jakub Jelinek <jakub at redhat.com> 2.6-3
- don't use %%config(missingok) for locale-archive.tmpl,
instead of removing it altogether truncate it to zero
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/glibc/F-7/sources,v
retrieving revision 1.231
retrieving revision 1.232
diff -u -r1.231 -r1.232
--- sources 24 May 2007 10:40:34 -0000 1.231
+++ sources 8 Jul 2007 10:39:38 -0000 1.232
@@ -1,2 +1,2 @@
9e33d4d525c8317685e925972f0f145b glibc-20070515T2025.tar.bz2
-ad50ecf4f3e877558e03d1df1259c4d0 glibc-fedora-20070515T2025.tar.bz2
+bf7a2ab1d2217c8d41e72702f63bbd6f glibc-fedora-20070515T2025.tar.bz2
More information about the fedora-extras-commits
mailing list