Skip to content

Commit

Permalink
Merge remote branch 'origin/master' into fedora/master
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Schwab committed Jul 2, 2010
2 parents 70d0a63 + 48b42dd commit ce7d171
Show file tree
Hide file tree
Showing 178 changed files with 9,615 additions and 2,547 deletions.
105 changes: 105 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,108 @@
2010-06-30 Andreas Schwab <schwab@redhat.com>

* dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
$(common-objpfx)libc_nonshared.a.

2010-06-21 Luis Machado <luisgpm@br.ibm.com>

* sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
* sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
* sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
* sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
* sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
* sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
* sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
* sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
* sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
* sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
* sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
* sysdeps/powerpc/powerpc32/power7/Implies: New file.
* sysdeps/powerpc/powerpc64/power7/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.

2010-06-25 H.J. Lu <hongjiu.lu@intel.com>

* debug/memmove_chk.c (__memmove_chk): Renamed to ...
(MEMMOVE_CHK): ...this. Default to __memmove_chk.
* string/memmove.c (memmove): Renamed to ...
(MEMMOVE): ...this. Default to memmove.
* sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
* sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
(END_CHK): Define.
* sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
mempcpy-ssse3-back memmove-ssse3-back.
* sysdeps/x86_64/multiarch/bcopy.S: New file .
* sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
* sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
* sysdeps/x86_64/multiarch/memcpy.S: New file.
* sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
* sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
* sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
* sysdeps/x86_64/multiarch/memmove.c: New file.
* sysdeps/x86_64/multiarch/memmove_chk.c: New file.
* sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
* sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
* sysdeps/x86_64/multiarch/mempcpy.S: New file.
* sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
* sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
Define.
(index_Fast_Copy_Backward): Define.
(HAS_ARCH_FEATURE): Define.
(HAS_FAST_REP_STRING): Define.
(HAS_FAST_COPY_BACKWARD): Define.

2010-06-21 Andreas Schwab <schwab@redhat.com>

* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
Restore proper fallback handling.

2010-06-19 Ulrich Drepper <drepper@redhat.com>

[BZ #11701]
* posix/group_member.c (__group_member): Correct checking loop.

* sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
OOM in getpwuid_r correctly. Return error number when the caller
should return, otherwise -1.
(getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
call returning > 0 value.
* sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.

2010-07-01 Andreas Schwab <schwab@redhat.com>

* include/sys/resource.h (__getrlimit): Add hidden proto.
Expand Down
93 changes: 0 additions & 93 deletions ChangeLog.17
Original file line number Diff line number Diff line change
Expand Up @@ -3771,99 +3771,6 @@ d2009-10-30 Ulrich Drepper <drepper@redhat.com>

2009-05-20 Ulrich Drepper <drepper@redhat.com>

Sun approved the change of the license.
* sunrpc/auth_des.c: Replace license text.
* sunrpc/auth_none.c: Likewise.
* sunrpc/auth_unix.c: Likewise.
* sunrpc/authdes_prot.c: Likewise.
* sunrpc/authuxprot.c: Likewise.
* sunrpc/bindrsvprt.c: Likewise.
* sunrpc/clnt_gen.c: Likewise.
* sunrpc/clnt_perr.c: Likewise.
* sunrpc/clnt_raw.c: Likewise.
* sunrpc/clnt_simp.c: Likewise.
* sunrpc/clnt_tcp.c: Likewise.
* sunrpc/clnt_udp.c: Likewise.
* sunrpc/clnt_unix.c: Likewise.
* sunrpc/des_crypt.c: Likewise.
* sunrpc/des_soft.c: Likewise.
* sunrpc/get_myaddr.c: Likewise.
* sunrpc/getrpcport.c: Likewise.
* sunrpc/key_call.c: Likewise.
* sunrpc/key_prot.c: Likewise.
* sunrpc/openchild.c: Likewise.
* sunrpc/pm_getmaps.c: Likewise.
* sunrpc/pm_getport.c: Likewise.
* sunrpc/pmap_clnt.c: Likewise.
* sunrpc/pmap_prot.c: Likewise.
* sunrpc/pmap_prot2.c: Likewise.
* sunrpc/pmap_rmt.c: Likewise.
* sunrpc/rpc/auth.h: Likewise.
* sunrpc/rpc/auth_unix.h: Likewise.
* sunrpc/rpc/clnt.h: Likewise.
* sunrpc/rpc/des_crypt.h: Likewise.
* sunrpc/rpc/key_prot.h: Likewise.
* sunrpc/rpc/netdb.h: Likewise.
* sunrpc/rpc/pmap_clnt.h: Likewise.
* sunrpc/rpc/pmap_prot.h: Likewise.
* sunrpc/rpc/pmap_rmt.h: Likewise.
* sunrpc/rpc/rpc.h: Likewise.
* sunrpc/rpc/rpc_des.h: Likewise.
* sunrpc/rpc/rpc_msg.h: Likewise.
* sunrpc/rpc/svc.h: Likewise.
* sunrpc/rpc/svc_auth.h: Likewise.
* sunrpc/rpc/types.h: Likewise.
* sunrpc/rpc/xdr.h: Likewise.
* sunrpc/rpc_clntout.c: Likewise.
* sunrpc/rpc_cmsg.c: Likewise.
* sunrpc/rpc_common.c: Likewise.
* sunrpc/rpc_cout.c: Likewise.
* sunrpc/rpc_dtable.c: Likewise.
* sunrpc/rpc_hout.c: Likewise.
* sunrpc/rpc_main.c: Likewise.
* sunrpc/rpc_parse.c: Likewise.
* sunrpc/rpc_parse.h: Likewise.
* sunrpc/rpc_prot.c: Likewise.
* sunrpc/rpc_sample.c: Likewise.
* sunrpc/rpc_scan.c: Likewise.
* sunrpc/rpc_scan.h: Likewise.
* sunrpc/rpc_svcout.c: Likewise.
* sunrpc/rpc_tblout.c: Likewise.
* sunrpc/rpc_util.c: Likewise.
* sunrpc/rpc_util.h: Likewise.
* sunrpc/rpcinfo.c: Likewise.
* sunrpc/rpcsvc/bootparam_prot.x: Likewise.
* sunrpc/rpcsvc/key_prot.x: Likewise.
* sunrpc/rpcsvc/klm_prot.x: Likewise.
* sunrpc/rpcsvc/mount.x: Likewise.
* sunrpc/rpcsvc/nfs_prot.x: Likewise.
* sunrpc/rpcsvc/rex.x: Likewise.
* sunrpc/rpcsvc/rstat.x: Likewise.
* sunrpc/rpcsvc/rusers.x: Likewise.
* sunrpc/rpcsvc/sm_inter.x: Likewise.
* sunrpc/rpcsvc/spray.x: Likewise.
* sunrpc/rpcsvc/yppasswd.x: Likewise.
* sunrpc/rtime.c: Likewise.
* sunrpc/svc.c: Likewise.
* sunrpc/svc_auth.c: Likewise.
* sunrpc/svc_authux.c: Likewise.
* sunrpc/svc_raw.c: Likewise.
* sunrpc/svc_run.c: Likewise.
* sunrpc/svc_simple.c: Likewise.
* sunrpc/svc_tcp.c: Likewise.
* sunrpc/svc_udp.c: Likewise.
* sunrpc/svc_unix.c: Likewise.
* sunrpc/svcauth_des.c: Likewise.
* sunrpc/xcrypt.c: Likewise.
* sunrpc/xdr.c: Likewise.
* sunrpc/xdr_array.c: Likewise.
* sunrpc/xdr_float.c: Likewise.
* sunrpc/xdr_mem.c: Likewise.
* sunrpc/xdr_rec.c: Likewise.
* sunrpc/xdr_ref.c: Likewise.
* sunrpc/xdr_sizeof.c: Likewise.
* sunrpc/xdr_stdio.c: Likewise.

* po/da.po: Update from translation team.

2009-05-18 Kaz Kojima <kkojima@rr.iij4u.or.jp>
Expand Down
8 changes: 6 additions & 2 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GNU C Library NEWS -- history of user-visible changes. 2010-5-19
GNU C Library NEWS -- history of user-visible changes. 2010-6-19
Copyright (C) 1992-2009, 2010 Free Software Foundation, Inc.
See the end for copying conditions.

Expand All @@ -7,7 +7,11 @@ using `glibc' in the "product" field.

Version 2.13

* POWER7 optimizations: memset
* The following bugs are resolved with this release:

11640, 11701

* POWER7 optimizations: memset, memcmp, strncmp

Version 2.12

Expand Down
6 changes: 5 additions & 1 deletion debug/memmove_chk.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
#include <memcopy.h>
#include <pagecopy.h>

#ifndef MEMMOVE_CHK
# define MEMMOVE_CHK __memmove_chk
#endif

void *
__memmove_chk (dest, src, len, destlen)
MEMMOVE_CHK (dest, src, len, destlen)
void *dest;
const void *src;
size_t len;
Expand Down
2 changes: 1 addition & 1 deletion dlfcn/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ $(objpfx)bug-atexit1.out: $(objpfx)bug-atexit1-lib.so
$(objpfx)bug-atexit2: $(libdl)
$(objpfx)bug-atexit2.out: $(objpfx)bug-atexit2-lib.so

LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh
LDLIBS-bug-atexit3-lib.so = -lstdc++ -lgcc_eh $(common-objpfx)libc_nonshared.a
$(objpfx)bug-atexit3: $(libdl)
$(objpfx)bug-atexit3.out: $(objpfx)bug-atexit3-lib.so

Expand Down
20 changes: 10 additions & 10 deletions elf/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ routines = $(dl-routines) dl-support dl-iteratephdr \
# The core dynamic linking functions are in libc for the static and
# profiled libraries.
dl-routines = $(addprefix dl-,load cache lookup object reloc deps \
runtime error init fini debug misc \
runtime error init fini debug misc \
version profile conflict tls origin scope \
execstack caller open close trampoline)
all-dl-routines = $(dl-routines) $(sysdep-dl-routines)
Expand Down Expand Up @@ -226,7 +226,7 @@ modules-names = testobj1 testobj2 testobj3 testobj4 testobj5 testobj6 \
neededobj5 neededobj6 firstobj globalmod1 \
unload2mod unload2dep ltglobmod1 ltglobmod2 pathoptobj \
dblloadmod1 dblloadmod2 dblloadmod3 reldepmod5 reldepmod6 \
reldep6mod0 reldep6mod1 reldep6mod2 reldep6mod3 reldep6mod4 \
reldep6mod0 reldep6mod1 reldep6mod2 reldep6mod3 reldep6mod4 \
reldep7mod1 reldep7mod2 \
tst-tlsmod1 tst-tlsmod2 tst-tlsmod3 tst-tlsmod4 \
tst-tlsmod5 tst-tlsmod6 tst-tlsmod7 tst-tlsmod8 \
Expand Down Expand Up @@ -934,11 +934,11 @@ $(objpfx)tst-dlmodcount: $(libdl)
$(objpfx)tst-dlmodcount.out: $(test-modules)

check-data := $(firstword $(wildcard \
$(foreach D,$(add-ons) scripts,\
$(patsubst %,$(..)$D/data/localplt-%.data,\
$(abi-name) \
$(addsuffix -$(config-os),\
$(config-machine) \
$(foreach D,$(add-ons) scripts,\
$(patsubst %,$(..)$D/data/localplt-%.data,\
$(abi-name) \
$(addsuffix -$(config-os),\
$(config-machine) \
$(base-machine)) \
generic))))

Expand All @@ -950,9 +950,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 \
$(common-objpfx)resolv/libresolv.so \
$(common-objpfx)crypt/libcrypt.so \
$(check-data)
Expand Down
4 changes: 2 additions & 2 deletions elf/dl-close.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Close a shared object opened by `_dl_open'.
Copyright (C) 1996-2007, 2009 Free Software Foundation, Inc.
Copyright (C) 1996-2007, 2009, 2010 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 @@ -274,7 +274,7 @@ _dl_close_worker (struct link_map *map)
}

#ifdef SHARED
/* Auditing checkpoint: we have a new object. */
/* Auditing checkpoint: we remove an object. */
if (__builtin_expect (do_audit, 0))
{
struct audit_ifaces *afct = GLRO(dl_audit);
Expand Down
29 changes: 24 additions & 5 deletions nptl/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,13 +1,32 @@
2010-07-01 Andreas Schwab <schwab@redhat.com>
Ulrich Drepper <drepper@redhat.com>

* Makefile (tests): Add tst-abstime.
* tst-abstime.c: New file.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(__lll_timedlock_wait): Check for timestamp before the Epoch.
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
(__lll_timedlock_wait): Likewise.
* sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S
(__lll_robust_timedlock_wait): Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
(__pthread_cond_timedwait): Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
(pthread_rwlock_timedrdlock): Likewise.
* sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
(pthread_rwlock_timedwrlock): Likewise.
* sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait):
Likewise.

2010-07-01 Ulrich Drepper <drepper@redhat.com>

* Makefile (tst-_res1): Add tst-_res1mod1 to dependency list.

2010-06-01 Takashi Yoshii <takashi.yoshii.zj@renesas.com>

* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Fix incorrect
location of ifndef __ASSUME_FUTEX_CLOCK_REALTIME.

2010-05-27 Andreas Schwab <schwab@redhat.com>

* Makefile ($(objpfx)tst-_res1): Depend on
$(objpfx)tst-_res1mod1.so.

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

[BZ #11390]
Expand Down
4 changes: 3 additions & 1 deletion nptl/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ tests = tst-typesizes \
tst-sched1 \
tst-backtrace1 \
tst-oddstacklimit \
tst-abstime \
tst-vfork1 tst-vfork2 tst-vfork1x tst-vfork2x \
tst-getpid1 tst-getpid2 tst-getpid3 \
tst-initializers1 $(patsubst %,tst-initializers1-%,c89 gnu89 c99 gnu99)
Expand Down Expand Up @@ -492,7 +493,8 @@ $(objpfx)tst-rwlock14: $(common-objpfx)rt/librt.so
$(objpfx)tst-_res1mod2.so: $(objpfx)tst-_res1mod1.so
LDFLAGS-tst-_res1mod1.so = -Wl,-soname,tst-_res1mod1.so
LDFLAGS-tst-_res1mod2.so = -Wl,-soname,tst-_res1mod2.so
$(objpfx)tst-_res1: $(objpfx)tst-_res1mod2.so $(objpfx)tst-_res1mod1.so $(shared-thread-library)
$(objpfx)tst-_res1: $(objpfx)tst-_res1mod1.so $(objpfx)tst-_res1mod2.so \
$(shared-thread-library)
else
$(objpfx)tst-cond11: $(common-objpfx)rt/librt.a
$(objpfx)tst-cond19: $(common-objpfx)rt/librt.a
Expand Down
8 changes: 7 additions & 1 deletion nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Copyright (C) 2002-2004, 2006, 2007, 2009 Free Software Foundation, Inc.
/* Copyright (C) 2002-2004,2006,2007,2009,2010 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 @@ -188,6 +188,9 @@ __lll_timedlock_wait:
je .Lreltmo
# endif

cmpl $0, (%edx)
js 8f

movl %ecx, %ebx
movl %esi, %ecx
movl %edx, %esi
Expand Down Expand Up @@ -223,6 +226,9 @@ __lll_timedlock_wait:
cfi_restore(%ebp)
ret

8: movl $ETIMEDOUT, %eax
jmp 7b

# ifndef __ASSUME_FUTEX_CLOCK_REALTIME
.Lreltmo:
/* Check for a valid timeout value. */
Expand Down
Loading

0 comments on commit ce7d171

Please sign in to comment.