platform/upstream/linaro-glibc.git
12 years agoCorrect incorrect bug number ordering in resolved bug list.
Ryan S. Arnold [Fri, 27 Apr 2012 19:05:23 +0000 (14:05 -0500)]
Correct incorrect bug number ordering in resolved bug list.

12 years agoAllow build-system programs to be built without optimization.
Joseph Myers [Fri, 27 Apr 2012 18:54:52 +0000 (18:54 +0000)]
Allow build-system programs to be built without optimization.

12 years agoRemove spurious '.' in math/libm-test.inc comment.
Ryan S. Arnold [Fri, 27 Apr 2012 17:36:46 +0000 (12:36 -0500)]
Remove spurious '.' in math/libm-test.inc comment.

12 years agoNew test to expose erroneous negative sign on logb(1) (bug 887).
Ryan S. Arnold [Fri, 27 Apr 2012 15:47:39 +0000 (10:47 -0500)]
New test to expose erroneous negative sign on logb(1) (bug 887).

12 years agoFix fenv.h fallback returns (bug 14027).
Joseph Myers [Fri, 27 Apr 2012 13:54:09 +0000 (13:54 +0000)]
Fix fenv.h fallback returns (bug 14027).

12 years agoRemove unused sysdeps/unix/i386 files.
Joseph Myers [Thu, 26 Apr 2012 18:45:56 +0000 (18:45 +0000)]
Remove unused sysdeps/unix/i386 files.

12 years agoMove sysdeps/unix/common/tcsendbrk.c to sysdeps/unix/sysv/linux/.
Joseph Myers [Thu, 26 Apr 2012 18:44:38 +0000 (18:44 +0000)]
Move sysdeps/unix/common/tcsendbrk.c to sysdeps/unix/sysv/linux/.

12 years agoDon't handle unsupported OSes in configure (base_os settings).
Joseph Myers [Thu, 26 Apr 2012 18:42:42 +0000 (18:42 +0000)]
Don't handle unsupported OSes in configure (base_os settings).

12 years agoFix ctan, ctanh overflow for ldbl-128ibm (bug 11521).
Adhemerval Zanella [Thu, 26 Apr 2012 16:18:11 +0000 (11:18 -0500)]
Fix ctan, ctanh overflow for ldbl-128ibm (bug 11521).

12 years agoFix missing long-double compat symbols on sparc v9.
David S. Miller [Thu, 26 Apr 2012 09:50:20 +0000 (02:50 -0700)]
Fix missing long-double compat symbols on sparc v9.

* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
long-double compat symbols.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.

12 years agoRestore non-v9 32-bit sparc build.
David S. Miller [Thu, 26 Apr 2012 05:24:00 +0000 (22:24 -0700)]
Restore non-v9 32-bit sparc build.

* sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
HWCAP_* values only after the memory barriers have been defined.
(atomic_full_barrier): Define.
(atomic_read_barrier): Define.
(atomic_write_barrier): Define.

12 years agomove libgcc_s soname definition to shlib-versions
Siddhesh Poyarekar [Thu, 26 Apr 2012 03:48:48 +0000 (09:18 +0530)]
move libgcc_s soname definition to shlib-versions

12 years agoDelete everything under sysdeps/unix/sparc/
David S. Miller [Wed, 25 Apr 2012 18:44:02 +0000 (11:44 -0700)]
Delete everything under sysdeps/unix/sparc/

* sysdeps/unix/sparc/brk.S: Delete.
* sysdeps/unix/sparc/dl-brk.S: Delete.
* sysdeps/unix/sparc/pipe.S: Delete.
* sysdeps/unix/sparc/sysdep.S: Delete.
* sysdeps/unix/sparc/sysdep.h: Delete.
* sysdeps/unix/sparc/vfork.S: Delete.
* sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
ret_ERRVAL, r0, r1, MOVE): Define.
(JUMPTARGET): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
sysdeps/unix/sparc/sysdep.h
(ENTRY, END): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.

12 years agoUse more defines and makefile variables in $(native-compile).
Joseph Myers [Wed, 25 Apr 2012 18:51:38 +0000 (18:51 +0000)]
Use more defines and makefile variables in $(native-compile).

12 years agoUpdate zdump and zic from tzcode 2012b.
Joseph Myers [Wed, 25 Apr 2012 18:50:39 +0000 (18:50 +0000)]
Update zdump and zic from tzcode 2012b.

12 years agoRemove --as-needed configure test.
Joseph Myers [Wed, 25 Apr 2012 17:02:33 +0000 (17:02 +0000)]
Remove --as-needed configure test.

12 years agoParse hexadecimal and octal strings correctly
Siddhesh Poyarekar [Wed, 25 Apr 2012 06:22:39 +0000 (11:52 +0530)]
Parse hexadecimal and octal strings correctly

The current implementation of __strtoul_internal seems to only pretend
to support hex and octal strings by detecting a preceding 0x or 0 and
marking base as 8 or 16. When it comes to the actual processing of the
string, it only considers numeric values within, thus breaking hex
values that may have [a-f] in them. Fixed with this commit.

12 years agoSH: Replace <endian.h> usage with pre-processor macros.
Chung-Lin Tang [Tue, 24 Apr 2012 13:32:11 +0000 (21:32 +0800)]
SH: Replace <endian.h> usage with pre-processor macros.

Follow-up to f8887d0a5feda97244613135822b0439addc2b1f.

12 years agoRemove unused fork implementations.
Joseph Myers [Tue, 24 Apr 2012 23:02:49 +0000 (23:02 +0000)]
Remove unused fork implementations.

12 years agoRemove unused sysdeps/unix/system.c.
Joseph Myers [Tue, 24 Apr 2012 21:53:41 +0000 (21:53 +0000)]
Remove unused sysdeps/unix/system.c.

12 years agoAdd flexibility to localplt-*.data files, using an awk script rather than diff to...
Roland McGrath [Tue, 24 Apr 2012 20:53:38 +0000 (13:53 -0700)]
Add flexibility to localplt-*.data files, using an awk script rather than diff to check the results.

12 years agoRemove unused sysdeps/unix/getegid.S and sysdeps/unix/geteuid.S.
Joseph Myers [Tue, 24 Apr 2012 21:27:17 +0000 (21:27 +0000)]
Remove unused sysdeps/unix/getegid.S and sysdeps/unix/geteuid.S.

12 years agoHurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate.
Roland McGrath [Tue, 24 Apr 2012 20:12:12 +0000 (13:12 -0700)]
Hurd: fix symlink/symlinkat error case not to do an extraneous __mach_port_deallocate.

12 years agoMerge branch 'master' of git://sourceware.org/git/glibc
Andreas Jaeger [Tue, 24 Apr 2012 20:10:04 +0000 (22:10 +0200)]
Merge branch 'master' of git://sourceware.org/git/glibc

12 years agoCleanup generated header files during make check
Andreas Jaeger [Tue, 24 Apr 2012 20:08:49 +0000 (22:08 +0200)]
Cleanup generated header files during make check

* Makerules (common-clean): Also remove gen-as-const-headers
files.

12 years agoMake $(native-compile) run in source directory like other compilation commands.
Joseph Myers [Tue, 24 Apr 2012 20:05:34 +0000 (20:05 +0000)]
Make $(native-compile) run in source directory like other compilation commands.

12 years agoCorrect powerpc64 s_floorl edge cases (bug 13886).
Adhemerval Zanella [Tue, 24 Apr 2012 19:21:45 +0000 (14:21 -0500)]
Correct powerpc64 s_floorl edge cases (bug 13886).

[BZ #13886]
Remove powerpc64/fpu/s_floorl.  Use fully correct ldbl-128bim/s_floorl.c.

12 years agoRemove unused sysdeps/unix/{,sysv/}getdents.c.
Joseph Myers [Tue, 24 Apr 2012 18:48:59 +0000 (18:48 +0000)]
Remove unused sysdeps/unix/{,sysv/}getdents.c.

12 years agoMerge sysdeps/unix/mman into sysdeps/unix.
Joseph Myers [Tue, 24 Apr 2012 18:46:47 +0000 (18:46 +0000)]
Merge sysdeps/unix/mman into sysdeps/unix.

12 years agoDon't handle libgcc_s suffixes.
Joseph Myers [Tue, 24 Apr 2012 10:22:45 +0000 (10:22 +0000)]
Don't handle libgcc_s suffixes.

12 years ago* NEWS: Add bug 13970.
Paul Eggert [Mon, 23 Apr 2012 19:55:16 +0000 (12:55 -0700)]
* NEWS: Add bug 13970.

12 years agoAdd BZ number
Andreas Jaeger [Mon, 23 Apr 2012 19:39:30 +0000 (21:39 +0200)]
Add BZ number

12 years agoMove sysdeps/unix/sysv/gethostname.c to sysdeps/posix/.
Joseph Myers [Mon, 23 Apr 2012 18:53:47 +0000 (18:53 +0000)]
Move sysdeps/unix/sysv/gethostname.c to sysdeps/posix/.

12 years agoRemove unused sysdeps/unix/execve.S.
Joseph Myers [Mon, 23 Apr 2012 18:52:33 +0000 (18:52 +0000)]
Remove unused sysdeps/unix/execve.S.

12 years agoRemove unused sysdeps/unix/_exit.S.
Joseph Myers [Mon, 23 Apr 2012 18:51:37 +0000 (18:51 +0000)]
Remove unused sysdeps/unix/_exit.S.

12 years agoRemove standalone manual support
Andreas Jaeger [Mon, 23 Apr 2012 18:44:49 +0000 (20:44 +0200)]
Remove standalone manual support

[BZ #13739]
We don't need a separate manual distribution
tar ball anymore, remove support for it from manual/Makefile.

12 years ago* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
Paul Eggert [Mon, 23 Apr 2012 17:43:28 +0000 (10:43 -0700)]
* stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.

[BZ #13970]
(strtod, strtof, strtold, strtol, strtoul, strtoq)
(strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
(strtod_l, strtof_l, strtold_l): Remove __wur.
It is not necessarily an error to ignore strtol's return value.
One can reliably look at the stored endptr to decide whether
the number had valid syntax.

12 years agoAdd BZ#13739 to entry.
Andreas Jaeger [Sat, 21 Apr 2012 19:01:42 +0000 (21:01 +0200)]
Add BZ#13739 to entry.

12 years agoRemove last distribute variable
Andreas Jaeger [Sat, 21 Apr 2012 18:38:10 +0000 (20:38 +0200)]
Remove last distribute variable

make dist support has been removed, remove the last remains of it.

12 years agoUpdate name and email address
Andreas Jaeger [Sat, 21 Apr 2012 18:33:18 +0000 (20:33 +0200)]
Update name and email address

12 years agoMerge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions.
Joseph Myers [Sat, 21 Apr 2012 13:18:11 +0000 (13:18 +0000)]
Merge sysdeps/unix/sysv/Versions into sysdeps/unix/sysv/linux/Versions.

12 years agoUpdate sysdeps/x86_64/fpu/libm-test-ulps
Markus Trippelsdorf [Sat, 21 Apr 2012 12:14:27 +0000 (14:14 +0200)]
Update sysdeps/x86_64/fpu/libm-test-ulps

[BZ #13927]
* sysdeps/x86_64/fpu/libm-test-ulps: Update.

12 years agoPut vm86 into libc.a
Nix [Sat, 21 Apr 2012 05:12:50 +0000 (07:12 +0200)]
Put vm86 into libc.a

[BZ #7064]
vm86 was not included in libc.a at all due to the default symbol
explicitely added to the weak symbol.

12 years agoRemove unused sysdeps/unix/common/lxstat.c.
Joseph Myers [Fri, 20 Apr 2012 22:39:42 +0000 (22:39 +0000)]
Remove unused sysdeps/unix/common/lxstat.c.

12 years agoRemove sysdeps/unix/sysv/Makefile.
Joseph Myers [Fri, 20 Apr 2012 22:34:45 +0000 (22:34 +0000)]
Remove sysdeps/unix/sysv/Makefile.

12 years agoRemove unused sysdeps/unix/sysv/direct.h.
Joseph Myers [Fri, 20 Apr 2012 21:13:53 +0000 (21:13 +0000)]
Remove unused sysdeps/unix/sysv/direct.h.

12 years agoRemove unused sysdeps/unix/sysv/bits/*.h.
Joseph Myers [Fri, 20 Apr 2012 20:48:58 +0000 (20:48 +0000)]
Remove unused sysdeps/unix/sysv/bits/*.h.

12 years agoRemove unused sysdeps/unix/sysv/setrlimit.c.
Joseph Myers [Fri, 20 Apr 2012 20:31:51 +0000 (20:31 +0000)]
Remove unused sysdeps/unix/sysv/setrlimit.c.

12 years agoRemove unused sysdeps/unix/xmknod.c.
Joseph Myers [Fri, 20 Apr 2012 20:30:00 +0000 (20:30 +0000)]
Remove unused sysdeps/unix/xmknod.c.

12 years agoRemove unused sysdeps/unix/sysv/settimeofday.c.
Joseph Myers [Fri, 20 Apr 2012 20:28:59 +0000 (20:28 +0000)]
Remove unused sysdeps/unix/sysv/settimeofday.c.

12 years agoRemove unused sysdeps/unix/sysv/i386/time.S.
Joseph Myers [Fri, 20 Apr 2012 20:27:29 +0000 (20:27 +0000)]
Remove unused sysdeps/unix/sysv/i386/time.S.

12 years agoRemove unused sysdeps/unix/{xstat,fxstat}.c.
Joseph Myers [Fri, 20 Apr 2012 19:55:22 +0000 (19:55 +0000)]
Remove unused sysdeps/unix/{xstat,fxstat}.c.

12 years agoRemove unused sysdeps/unix/sysv/sigaction.c.
Joseph Myers [Fri, 20 Apr 2012 17:01:47 +0000 (17:01 +0000)]
Remove unused sysdeps/unix/sysv/sigaction.c.

12 years agoRemove unused sysdeps/unix/sysv termio code.
Joseph Myers [Fri, 20 Apr 2012 17:00:40 +0000 (17:00 +0000)]
Remove unused sysdeps/unix/sysv termio code.

12 years agoRemove unused sysdeps/unix/siglist.c.
Joseph Myers [Fri, 20 Apr 2012 16:59:41 +0000 (16:59 +0000)]
Remove unused sysdeps/unix/siglist.c.

12 years agoRemove unused sysdeps/unix/getppid.S.
Joseph Myers [Fri, 20 Apr 2012 16:58:45 +0000 (16:58 +0000)]
Remove unused sysdeps/unix/getppid.S.

12 years agoRemove unused sysdeps/unix/{mkdir.c,rmdir.c}.
Joseph Myers [Fri, 20 Apr 2012 16:57:46 +0000 (16:57 +0000)]
Remove unused sysdeps/unix/{mkdir.c,rmdir.c}.

12 years agoDelete unused TLS_GET_FS, TLS_SET_FS macros.
Paul Pluzhnikov [Fri, 20 Apr 2012 16:52:13 +0000 (09:52 -0700)]
Delete unused TLS_GET_FS, TLS_SET_FS macros.

12 years agoFix computation of inflated errlist size
Andreas Schwab [Fri, 6 Apr 2012 16:53:32 +0000 (18:53 +0200)]
Fix computation of inflated errlist size

12 years agoRemove all traces of reg_char.
David S. Miller [Wed, 18 Apr 2012 23:19:10 +0000 (16:19 -0700)]
Remove all traces of reg_char.

* sysdeps/generic/memcopy.h (reg_char): Delete.
* debug/strcat_chk.c: Use char, not reg_char.
* debug/strcpy_chk.c: Likewise.
* debug/strncat_chk.c: Likewise.
* debug/strncpy_chk.c: Likewise.
* string/memchr.c: Likewise.
* string/memrchr.c: Likewise.
* string/rawmemchr.c: Likewise.
* string/strcat.c: Likewise.
* string/strchr.c: Likewise.
* string/strchrnul.c: Likewise.
* string/strcmp.c: Likewise.
* string/strcpy.c: Likewise.
* string/strncat.c: Likewise.
* string/strncmp.c: Likewise.
* string/strncpy.c: Likewise.

12 years agoHave memmove call __builtin_memcopy on PowerPC if src and dest don't overlap.
Will Schmidt [Wed, 18 Apr 2012 21:44:27 +0000 (16:44 -0500)]
Have memmove call __builtin_memcopy on PowerPC if src and dest don't overlap.

12 years agoFurther simplify power6 wordcopy by removing switch statements.
Will Schmidt [Wed, 18 Apr 2012 20:34:23 +0000 (15:34 -0500)]
Further simplify power6 wordcopy by removing switch statements.

This fix replaces switch statements that contain individual
[fwd|bwd]_align_merge (<constant>) calls with a single [fwd|bwd]_align_merge
(align) call.

12 years agoSimplify power6 wordcopy by adding [fwd|bwd]_align_merge macros.
Will Schmidt [Wed, 18 Apr 2012 19:52:25 +0000 (14:52 -0500)]
Simplify power6 wordcopy by adding [fwd|bwd]_align_merge macros.

12 years agoForgot to delete the sparc64 memcopy.h which tries to include the sparc32 one
David S. Miller [Wed, 18 Apr 2012 18:11:10 +0000 (11:11 -0700)]
Forgot to delete the sparc64 memcopy.h which tries to include the sparc32 one

* sysdeps/sparc/sparc64/memcopy.h: Delete.

12 years agoFinish ilogb changes
Andreas Jaeger [Wed, 18 Apr 2012 07:46:20 +0000 (09:46 +0200)]
Finish ilogb changes

[BZ# 6794]
* sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
* sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.

* sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
* sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.

* sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
* sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.

* sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
* sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.

12 years agoThere is no legitimate reason to override reg_char on sparc32.
David S. Miller [Wed, 18 Apr 2012 04:30:15 +0000 (21:30 -0700)]
There is no legitimate reason to override reg_char on sparc32.

* sysdeps/sparc/sparc32/memcopy.h: Delete.

12 years agoRemove useless __ilogb*_finite aliases
Andreas Schwab [Tue, 17 Apr 2012 21:53:34 +0000 (23:53 +0200)]
Remove useless __ilogb*_finite aliases

12 years agoFix ilogb exception and errno (bug 6794)
Adhemerval Zanella [Wed, 11 Apr 2012 19:30:13 +0000 (16:30 -0300)]
Fix ilogb exception and errno (bug 6794)

[BZ #6794]
Following Joseph comments about bug 6794, here is a proposed fix. It turned out
to be a large fix mainly because I had to move some file along to follow libm
files/names conventions.

Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls
the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and
set the errno and raise exceptions as expected.

The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files
to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'.

I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where
it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well.

Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested
on i386, x86-64, ppc32 and ppc64.

12 years agoResolve __vector namespace conflict with Altivec.
Petr Baudis [Tue, 17 Apr 2012 13:33:41 +0000 (08:33 -0500)]
Resolve __vector namespace conflict with Altivec.

12 years agoPrevent warning in pldd.
Marek Polacek [Mon, 16 Apr 2012 18:34:28 +0000 (20:34 +0200)]
Prevent warning in pldd.

12 years agoReverse arguments of fdivp in i386 code.
Marek Polacek [Mon, 16 Apr 2012 09:03:41 +0000 (11:03 +0200)]
Reverse arguments of fdivp in i386 code.

12 years agoCheck __ILP32__ instead of __LP64__
H.J. Lu [Fri, 13 Apr 2012 23:24:17 +0000 (16:24 -0700)]
Check __ILP32__ instead of __LP64__

* elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
* elf/tst-auditmod3b.c: Likewise.
* elf/tst-auditmod4b.c: Likewise.
* elf/tst-auditmod5b.c: Likewise.
* elf/tst-auditmod6b.c: Likewise.
* elf/tst-auditmod6c.c: Likewise.
* elf/tst-auditmod7b.c: Likewise.
* sysdeps/x86_64/ffsll.c (ffsl): Likewise.
* sysdeps/x86_64/preconfigure.in: Likewise.
* sysdeps/x86_64/preconfigure: Regenerated.

12 years agoAdd __ILP32__ check when defining __WORDSIZE
H.J. Lu [Fri, 13 Apr 2012 23:17:14 +0000 (16:17 -0700)]
Add __ILP32__ check when defining __WORDSIZE

12 years agoFix variable check in sparc clock frequency probing.
Antoine Balestrat [Fri, 13 Apr 2012 21:31:35 +0000 (14:31 -0700)]
Fix variable check in sparc clock frequency probing.

* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
(__get_clockfreq_via_proc_openprom): Fix test on wrong variable.

12 years ago"Gallegan" should be "Galician"
Chris Leonard [Fri, 13 Apr 2012 17:09:44 +0000 (19:09 +0200)]
"Gallegan" should be "Galician"

[BZ #13973]
* locale/iso-639.def: Fix gl language name. Spotted by
Yaron Shahrabani.

12 years agocy_GB/en_GB: set am/pm in times
Mike Frysinger [Thu, 12 Apr 2012 22:58:04 +0000 (18:58 -0400)]
cy_GB/en_GB: set am/pm in times

The British people apparently use am/pm in time, so make it available to
them.  While we're here, sync the date_fmt field from en_GB to cy_GB.

Fedora has been carrying this for the better part of a decade, and Debian
has had it, and now that I've gotten a request from some British people
to add it to Gentoo, I'd rather get it merged into mainline.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-12  Mike Frysinger  <vapier@gentoo.org>

[BZ #3768]
* locales/en_GB: Set am_pm and t_fmt_ampm fields.
* locales/cy_GB: Likewise.  Also copy date_fmt from en_GB.

12 years agoUpdate for BZ # 2541
Andreas Jaeger [Thu, 12 Apr 2012 19:02:34 +0000 (21:02 +0200)]
Update for BZ # 2541

12 years agoUpdate comment for _io_write_fn
Roland McGrath [Thu, 12 Apr 2012 19:02:00 +0000 (21:02 +0200)]
Update comment for _io_write_fn

[BZ #2074]
* libio/libio.h (__io_write_fn): Update comment.

12 years agoFix description of user provided write function
Petr Baudis [Thu, 12 Apr 2012 19:00:49 +0000 (21:00 +0200)]
Fix description of user provided write function

[BZ #2074]
* stdio.texi (Hook Functions): The user provided writer function
is not allowed to return -1.

12 years agoUpdate sparc libm ULPs.
David S. Miller [Wed, 11 Apr 2012 19:25:00 +0000 (12:25 -0700)]
Update sparc libm ULPs.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

12 years agoignore ports/linuxthreads addon dirs
Mike Frysinger [Sun, 17 May 2009 01:25:23 +0000 (21:25 -0400)]
ignore ports/linuxthreads addon dirs

Dropping external addon trees into the main git checkout is normal
to test them, so add them to the ignore list.  Not like we want to
ever check them in.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years agoRemove __wur from fwrite, fwrite_unlocked
Jim Meyering [Wed, 11 Apr 2012 19:03:01 +0000 (21:03 +0200)]
Remove __wur from fwrite, fwrite_unlocked

        [BZ #11959]
        * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
        It is not necessarily an error to ignore fwrite's return
        value.  One can reliably use ferror to test for errors after
        the fact.

12 years agoAdd __snseconds_t and __SNSECONDS_T_TYPE
H.J. Lu [Wed, 11 Apr 2012 18:02:59 +0000 (11:02 -0700)]
Add __snseconds_t and __SNSECONDS_T_TYPE

12 years agoFix times return value, CLK_TCK description
Andreas Jaeger [Wed, 11 Apr 2012 07:20:50 +0000 (09:20 +0200)]
Fix times return value, CLK_TCK description

[BZ #2636]
* manual/time.texi (Processor Time): Return type of times is
elapsed real time since an arbitrary point in the past.
(CPU Time): Move CLK_TCK from here...
(Processor Time): ...to here.  Correct description.
* manual/conf.texi (Constants for Sysconf): Correct description of
_SC_CLK_TCK.

12 years agoFix ld.so regression.
David S. Miller [Tue, 10 Apr 2012 19:57:48 +0000 (12:57 -0700)]
Fix ld.so regression.

[BZ #13967]
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
where the is a gap between DT_REL(A) and DT_JMPREL.

12 years agoUse __builtin_bswap32/64 in x86_64 <bits/byteswap.h>
H.J. Lu [Tue, 10 Apr 2012 19:11:54 +0000 (12:11 -0700)]
Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h>

12 years agoNew ld.so argument --inhibit-ldcache to disable ld.so.cache lookup
Siddhesh Poyarekar [Wed, 4 Apr 2012 14:39:09 +0000 (20:09 +0530)]
New ld.so argument --inhibit-ldcache to disable ld.so.cache lookup

It may sometimes be desirable to make the dynamic linker only pick up
libraries from the library path and rpath and not look at the
ld.so.cache that ldconfig generates. An example of such a use case is
the glibc testsuite where the dynamic linker must not be influenced by
any external paths or caches.

This change adds a new option --inhibit-ldcache that when used, tells
the dynamic linker to not use ld.so.cache even if it is available.

12 years agoMerge commit '9904dc47c88d9592ec66e599075436'
Roland McGrath [Tue, 10 Apr 2012 17:22:42 +0000 (10:22 -0700)]
Merge commit '9904dc47c88d9592ec66e599075436'

12 years agoFix spurious overflow exceptions from x86/x86_64 powl (bug 13872).
Joseph Myers [Mon, 9 Apr 2012 22:32:45 +0000 (22:32 +0000)]
Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).

12 years agoFix ctan, ctanh overflow (bug 11521).
Joseph Myers [Mon, 9 Apr 2012 22:31:35 +0000 (22:31 +0000)]
Fix ctan, ctanh overflow (bug 11521).

12 years agoMerge branch 'master' of git://sourceware.org/git/glibc
Andreas Jaeger [Mon, 9 Apr 2012 19:25:13 +0000 (21:25 +0200)]
Merge branch 'master' of git://sourceware.org/git/glibc

Conflicts:
ChangeLog

12 years agoFix missing clobber in i386 __sincos_code asm.
Roland McGrath [Mon, 9 Apr 2012 19:20:48 +0000 (12:20 -0700)]
Fix missing clobber in i386 __sincos_code asm.

12 years agoEnhance d_namlen description
Andreas Jaeger [Mon, 9 Apr 2012 19:10:13 +0000 (21:10 +0200)]
Enhance d_namlen description

    [BZ #6894]
    * manual/filesys.texi (Directory Entries): Mention that d_namlen
    is an optional BSD extension.

12 years agoDocument additional fopen options
Andreas Jaeger [Mon, 9 Apr 2012 19:06:55 +0000 (21:06 +0200)]
Document additional fopen options

[BZ #10254]
The manual failed to explain the new (the first were introduced with
glibc 2.3 or so) parameters to fopen.

12 years agoUse sourceware.org for email and web references.
Carlos O'Donell [Mon, 9 Apr 2012 15:37:36 +0000 (11:37 -0400)]
Use sourceware.org for email and web references.

We use sourceware.org consistently to reference the
server that RedHat provides for community services
to open-source projects.

[BZ # 13963]
* manual/install.texi: Use sourceware.org.

12 years agoFix missing overflow exceptions from pow (bug 13873).
Joseph Myers [Mon, 9 Apr 2012 09:43:18 +0000 (09:43 +0000)]
Fix missing overflow exceptions from pow (bug 13873).

12 years agoFix x86 pow inaccuracy for large integer exponents (bug 706).
Joseph Myers [Mon, 9 Apr 2012 09:42:05 +0000 (09:42 +0000)]
Fix x86 pow inaccuracy for large integer exponents (bug 706).

12 years agoDo not allow overflow exception on exp underflow test (bug 13705).
Joseph Myers [Sun, 8 Apr 2012 22:46:49 +0000 (22:46 +0000)]
Do not allow overflow exception on exp underflow test (bug 13705).

12 years agoUse __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).
Aurelien Jarno [Sun, 8 Apr 2012 22:45:13 +0000 (22:45 +0000)]
Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).

12 years agomemset: also update copyright years
Mike Frysinger [Sun, 8 Apr 2012 08:18:24 +0000 (04:18 -0400)]
memset: also update copyright years

Signed-off-by: Mike Frysinger <vapier@gentoo.org>