Commit Graph

13584 Commits

Author SHA1 Message Date
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
Ulrich Drepper
96bc5b45a6 Optimize x86-64 math inline header a bit 2012-01-28 21:20:06 -05:00
Ulrich Drepper
56f6f6a240 Use -msse2avx option for x86-64 libm functions 2012-01-28 14:48:46 -05:00
Chris Metcalf
3601428fb0 Call __fxstatat64 from faccessat() to avoid PLT in -Os builds. 2012-01-28 12:07:46 -05:00
Chris Metcalf
e034841eac Fix bug in firstversions.awk version range handling. 2012-01-28 12:02:44 -05:00
Chris Metcalf
463de86252 Use include/sys/epoll.h to provide libc_hidden_proto for epoll_pwait(). 2012-01-28 12:00:12 -05:00
Chris Metcalf
540d7568ae Use <> brackets for not-cancel.h in sysdeps/unix/sysv/linux/grantpt.c. 2012-01-28 11:51:44 -05:00
Ulrich Drepper
73139a7628 Simplify use of AVX instructions in internal math macros 2012-01-28 11:19:06 -05:00
Adhemerval Zanella
d73f93a461 PowerPC - A2 memcpy cache line size initialization 2012-01-27 18:05:45 -05:00
Ulrich Drepper
cdd9b365f9 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-01-27 15:06:37 -05:00
Ulrich Drepper
6ee65ed6dd Sort objects before relocations 2012-01-27 15:05:19 -05:00
Joseph Myers
8db2188281 Remove __STDC__ conditionals from libm. 2012-01-27 17:29:45 +00:00
Joseph Myers
965a54a4ee Remove __STDC__ conditionals from non-installed headers. 2012-01-26 23:31:37 +00:00
Joseph Myers
7071ad79db Remove __STDC__ conditionals from installed headers. 2012-01-26 20:49:22 +00:00
Ulrich Drepper
08cf777f9e Really fix AVX tests
There is no problem with strcmp, it doesn't use the YMM registers.
The math routines might since gcc perhaps generates such code.
Introduce bit_YMM_USBALE and use it in the math routines.
2012-01-26 09:45:54 -05:00
Ulrich Drepper
afc5ed09cb Reset bit_AVX in __cpu_features is OS support is missing 2012-01-26 07:45:14 -05:00
Joseph Myers
bdb6de1d6d Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
Ulrich Drepper
83cf1b9f02 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-01-24 19:29:39 -05:00
Ulrich Drepper
b15549e6f8 Fix gets problems 2012-01-24 17:40:44 -05:00
Joseph Myers
a037381ff8 Remove posix/glob directory (standalone glob build support). 2012-01-24 22:30:03 +00:00
Joseph Myers
f1d4aa75ea Use newly built locales for tst-c16c32-1. 2012-01-24 22:25:42 +00:00
Samuel Thibault
0ea698ae78 Hurd: Try to respect mmap address hint for non-MAP_FIXED. 2012-01-23 14:00:47 -08:00
Pino Toscano
81c0c9648d Hurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT. 2012-01-23 13:56:58 -08:00
Ulrich Drepper
d220b11777 Fix version check in uchar.h 2012-01-21 15:20:14 -05:00
Ulrich Drepper
3e1aa84e7f Do not cache negative results in nscd if these are transient 2012-01-20 22:39:54 -05:00
Ulrich Drepper
d77e786926 Minor cleanups of malloc code 2012-01-16 12:07:56 -05:00
Ulrich Drepper
400aa020ea Fix locking problem in fmtmsg 2012-01-16 09:03:20 -05:00
Marek Polacek
e0a309cf2a Don't always provide definition of gets checking version 2012-01-13 12:45:02 -05:00
Will Schmidt
929d11c7cf Powerpc: correct duplicate label issue with multiple passes through context code 2012-01-12 17:05:03 -05:00
Ulrich Drepper
0cc5ed3b01 Optimized acosh for 64-bit platforms 2012-01-11 22:01:09 -05:00
Ulrich Drepper
41d0e8696f Optimize scalbln 2012-01-11 12:49:16 -05:00
Ulrich Drepper
daa891c0e8 Optimize s_modf 2012-01-10 22:26:22 -05:00
Ulrich Drepper
e58ef0f204 Add const attribute to fmin and fmax 2012-01-10 21:10:28 -05:00
Ulrich Drepper
a47a831ad8 Optimize ldexp and scalbn 2012-01-10 20:52:29 -05:00
Marek Polacek
a0bfc9c78f Add noreturn attribute 2012-01-10 18:49:31 -05:00
Ulrich Drepper
d6e97a1da0 Some branch prediction for log1p 2012-01-09 18:59:04 -05:00
Ulrich Drepper
e5f484c622 bits/poll2.h needs __BEGIN/__END_DECLS 2012-01-08 21:57:15 -05:00
Ulrich Drepper
d5835c2642 Install bits/poll2.h 2012-01-08 21:50:21 -05:00
Will Schmidt
d1f741e912 Fix typo in Linux/PPC32 getcontext 2012-01-08 21:32:57 -05:00
Ulrich Drepper
ec09c1c410 Optimize xmalloc, xcalloc, xrealloc, and xstrdup
Add alloc_size attribute and apply consistently the malloc attribute
to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08 21:19:43 -05:00
Ulrich Drepper
aebae0537d Mark potential fix for BZ 11929 2012-01-08 20:39:46 -05:00
Paul Pluzhnikov
20b38e0301 sscanf always calls realloc 2012-01-08 20:13:35 -05:00
Ulrich Drepper
669704fd61 Fix CL 2012-01-08 17:08:18 -05:00
Ulrich Drepper
1d5a644a55 Add test for CMPLX macros 2012-01-08 16:02:45 -05:00
Ulrich Drepper
8784a6db91 Fix typo in CMPLXL 2012-01-08 15:55:52 -05:00
Ulrich Drepper
d9a216c037 Add checking versions of poll and ppoll 2012-01-08 11:55:32 -05:00
Ulrich Drepper
ac097f5cd0 Define CMPLX, CMPLXF, CMPLXL 2012-01-08 10:07:26 -05:00
Ulrich Drepper
2119dcfacc Static linking is always needed 2012-01-08 09:52:29 -05:00
Ulrich Drepper
121766a9d6 Remove pwd tst from configure 2012-01-08 09:31:02 -05:00
Ulrich Drepper
3857022a76 No need for test for __builtin_expect 2012-01-08 09:21:09 -05:00
Ulrich Drepper
215f4bdc5f Remove more unnecessary Alpha and IA-64 configury 2012-01-08 07:47:38 -05:00
Ulrich Drepper
8720d06638 gcc better don't use a signed type for size_t 2012-01-08 07:44:18 -05:00
Ulrich Drepper
51a1d39ce3 Remove last remnants of RANLIB 2012-01-08 07:31:58 -05:00
Ulrich Drepper
d3ed722566 Simplify char16_t implementation 2012-01-08 07:19:21 -05:00
Ulrich Drepper
a0da5fe1e4 More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
Ulrich Drepper
a784e50247 Remove pre-ISO C support
No more __const.
2012-01-07 23:57:22 -05:00
Ulrich Drepper
0269750ca6 Remove non-ELF support 2012-01-07 20:30:26 -05:00
Ulrich Drepper
00bbd29b35 Update ABI information 2012-01-07 19:23:45 -05:00
Ulrich Drepper
a2693a0e2e Remove m68k support from Linux configure 2012-01-07 13:06:38 -05:00
Ulrich Drepper
3f05895f12 Remove Alpha support from ldsodefs.h 2012-01-07 13:04:35 -05:00
Ulrich Drepper
ecb6fb48b7 Clean up shlib-versions files
Ports have their own files
2012-01-07 13:02:29 -05:00
Ulrich Drepper
664f8cb9d5 More IA-64 removal 2012-01-07 12:55:20 -05:00
Ulrich Drepper
7ae81d88f1 Linux configure cleanup 2012-01-07 12:44:28 -05:00
Ulrich Drepper
b13b98854e Remove IA-64 support from kernel-features.h 2012-01-07 12:23:45 -05:00
Ulrich Drepper
bdeba1354b Remove --enable-omitfp support 2012-01-07 11:29:31 -05:00
Ulrich Drepper
d75a0a62b1 Remove IA-64 support 2012-01-07 11:19:05 -05:00
Ulrich Drepper
dcc9756b5b Remove support in configure for unsupported architectures 2012-01-07 11:13:30 -05:00
Ulrich Drepper
d3761ebcc6 Add BZ 2012-01-07 10:57:05 -05:00
Ulrich Drepper
9954432e30 More char16_t and char32_t support
It works now for UTF-8 locales
2012-01-07 10:52:53 -05:00
Ulrich Drepper
c3a8723670 Do not declare gets in _GNU_SOURCE mode at all 2012-01-07 10:41:00 -05:00
Ulrich Drepper
fbb68a84ee Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2012-01-07 10:39:03 -05:00
Ulrich Drepper
28926a1be1 Add explicit declaration of gets in C++ code 2012-01-07 10:37:50 -05:00
Ulrich Drepper
df78418ad7 Fix problem with reuse of test-strcpy for wide char testing 2012-01-07 08:54:34 -05:00
Joseph Myers
8ecd6b2a12 Fix C11 header changes for C++. 2012-01-06 18:11:50 +00:00
Ulrich Drepper
5e0d030065 Fix assertion in gconv's loop.c 2012-01-03 10:37:59 -05:00
Ulrich Drepper
aff0673587 Merge branch 'c11' 2012-01-03 07:54:34 -05:00
Ulrich Drepper
9f1151705e Optimize regex a bit 2012-01-03 07:54:15 -05:00
Ulrich Drepper
db6af3ebf4 Add uchar.h support, part 1
c16 support for locales other than the C locale is still missing.
2012-01-01 07:17:22 -05:00
Ulrich Drepper
dadebdaeeb Add missing restrict in mbrtowc declaration 2012-01-01 07:17:21 -05:00
Ulrich Drepper
ce5294e268 Typo in CL 2012-01-01 07:17:21 -05:00
Ulrich Drepper
74033a2507 Implement timespec_get 2012-01-01 07:17:21 -05:00
Ulrich Drepper
380d7e87dc Implement aligned_alloc 2012-01-01 07:17:21 -05:00
Ulrich Drepper
4e9e7a356c Enable at_quick_exit and quick_exit for ISO C11 2012-01-01 07:17:20 -05:00
Ulrich Drepper
8fd8ff3bd8 Add __USE_ISOCXX11 2012-01-01 07:17:20 -05:00
Ulrich Drepper
03a718297d Remove gets declaration 2012-01-01 07:17:20 -05:00
Ulrich Drepper
839e283ece Define static_assert 2012-01-01 07:17:20 -05:00
Ulrich Drepper
90fa731277 Start 2.16 development 2012-01-01 07:17:20 -05:00
Ulrich Drepper
8d44e15086 Missing BZ 2012-01-01 07:17:20 -05:00
Ulrich Drepper
d78099052b Support C11 __STDC_SOURCE__ and _ISOC11_SOURCE 2012-01-01 07:17:19 -05:00
Ulrich Drepper
a316c1f682 Also update new programs 2012-01-01 07:16:32 -05:00
Ulrich Drepper
81fb02b046 Update copyright year 2012-01-01 05:50:05 -05:00
Jakub Jelinek
2ba92745c3 Fix up regcomp/regexec
The problem is that parse_bracket_symbol is miscompiled, and it turns
out it is because of an incorrect attribute on re_string_fetch_byte_case.
Unlike re_string_peek_byte_case, this one is really not pure, it modifies memory
(increments pstr->cur_idx), and with the pure attribute GCC assumed it doesn't
and it cached the presumed value of regexp->cur_idx in a variable across the
 for (;; ++i)
   {
     if (i >= BRACKET_NAME_BUF_SIZE)
       return REG_EBRACK;
     if (token->type == OP_OPEN_CHAR_CLASS)
       ch = re_string_fetch_byte_case (regexp);
     else
       ch = re_string_fetch_byte (regexp);
     if (re_string_eoi(regexp))
       return REG_EBRACK;
     if (ch == delim && re_string_peek_byte (regexp, 0) == ']')
       break;
     elem->opr.name[i] = ch;
   }
2011-12-30 17:13:56 -05:00
Ulrich Drepper
c0da14cdda Preliminaries for 2.15 release 2011-12-23 14:03:55 -05:00
Marek Polacek
530a32499a Fix typos in comments 2011-12-23 13:59:40 -05:00
Ulrich Drepper
67371b5666 Prevent warnings due to long long constants 2011-12-23 13:52:59 -05:00
Liubov Dmitrieva
bbe315ea36 CL 2011-12-23 12:02:53 -05:00
Liubov Dmitrieva
15db4de19d Fix overrun in destination buffer 2011-12-23 12:02:15 -05:00
Marek Polacek
2b2596b1e9 Add missing inline keyword
According to http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00608.html,
a function without `inline' with an `always_inline' attribute is a bug.
2011-12-23 11:19:53 -05:00
Ulrich Drepper
aebefeee8f Add another BZ 2011-12-23 11:01:46 -05:00
Ulrich Drepper
70c6c246a2 Optimize x86-32 feraiseexcept also for !__SSE_MATH__ 2011-12-23 09:18:02 -05:00
Liubov Dmitrieva
c044cf14b0 Fix wrong copying processing for last bytes in x86-32 wcscpy
Wrong copy algorithm for last bytes, not thread safety.
In some particular cases it uses the destination
memory beyond the string end for
16-byte load, puts changes into that part that is relevant
to destination string and writes whole 16-byte chunk into memory.
I have a test case where the memory beyond the string end contains
malloc/free data, that appear corrupted in case free() updates
it in between the 16-byte read and 16-byte write.
2011-12-23 08:50:39 -05:00
Bruno Haible
d455f537be iconv mapping of 0xA8 0xEC in CP1258 is non-canonical 2011-12-23 08:43:41 -05:00
Bruno Haible
6b13d9d9ef iconv mapping of U+0385 in TCVN5712-1 is incorrect 2011-12-23 08:35:09 -05:00
Ulrich Drepper
27deeafc3f Fix error code for too small input buffer to getnameinfo 2011-12-22 19:21:36 -05:00
Ulrich Drepper
e7f9dac362 Add missing BZ 2011-12-22 18:02:50 -05:00
Ulrich Drepper
aed9d17150 Add feraiseexcept optimization for x86-32 2011-12-22 17:52:30 -05:00
Ulrich Drepper
db910efdbd Also retrieve SSE exceptions in x86-32 fegetexceptflag 2011-12-22 16:28:08 -05:00
Ulrich Drepper
2797beae36 Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
	ChangeLog
2011-12-22 14:23:28 -05:00
Liubov Dmitrieva
2bd779ae3f Fix overrun in strcpy destination buffer in x86-32/SSSE3 version 2011-12-22 14:22:00 -05:00
Joseph Myers
154bfc1622 Support building bits/syscall.h for any number of subarch variants. 2011-12-22 18:22:50 +00:00
Ulrich Drepper
16c6f99208 Add brx_IN locale 2011-12-22 11:50:52 -05:00
Ulrich Drepper
4104316861 Optimize tr_freehook 2011-12-22 11:38:32 -05:00
Ulrich Drepper
21eaf3a5f9 Use __REDIRECT_NTH for __feraiseexcept_renamed 2011-12-22 08:05:21 -05:00
Ulrich Drepper
4920765eb4 Define EPOLLONESHOT and EPOLLET using unsigned values 2011-12-21 22:14:05 -05:00
Ulrich Drepper
e3a851a21b Use Kahan's formula in cacosh 2011-12-21 22:08:12 -05:00
Richard B. Kreckel
b27e24b874 Fix sign errr in some cacosh results 2011-12-21 21:01:29 -05:00
Ulrich Drepper
ee190f67cc Store invocation-specific data of conversion modules in __gconv_step_data 2011-12-21 18:45:50 -05:00
Andreas Schwab
707f25dfc0 Fix division by denominator with more than two limbs in strtold 2011-12-21 23:57:15 +01:00
Rafael Ávila de Espíndola
d2daaa1eb6 Define x86_64 feraiseexcept inline only under __USE_EXTERN_INLINES. 2011-12-21 13:27:09 -08:00
Ulrich Drepper
a4647e727a Fix extension of array in extended printf format handling 2011-12-17 21:27:25 -05:00
Adhemerval Zanella
f0b264f174 Optimized strcasecmp for Power7 2011-12-17 20:32:59 -05:00
Marek Polacek
8ef4f244ff Avoid warnings in __*_finite math function declarations with C++ 2011-12-17 20:23:16 -05:00
Ulrich Drepper
97ac2654b2 Check values from TZ file header 2011-12-17 20:18:42 -05:00
Will Schmidt
91d2a8453f Simplify code for accessing powerpc GOT 2011-12-17 15:07:31 -05:00
Adhemerval Zanella
a1267ba1c6 Optimized nearbyint for PPC 2011-12-17 14:59:47 -05:00
Ross Lagerwall
ad8ac1bd6a Open /etc/resolv.conf with FD_CLOEXEC 2011-12-17 14:43:40 -05:00
Ulrich Drepper
1d3e4b618a Optimized wcschr and wcscpy for x86-64 and x86-32 2011-12-17 14:39:23 -05:00
Ulrich Drepper
5b330a2d90 Add tests for wcsrchr and wcscpy 2011-12-17 14:14:58 -05:00
Jeff Law
26428b7c69 Manual typo fix for _SC_NPROCESSORS_ONLN. 2011-12-14 12:52:16 -08:00
Ulrich Drepper
f039c04307 Optimize generic ELF hash function a bit more 2011-12-10 11:53:44 -05:00
Andreas Schwab
850fb039ce Fix a wrong constant in powerpc hypot implementation 2011-12-06 11:12:01 +01:00
Ulrich Drepper
52ad36a219 Small optimization of generic ELF hash function 2011-12-04 17:44:33 -05:00
Ulrich Drepper
52ff5dd0e4 Fix attreibute for _dl_elf_hash 2011-12-04 16:12:20 -05:00
Ulrich Drepper
4efbd5cb39 Fix aliasing issues in RPC code 2011-12-04 13:20:06 -05:00
Ulrich Drepper
aff2453df7 Fix more warnings 2011-12-03 21:49:35 -05:00
Ulrich Drepper
8a426e1289 Fix comment in mcheck.h 2011-12-03 07:14:40 -05:00
Ulrich Drepper
3a96549619 Remove aliasing problems in NIS code 2011-12-02 21:13:10 -05:00