platform/upstream/linaro-glibc.git
15 years agoFix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.
Jakub Jelinek [Fri, 6 Nov 2009 17:27:41 +0000 (09:27 -0800)]
Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.

I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink,
and this patch is needed on the glibc side.  Without it ld.so segfaults,
as in dl-conflict.c sym_map is always NULL.  While dl-machine.h could use
RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense,
because with prelink we know it is already properly relocated (all relative
relocations are applied by prelink).

15 years agoFix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.
Jakub Jelinek [Fri, 6 Nov 2009 17:26:31 +0000 (09:26 -0800)]
Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.

As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes
are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just
found, fallocate is wrong too.
The problem is that only off_t is remapped to the 64-bit type transparently,
__off_t is not.

15 years agoMake name of libgcc_s library configurable
Andreas Schwab [Tue, 3 Nov 2009 22:52:01 +0000 (23:52 +0100)]
Make name of libgcc_s library configurable

15 years agoRestore locking in free_check.
Ulrich Drepper [Sun, 1 Nov 2009 15:27:00 +0000 (07:27 -0800)]
Restore locking in free_check.

This code is only used when MALLOC_CHECK_ is used.  Then some bogus
crashes and/or assert could result from the locking changes.  The code
ain't fast.

15 years ago2.11 release.
Ulrich Drepper [Fri, 30 Oct 2009 17:17:08 +0000 (10:17 -0700)]
2.11 release.

15 years agoFix aliasing problem in tst-sem11.
Ulrich Drepper [Fri, 30 Oct 2009 16:35:20 +0000 (09:35 -0700)]
Fix aliasing problem in tst-sem11.

15 years agoAdd cast in tst-execstack to avoid warning.
Ulrich Drepper [Fri, 30 Oct 2009 16:26:00 +0000 (09:26 -0700)]
Add cast in tst-execstack to avoid warning.

15 years agoAvoid warning in scanf test.
Ulrich Drepper [Fri, 30 Oct 2009 16:23:24 +0000 (09:23 -0700)]
Avoid warning in scanf test.

15 years agoAvoid two warnings in strtol{,l} tests.
Ulrich Drepper [Fri, 30 Oct 2009 16:22:34 +0000 (09:22 -0700)]
Avoid two warnings in strtol{,l} tests.

15 years agoMentin new my_MM locale in NEWS.
Ulrich Drepper [Fri, 30 Oct 2009 15:36:41 +0000 (08:36 -0700)]
Mentin new my_MM locale in NEWS.

15 years agoFix whitespaces.
Ulrich Drepper [Fri, 30 Oct 2009 15:15:20 +0000 (08:15 -0700)]
Fix whitespaces.

15 years agoFix last change to it_CH and it_IT.
Ulrich Drepper [Fri, 30 Oct 2009 15:14:29 +0000 (08:14 -0700)]
Fix last change to it_CH and it_IT.

15 years agoImplement Burmese language locale for Myanmar.
Keith Stribley [Fri, 30 Oct 2009 15:14:02 +0000 (08:14 -0700)]
Implement Burmese language locale for Myanmar.

15 years agoImplement mkostemps and mkostemps64.
Ulrich Drepper [Fri, 30 Oct 2009 15:02:30 +0000 (08:02 -0700)]
Implement mkostemps and mkostemps64.

15 years agoFix first weekday for ast_ES locale.
Ulrich Drepper [Fri, 30 Oct 2009 14:18:24 +0000 (07:18 -0700)]
Fix first weekday for ast_ES locale.

15 years agoAdd missing declarations.
Andreas Schwab [Fri, 30 Oct 2009 14:15:12 +0000 (07:15 -0700)]
Add missing declarations.

15 years agoFix typo in readlinkat
Andreas Schwab [Fri, 30 Oct 2009 13:14:31 +0000 (14:14 +0100)]
Fix typo in readlinkat

15 years agoNew simplified make dist using git archive.
Roland McGrath [Wed, 28 Oct 2009 22:27:43 +0000 (15:27 -0700)]
New simplified make dist using git archive.

15 years agoFix races in setXid implementation.
Daniel Jacobowitz [Fri, 30 Oct 2009 08:00:44 +0000 (01:00 -0700)]
Fix races in setXid implementation.

15 years agoUglify IFUNC tests for PPC.
Alan Modra [Fri, 30 Oct 2009 07:48:54 +0000 (00:48 -0700)]
Uglify IFUNC tests for PPC.

15 years agoMention IFUNC for PPC.
Ulrich Drepper [Fri, 30 Oct 2009 07:41:33 +0000 (00:41 -0700)]
Mention IFUNC for PPC.

15 years agoImplement IFUNC for PPC.
Alan Modra [Fri, 30 Oct 2009 07:39:38 +0000 (00:39 -0700)]
Implement IFUNC for PPC.

15 years agoDefine am_pm , t_fmt_ampm, first_weekday for es_CO locale.
Jorge Guerrero [Fri, 30 Oct 2009 07:31:32 +0000 (00:31 -0700)]
Define am_pm , t_fmt_ampm, first_weekday for es_CO locale.

15 years agoAdd a few defines to <netinet/udp.h>.
Ulrich Drepper [Fri, 30 Oct 2009 07:27:27 +0000 (00:27 -0700)]
Add a few defines to <netinet/udp.h>.

15 years agoFix accents in shs_CA locale.
Neskie Manuel [Fri, 30 Oct 2009 07:22:34 +0000 (00:22 -0700)]
Fix accents in shs_CA locale.

15 years agoImplement mkstemps and mkstemps64.
Ulrich Drepper [Fri, 30 Oct 2009 07:11:07 +0000 (00:11 -0700)]
Implement mkstemps and mkstemps64.

15 years agoAdd sml entry to ISO 639 list.
Ulrich Drepper [Fri, 30 Oct 2009 06:21:18 +0000 (23:21 -0700)]
Add sml entry to ISO 639 list.

15 years agoInitialize local variable in resolver.
Ulrich Drepper [Fri, 30 Oct 2009 06:01:58 +0000 (23:01 -0700)]
Initialize local variable in resolver.

When the DNS server doesn't reply at all we possibly tested
an unitialized variable.

15 years agoFix date_fmt for it_IT and it_CH locales.
Nicolo' Chieffo [Fri, 30 Oct 2009 05:49:17 +0000 (22:49 -0700)]
Fix date_fmt for it_IT and it_CH locales.

15 years agoFix IA-64 and S390 sigevent definitions.
Ulrich Drepper [Fri, 30 Oct 2009 05:43:08 +0000 (22:43 -0700)]
Fix IA-64 and S390 sigevent definitions.

15 years agoDefine yesstr and nostr for a few locales.
Petr Machata [Fri, 30 Oct 2009 05:30:25 +0000 (22:30 -0700)]
Define  yesstr and nostr for a few locales.

15 years agoFix first day of week and a few spellings in crh_UA locale.
Reþat SABIQ [Fri, 30 Oct 2009 05:21:58 +0000 (22:21 -0700)]
Fix first day of week and a few spellings in crh_UA locale.

15 years agoFix a few asserts and IO calls in nscd.
Anders Johansson [Fri, 30 Oct 2009 05:18:26 +0000 (22:18 -0700)]
Fix a few asserts and IO calls in nscd.

The nscd/*cache.c files contain assert()s, writeall() and sendfileall() calls
that invalidly use together &dataset->resp and total where either dataset or
dataset->head.recsize should be used instead one of the components. In the
writeall() and sendfileall() cases, it is unlikely to matter in practice, but
the assertions can fail sometimes without a proper reason.

15 years agoFix nss_files if /etc/hosts is missing.
Steve Langasek [Fri, 30 Oct 2009 05:04:58 +0000 (22:04 -0700)]
Fix nss_files if /etc/hosts is missing.

15 years agoFix typos in format strings of malloc_info.
John Sullivan [Fri, 30 Oct 2009 04:50:35 +0000 (21:50 -0700)]
Fix typos in format strings of malloc_info.

15 years agoBump timeout for utmp operations to 10s.
Ulrich Drepper [Fri, 30 Oct 2009 04:41:19 +0000 (21:41 -0700)]
Bump timeout for utmp operations to 10s.

15 years agoFix compat handling in *at functions.
Ulrich Drepper [Fri, 30 Oct 2009 04:33:26 +0000 (21:33 -0700)]
Fix compat handling in *at functions.

When passed an empty string for the filename, the compat code
using /proc in all *at functions did the wrong thing.

15 years agoFix AIO when thread creation failed.
Ulrich Drepper [Fri, 30 Oct 2009 04:01:24 +0000 (21:01 -0700)]
Fix AIO when thread creation failed.

Several bugs fixed when we needed to create a thread to work on AIO
requests but failed and there is not one running.

15 years agoFix error handling in NIS.
Joe Landers [Fri, 30 Oct 2009 02:59:59 +0000 (19:59 -0700)]
Fix error handling in NIS.

A buffer was freed even though it wasn't allocated as expected.  Do
this only when !batch_read.

15 years agoFix memory leak in NIS grp database handling.
Joe Landers [Thu, 29 Oct 2009 23:22:01 +0000 (16:22 -0700)]
Fix memory leak in NIS grp database handling.

15 years agoFix return value of puts for very long strings.
Ulrich Drepper [Thu, 29 Oct 2009 23:03:07 +0000 (16:03 -0700)]
Fix return value of puts for very long strings.

15 years agoFix repairing of memusage trace files.
Ulrich Drepper [Thu, 29 Oct 2009 21:19:33 +0000 (14:19 -0700)]
Fix repairing of memusage trace files.

15 years agoPrint timestamp in nscd debug messages.
Ulrich Drepper [Thu, 29 Oct 2009 20:45:10 +0000 (13:45 -0700)]
Print timestamp in nscd debug messages.

15 years agoFix errno handling in posix_openpt.
Andreas Schwab [Thu, 29 Oct 2009 18:27:53 +0000 (11:27 -0700)]
Fix errno handling in posix_openpt.

The implementation of posix_openpt on Linux can fail in a few extra
ways if the appropriate pseudo filesystems are not mounted etc.  In
some of these cases we have to explicitly set errno.

15 years agoFix wrap-around in memusage.
Andreas Schwab [Thu, 29 Oct 2009 18:25:20 +0000 (11:25 -0700)]
Fix wrap-around in memusage.

15 years agoFix getttyname on Linux when called for different devices.
Ulrich Drepper [Thu, 29 Oct 2009 18:02:34 +0000 (11:02 -0700)]
Fix getttyname on Linux when called for different devices.

If a second call to ttyname is not for the same type of device (e.g.,
serial vs ptty) the prefix of the buffer was wrong.  Don't rely on
the previous content, always reinitialize it.

15 years agoAdd macros for DSCP markings.
Philip Prindeville [Thu, 29 Oct 2009 17:40:55 +0000 (10:40 -0700)]
Add macros for DSCP markings.

15 years agoFix F_GETOWN on some Linux archs.
Ulrich Drepper [Thu, 29 Oct 2009 17:12:59 +0000 (10:12 -0700)]
Fix F_GETOWN on some Linux archs.

The syscall conventions on some Linux archs prevented F_GETOWN from working
correctly in some situations.  This can be rectified when using the new
F_GETOWN_EX command.

15 years agoDefine F_OWNER_* and f_owner_ex for Linux targets.
Ulrich Drepper [Thu, 29 Oct 2009 15:48:17 +0000 (08:48 -0700)]
Define F_OWNER_* and f_owner_ex for Linux targets.

15 years agoAllow compat handling of getutmp.
Ulrich Drepper [Thu, 29 Oct 2009 15:33:12 +0000 (08:33 -0700)]
Allow compat handling of getutmp.

15 years agoFix mixing IPv4 and IPv6 name server in resolv.conf.
Petar Bogdanovic [Thu, 29 Oct 2009 15:17:48 +0000 (08:17 -0700)]
Fix mixing IPv4 and IPv6 name server in resolv.conf.

15 years agoReadd definition of __expl in ldbl-128
Joseph S. Myers [Sat, 24 Oct 2009 00:07:32 +0000 (00:07 +0000)]
Readd definition of __expl in ldbl-128

15 years agoFix range checks in coshl.
Jakub Jelinek [Tue, 27 Oct 2009 20:46:08 +0000 (13:46 -0700)]
Fix range checks in coshl.

15 years agoFix whitespaces.
Ulrich Drepper [Fri, 23 Oct 2009 05:50:00 +0000 (22:50 -0700)]
Fix whitespaces.

15 years agoImplement SSE4.2 optimized strchr and strrchr.
H.J. Lu [Fri, 23 Oct 2009 05:47:12 +0000 (22:47 -0700)]
Implement SSE4.2 optimized strchr and strrchr.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Fri, 23 Oct 2009 05:42:13 +0000 (22:42 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

15 years agoHandle IFUNC symbols in dlsym.
Andreas Schwab [Wed, 21 Oct 2009 13:23:42 +0000 (06:23 -0700)]
Handle IFUNC symbols in dlsym.

15 years agoCorrect errno handling in expm1.
Andreas Schwab [Tue, 20 Oct 2009 04:23:15 +0000 (21:23 -0700)]
Correct errno handling in expm1.

15 years agoMention ps_AF locale as new.
Ulrich Drepper [Thu, 15 Oct 2009 13:54:25 +0000 (06:54 -0700)]
Mention ps_AF locale as new.

15 years agoAdd ps_AF locale.
Ulrich Drepper [Thu, 15 Oct 2009 13:53:24 +0000 (06:53 -0700)]
Add ps_AF locale.

15 years agoAfghan locale definition for Pashto language.
Sayamindu Dasgupta [Thu, 15 Oct 2009 13:51:37 +0000 (06:51 -0700)]
Afghan locale definition for Pashto language.

Mostly by Sayamindu Dasgupta, fixed up by Pravin Satpute <psatpute@redhat.com>.

15 years agoAdd ____longjmp_chk for sparc
David S. Miller [Wed, 14 Oct 2009 12:52:42 +0000 (14:52 +0200)]
Add ____longjmp_chk for sparc

tst-longjmp_chk passes, tst-longjmp_chk2 fails but that is because
of some limitations of kernel signal delivery on sparc that I need
to fix, it has nothing to do with the longjmp_chk implementation.

(The problem with tst-longjmp_chk2 is that it tries to do a stack
 fault SIGSEGV within a stack fault SIGSEGV , and the Linux kernel
 will refuse to setup the signal stack and deliver the signal if the
 register windows can't be written out to the stack first)

15 years agoFix USE_MULTIARCH conditional
Andreas Schwab [Tue, 13 Oct 2009 14:12:47 +0000 (16:12 +0200)]
Fix USE_MULTIARCH conditional

15 years agoRemove duplicate __set_errno call in random_r.c.
Ulrich Drepper [Thu, 8 Oct 2009 20:46:47 +0000 (13:46 -0700)]
Remove duplicate __set_errno call in random_r.c.

15 years agoTypo fix.
Ulrich Drepper [Thu, 8 Oct 2009 20:39:00 +0000 (13:39 -0700)]
Typo fix.

15 years agoNew Czech translation.
Ulrich Drepper [Thu, 8 Oct 2009 20:11:13 +0000 (13:11 -0700)]
New Czech translation.

15 years agoFix descriptor leak when calling dlopen with RTLD_NOLOAD
Andreas Schwab [Tue, 6 Oct 2009 11:43:26 +0000 (13:43 +0200)]
Fix descriptor leak when calling dlopen with RTLD_NOLOAD

15 years agoClean up unnecessary libc_hidden_builtin_def fiddling in x86 multiarch definitions.
Roland McGrath [Wed, 7 Oct 2009 03:01:23 +0000 (20:01 -0700)]
Clean up unnecessary libc_hidden_builtin_def fiddling in x86 multiarch definitions.

15 years agoClean up x86 multiarch HAS_FOO macros.
Roland McGrath [Wed, 7 Oct 2009 02:59:03 +0000 (19:59 -0700)]
Clean up x86 multiarch HAS_FOO macros.

15 years agoFix week-1stday in C locale
Andreas Schwab [Mon, 5 Oct 2009 08:52:22 +0000 (10:52 +0200)]
Fix week-1stday in C locale

15 years agoDefine F_SETOWN_EX and F_GETOWN_EX in Linux headers.
Ulrich Drepper [Thu, 1 Oct 2009 08:18:41 +0000 (01:18 -0700)]
Define F_SETOWN_EX and F_GETOWN_EX in Linux headers.

15 years agoMerge branch 'master' of ssh://sources.redhat.com/git/glibc
Ulrich Drepper [Tue, 29 Sep 2009 13:13:11 +0000 (06:13 -0700)]
Merge branch 'master' of ssh://sources.redhat.com/git/glibc

Conflicts:
ChangeLog

15 years agoCheck for integer overflows in formatting functions
Andreas Schwab [Tue, 29 Sep 2009 13:11:59 +0000 (06:11 -0700)]
Check for integer overflows in formatting functions

15 years agoFix Hurd mkdirat.
Samuel Thibault [Mon, 28 Sep 2009 18:36:23 +0000 (11:36 -0700)]
Fix Hurd mkdirat.

15 years agoFix locale program error handling
Ulrich Drepper [Mon, 28 Sep 2009 17:35:41 +0000 (10:35 -0700)]
Fix locale program error handling

If an unknown name is passed to locale, report it and fail.

15 years agoHandle future binutils versions correctly.
H.J. Lu [Mon, 28 Sep 2009 11:18:09 +0000 (04:18 -0700)]
Handle future binutils versions correctly.

15 years agoFix missing reloc dependency
Ulrich Drepper [Mon, 28 Sep 2009 10:19:58 +0000 (03:19 -0700)]
Fix missing reloc dependency

When DL_LOOKUP_ADD_DEPENDENCY was introduced a few callers of
_dl_lookup_versioned_symbol were not properly adjusted.  One of them
survived until now.

15 years agoFix IXANY feature macro conditions.
Samuel Thibault [Sun, 27 Sep 2009 23:26:59 +0000 (16:26 -0700)]
Fix IXANY feature macro conditions.

15 years agoFix typo in is646 gconv module
Andreas Schwab [Sun, 20 Sep 2009 07:42:48 +0000 (09:42 +0200)]
Fix typo in is646 gconv module

15 years agoHungarian and Vietnamese translation update.
Ulrich Drepper [Sun, 20 Sep 2009 07:21:30 +0000 (00:21 -0700)]
Hungarian and Vietnamese translation update.

15 years agoRemove some unused variables.
Roland McGrath [Sun, 20 Sep 2009 00:19:41 +0000 (17:19 -0700)]
Remove some unused variables.

15 years agoMention pthread_sigqueue
Roland McGrath [Fri, 18 Sep 2009 20:30:07 +0000 (13:30 -0700)]
Mention pthread_sigqueue

15 years agoconfigure tweaks, support $libc_add_on_config_subdirs
Roland McGrath [Tue, 15 Sep 2009 21:14:42 +0000 (14:14 -0700)]
configure tweaks, support $libc_add_on_config_subdirs

15 years agoHandle -- on getconf command line.
Ulrich Drepper [Thu, 10 Sep 2009 05:15:27 +0000 (22:15 -0700)]
Handle -- on getconf command line.

15 years agoSupport binutils 2.100 and 3.0.
H.J. Lu [Tue, 8 Sep 2009 23:04:30 +0000 (16:04 -0700)]
Support binutils 2.100 and 3.0.

15 years agoFix __longjmp_chk on s390/s390x.
Jakub Jelinek [Tue, 8 Sep 2009 23:00:25 +0000 (16:00 -0700)]
Fix __longjmp_chk on s390/s390x.

s390/s390x hasn't been updated to handle alternate stacks properly.

15 years agoFix malformed #pragma.
Andreas Schwab [Mon, 7 Sep 2009 15:31:52 +0000 (08:31 -0700)]
Fix malformed #pragma.

15 years agoFix endless loop in localedef.
Ulrich Drepper [Mon, 7 Sep 2009 09:32:29 +0000 (02:32 -0700)]
Fix endless loop in localedef.

localedef got into an endless loop in case order_start was used for
the unnamed_section twice and the first use didn't actually result
into any definition.

15 years agoHandle POSIX2_LINE_MAX in getconf.
Ulrich Drepper [Mon, 7 Sep 2009 07:18:06 +0000 (00:18 -0700)]
Handle POSIX2_LINE_MAX in getconf.

15 years agoSupport binutils 2.20.
H.J. Lu [Sat, 5 Sep 2009 14:06:19 +0000 (07:06 -0700)]
Support binutils 2.20.

15 years agoFix IA-32 strstr in multiarch configuration as well.
Ulrich Drepper [Thu, 3 Sep 2009 13:44:22 +0000 (06:44 -0700)]
Fix IA-32 strstr in multiarch configuration as well.

15 years agoFix whitespaces.
Ulrich Drepper [Thu, 3 Sep 2009 02:59:43 +0000 (19:59 -0700)]
Fix whitespaces.

15 years agoFix timer_create to initialize timer_t properly.
Suzuki Poulose [Thu, 3 Sep 2009 02:58:50 +0000 (19:58 -0700)]
Fix timer_create to initialize timer_t properly.

15 years agoFix lookup of group names in hesiod initgroups.
Andreas Schwab [Thu, 3 Sep 2009 02:48:39 +0000 (19:48 -0700)]
Fix lookup of group names in hesiod initgroups.

Resolving names from a grplist entry actually never worked.

15 years agoFix fsetpos on wide stream.
Andreas Schwab [Thu, 3 Sep 2009 02:45:33 +0000 (19:45 -0700)]
Fix fsetpos on wide stream.

15 years agoFix strstr/strcasestr/fma/fmaf on x86_64.
Jakub Jelinek [Thu, 3 Sep 2009 02:43:04 +0000 (19:43 -0700)]
Fix strstr/strcasestr/fma/fmaf on x86_64.

15 years agoCleanup _IO_wfile_seekoff.
Andreas Schwab [Tue, 1 Sep 2009 22:36:22 +0000 (15:36 -0700)]
Cleanup _IO_wfile_seekoff.

This reformulates the in-buffer optimisation check to match the code in
_IO_new_file_seekoff.  No functional changes, but easier to understand.

15 years agoFix use of 64-bit insn in 32-bit memcpy for POWER6.
Joshua W. Boyer [Tue, 1 Sep 2009 22:35:35 +0000 (15:35 -0700)]
Fix use of 64-bit insn in 32-bit memcpy for POWER6.

15 years agoAdd hidden alias for fflush.
Andreas Schwab [Tue, 1 Sep 2009 22:31:09 +0000 (15:31 -0700)]
Add hidden alias for fflush.

15 years agoFix x86_64 bits/mathinline.h for -m32 compilation.
Jakub Jelinek [Tue, 1 Sep 2009 22:30:12 +0000 (15:30 -0700)]
Fix x86_64 bits/mathinline.h for -m32 compilation.