Siddhesh Poyarekar
c2af38aa76
Remove unnecessary factorial array
...
kf is n! at the end of the loop, so storing the values is unnecessary.
2013-02-13 17:19:07 +05:30
Siddhesh Poyarekar
4e92d59e26
Better exp polynomial
...
The lesser the __mul calls, the better it is for performance.
2013-02-13 14:49:50 +05:30
Siddhesh Poyarekar
909279a5cf
Optimized mp multiplication
...
Don't bother multiplying zeroes since that only wastes cycles.
2013-02-13 14:16:23 +05:30
Siddhesh Poyarekar
bdf028142e
Clean up add_magnitudes and sub_magnitudes
2013-02-13 13:55:29 +05:30
Roland McGrath
cd52592332
Remove redunant "warning: " prefix from stub warnings.
2013-02-12 16:15:59 -08:00
Andreas Schwab
a445af0bc7
Fix buffer overrun in regexp matcher
2013-02-12 09:30:34 +01:00
Andreas Schwab
7e2f0d2d77
Fix handling of collating symbols in regexps
2013-02-12 09:25:34 +01:00
Tom de Vries
a175b684e2
Fix typo, improve comment, remove superfluous #undefs, add missing #undef.
2013-02-12 00:00:49 +01:00
Roland McGrath
310998fe2b
Fix log entry in last change.
2013-02-11 14:32:57 -08:00
Ondrej Bilka
41eda41d74
Add inline bsearch expansion.
2013-02-11 23:18:09 +01:00
Roland McGrath
8ded91fb37
Fix some errors in declarations in the manual.
2013-02-11 14:16:43 -08:00
Tom de Vries
fe77fe6d51
Remove dead CFLAGS lines from string/Makefile
2013-02-11 23:10:26 +01:00
Roland McGrath
3a09b6208d
Fix a typo in the mremap comment.
2013-02-11 13:06:09 -08:00
Tom de Vries
046f153e20
Fix typo in ChangeLog entry for commit 03759f47db
2013-02-11 14:52:13 +01:00
Roland McGrath
550a0b89b4
Fix PF_LOCAL socket example sockaddr_un size calculation.
2013-02-08 14:55:50 -08:00
Joseph Myers
a2da1673fe
Remove CHECK_N and bp-checks.h.
2013-02-08 20:06:30 +00:00
Roland McGrath
7f3e75f87a
Remove dead variable in generic strcpy.
2013-02-08 10:46:32 -08:00
Roland McGrath
b84660a888
Support sysdeps/.../include/ directories.
2013-02-08 10:26:21 -08:00
Carlos O'Donell
471514d39d
Refactor code out of nscd's two main poll loops.
...
We refactor the inotify file checking code and the
database clearing code out of the main_loop_poll and
mail_loop_epoll functions. We document some the related
functions with appropriate comments.
2013-02-08 12:56:22 -05:00
Carlos O'Donell
b2d3c3befb
Add more comments to _dl_load_cache_lookup().
...
Calling _dl_load_cache_lookup will load the cache if not already.
If loading the cache fails no more attempts will be made to load
the cache.
2013-02-08 12:55:34 -05:00
Carlos O'Donell
ddacd1db6a
BZ #15006 : Updates NEWS and ChangeLog.
2013-02-08 12:37:44 -05:00
Carlos O'Donell
b39949d211
ARM: Support loading unmarked objects from cache.
...
ARM now supports loading unmarked objects from
the dynamic loader cache. Unmarked objects can
be used with the hard-float or soft-float ABI.
We must support loading unmarked objects during
the transition period from a binutils that does
not mark objects to one that does mark them with
the correct ELF flags.
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2013-02-08 12:26:12 -05:00
Joseph Myers
f3aae3f3eb
Remove CHECK_1 and CHECK_1_NULL_OK.
2013-02-08 01:12:11 +00:00
Joseph Myers
b2c9eff43c
Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.
2013-02-08 01:10:40 +00:00
Roland McGrath
f1d70dad53
Remove lots of inline keywords.
2013-02-07 14:44:18 -08:00
Roland McGrath
7bd642f580
Move nss directory into sysdeps Subdirs.
2013-02-05 14:32:48 -08:00
Roland McGrath
573c29b288
Replace an alloca use with a variable-length array.
2013-02-05 12:15:56 -08:00
Roland McGrath
b2e25af00c
Fix aliases in stub lseek.
2013-02-05 11:39:20 -08:00
Roland McGrath
eab55bfb14
Add missing includes to sysdeps/generic/malloc-sysdep.h.
2013-02-05 11:34:06 -08:00
Carlos O'Donell
9a0d1941d3
getenv: Remove check for non-standard endianness.
...
stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
else clause and remove check for non-standard endianness.
2013-02-04 20:11:36 -05:00
David S. Miller
b83bbec4cc
Update sparc ULPs after Joseph's casin fixes.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-02-04 10:31:18 -08:00
Joseph Myers
6277fdabc0
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
2013-02-04 16:29:39 +00:00
Andreas Schwab
903ae060db
Don't use GLIBC_PRIVATE errno outside of libraries
2013-02-04 10:01:54 +01:00
Jan Kratochvil
542f94662e
Improve link_map.l_addr comment.
2013-02-02 10:29:17 +01:00
Joseph Myers
e782a927c2
Remove BOUNDED_N and BOUNDED_1.
2013-02-01 06:35:29 +00:00
Joseph Myers
3a7ac8a0f5
Remove bp-start.h and INIT_ARGV_and_ENVIRON.
2013-02-01 00:06:18 +00:00
Joseph Myers
f3499f95c8
Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.
2013-01-31 23:01:01 +00:00
Joseph Myers
32a45bea39
Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2013-01-31 23:00:15 +00:00
Joseph Myers
2e8a5c8c46
Remove bp-semctl.h and CHECK_SEMCTL.
2013-01-31 22:59:04 +00:00
Joseph Myers
c2d549290d
Remove bp-thunks code.
2013-01-31 22:57:06 +00:00
Joseph Myers
8cf28c5ebe
Fix casinh spurious underflows away from [-i,i] (bug 15062).
2013-01-31 22:55:29 +00:00
David S. Miller
c4e33b8d8b
Update German translations.
...
* po/de.po: Update from translation team.
2013-01-31 15:13:24 -05:00
Maxim Kuvyrkov
3b60b421b5
* time/tzfile.c: Include stdint.h for SIZE_MAX.
2013-01-26 14:56:21 +13:00
Thomas Schwinge
b5a5da2376
Don't bother checking for $CC option to accept ISO C89.
2013-01-25 12:44:45 +01:00
Thomas Schwinge
bb931195fe
configure: Default to CPP="$CC -E" unless overridden.
2013-01-25 12:33:19 +01:00
Joseph Myers
8c53a12c86
Avoid backtrace tests matching filenames when searching for function names.
2013-01-24 00:23:13 +00:00
Roland McGrath
4858fa2af6
Whitespace fix for __glibc_likely/__glibc_unlikely defns.
2013-01-23 15:00:55 -08:00
David S. Miller
bae8e7f5ed
Add a minor 'cas' atomic optimization on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
(__arch_compare_and_exchange_val_32_acq): Use %g0 as second
argument of CAS if possible.
* sysdeps/sparc/sparc64/bits/atomic.h
(__arch_compare_and_exchange_val_32_acq): Likewise.
(__arch_compare_and_exchange_val_64_acq): Likewise.
2013-01-23 11:27:24 -08:00
Pino Toscano
67b3f58c83
ulimit: remove buggy bsd implementation
...
The bsd implementation of ulimit produces wrong return values, so remove it
in favour of the posix implementation.
The only regression for non-Linux implementations using bsd sysdeps and not
providing an own ulimit is that the __UL_GETMAXBRK case (which is non-standard)
is left unimplemented (giving EINVAL).
2013-01-23 17:29:35 +01:00
Pino Toscano
92a601b883
ulimit: include <limits.h>
2013-01-23 17:27:45 +01:00
Pino Toscano
9cbbc4aebe
ulimit: move linux implementation as posix
...
The linux implementation of ulimit works correctly and has nothing specific
to Linux, so move it as general posix implementation.
2013-01-23 17:25:53 +01:00
Adam Conrad
5655a0b58e
Build elf/tst-array2 and elf/tst-array5 with --no-as-needed
...
* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
(LDFLAGS-tst-array5): Likewise.
2013-01-22 23:05:33 -07:00
Joseph Myers
052aff9578
Make bits/wchar.h correct for all architectures (bug 15036).
2013-01-23 00:42:51 +00:00
David S. Miller
7c1e01aabc
Use libgcc unwinder for sparc backtraces, if available.
...
* sysdeps/sparc/backtrace.c: New file.
* sysdeps/sparc/sparc32/backtrace.h: New file.
* sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
* sysdeps/sparc/sparc64/backtrace.h: New file.
* sysdeps/sparc/sparc64/backtrace.c: Delete.
* sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
-funwind-tables.
2013-01-21 14:15:30 -08:00
Andreas Schwab
ab087e0aa4
Avoid busy loop in wordexp when substituted command closed its stdout
2013-01-21 10:40:04 +01:00
Andreas Schwab
ed689c2f74
Remove use of mpa2.h
2013-01-20 02:05:53 +01:00
Joseph Myers
31d470ac24
Add tests that backtrace and backtrace_symbols produce correct results.
2013-01-18 15:49:43 +00:00
Ryan S. Arnold
90567f30eb
Corrected ChangeLog date of __kernel_get_tbfreq fix.
2013-01-18 07:52:18 -06:00
Anton Blanchard
471a1672d4
PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
...
In order for the __kernel_get_tbfreq vDSO call to work the
INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from
assuming an integer return type (since the timebase frequency is a 64-bit
value) by specifying the type of the return type as a macro parameter. The
macro then specifically declares the return value as a 'register' (or
implied pair) of the denoted type. The compiler is then informed that this
register (or implied pair) is to be used for the return value.
2013-01-18 07:44:38 -06:00
Siddhesh Poyarekar
0b57daebab
Fix application of the exception mask
...
Fixes BZ #14496 .
2013-01-18 14:16:25 +05:30
Siddhesh Poyarekar
caa99d06e7
Simplify calculation of 2^-m in __mpexp
2013-01-18 11:18:13 +05:30
Siddhesh Poyarekar
d3b9ea6148
Remove unnecessary multiplication with RADIXI
2013-01-18 11:14:34 +05:30
David S. Miller
1dbaee3c12
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-17 20:45:04 -08:00
Joseph Myers
728d7b43fc
Fix cacos real-part inaccuracy for result real part near 0 (bug 15023).
2013-01-17 20:25:51 +00:00
Pino Toscano
2a26ef3a01
Add HAVE_MREMAP for mremap usage
...
Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap
availability.
Move the malloc-sysdep.h include from arena.c to malloc.c, since what is
provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion
of arena.c.
2013-01-17 21:08:12 +01:00
Siddhesh Poyarekar
881ebe897a
Fix ChangeLog
2013-01-17 15:07:53 +05:30
Siddhesh Poyarekar
a897655d7b
Fix header comment
2013-01-17 15:05:22 +05:30
H.J. Lu
22676eafed
Implement x86 SIZE32/SIZE64 relocations
2013-01-16 20:31:03 -08:00
Joseph Myers
59981e9b0d
Adapt installed powerpc headers better for soft-float / no-FPRs.
2013-01-17 02:08:51 +00:00
Andreas Schwab
cfa8054fbb
Hide reference to mktemp in libpthread
2013-01-16 15:57:11 +01:00
Siddhesh Poyarekar
f93a8d1569
Consolidate constant defines into mpa.h
2013-01-16 16:06:48 +05:30
Siddhesh Poyarekar
dd930cc571
Fix the value of TWO
2013-01-16 14:53:53 +05:30
David S. Miller
1aa6176780
Optimize trunc{,f} on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
trunc{,f} to libm-sysdep_routes.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
* sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2013-01-16 00:00:54 -08:00
David S. Miller
c42d5e9862
Optimize nearbyint{,f} on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
nearbyint{,f} to libm-sysdep_routes.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2013-01-15 20:59:54 -08:00
David S. Miller
c19a9f896c
Add missing changelog for previous commit.
2013-01-15 20:56:39 -08:00
Mike Frysinger
357679d2fc
scsi/sg.h: include stddef.h for size_t
...
This header uses size_t but doesn't include stddef.h for it. So when
packages happen to include this before any header that defines size_t,
they get a build failure.
Reviewed-by: Carlos O'Donell <codonell@redhat.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-15 12:56:21 -05:00
David S. Miller
8b954ab9b8
Optimize sparc {ceil,floor}{,f} using vis2 'siam' instruction.
...
* sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
(SPARC_ASM_VIS2_IFUNC): Likewise.
(SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
use of 'siam' instruction.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
new VIS2 routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
routines to libm-sysdep_routines.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2013-01-14 21:47:29 -08:00
David S. Miller
65a82e3dd5
Optimize fdim/fdimf on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
fdim/fdimf to libm-sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
* sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2013-01-14 18:21:59 -08:00
Roland McGrath
66438c3fe1
Fix up log format, wrap a long line.
2013-01-14 09:57:33 -08:00
Siddhesh Poyarekar
2a91b5735a
Minor tweak to mp multiplication
...
Add a local variable to remove extra copies to/from memory in the Z
array.
2013-01-14 21:53:48 +05:30
Siddhesh Poyarekar
1066a53440
Fix code formatting in mpa.c
...
This includes the overridden mpa.c in power4.
2013-01-14 21:53:43 +05:30
Siddhesh Poyarekar
e34ab70550
Remove unnecessary local variable mptwo
2013-01-14 21:23:47 +05:30
Mike Frysinger
aba5e59604
manual: glob flags: fix sorting order
...
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger
e557e9e519
manual: glob flags: mention the GNU extensions
...
The glob flags page reads as if this section is comprehensive when it
is not -- a lot of GNU extensions exist. Point that out in the intro.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger
0428cec91e
manual: glob: document the gl_flags field
...
The More Flags for Globbing section indirectly mentions gl_flags when
talking about GLOB_MAGCHAR. Mention it explicitly when covering the
glob_t types.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:27 -05:00
David S. Miller
32fcb36dbf
Add 64-bit VIS3 optimized GMP routines for sparc.
...
* math/Makefile: Recognize gmp-sysdep_routines.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines
to sysdeps.
* sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
* sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
* sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
* sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
* sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2013-01-11 23:39:02 -08:00
David S. Miller
4ae4244d4b
Redo sparc 32-bit V9 GMP optimizations with fixed copyrights.
...
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
sparc V9 rather than using V8 code.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-11 20:53:10 -08:00
David S. Miller
8794a96418
Adjust sparc for Roland's multiarch sysdep directory changes.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
Move to...
* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
Here.
2013-01-11 18:04:10 -08:00
Roland McGrath
6270516e15
Fix multiarch handling in sysdeps generation.
2013-01-11 16:00:49 -08:00
Joseph Myers
6a57d93130
Remove __GLIBC_HAVE_LONG_LONG.
2013-01-11 21:13:25 +00:00
Steve Ellcey
0e8529e94f
2013-01-11 Steve Ellcey <sellcey@mips.com>
...
* elf/elf.h (EF_MIPS_ARCH_32): Fix value.
(EF_MIPS_ARCH_64): Fix value.
(EF_MIPS_ARCH_32R2): New.
(EF_MIPS_ARCH_64R2): New.
2013-01-11 11:20:05 -08:00
H.J. Lu
740b3dbee8
Add --enable-hardcoded-path-in-tests configure option
2013-01-11 07:14:18 -08:00
Andreas Jaeger
c6fe55cf60
Add MSG_FASTOPEN
...
[BZ #15003 ]
* sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
value. Sync with Linux 3.7.
2013-01-11 11:53:13 +01:00
David S. Miller
9e6919c8ae
Undo receive sparc 32-bit V9 gmp routine commit.
...
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-10 21:28:07 -08:00
Roland McGrath
1c9f1a028a
Remove some old cruft variables from configure.
2013-01-10 16:22:45 -08:00
David S. Miller
b9de2dde53
Optimize sparc 32-bit V9 GMP multiply routines.
...
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
sparc V9 rather than using V8 code.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-10 16:15:32 -08:00
H.J. Lu
55d984e037
Move localedata ChangeLog entries
2013-01-10 15:14:44 -08:00
Roland McGrath
e7f68ef4bc
Fix whitespace in elf.h MIPS macros.
2013-01-10 14:55:27 -08:00
David S. Miller
5a47cc9cef
Update sparc ULPs for new casin{,h} tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-10 14:46:18 -08:00
H.J. Lu
c34521ceac
Support run bug-setlocale1 directly
2013-01-10 14:15:49 -08:00
H.J. Lu
4cf8f2098f
Support run tst-exec and tst-spawn directly
2013-01-10 14:14:55 -08:00
Joseph Myers
828beb132d
Use __extension__ with long long in installed headers.
2013-01-10 20:19:45 +00:00
Roland McGrath
034ed64b2c
typo fix
2013-01-10 09:43:03 -08:00
Joseph Myers
fed0faa1c6
Remove __GNUC__ conditions for "long long" from string.h and wchar.h.
2013-01-10 16:44:59 +00:00
H.J. Lu
1a20cb20ff
Correct _XXX_ILP32_OFFBIG for x32
2013-01-10 08:38:48 -08:00
Siddhesh Poyarekar
7490eb81ae
Fix formatting in mpexp.c
2013-01-10 14:59:18 +05:30
Siddhesh Poyarekar
751b85f795
Make __mpexp_twomm1 an array of doubles
...
Cleanup to get rid of the `number` muck which is not necessary here.
2013-01-10 14:59:18 +05:30
Andreas Schwab
988197f0cc
Define flags for fallocate
2013-01-10 09:59:57 +01:00
David S. Miller
e83d72988d
Sync netinet/tcp.h with upstream Linux kernel.
...
[BZ# 15003]
* sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
TCP_FASTOPEN): Define.
(tcp_repair_opt): New structure.
(TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
enum values.
(TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
(tcp_cookie_transactions): New structure.
2013-01-09 23:04:32 -08:00
Anton Blanchard
d5e0b9bd6e
PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.
2013-01-09 20:30:11 -06:00
Joseph Myers
0c07e3eaa7
Remove __USE_ANSI.
2013-01-10 02:27:25 +00:00
Roland McGrath
ad98e30c90
Force getconf.speclist to be generated in the others pass.
2013-01-09 16:05:32 -08:00
Roland McGrath
232f700292
Remove unused macro ALLOCA_LIMIT.
2013-01-09 15:58:25 -08:00
Siddhesh Poyarekar
b5792741c8
Update s390 ULPs
2013-01-09 21:03:06 +05:30
Siddhesh Poyarekar
47cf227845
Update powerpc ULPs
2013-01-09 21:01:48 +05:30
Siddhesh Poyarekar
950c99ca90
Update comments in mpa.c
...
Fixed comment style and clearer wording in some cases.
2013-01-09 19:07:15 +05:30
Siddhesh Poyarekar
3a235abb5a
Fix ChangeLog formatting
...
A couple of places used spaces instead of a tab.
2013-01-09 19:04:13 +05:30
Joseph Myers
eede9df980
Don't check __GNUC__ together with __USE_EXTERN_INLINES.
2013-01-08 20:08:56 +00:00
Andreas Jaeger
c40ea3d9a3
BZ#14985: Remove erroneous EPOLL_NONBLOCK
...
[BZ# 14985]
* sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
Remove.
* sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK):
Likewise.
* sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK):
Likewise.
ChangeLog.mips:
[BZ# 14985]
* sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK):
* Remove.
ChangeLog.hppa:
[BZ# 14985]
* sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLL_NONBLOCK):
Remove.
ChangeLog.alpha:
[BZ# 14985]
* sysdeps/unix/sysv/linux/alpha/bits/epoll.h (EPOLL_NONBLOCK):
Remove.
2013-01-08 19:32:00 +01:00
Anton Blanchard
2ccdea26f2
Fix spelling errors in sysdeps/powerpc files.
2013-01-07 11:20:53 -06:00
Joseph Myers
375607b9cc
Clean up __MALLOC_* macros.
2013-01-07 15:00:47 +00:00
Joseph Myers
a9708fed77
Fix casinh, casin overflow (bug 14996).
2013-01-07 14:59:53 +00:00
H.J. Lu
afec409af9
Change __x86_64 prefix in cache size to __x86
2013-01-05 16:00:38 -08:00
David S. Miller
0b3986d0dc
Update Sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-04 13:20:26 -08:00
Andreas Schwab
d643bac1f7
Fix warnings in test-powerpc-snan.c
2013-01-04 19:04:08 +01:00
Andreas Schwab
e47686e960
Update powerpc libm ULPs
2013-01-04 18:53:13 +01:00
Siddhesh Poyarekar
fffb407f46
Remove unused __cr and __cpymn
2013-01-04 22:52:12 +05:30
Siddhesh Poyarekar
b18decba11
Fix build failure on power4 processors
...
The power4-specific mpa.c depended on some global variables that were
removed by earlier patches. Also, it did not define mpone and mptwo.
2013-01-04 22:05:49 +05:30
Joseph Myers
cdc1c96fba
Fix casinh, casin inaccuracy from cancellation (bug 14994).
2013-01-04 13:25:17 +00:00
Siddhesh Poyarekar
6420d207bb
Fix code formatting
2013-01-04 15:57:13 +05:30
Siddhesh Poyarekar
a9e48ab40e
Clean up comment for MP_NO
2013-01-04 15:42:09 +05:30
Siddhesh Poyarekar
b783726459
Remove some commented code
2013-01-04 15:30:34 +05:30
Siddhesh Poyarekar
f8af25d218
Remove commented declarations
2013-01-04 15:10:00 +05:30
Siddhesh Poyarekar
302913e17e
Remove argument variable name from function declaration
2013-01-04 14:54:46 +05:30
H.J. Lu
5d7dd1ca84
Add HAS_RTM
2013-01-03 09:38:20 -08:00
Andreas Schwab
2f5f40f465
mtrace: properly handle realloc (p, 0)
2013-01-03 11:18:04 +01:00
Andreas Jaeger
4056f4a03a
Add new Interlingua translation
2013-01-03 10:07:43 +01:00
Andreas Jaeger
ab15736ffc
Fix formatting
2013-01-03 10:06:51 +01:00
Allan McRae
fd80f0b7a1
Fix "localedef --posix" description
2013-01-03 18:00:47 +10:00
Joseph Myers
e6898b8d92
Update miscellaneous copyright dates.
2013-01-02 19:43:40 +00:00
Joseph Myers
0e2f956295
Fix copyright notice corruption from update-copyright bug.
2013-01-02 19:28:45 +00:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Siddhesh Poyarekar
0f5477af5d
Fix values in __mpexp_twomm1
2013-01-02 17:43:35 +05:30
Siddhesh Poyarekar
44e0d4c20c
Split mantissa calculation loop and add branch prediction
2013-01-02 11:44:13 +05:30
Siddhesh Poyarekar
4d55b4e596
Add assert for potential access beyond array bounds in m1np
...
The mpexp code has an access into m1np:
for (i=n-1; i>0; i--,n--) { if (m1np[i][p]+m2>0) break; }
which could break for p >= 18 or i >= 7. Fortunately this code is
never called due to the way the exp function is implemented since
values having exponent less than -55 return 1.0. Make sure that if it
gets called in future, it is trapped.
2013-01-02 11:33:11 +05:30
Siddhesh Poyarekar
da08f647d5
Move more constants into static variables
...
Code cleanup.
2013-01-02 10:07:50 +05:30
Siddhesh Poyarekar
38686a0363
Fix ChangeLog entry
2013-01-02 09:55:00 +05:30
David S. Miller
8e05102923
Update Catalan translations.
...
* po/ca.po: Update from translation team.
2013-01-01 17:28:13 -08:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
David S. Miller
a141f1a732
Update French translation.
...
* po/fr.po: Update from translation team.
2013-01-01 00:51:00 -08:00
David S. Miller
0549fbba96
Update copyright years.
...
* catgets/gencat.c: Update copyright year.
* csu/version.c: Likewise.
* debug/catchsegv.sh: Likewise.
* debug/pcprofiledump.c: Likewise.
* debug/xtrace.sh: Likewise.
* elf/ldconfig.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/pldd.c: Likewise.
* elf/sotruss.ksh: Likewise.
* elf/sprof.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* login/programs/pt_chown.c: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/memusagestat.c: Likewise.
* malloc/mtrace.pl: Likewise.
* nscd/nscd.c: Likewise.
* nss/getent.c: Likewise.
* nss/makedb.c: Likewise.
* posix/getconf.c: Likewise.
2013-01-01 00:11:43 -08:00
Siddhesh Poyarekar
18ea052c3e
Favour normal numbers
2012-12-31 16:05:13 +05:30
Mike Frysinger
9c89fca6e0
math: use existing nonnull attribute define
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-30 13:00:13 -05:00
Siddhesh Poyarekar
085ec079e3
Demystify the magic number 134217729.0
...
The number 134217729.0 gets used in various places in e_pow.c but
there is no explanation of what that number is. Add that explanation.
2012-12-29 06:56:04 +05:30
Siddhesh Poyarekar
d63f73be34
Remove unnecessary variable mptwoim1
...
Code cleanup.
2012-12-28 19:02:01 +05:30
Siddhesh Poyarekar
6d9f97e1f2
Replace more constants with their values
...
Code cleanup.
2012-12-28 18:53:17 +05:30
Pino Toscano
2f216c3ce8
ChangeLog: add missing typo
2012-12-28 13:37:00 +01:00
Andreas Jaeger
af5843efa0
Add values from Linux 3.7 to <elf.h>
2012-12-28 13:06:01 +01:00
Andreas Jaeger
4c4febf544
Add new defines from Linux 3.7 to <netinet/tcp.h>
2012-12-28 12:59:33 +01:00
Siddhesh Poyarekar
91998e449e
Add __glibc_likely as an alias for __builtin_expect when available
2012-12-28 11:53:01 +05:30
Siddhesh Poyarekar
99136f8202
Replace constants with preprocessor defines
...
libm Code cleanup.
2012-12-28 09:40:10 +05:30
2012-12-27 Bruno Haible
7fffbdfff7
BZ#14317: Optimze __xpg_strerror_r
...
[BZ #14317 ]
* string/xpg-strerror.c (__xpg_strerror_r): Optimize, call
strlen only if needed.
2012-12-27 22:37:39 +01:00
Siddhesh Poyarekar
31a7fe5ca9
Remove redundant __mpexp_nn
...
It's an array that stores integral float values of the offset.
2012-12-27 20:43:55 +05:30
Siddhesh Poyarekar
b76eb5f076
Move mpone out to a global const
...
Code cleanup.
2012-12-27 20:43:24 +05:30
David S. Miller
2c8bfe7d6f
Open development for 2.18.
...
* version.h (RELEASE): Set to "development".
(VERSION): Set to "2.17.90".
* NEWS: Add 2.18 section.
2012-12-25 01:23:43 -08:00
David S. Miller
147d03b01c
Update Croatian translations.
...
* po/hr.po: Update from translation team.
2012-12-21 12:22:48 -08:00
Andreas Krebbel
a8ebb2b9d2
S/390: Update libm-test-ulps.
2012-12-21 06:24:27 +01:00
Steve Ellcey
b2d9400744
Remove trailing space.
2012-12-19 08:57:50 -08:00
Steve Ellcey
95b4f1b626
2012-12-19 Steve Ellcey <sellcey@mips.com>
...
* NEWS: Mention new memcpy for MIPS.
2012-12-19 08:56:08 -08:00
Marcus Shawcroft
cedb2a909d
Fix AArch64 typo.
2012-12-18 09:51:55 +00:00
David S. Miller
bbf527d678
Update Russian translations.
...
* po/ru.po: Update from translation team.
2012-12-15 15:30:31 -08:00
David S. Miller
85429b1a8f
Mention IFUNC enhancements to testsuite in NEWS.
...
* NEWS: Mention IFUNC testsuite enhancements.
2012-12-13 15:40:06 -05:00
David S. Miller
d283e35378
Update Polish and Bulgarian translations.
...
* po/pl.po: Update from translation team.
* po/bg.po: Likewise.
2012-12-13 15:19:42 -05:00
David S. Miller
bc38c90626
Update manual/contrib.texi
...
* manual/contrib.texi (Contributors): Update entries for Hongjiu
Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2012-12-13 15:02:00 -05:00
David S. Miller
4641d57e1e
Update Swedish translations.
...
* po/sv.po: Update from translation team.
2012-12-12 02:21:39 -05:00
David S. Miller
f7bc6495a9
Update Vietnamese translations.
...
* po/vi.po: Update from translation team.
2012-12-12 01:55:56 -05:00
David S. Miller
6fc9048f19
Update Czech PO file.
...
* po/cs.po: Update from translation team.
2012-12-11 13:59:14 -05:00
David S. Miller
a181b0d733
Update German, Dutch, and Esperanto translations.
...
* po/de.po: Update from translation team.
* po/eo.po: Likewise.
* po/nl.po: Likewise.
2012-12-11 12:56:04 -05:00
Siddhesh Poyarekar
3c8b4190fe
Move node Argp Helper Functions to follow Argp Parsing State
...
Resolves BZ #14246 .
2012-12-11 09:02:37 +05:30
Siddhesh Poyarekar
f70bfe80e2
Mention if terminating null is included in NAME_MAX/PATH_MAX
...
Fixes BZ #14872 .
2012-12-11 09:01:02 +05:30
Andreas Jaeger
188f0adf70
Update cs translations
2012-12-10 20:57:18 +01:00
Richard Henderson
7e9da188a1
Mark BZ#10114 as fixed.
2012-12-10 07:50:42 -08:00
Siddhesh Poyarekar
56e7d3ad5c
Fix some build warnings on s390x
2012-12-08 13:03:24 +05:30
Siddhesh Poyarekar
76f2d2ea7b
Minor ChangeLog formatting fix
2012-12-08 13:00:00 +05:30
Benno Schulenberg
c430c4afd6
BZ #14833 : message.texi typo fixes
2012-12-08 12:35:35 +05:30
Andreas Schwab
67cbf9a2a9
[BZ #14898 ]
...
* include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
Change to -1.
2012-12-07 14:55:19 -07:00
David S. Miller
682d0e9ae8
Update libc.pot in preparation for giving tarball to translation project.
...
* po/libc.pot: Update.
2012-12-07 15:13:31 -05:00
Richard Henderson
573cd4843a
soft-fp: Fix used without set warning in _FP_MUL and _FP_DIV
...
Seen in, e.g. ports/sysdeps/alpha/soft-fp/ots_mul.c.
The problem here is we have a switch on the class of X*Y, followed by
a switch on the class of R. The exponent field of R really is not set
by the first switch for NaN outputs, because we know it's not going to
be used. The compiler is not smart enough to see through this.
By pulling the exponent computation out of the NORMAL*NORMAL path, we
will not be pessimizing the most common case, while still providing an
arbitrary value to satisfy the compiler.
2012-12-07 13:17:08 -06:00
Mike Frysinger
e933a9432c
linux: posix_fadvise: support __NR_fadvise64_64
...
Some arches do not have a __NR_fadvise64 but do have __NR_fadvise64_64.
If the former is unavailable, fallback to the latter.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-06 20:00:43 -05:00
Chris Metcalf
82123268ac
Fix warnings from generic _FPU_GETCW
2012-12-06 10:42:06 -05:00
Joseph Myers
d981452619
Change sources.redhat.com references to sourceware.org.
2012-12-06 15:32:46 +00:00
Siddhesh Poyarekar
5704bbcb47
Fix the order of my ChangeLog entries
2012-12-06 20:46:18 +05:30
Siddhesh Poyarekar
f16946dd9c
Fix "set but not used" warnings for powerpc64
2012-12-06 20:20:45 +05:30
Siddhesh Poyarekar
7728c57488
Add newline to last test in stdio-common/tst-put-error.c
...
The newline ensures that the buffer is flushed and the test executes
as expected.
2012-12-06 11:10:18 +05:30
Jeff Law
17aa0516c8
* sunrpc/etc.rpc (fedfs_admin): Add entry.
2012-12-05 19:45:23 -07:00
Joseph Myers
effbd42a77
Ports-related README updates.
2012-12-05 22:15:52 +00:00
Joseph Myers
8760036569
Expand LICENSES file.
2012-12-05 21:56:15 +00:00
Joseph Myers
a0d7066a1c
Fix "set but not used" warnings for X##_s in soft-fp.
2012-12-05 20:04:32 +00:00
Joseph Myers
66ca5a5b93
Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.
2012-12-05 20:03:45 +00:00
Joseph Myers
363313b5be
Increase width of padded output in stdio-common/tst-put-error.
2012-12-05 20:02:41 +00:00