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 Apr 6, 2010
2 parents b44389e + 2e7c805 commit 32e5e78
Show file tree
Hide file tree
Showing 102 changed files with 2,825 additions and 654 deletions.
337 changes: 337 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,8 +1,345 @@
2010-04-05 Thomas Schwinge <thomas@schwinge.name>

* sysdeps/gnu/unwind-resume.c: New, moved from nptl/sysdeps/pthread/.
* sysdeps/gnu/rt-unwind-resume.c: Likewise.
* sysdeps/gnu/Makefile: Add sections for csu and rt subdirs to
build unwind-resume code, previously in nptl/sysdeps/pthread/Makefile.

2010-04-05 Roland McGrath <roland@redhat.com>

* elf/rtld.c (dl_main) [HAVE_AUX_VECTOR]: Add a cast.

2010-03-30 Paul Pluzhnikov <ppluzhnikov@google.com>

* Makeconfig: Propagate -fdebug-prefix-map from CFLAGS to ASFLAGS.

2010-03-30 Joseph Myers <joseph@codesourcery.com>

* elf/elf.h (ELFOSABI_ARM_AEABI): Define.

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

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

[BZ #11010]
* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Handle
timeouts from servers.

[BZ #11149]
* elf/ldconfig.c (main): Respect chroot setting when looking for
the aux cache.

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

[BZ #11043]
* posix/getopt.c (_getopt_internal_r): Fix arguments printed in error
messages.

[BZ #11070]
* resolv/netdb.h: Declare iruserok and iruserok_af.

* argp/Makefile: Add rules to build and run bug-argp2.
* argp/bug-argp2.c: New file.

2010-02-05 Sergey Poznyakoff <gray@gnu.org.ua>

[BZ #11254]
* argp/argp-parse.c (convert_options): Fix improper use of `|'
between character values.

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

[BZ #11276]
* sysdeps/posix/remove.c (IS_NO_DIRECTORY_ERROR): Define.
(remove): Use IS_NO_DIRECTORY_ERROR to check for file being no
directory.
* sysdeps/unix/sysv/linux/remove.c: New file.

* conform/data/sys/stat.h-data: Fix testing of S_IS* macros.

[BZ #11279]
* io/sys/stat.h: Always define S_ISSOCK for XPG6 and up.

[BZ #11287]
* csu/Makefile ($(objpfx)version-info.h): Handle newer kernel headers
which don't define UTS_RELEASE.

2010-04-04 H.J. Lu <hongjiu.lu@intel.com>
Ulrich Drepper <drepper@redhat.com>

[BZ #11292]
* sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Allow
concurrent initialization and use of __cpu_features.

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

* sysdeps/x86_64/multiarch/init-arch.h (cpu_features): Add tag to
the enum.

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

[BZ #11333]
* sysdeps/unix/readdir_r.c (__READDIR_R): Add support for platforms
which include unnecessary padding in d_reclen.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Select work-around for
unnecessary padding.

[BZ #11387]
* sysdeps/unix/sysv/linux/ifaddrs.c (map_newlin): Don't abort on
unknown interface, return -1.
(getifaddrs_internal): Rename from getifaddrs. Handle errors in
map_newlink be returning -EAGAIN.
(getifaddrs): If -EAGAIN is returned from getifaddrs_internal try
again.

2010-03-25 Ryan S. Arnold <rsa@us.ibm.com>

* sysdeps/unix/sysv/linux/getsysstats.c (next_line): Remove
redundant and incorrect else block which overwrites current line
with the partial next line.

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

[BZ #11438]
* posix/gai.conf: Document problems with IPv4 site-local addresses and
NATs.

[BZ #11449]
* crypt/crypt_util.c (__init_des_r): Add memory barrier before setting
small_tables_initialized.

* malloc/malloc.c (_int_free): Add one more sanity check for fastbins.

* malloc/malloc.c (set_max_fast): Fix computation of the value.

2010-03-30 David S. Miller <davem@davemloft.net>

* sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Fix
MMAP2_PAGE_SHIFT test.

2010-03-29 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/bits/socket.h: Define MSG_WAITFORONE.

2010-03-28 Thomas Schwinge <thomas@schwinge.name>

* sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Adapt to auxv
changes in the generic code.
* elf/rtld.c (dl_main): Conditionalize the code that dereferences auxv
to [HAVE_AUX_VECTOR].

2010-03-27 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): If
__ASSUME_AT_PAGESIZE we can rely on the value being set.

* include/wchar.h: Undefine __need_mbstate_t and __need_wint_t
unconditionally in the end.

* posix/glob.c (glob): Initialize oldcount early, too.

2010-03-26 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/fcntl.c: Define miss_F_GETOWN_EX
only if needed.
Patch mostly by Paul Pluzhnikov <ppluzhnikov@google.com>.

2010-03-26 Richard Henderson <rth@redhat.com>

* sysdeps/generic/ldsodefs.h (_dl_random): Mark attribute_relro;

* stdio-common/psiginfo.c (psiginfo): Fix printf format
warning for si_band.

* locale/setlocale.c (free_category): Finish renaming
struct locale_data to __locale_data.

* csu/gmon-start.c (ENTRY_POINT, etext): Declare as char[], not void.
* elf/dl-sysdep.c (_end): Likewise.
* sysdeps/unix/sysv/dl-sysdep.c (frob_brk): Likewise with locally
declared _end, and associated variables.

2010-03-26 Ulrich Drepper <drepper@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Don't assume success always
means aborting the loop over the NSS methods.

2010-03-25 Andreas Schwab <schwab@redhat.com>

* sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before
each action.

2010-03-26 Ulrich Drepper <drepper@redhat.com>

* malloc/malloc.c: Remove stale reference to website.

2010-03-24 Ulrich Drepper <drepper@redhat.com>

[BZ #11389]
* bits/time.h: Define CLOCK_MONOTONIC_RAW, CLOCK_REALTIME_COARSE, and
CLOCK_MONOTONIC_COARSE.
* sysdeps/unix/sysv/linux/clock_getres.c: Handle CLOCK_MONOTONIC_RAW,
CLOCK_REALTIME_COARSE, and CLOCK_MONOTONIC_COARSE.
* sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
* sysdeps/unix/sysv/linux/clock_settime.c: Likewise.

2010-03-25 Andreas Schwab <schwab@redhat.com>

* sysdeps/posix/cuserid.c: Fix typo.

2010-03-16 Chris Demetriou <cgd@google.com>

[BZ #11394]
* locale/programs/simple-hash.c: Include inttypes.h.
(hashval_t): Defined to be uint32_t.
* locale/programs/simple_hash.h: Include inttypes.h.
(compute_hashval): Change return type to uint32_t.

2010-03-24 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/getlogin_r.c: New file.
* sysdeps/unix/sysv/linux/getlogin.c: New file.
* sysdeps/unix/getlogin_r.c: Allow compiling getlogin as static
function.
* sysdeps/unix/getlogin.c: Likewise. Move name variable to toplevel.
* include/unistd.h: Declare __getlogin_r_loginuid.

[BZ #11397]
* sysdeps/posix/cuserid.c (cuserid): Make sure the returned string
is NUL terminated.
Patch by Jonathan Geisler <jgeisler@cse.taylor.edu>.

* sysdeps/unix/sysv/linux/mmap64.c: Allow variable shift values.

2010-03-24 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/x86_64/multiarch/strpbrk-c.c: Define only if SHARED
is defined.

2010-03-22 H.J. Lu <hongjiu.lu@intel.com>

* string/test-memcmp.c (check_result): New function.
(do_one_test): Use it.
(check1): New function.
(test_main): Use it.

2010-03-24 Ulrich Drepper <drepper@redhat.com>

* posix/tst-gnuglob.c: Add tests with empty patterns. For this
rewrite the tests to add support for failing glob calls.
Some other minor cleanups.
* posix/bug-glob3.c: New file.
* posix/Makefile (tests): Add bug-glob3.

2010-03-24 Ulrich Drepper <drepper@redhat.com>
Andreas Schwab <andreas@redhat.com>

* posix/glob.c (glob): Clean up gl_pathc and gl_pathv earlier.
If pattern is "" bail out early

2010-03-23 Jakub Jelinek <jakub@redhat.com>

* elf/dl-lookup.c (do_lookup_x): If tab->entries is NULL,
but tab->size != 0, just unlock and goto success, without
allocating anything or entering anything into the hash table.
(_dl_debug_bindings): Temporarily set tab->entries to NULL
around do_lookup_x in undef_map->l_local_scope[0]. If
undef_map->l_symbolic_in_local_scope, lookup also in
symbolic_searchlist of following libraries in l_local_scope
that have DT_SYMBOLIC set.
* elf/dl-deps.c (_dl_map_object_deps): Compute
l_symbolic_in_local_scope.
* include/link.h (struct link_map): Add l_symbolic_in_local_scope
bitfield.

2010-03-24 Ulrich Drepper <drepper@redhat.com>

[BZ #11410]
* wctype/wctype.h: Use <wchar.h> to get the wint_t definition.

* wcsmbs/wchar.h: Correct preprocessor directive indentation. Move
C++ prototype handling to a better place.

2010-03-18 Ulrich Drepper <drepper@redhat.com>

* elf/dl-load.c (open_verify): Extend expected to the full size of the
e_ident array. When loading, check that the fields in e_ident we don't
know are zero to allow future extensions.

2010-03-18 H.J. Lu <hongjiu.lu@intel.com>

* sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Update %xmm3
when exit from loop.

2010-03-16 Andreas Schwab <schwab@redhat.com>

* resolv/res_send.c (__libc_res_nsend): Fix printing of server
address in debug statement.
(send_dg): Pass correct buffer pointer to DprintQ.

2010-03-17 Ulrich Drepper <drepper@redhat.com>

* libc-abis: Add a few more entries.

2010-03-16 Ulrich Drepper <drepper@redhat.com>

* elf/dl-load.c (VALID_ELF_ABIVERSION): Add additional osabi parameter.
Not used here.
(open_verify): Modify for extended VALID_ELF_ABIVERSION macro
interface.
* sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Add
additional osabi parameter. Only acceept nonzero ABI versions if osabi
is Linux.
Fix includes.
(expected2): Don't explicitly initialize EI_ABIVERSION byte.

* sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_ABIVERSION): Update
definition to follow generic code.

2010-03-15 Ulrich Drepper <drepper@redhat.com>

* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.
* debug/catchsegv.sh: Likewise.

* Makerules: Add rule for libc-abis.h.
* csu/version.c: Use LIBC_ABIS_STRING string if available.
* elf/dl-load.c (VALID_ELF_ABIVERSION): Check using LIBC_ABI_MAX.
(open_verify): Only check EI_ABIVERSION bytes using VALID_ELF_HEADER.
Add extra call to VALID_ELF_ABIVERSION.

2010-03-12 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/sys/mount.h (UMOUNT_NOFOLLOW): Define.

2010-03-12 Andreas Schwab <schwab@redhat.com>

* elf/dl-dst.h: Include "trusted-dirs.h".
(DL_DST_REQUIRED): Take $LIB into account.

2010-03-11 Roland McGrath <roland@redhat.com>

* elf/elf.h (R_X86_64_GOT64, R_X86_64_GOTPCREL64): New macros.
(R_X86_64_GOTPC64, R_X86_64_GOTPLT64, R_X86_64_PLTOFF64): New macros.

2010-03-10 Luis Machado <luisgpm@br.ibm.com>

* sysdeps/powerpc/powerpc64/power7/memcpy.S: New file.
* sysdeps/powerpc/powerpc32/power7/memcpy.S: New file.

2010-03-09 David S. Miller <davem@davemloft.net>

* sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handling
Expand Down
4 changes: 2 additions & 2 deletions Makeconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009
# Copyright (C) 1991-2003,2004,2005,2006,2007,2008,2009,2010
# Free Software Foundation, Inc.
# This file is part of the GNU C Library.

Expand Down Expand Up @@ -780,7 +780,7 @@ endif
# The assembler can generate debug information too.
ifndef ASFLAGS
ifeq ($(have-cpp-asm-debuginfo),yes)
ASFLAGS = $(filter -g%,$(CFLAGS))
ASFLAGS = $(filter -g% -fdebug-prefix-map=%,$(CFLAGS))
else
ASFLAGS =
endif
Expand Down
16 changes: 14 additions & 2 deletions Makerules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (C) 1991-2006,2007,2008,2009 Free Software Foundation, Inc.
# Copyright (C) 1991-2006,2007,2008,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 @@ -109,6 +109,18 @@ $(common-objpfx)%.latest: $(common-objpfx)abi-versions.h
endif # avoid-generated
endif # $(versioning) = yes

ifndef avoid-generated
before-compile := $(common-objpfx)libc-abis.h $(before-compile)
libc-abis := $(firstword $(wildcard $(foreach D,$(add-ons), $(..)libc-abis)) \
libc-abis)
$(common-objpfx)libc-abis.h: $(..)scripts/gen-libc-abis $(libc-abis)
$(SHELL) $(..)scripts/gen-libc-abis \
$(base-machine)-$(config-vendor)-$(config-os) \
< $(libc-abis) > $@T
$(move-if-change) $@T $@
common-generated += $(common-objpfx)libc-abis.h
endif # avoid-generated

# Make sure the subdirectory for object files gets created.
ifdef objpfx
ifeq (,$(wildcard $(objpfx).))
Expand Down Expand Up @@ -1395,7 +1407,7 @@ $(objpfx)stubs: $(objs-for-stubs)
ifneq (,$(strip $(objs-for-stubs)))
(cd $(objpfx).; $(OBJDUMP) -h $(patsubst $(objpfx)%,%,$^)) | \
$(AWK) '/\.gnu\.glibc-stub\./ { \
sub(/\.gnu\.glibc-stub\./, "", $$2); \
sub(/\.gnu\.glibc-stub\./, "", $$2); \
stubs[$$2] = 1; } \
END { for (s in stubs) print "#define __stub_" s }' > $@T
mv -f $@T $@
Expand Down
Loading

0 comments on commit 32e5e78

Please sign in to comment.