Richard Henderson
33154d7bed
Fix ChangeLog format.
2012-03-09 16:34:18 -08:00
Richard Henderson
5f0a5daeee
Move math/math_private.h to sysdeps/generic/math_private.h.
...
This reverts commit 60d6f5a6f5
.
2012-03-09 16:12:17 -08:00
Richard Henderson
b8c036204f
Use include_next to chain math_private.h headers.
2012-03-09 16:11:26 -08:00
Richard Henderson
1ed0291c31
Use <> for math.h and math_private.h everywhere.
...
Entire tree edited via find | grep | sed.
2012-03-09 16:09:10 -08:00
Joseph Myers
1991fa031c
Remove __GNU_LIBRARY__ conditionals from rpcgen.
2012-03-09 22:46:12 +00:00
David S. Miller
60d6f5a6f5
Fix sparc build after recent math changes.
...
* include/math_private.h: New file.
2012-03-09 14:37:57 -08:00
Joseph Myers
02a6f887cb
Split enum __socket_type from bits/socket.h to bits/socket_type.h.
2012-03-09 22:36:06 +00:00
Joseph Myers
c6e013c15e
Always declare gets for C++ up to C++11 without checking __USE_GNU.
2012-03-09 22:08:39 +00:00
Joseph Myers
4962050e97
Install bits/stdio_lim.h in install-headers.
2012-03-09 22:05:49 +00:00
Richard Henderson
67bb6da679
powerpc: Convert __ieee754_sqrt{,f} from macros to inlines.
2012-03-09 11:16:18 -08:00
Richard Henderson
15194b4b3d
x86_64: Convert __rint* and __floor* from macros to inlines.
2012-03-09 11:15:47 -08:00
Richard Henderson
64e21edef1
x86_64: Convert __ieee754_sqrt{,f,l} from macros to inlines.
2012-03-09 11:15:19 -08:00
Richard Henderson
38842f4553
Use target-specific math_private.h in math_ldbl_opt.h.
2012-03-09 08:08:11 -08:00
David S. Miller
c64bf5feb3
Update copyright year after my most recent changes.
...
nptl/
* sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year.
/
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
copyright year.
* sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2012-03-08 15:09:27 -08:00
Thomas Schwinge
82d86f2844
Fix struct timespec normalization (as used in many other places).
2012-03-08 11:49:43 +01:00
Ulrich Drepper
aea5d7277a
Clean up tst-fphex test
2012-03-08 03:02:24 -05:00
Ulrich Drepper
ca2ff9fc04
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2012-03-08 02:49:12 -05:00
Marek Polacek
70bca0a394
Fix up long double fphex test
2012-03-08 02:46:43 -05:00
Marek Polacek
65b81130c5
Enhance fphex test.
2012-03-08 08:34:10 +01:00
Ulrich Drepper
67c6a3d919
Merge branch 'master' of ssh://sourceware.org/git/glibc
2012-03-08 01:57:38 -05:00
Joseph Myers
a7a93d5086
Clean up glibc manual references to "GNU system" (bug 6911).
2012-03-08 01:27:38 +00:00
Joseph Myers
07037eeb43
Fix .ctors/.dtors header configure test for bootstrapping.
2012-03-08 00:17:27 +00:00
Joseph Myers
af6a1e3755
Fix sysdeps/i386/configure.in cpuid.h test for bootstrapping.
2012-03-07 20:51:54 +00:00
Joseph Myers
d1d3431a3a
Fix signs of zeros from casinh, cacosh etc. (bug 10716).
2012-03-07 15:15:19 +00:00
Ulrich Drepper
872fda052d
Update traditional Chinese translation
2012-03-07 05:35:30 -05:00
Ulrich Drepper
a4300c7a4d
Remove distribute variable from Makefiles
2012-03-07 05:17:13 -05:00
Ulrich Drepper
482ff4dae9
Don't install timezone rule files
2012-03-07 04:48:47 -05:00
Ulrich Drepper
a000466f5e
Add missing gshadow handling in __nss_configure_lookup
2012-03-06 21:55:18 -05:00
Ulrich Drepper
f72ed77d71
Formatting fixes
2012-03-06 21:45:53 -05:00
Marek Polacek
a53b7a4e4b
Fix up long double fphex.
2012-03-06 22:08:16 +01:00
David S. Miller
e92584001a
Fix several build warnings on sparc.
...
/
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
(set_obp_int): New function.
(get_obp_int): New function.
(__get_clockfreq_via_dev_openprom): Likewise.
* sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid
unused variable warnings on 'val' and use builtin_expect.
(INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect.
(INLINE_CLONE_SYSCALL): Likewise.
nptl/
* sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use
atomic_increment and remove unused local variable.
(__old_sem_post): Likewise.
2012-03-06 11:15:26 -08:00
David S. Miller
3bd2c72316
Update sparc ULPs due to recently added tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-05 21:07:32 -08:00
Roland McGrath
7be16f8276
Wrap too-long log entry.
2012-03-05 12:48:57 -08:00
Andreas Schwab
884c5db424
Update powerpc libm ULPs
2012-03-05 20:38:18 +01:00
Andreas Schwab
bbb78d030e
Fix loss of precision in cosh and sinh for IBM long double
2012-03-05 20:38:17 +01:00
Andreas Jaeger
1c9f702a07
Fix broken date.
2012-03-05 20:24:48 +01:00
H.J. Lu
8542dee325
* sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
...
Replace gettimeofday with __vdso_gettimeofday.
* sysdeps/unix/sysv/linux/x86_64/init-first.c (_libc_vdso_platform_setup):
Replace clock_gettime and getcpu with __vdso_clock_gettime and
__vdso_getcpu.
* sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
time with __vdso_time.
2012-03-05 19:45:53 +01:00
Joseph Myers
ed58a00f9b
Reduce discussion of types to which size_t may be equivalent.
2012-03-05 15:03:57 +00:00
Andreas Jaeger
30ee4ced20
* sysdeps/i386/fpu/libm-test-ulps: Update.
2012-03-05 13:37:29 +01:00
Joseph Myers
b7cd39e8f8
Fix pow in non-default rounding modes (bug 3976).
2012-03-05 12:22:46 +00:00
Joseph Myers
ca811b2256
Test cosh, sinh in non-default rounding modes (bug 3976).
2012-03-05 12:20:24 +00:00
Tom de Vries
6c6a98c983
2012-03-05 Tom de Vries <tom@codesourcery.com>
...
* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
default stack guard is set in last bytes.
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2012-03-05 11:05:42 +01:00
Andreas Jaeger
21bb2d2e64
cleanup my last commit: tabify, change date
2012-03-05 10:43:35 +01:00
Kees Cook
fa0355175d
2012-03-02 Kees Cook <keescook@chromium.org>
...
* stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2012-03-05 10:18:17 +01:00
Kees Cook
7c1f4834d3
2012-03-02 Kees Cook <keescook@chromium.org>
...
[BZ #13656 ]
* stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
possibly allocate from heap instead of stack.
* stdio-common/bug-vfprintf-nargs.c: New file.
* stdio-common/Makefile (tests): Add nargs overflow test.
2012-03-05 10:17:22 +01:00
Andreas Schwab
c692293436
Update powerpc libm ULPs
2012-03-04 16:03:21 +01:00
Marek Polacek
bc957d531c
Remove oldish __GNUC_PREREQ.
2012-03-03 22:57:00 +01:00
David S. Miller
6358490d55
Add sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2012-03-02 18:59:09 -08:00
Roland McGrath
d9a17c075e
BZ #13792 : License manual example source files under GPL.
2012-03-02 16:52:01 -08:00
Roland McGrath
01ae168d6d
BZ#13792: Move timeval_subtract example function in manual into an examples/ C source file.
2012-03-02 15:49:49 -08:00
David S. Miller
49efa33d3d
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2012-03-02 14:17:33 -08:00
Joseph Myers
804360ed83
Fix sin, cos, tan in non-default rounding modes (bug 3976).
2012-03-02 20:51:39 +00:00
Joseph Myers
a6d06d7b86
Fix scalbn, scalbln integer overflow.
2012-03-02 15:32:56 +00:00
Joseph Myers
07e12bb391
Document properties of standard typedefs, not exact types.
2012-03-02 15:23:30 +00:00
Joseph Myers
28afd92dbd
Fix exp in non-default rounding modes (bug 3976).
2012-03-02 15:12:53 +00:00
Chris Demetriou
b1eeb65d49
2012-03-01 Chris Demetriou <cgd@google.com>
...
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals
* to
have predictable order.
2012-03-02 09:32:45 +01:00
David S. Miller
3c96908397
Kill sparc32 specific __getpagesize, unneeded.
...
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2012-03-01 23:30:55 -08:00
David S. Miller
759707dee3
Optimized 64-bit sparc assembler for finite{,f} and isinf{,f}.
...
* sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
* sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2012-03-01 22:14:35 -08:00
David S. Miller
dfdb8ff299
Optimized sparc assembler for signbit{,f,l} and some variants of isnan.
...
* sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
* sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
* sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
* sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2012-03-01 20:43:38 -08:00
David S. Miller
ead89f9695
Update Sparc ulps for recently added tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-01 17:34:04 -08:00
David S. Miller
7f66bd07f0
Sparc doesn't need seperate 32-bit and 64-bit ulps files.
...
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
* sysdeps/sparc/fpu/libm-test-ulps: to here.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2012-03-01 17:32:58 -08:00
David S. Miller
53362a4b0f
Remove sparc binutils GOTDATA checks in lieu of new minimum version requirement.
...
* sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
* sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
* sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
* sysdeps/sparc/elf/configure: Regenerated.
2012-03-01 15:04:16 -08:00
Joseph Myers
bec039bcef
Require binutils 2.20 or later.
2012-03-01 21:23:57 +00:00
Joseph Myers
7b1902cb3e
Improve erfc accuracy.
2012-03-01 21:15:38 +00:00
Kai Tietz
f775c276fd
soft-fp: Support using struct layout attributes on bit-fields.
2012-03-01 16:22:09 +00:00
Joseph Myers
0bab47b6b2
Fix x86 strcasecmp_l (bug 13786).
2012-02-29 22:37:38 +00:00
Joseph Myers
0fcad3e243
Add test for bug 5794 (incorrect expm1 overflow).
2012-02-29 20:49:20 +00:00
Joseph Myers
5b8a4d4a09
Reduce large expected errors from libm tests on x86 and x86_64.
2012-02-29 20:40:50 +00:00
Jeff Law
8fdceb2efd
[network] Avoid out ouf bounds read in __libc_res_nquerydomain
...
2012-02-28 Jeff Law <law@redhat.com>
* resolv/res_query.c (__libc_res_nquerydomain): Avoid
out of bounds read.
2012-02-29 11:51:27 -05:00
Marek Polacek
1f393a11f6
Always set l_used for vDSO.
2012-02-29 15:28:38 +01:00
David S. Miller
8847f03770
Add sparc optimized sqrt{,f}.
...
* sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
* sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
* sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2012-02-28 22:37:58 -08:00
Joseph Myers
169d7f11ad
Move misplaced llround test and add lround test from bug 2561.
2012-02-29 01:55:42 +00:00
Joseph Myers
43be4ca2bb
Restore wrongly removed ChangeLog entries for generated files.
2012-02-29 01:24:33 +00:00
Ulrich Drepper
39adf059fc
Optimized expf for x86-64
2012-02-28 20:06:39 -05:00
Joseph Myers
d40c5d54cb
Regenerate sysdeps/gnu/errlist.c for errno.texi changes.
2012-02-28 16:37:58 +00:00
Andreas Jaeger
77219e1b66
Fix ChangeLog
2012-02-28 16:20:33 +01:00
Stanislav Brabec
71b5d1c5d5
[BZ #13637 ]
...
* posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
of remain_len that may cause incomplete multi-byte character and
false match.
* posix/bug-regex33.c: New file.
* posix/Makefile (tests): Add bug-regex33.
2012-02-28 16:16:45 +01:00
Joseph Myers
1f77f0491f
Use Texinfo macros to refer to the GNU C Library within the manual.
2012-02-28 14:44:20 +00:00
Andreas Schwab
450bf206b4
Include <dirstream.h> before <dirent/dirent.h>
2012-02-28 15:02:02 +01:00
David S. Miller
741a235bf6
Add optimized copysign for sparc.
...
* sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
* sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
* sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2012-02-28 00:33:00 -08:00
David S. Miller
1aff59a3f7
Optimized sparc floor{,f} routines.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
* sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2012-02-27 20:36:30 -08:00
David S. Miller
d6b5aa5879
Fix %fp/%sp typo in new sparc ceil{,f} assembler.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
frame pointer instead of stack pointer relative arg slot.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2012-02-27 20:33:25 -08:00
Carlos O'Donell
433f48bf3b
BZ #3992 : stdlib/fmtmsg.c: missing stdint.h include.
...
Use of uint32_t requires stdint.h.
2012-02-27 22:31:39 -05:00
David S. Miller
d674b76d0e
Fix comment formatting in new optimized sparc math files.
2012-02-27 15:26:06 -08:00
Joseph Myers
0e7727f71d
Require GCC 4.3 or later.
2012-02-27 23:07:59 +00:00
David S. Miller
428d5830a2
Optimized sparc ceil{,f} and rint{,f} routines.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
* sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2012-02-27 14:55:58 -08:00
David S. Miller
a78bc6549c
Fix ldbl-128 rintl/nearbyintl just like flt-32 variants.
...
* sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
manipulate bits before adding and subtracting TWO112[sx].
* sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2012-02-27 14:51:45 -08:00
Roland McGrath
36c8acb4f8
BZ#13775: Fix vdprintf/dprintf ldbl-compat decl feature test conditional.
2012-02-27 14:00:47 -08:00
Roland McGrath
84ad622bbf
Add missing fcntl.h include in some aio tests.
2012-02-27 13:58:42 -08:00
Roland McGrath
4579f81caf
Remove a spurious const in tst-fmemopen.
2012-02-27 13:29:12 -08:00
Joseph Myers
abd923dbf2
Require Linux kernel headers from "make headers_install", >= 2.6.19.1.
2012-02-27 20:52:30 +00:00
Joseph Myers
6664049b71
Don't document fclean.
2012-02-27 20:37:48 +00:00
Joseph Myers
bb8b6697d4
Automatically generate version number in manual; omit edition / updated date.
2012-02-27 20:35:43 +00:00
Andreas Schwab
12e5c3b9e5
Add missing headers
2012-02-27 20:27:41 +01:00
Ulrich Drepper
ba63ba0882
Restrict run-conformtest runs
2012-02-26 21:45:44 -05:00
Ulrich Drepper
d94a467080
Add first fixes for conformtest for POSIX2008
2012-02-26 21:32:56 -05:00
Ulrich Drepper
4efeffc1d5
Fix up POSIX testing in conformtest
2012-02-26 13:17:27 -05:00
Andreas Schwab
c20105c398
Replace sysdeps/ieee754/dbl-64/k_tan.c with empty file
2012-02-26 16:10:46 +01:00
Ulrich Drepper
3134156779
First steps to get conformtest fully working
2012-02-25 23:18:39 -05:00
Ulrich Drepper
7a270350a9
Fix ISO C11 definitions in time.h
2012-02-25 21:28:27 -05:00
Ulrich Drepper
7724defcf8
Fix locking in fmtmsg
2012-02-24 21:18:04 -05:00
Joseph Myers
6b1d1d46b9
Fix configure logic for disabling multi-arch.
2012-02-25 00:29:19 +00:00
Joseph Myers
0f8bbd69cd
Update texinfo.tex to version 2012-01-19.16.
2012-02-24 21:46:36 +00:00
Joseph Myers
66ab80bca6
Update makefile for FDL 1.3 change.
2012-02-24 21:32:58 +00:00
Roland McGrath
ee968201e7
BZ#13738: Switch manual to FDL 1.3.
2012-02-24 12:58:10 -08:00
Roland McGrath
74981cc52d
BZ#13738: Parameterize and fix mention of FDL version in manual.
2012-02-24 12:53:25 -08:00
Joseph Myers
7bb764bcb1
Prefer C99 names for long long limit macros.
2012-02-22 21:04:27 +00:00
Joseph Myers
6cbeae4719
Fix nearbyintf rounding.
2012-02-22 13:03:40 +00:00
Joseph Myers
fe45ce09f3
Fix rintf rounding.
2012-02-22 13:01:20 +00:00
Joseph Myers
ff3b3d8278
Move __STDC_* predefined macros from features.h to stdc-predef.h.
2012-02-22 12:53:04 +00:00
Joseph Myers
ef0aab352c
Revert VERSION and UPDATED changes in manual.
2012-02-22 00:06:09 +00:00
David S. Miller
586394099c
Update long-double sparc math ULPs missed by previous changes.
...
* sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2012-02-21 15:36:11 -08:00
David S. Miller
c0e70b2543
Tweak sparc32 longjmp to not store a dummy frame pointer onto the stack.
...
* sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
using a normal save/restore sequence, rather than allocating a
dummy stack frame just to store a frame pointer and restore.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2012-02-20 20:50:14 -08:00
Joseph Myers
fb06851d67
Fix stray word in line-wrapped comment in install.texi.
2012-02-21 02:19:14 +00:00
David S. Miller
d510c12326
Use PI_STATIC_AND_HIDDEN on sparc if we universally use GOTDATA relocs.
...
* sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
both binutils and gcc support GOTDATA.
2012-02-20 17:52:07 -08:00
David S. Miller
0722d7c2ac
Explain why we don't make use of RDPC in the sparc PIC register setup.
...
* sysdeps/unix/sparc/sysdep.h: Document why we don't use
"rd %pc" in the PIC register setup sequences.
2012-02-20 17:52:01 -08:00
David S. Miller
3d2b3019e0
Use sparc GOTDATA relocations whenever possible.
...
* sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
* sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
(SYSCALL_ERROR_HANDLER): Likewise.
2012-02-20 17:51:53 -08:00
David S. Miller
c80098a9a0
Add sparc configure checks for GOTDATA support.
...
* config.h.in (HAVE_BINUTILS_GOTDATA): New.
(HAVE_GCC_GOTDATA): New.
* sysdeps/sparc/elf/configure.in: Test for GOTDATA
relocation support in both binutils and gcc.
* sysdeps/sparc/elf/configure: Regenerate.
2012-02-20 17:51:48 -08:00
David S. Miller
3a2545a0f3
Consolidate Sparc ELF configure fragments to one spot.
...
* sysdeps/sparc/sparc32/elf/configure.in: Delete.
* sysdeps/sparc/sparc32/elf/configure: Delete.
* sysdeps/sparc/sparc64/elf/configure.in: Delete.
* sysdeps/sparc/sparc64/elf/configure: Delete.
* sysdeps/sparc/elf/configure.in: New file.
* sysdeps/sparc/elf/configure: Generate.
2012-02-20 17:51:40 -08:00
David S. Miller
7a8b71c37c
Remove sparc WDISP22 configure checks, no longer used.
...
* sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
* sysdeps/sparc/sparc32/elf/configure: Regenerate.
* sysdeps/sparc/sparc64/elf/configure.in: Likewise.
* sysdeps/sparc/sparc64/elf/configure: Regenerate.
* config.h.in (BROKEN_SPARC_WDISP22): Remove.
2012-02-20 17:51:21 -08:00
Joseph Myers
f1e86fca4a
Update or avoid glibc version numbers in manual.
2012-02-21 01:01:28 +00:00
Joseph Myers
0e7dfaef51
Remove old initfini mechanism.
2012-02-21 00:46:01 +00:00
Joseph Myers
599af3ca61
Split architecture-specific parts of sys/epoll.h into bits/epoll.h.
2012-02-21 00:32:30 +00:00
Joseph Myers
0e4997508d
Split architecture-specific parts of sys/timerfd.h into bits/timerfd.h.
2012-02-21 00:29:13 +00:00
Joseph Myers
5ad91f6e6f
Resort ULPs files with gen-libm-test.pl -n in C locale.
2012-02-20 18:06:05 +00:00
Aurelien Jarno
06b99b0263
Adjust SPARC ULPs to take into account the new jn tests.
2012-02-20 07:37:30 +01:00
Andreas Schwab
7638c0fda5
Add support for Linux error EHWPOISON
2012-02-19 18:27:02 +01:00
Aurelien Jarno
92221550d7
Use non-signaling floating-point comparisons in math functions.
2012-02-19 11:20:18 +01:00
Joseph Myers
ebaf36ebd8
Fix parameter name in strnlen documentation.
2012-02-19 02:02:10 +00:00
Joseph Myers
71c254a6e6
Make seteuid argument name consistent in manual.
2012-02-19 01:54:33 +00:00
Joseph Myers
16d2c63103
Correct list of services in example NSS configuration file.
2012-02-19 01:46:08 +00:00
Nick Bowler
cd837b09b5
Remove erroneous statements about negative zero.
2012-02-19 01:38:37 +00:00
Joseph Myers
02c4bbad9c
Remove documentation of upgrading from libc5.
2012-02-18 18:32:39 +00:00
Joseph Myers
366842e73e
Do not claim that GCC predefines __POSIX__.
2012-02-18 18:21:52 +00:00
David S. Miller
dd54084dd9
Rework sparc PIC macros so crt{i,n}.S can use them too.
...
* sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
(SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
%o7 across the call.
(SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
instead.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
SETUP_PIC_REG_LEAF.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
* sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
* sysdeps/sparc/crtn.S: Likewise.
2012-02-18 22:31:42 -08:00
Ulrich Drepper
2bcc53a337
Remove remnants of aout builds
2012-02-17 21:27:44 -05:00
Rafe Kettler
09c093b500
Make declarations of "main" in examples consistent.
2012-02-18 00:12:10 +00:00
Joseph Myers
2ee633a243
Correct documentation of FLT_EPSILON.
2012-02-17 23:46:51 +00:00
Fabrice Bauzac
0520adde6b
Change recommendation of strchrnul in strchr documentation.
2012-02-17 23:34:01 +00:00
Dwayne Grant McConnell
3f4081cd59
Document LOCPATH.
2012-02-17 22:19:38 +00:00
Joseph Myers
d1b10e78e4
Fix documented parameters to execle.
2012-02-17 22:06:09 +00:00
Paul Bolle
79c6869c83
Fix typo (LC_TYPE -> LC_CTYPE).
2012-02-17 17:54:10 +00:00
Nicolas Boulenguez
cc6e48bc7c
Fix various problems with @deftypefun lines.
2012-02-17 17:44:38 +00:00
Joseph Myers
6dd8f3dca0
Add more bug numbers.
2012-02-17 17:02:52 +00:00
Joseph Myers
5b23062f1f
Fix typos in documentation of fopen ",ccs=STRING".
2012-02-17 17:00:01 +00:00
Aurelien Jarno
8dee4833c5
Include <time.h> in clock_settime.c.
2012-02-17 17:46:56 +01:00
Thomas Schwinge
9078ce930a
Hurd: #define away madvise for malloc code, fix previous commit.
2012-02-17 08:46:28 +01:00
Joseph Myers
3835c55fe5
Fix typo in manual (bug 9902).
2012-02-17 01:23:04 +00:00
Joseph Myers
35c47e37b9
Include <stdlib.h> in argp examples.
2012-02-17 01:13:15 +00:00
Richard Henderson
e3b69ca7d1
s390: Convert to crt[in].S.
2012-02-16 09:24:19 -08:00
David S. Miller
fb59b3a4f5
Add O_FSYNC define to sparc just like other platforms.
2012-02-16 14:56:54 -08:00
Kaz Kojima
af1dd5d680
Merge branch 'master' of git://sources.redhat.com/git/glibc
2012-02-16 07:21:37 +09:00
Kaz Kojima
df83af673b
Add SH target specific crti.S and crtn.S and remove initfini files.
...
Add sysdeps/sh/crti.S, sysdeps/sh/crtn.S and remove sysdeps/sh/elf/initfini.c
and nptl/sysdeps/unix/sysv/linux/sh/pt-initfini.c.
2012-02-16 07:17:24 +09:00
David S. Miller
f63f338062
Move sparc away from the deprecated inifini.c scheme.
...
/
* sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
* sysdeps/sparc/crti.S: New file.
* sysdeps/sparc/crtn.S: New file.
* sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
* sysdeps/sparc/sparc64/Makefile: Likewise.
nptl/
* sysdeps/sparc/Makefile: Add -fPIC when building pt-crti.S and crtn.S
2012-02-16 12:54:05 -08:00
Roland McGrath
d2c736f809
Hurd: #define away madvise for malloc code.
2012-02-15 14:15:27 -08:00
Mike Frysinger
df6a4a4aec
Include sys/param.h in getcwd.c.
2012-02-15 20:39:49 +00:00
Roland McGrath
1cac72362a
Remove macros wrongly left for pre-libio case that no longer exists.
2012-02-15 12:23:13 -08:00
Joseph Myers
8e475601f6
Split architecture-specific parts of sys/signalfd.h into bits/signalfd.h.
2012-02-15 20:11:20 +00:00
Marek Polacek
ed656b4065
Provide crt[in].S for x86-64.
2012-02-14 13:50:44 +01:00
Joseph Myers
2a979d3a14
Split architecture-specific parts of sys/inotify.h into bits/inotify.h.
2012-02-14 00:13:47 +00:00
Joseph Myers
2a418ac326
Split architecture-specific parts of sys/eventfd.h into bits/eventfd.h.
2012-02-13 20:27:59 +00:00
Roland McGrath
e19e83c5d2
log entry typo fixes
2012-02-10 13:44:27 -08:00
Thomas Schwinge
7c35ffedf1
Fix x86 PLT slot usage for feraiseexcept.
...
Then we're elf/check-localplt.out-clean again.
2012-02-10 21:05:54 +01:00
Thomas Schwinge
fb779be7b3
A bit of testsuite cleanup.
2012-02-10 12:18:48 +01:00
Paul Eggert
59ba27a63a
Replace FSF snail mail address with URLs.
2012-02-09 23:18:22 +00:00
Richard Henderson
af850b1c97
Use <> for include of kernel-features.h.
2012-02-09 11:21:47 -08:00
Richard Henderson
57b957eb04
Avoid pointer type mismatch warning.
...
update_get_addr returns a link_map*, but the return expression
was of type char*. Fix by relying on gcc's void* arithmetic
extension and auto-conversion from void*.
2012-02-09 11:20:27 -08:00
Andreas Schwab
e216c0121a
Update ChangeLog
2012-02-09 17:12:33 +01:00
Marek Polacek
6b73181ac5
Remove _G_HAVE_SYS_CDEFS.
2012-02-09 17:09:55 +01:00
Andreas Schwab
6c6dbc6300
Reduce ldouble ULPs for jn tests on x86
2012-02-08 22:25:15 +01:00
Andreas Schwab
26ecc33a02
Remove have-initfini and need-nopic-initfini
2012-02-08 20:31:55 +01:00
Joseph Myers
3add8e1353
Support crti.S and crtn.S provided directly by architectures.
2012-02-08 01:45:26 +00:00
Marek Polacek
a22f12b477
Remove _G_ARGS macros.
2012-02-07 22:40:49 +01:00
Marek Polacek
148cf100de
Add tst-CMPLX2 test.
2012-02-07 20:47:46 +01:00
Andreas Schwab
84ba42c4fb
Adjust libm test ULPs for powerpc
2012-02-07 15:21:41 +01:00
Andreas Schwab
cfdc0dd7fa
Fix loss of precision in jn tests
2012-02-07 15:20:37 +01:00
Marek Polacek
622c86f480
Remove __ELF__ conditionals
2012-02-07 00:41:11 +01:00
Joseph Myers
d4a54ac649
Undefine and redefine __i686 for assembly code.
2012-02-06 23:01:25 +00:00
Joseph Myers
314054eaef
Match x86 PIC thunk names to compiler version.
2012-02-06 18:05:54 +00:00
Joseph Myers
d8e0ca509a
Use macro for PIC setup in inline asm.
2012-02-05 14:34:14 +00:00
Joseph Myers
b1da7dd99d
Use macros for x86 PIC thunk names.
2012-02-03 23:24:19 +00:00
Joseph Myers
9a1d92541f
Consistently use macros for x86 PIC thunks.
2012-02-03 23:22:53 +00:00
Joseph Myers
65dc3b7504
Include <stdio.h> in math/tst-CMPLX.c.
2012-02-03 00:13:15 +00:00
Ulrich Drepper
9d029511d8
Merge branch 'master' of ssh://sourceware.org/git/glibc
2012-01-31 18:50:35 -05:00
Ulrich Drepper
3b49edc04b
Cleanups of malloc
...
Remove ugly names and unnecessary wrappers.
2012-01-31 18:49:22 -05:00
Joseph Myers
d55bf1777c
Always define float_t as float for PowerPC, SH and SPARC.
2012-01-31 22:57:02 +00:00
Marek Polacek
69db4f8f46
Remove PARAMS macros.
2012-01-31 20:02:53 +00:00
Ulrich Drepper
41b81892f1
Handle ARENA_TEST correctly
2012-01-31 14:42:34 -05:00
Ulrich Drepper
6c1eace5df
Don't add CL for generated files!!!
2012-01-30 22:50:20 -05:00
Ulrich Drepper
0eb6f47528
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2012-01-30 22:34:33 -05:00
Ulrich Drepper
27a25b6e63
Optimize __get_tls_addr a bit
...
Rearrange code to avoid creation of a stack frame. At least on x86-64
the code for the fast path should be down to the bare minimum.
2012-01-30 22:32:05 -05:00
Joseph Myers
c8a89e7dd5
Remove miscellaneous __STDC__ conditionals.
2012-01-30 21:20:32 +00:00
Joseph Myers
3b1004624e
Fix makefile/configure problems with sse2avx changes.
2012-01-30 19:55:15 +00:00
Roland McGrath
f2a7420ddb
Merge remote-tracking branch 'origin/cmetcalf/tile_config'
...
Conflicts:
ChangeLog
2012-01-30 09:58:46 -08:00
Chris Metcalf
3ac8b282b6
Add Tile relocation types.
2012-01-30 09:54:13 -08:00
Roland McGrath
ee3c3be688
Merge remote-tracking branch 'origin/cmetcalf/tile_epoll_pwait'
...
Conflicts:
ChangeLog
2012-01-30 09:50:40 -08:00
Roland McGrath
de9298c991
Merge remote-tracking branch 'origin/cmetcalf/tile_not_cancel_h'
...
Conflicts:
ChangeLog
2012-01-30 09:49:39 -08:00
Roland McGrath
53fb8811fd
Merge remote-tracking branch 'origin/cmetcalf/tile_firstversions'
...
Conflicts:
ChangeLog
2012-01-30 09:48:55 -08:00
Roland McGrath
6315810720
Merge remote-tracking branch 'origin/cmetcalf/tile_faccessat'
2012-01-30 09:47:47 -08:00
Chris Metcalf
607998afaa
Update config.guess, config.sub from upstream config git repository.
2012-01-29 13:36:30 -05:00