Commit Graph

13297 Commits

Author SHA1 Message Date
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