Skip to content

Commit

Permalink
Updated to fedora-glibc-20080410T1907
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Jelinek committed Apr 10, 2008
1 parent 3a2e541 commit b0c5052
Show file tree
Hide file tree
Showing 44 changed files with 2,063 additions and 475 deletions.
110 changes: 110 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,113 @@
2008-02-21 Alan Modra <amodra@bigpond.net.au>

* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
Always set ELF_RTYPE_CLASS_PLT.
(elf_machine_lookup_noexec_p, elf_machine_lookup_noplt_p): Delete.

2008-04-03 Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/power4/hp-timing.c: New file.
* sysdeps/powerpc/powerpc32/power4/hp-timing.h: New file.
* sysdeps/powerpc/powerpc64/hp-timing.h [_ARCH_PWR4] (HP_TIMING_NOW):
For ISA 2.01 and later replace mftb with mfspr 268.

2008-02-19 Steven Munroe <sjmunroe@us.ibm.com>

[BZ #5768]
* sysdeps/powerpc/fpu/Makefile (libm-tests): Add test-powerpc-snan.
* sysdeps/powerpc/fpu/test-powerpc-snan.c: New file.

2008-02-18 Steven Munroe <sjmunroe@us.ibm.com>

[BZ #5768]
* sysdeps/powerpc/powerpc32/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc32/fpu/s_isnan.c: Removed.
* sysdeps/powerpc/powerpc64/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/fpu/s_isnan.c: Removed.

2008-04-10 Jakub Jelinek <jakub@redhat.com>

* stdlib/tst-makecontext.c (othervar): New variable.
(cf): Test sign extending the argument to long.

2008-03-03 Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: New file.
* sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: New file.
* sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: New file.

2008-02-22 Alan Modra <amodra@bigpond.net.au>

* elf/Makefile (tests): Substitute tests-vis-yes here.
(tests-vis-yes): Delete.
(modules-name, modules-vis-yes): Similarly.

2008-02-12 Pete Eberlein <eberlein@us.ibm.com>

[BZ #4407]
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
Preserve sign in signgamp when x is zero.

2007-10-26 Steven Munroe <sjmunroe@us.ibm.com>

* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: New File.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.c: Removed.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: New File.
* sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.c: Removed.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: New File.
* sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: New File.

2008-04-09 Ulrich Drepper <drepper@redhat.com>

[BZ #4314]
* sysdeps/i386/i686/memcpy.S: Optimize copying of equally aligned
buffers.

[BZ #5209]
* sysdeps/unix/sysv/syscalls.list: The times syscall doesn't have
a reserved error value.

* stdlib/tst-makecontext.c: Change parameter to cf to negative
value to check for correct sign extension.

[BZ #5436]
* sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
Copy 64-bit parameter values even though this is not required in
the standard.

* sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Record return
PC save.

2008-02-14 Daniel Jacobowitz <dan@codesourcery.com>

* sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Record return
PC save.

2008-04-09 Jakub Jelinek <jakub@redhat.com>

* nss_files/files-XXX.c (_nss_files_getXXent_r): Restore saved errno.

2008-04-09 Ulrich Drepper <drepper@redhat.com>

[BZ #5998]
* libio/iofwrite.c (_IO_fwrite): Return correct count if flushing
in line-buffered stream failed.
* libio/iofwrite_u.c (fwrite_unlocked): Likewise.

2008-04-08 Ulrich Drepper <drepper@redhat.com>

[BZ #6024]
* scripts/abi-versions.awk: If the version specified by
--enable-oldest-abi is older than the first version for this
architecture, use the default version.

* locale/programs/ld-collate.c (collate_read): Ignore script lines
as well when ignoring the whole category.

2008-04-07 Ulrich Drepper <drepper@redhat.com>

[BZ #6042]
Expand Down
31 changes: 29 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GNU C Library NEWS -- history of user-visible changes. 2007-12-12
Copyright (C) 1992-2006, 2007 Free Software Foundation, Inc.
GNU C Library NEWS -- history of user-visible changes. 2008-4-9
Copyright (C) 1992-2007, 2008 Free Software Foundation, Inc.
See the end for copying conditions.

Please send GNU C library bug reports via <http://sources.redhat.com/bugzilla/>
Expand All @@ -10,6 +10,33 @@ Version 2.8
* New locales: bo_CN, bo_IN.

* New encoding: HP-ROMAN9, HP-GREEK8, HP-THAI8, HP-TURKISH8.

* Sorting rules for some Indian languages (Devanagari and Gujarati).
Implemented by Pravin Satpute.

* IPV6 addresses in /etc/resolv.conf can now have a scope ID

* nscd caches now all timeouts for DNS entries
Implemented by Ulrich Drepper.

* nscd is more efficient and wakes up less often.
Implemented by Ulrich Drepper.

* More checking functions: asprintf, dprintf, obstack_printf, vasprintf,
vdprintf, and obstack_vprintf.
Implemented by Jakub Jelinek.

* Faster memset for x86-64.
Implemented by Harsha Jagasia and H.J. Lu.

* Faster memcpy on x86.
Implemented by Ulrich Drepper.

* ARG_MAX is not anymore constant on Linux. Use sysconf(_SC_ARG_MAX).
Implemented by Ulrich Drepper.

* Faster sqrt and sqrtf implemention for some PPC variants.
Implemented by Stephen Munroe.

Version 2.7

Expand Down
12 changes: 5 additions & 7 deletions elf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ tests += $(tests-static)
endif
ifeq (yes,$(build-shared))
tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
constload1 order $(tests-vis-$(have-protected)) noload filter unload \
constload1 order vismain noload filter unload \
reldep reldep2 reldep3 reldep4 nodelete nodelete2 \
nodlopen nodlopen2 neededtest neededtest2 \
neededtest3 neededtest4 unload2 lateglobal initfirst global \
Expand All @@ -175,7 +175,6 @@ tests += loadtest restest1 preloadtest loadfail multiload origtest resolvfail \
tst-stackguard1 tst-addr1 tst-thrlock
# reldep9
test-srcs = tst-pathopt
tests-vis-yes = vismain
tests-execstack-yes = tst-execstack tst-execstack-needed tst-execstack-prog
endif
ifeq (yesyes,$(have-fpie)$(build-shared))
Expand All @@ -184,7 +183,7 @@ endif
tests: $(objpfx)tst-leaks1-mem
modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
testobj1_1 failobj constload2 constload3 unloadmod \
dep1 dep2 dep3 dep4 $(modules-vis-$(have-protected)) \
dep1 dep2 dep3 dep4 vismod1 vismod2 vismod3 \
nodelmod1 nodelmod2 nodelmod3 nodelmod4 \
nodel2mod1 nodel2mod2 nodel2mod3 \
nodlopenmod nodlopenmod2 filtmod1 filtmod2 \
Expand Down Expand Up @@ -220,7 +219,6 @@ endif
ifeq (yesyes,$(have-fpie)$(build-shared))
modules-names += tst-piemod1
endif
modules-vis-yes = vismod1 vismod2 vismod3
modules-execstack-yes = tst-execstack-mod
extra-test-objs += $(addsuffix .os,$(strip $(modules-names)))
# We need this variable to be sure the test modules get the right CPPFLAGS.
Expand Down Expand Up @@ -855,9 +853,9 @@ endif

$(objpfx)check-localplt.out: $(objpfx)check-localplt \
$(common-objpfx)libc.so \
$(common-objpfx)math/libm.so $(thread-dso) \
$(common-objpfx)rt/librt.so \
$(common-objpfx)dlfcn/libdl.so \
$(common-objpfx)math/libm.so $(thread-dso) \
$(common-objpfx)rt/librt.so \
$(common-objpfx)dlfcn/libdl.so \
$(check-data)
$(dir $<)$(notdir $<) $(filter-out $< $(check-data),$^) | \
LC_ALL=C sort | \
Expand Down
4 changes: 2 additions & 2 deletions fedora/branch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ glibc-branch := fedora
glibc-base := HEAD
DIST_BRANCH := devel
COLLECTION := dist-f8
fedora-sync-date := 2008-04-08 07:06 UTC
fedora-sync-tag := fedora-glibc-20080408T0706
fedora-sync-date := 2008-04-10 19:07 UTC
fedora-sync-tag := fedora-glibc-20080410T1907
12 changes: 10 additions & 2 deletions fedora/glibc.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,8 @@ GCC="gcc -m64"
GXX="g++ -m64"
%endif

#BuildFlags="$BuildFlags -DNDEBUG=1 -fasynchronous-unwind-tables"
BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
BuildFlags="$BuildFlags -DNDEBUG=1 -fasynchronous-unwind-tables"
#BuildFlags="$BuildFlags -fasynchronous-unwind-tables"
EnableKernel="--enable-kernel=%{enablekernel}"
echo "$GCC" > Gcc
AddOns=`echo */configure | sed -e 's!/configure!!g;s!\(linuxthreads\|nptl\|rtkaio\|powerpc-cpu\)\( \|$\)!!g;s! \+$!!;s! !,!g;s!^!,!;/^,\*$/d'`
Expand Down Expand Up @@ -976,6 +976,14 @@ rm -f *.filelist*
%endif

%changelog
* Thu Apr 10 2008 Jakub Jelinek <jakub@redhat.com> 2.7.90-15
- update to trunk
- misc fixes (BZ#4314, BZ#4407, BZ#5209, BZ#5436, BZ#5768, BZ#5998,
BZ#6024)
- restart sshd in %post when upstart is used - it doesn't have
/dev/initctl (#441763)
- disable assert checking again

* Tue Apr 8 2008 Jakub Jelinek <jakub@redhat.com> 2.7.90-14
- update to trunk
- misc fixes (BZ#5443, BZ#5475, BZ#5478, BZ#5939, BZ#5979, BZ#5995,
Expand Down
7 changes: 5 additions & 2 deletions fedora/glibc_post_upgrade.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,11 @@ main (void)
"--nostdlib", iconv_dir);
}

/* Check if telinit is available and the init fifo as well. */
if (access ("/sbin/telinit", X_OK) || access ("/dev/initctl", F_OK))
/* Check if telinit is available and either SysVInit fifo,
or upstart telinit. */
if (access ("/sbin/telinit", X_OK)
|| (access ("/dev/initctl", F_OK)
&& access ("/sbin/initctl", X_OK)))
_exit (0);
/* Check if we are not inside of some chroot, because we'd just
timeout and leave /etc/initrunlvl. */
Expand Down
8 changes: 6 additions & 2 deletions libio/iofwrite.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1993, 1996, 1997, 1998, 1999, 2000, 2002, 2003
/* Copyright (C) 1993, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2008
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Expand Down Expand Up @@ -44,7 +44,11 @@ _IO_fwrite (buf, size, count, fp)
if (_IO_vtable_offset (fp) != 0 || _IO_fwide (fp, -1) == -1)
written = _IO_sputn (fp, (const char *) buf, request);
_IO_release_lock (fp);
if (written == request)
/* We have written all of the input in case the return value indicates
this or EOF is returned. The latter is a special case where we
simply did not manage to flush the buffer. But the data is in the
buffer and therefore written as far as fwrite is concerned. */
if (written == request || written == EOF)
return count;
else
return written / size;
Expand Down
8 changes: 6 additions & 2 deletions libio/iofwrite_u.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1993, 1996-2000, 2002 Free Software Foundation, Inc.
/* Copyright (C) 1993, 1996-2000, 2002, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand Down Expand Up @@ -45,7 +45,11 @@ fwrite_unlocked (buf, size, count, fp)
if (_IO_fwide (fp, -1) == -1)
{
written = _IO_sputn (fp, (const char *) buf, request);
if (written == request)
/* We have written all of the input in case the return value indicates
this or EOF is returned. The latter is a special case where we
simply did not manage to flush the buffer. But the data is in the
buffer and therefore written as far as fwrite is concerned. */
if (written == request || written == EOF)
return count;
}

Expand Down
10 changes: 9 additions & 1 deletion locale/programs/ld-collate.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 1995-2003, 2005, 2006, 2007 Free Software Foundation, Inc.
/* Copyright (C) 1995-2003, 2005-2007, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
Expand Down Expand Up @@ -3195,6 +3195,14 @@ error while adding equivalent collating symbol"));
break;

case tok_script:
/* Ignore the rest of the line if we don't need the input of
this line. */
if (ignore_content)
{
lr_ignore_rest (ldfile, 0);
break;
}

/* We get told about the scripts we know. */
arg = lr_token (ldfile, charmap, result, repertoire, verbose);
if (arg->tok != tok_bsymbol)
Expand Down
5 changes: 5 additions & 0 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2007-11-26 Daniel Jacobowitz <dan@codesourcery.com>

* pthread_create.c: Require pthread_mutex_trylock and
pthread_key_delete for libgcc.

2008-04-08 Jakub Jelinek <jakub@redhat.com>

[BZ #6020]
Expand Down
4 changes: 3 additions & 1 deletion nptl/pthread_create.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2002,2003,2004,2005,2006,2007 Free Software Foundation, Inc.
/* Copyright (C) 2002-2007, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
Expand Down Expand Up @@ -598,11 +598,13 @@ compat_symbol (libpthread, __pthread_create_2_0, pthread_create,
/* If pthread_create is present, libgcc_eh.a and libsupc++.a expects some other POSIX thread
functions to be present as well. */
PTHREAD_STATIC_FN_REQUIRE (pthread_mutex_lock)
PTHREAD_STATIC_FN_REQUIRE (pthread_mutex_trylock)
PTHREAD_STATIC_FN_REQUIRE (pthread_mutex_unlock)

PTHREAD_STATIC_FN_REQUIRE (pthread_once)
PTHREAD_STATIC_FN_REQUIRE (pthread_cancel)

PTHREAD_STATIC_FN_REQUIRE (pthread_key_create)
PTHREAD_STATIC_FN_REQUIRE (pthread_key_delete)
PTHREAD_STATIC_FN_REQUIRE (pthread_setspecific)
PTHREAD_STATIC_FN_REQUIRE (pthread_getspecific)
2 changes: 1 addition & 1 deletion nss/nss_files/files-XXX.c
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ CONCAT(_nss_files_get,ENTNAME_r) (struct STRUCTURE *result, char *buffer,

status = internal_setent (0);

__set_errno (errno);
__set_errno (save_errno);

if (status == NSS_STATUS_SUCCESS && fgetpos (stream, &position) < 0)
{
Expand Down
Loading

0 comments on commit b0c5052

Please sign in to comment.