1 2012-05-04 Andreas Jaeger <aj@suse.de>
4 * manual/.gitignore: Remove, it's not needed anymore.
5 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
7 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9 (texis): Renamed to $(objpfx)texis.
10 (texis-path): New, contains path to generated files.
11 (chapters.%): Use texis-path for complete path, add extra argument
13 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
14 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
15 (summary,texi, stamp-summary): Use complete path of
16 files. Generate files in build dir.
17 (dir-add.texi): Build in build dir.
18 (libm-err.texi,stamp-libm-err): Likewise.
19 (version.texi, stamp-version): Likewise.
21 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22 (mostlyclean): Remove target.
23 (realclean): Remove target.
24 (generated): Add new variable with contents from mostlyclean and
25 realclean, remove entries duplicated in common-mostlyclean, add
26 stamp-libm-err and stamp-version.
27 (generated-dirs): Add libc directory.
28 ($(inst_infodir)/libc.info): Install files from build dir.
30 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33 long double comparison inaccuracies.
34 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
39 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42 2012-05-04 Joseph Myers <joseph@codesourcery.com>
45 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
46 nonzero digits before rounding a hex value.
47 * stdlib/tst-strtod.c (tests): Add another test.
49 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51 * sysdeps/s390/fpu/libm-test-ulps: Update.
53 2012-05-03 Andreas Jaeger <aj@suse.de>
55 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
56 does not get optimized out.
57 (malloc_opt_barrier): New.
59 2012-05-03 Andreas Jaeger <aj@suse.de>
60 Roland McGrath <roland@hack.frob.com>
62 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
63 intermediate file deletion.
64 (generated): Add .symlist files.
66 2012-05-03 Joseph Myers <joseph@codesourcery.com>
69 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70 Redirect under this condition.
71 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
72 [__USE_GNU] (__dprintf_chk): Not under this condition.
73 [__USE_GNU] (__vdprintf_chk): Likewise.
74 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77 [__USE_XOPEN2K8] (dprintf): Define under this condition.
78 [__USE_XOPEN2K8] (vdprintf): Likewise.
79 [__USE_GNU] (__dprintf_chk): Not under this condition.
80 [__USE_GNU] (__vdprintf_chk): Likewise.
81 [__USE_GNU] (dprintf): Likewise.
82 [__USE_GNU] (vdprintf): Likewise.
84 2012-05-03 Roland McGrath <roland@hack.frob.com>
86 * elf/Makefile (common-generated): Set this instead of generated for
87 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
88 $(all-built-dso)-derived lists.
90 2012-05-03 Andreas Jaeger <aj@suse.de>
92 * sysdeps/i386/fpu/libm-test-ulps: Update.
96 * scripts/gen-FAQ.pl: Likewise.
97 * manual/install.texi (Installation): Point to online location of
99 * Makefile (files-for-dist): Remove FAQ.
102 2012-05-02 Allan McRae <allan@archlinux.org>
104 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
105 (LDFLAGS-reldepmod5.so): Likewise.
106 (LDFLAGS-reldep6mod1.so): Likewise.
107 (LDFLAGS-reldep6mod4.so): Likewise.
108 (LDFLAGS-reldep8mod3.so): Likewise.
109 (LDFLAGS-unload4mod1.so): Likewise.
110 (LDFLAGS-unload4mod2.so): Likewise.
111 (LDFLAGS-tst-initorder): Likewise.
112 (LDFLAGS-tst-initordera2.so): Likewise.
113 (LDFLAGS-tst-initordera3.so): Likewise.
114 (LDFLAGS-tst-initordera4.so): Likewise.
115 (LDFLAGS-tst-initorderb2.so): Likewise.
116 (LDFLAGS-noload): Likewise.
117 (LDFLAGS-next): Likewise.
118 (LDFLAGS-order2mod1.so): Likewise.
119 (LDFLAGS-order2mod2.so): Likewise.
120 (LDFLAGS-tst-initorder2): Likewise.
121 (LDFLAGS-tst-initorder2a.so): Likewise.
122 (LDFLAGS-tst-initorder2b.so): Likewise.
123 (LDFLAGS-tst-initorder2c.so): Likewise.
124 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
126 2012-05-02 David S. Miller <davem@davemloft.net>
128 * sysdeps/sparc/fpu/libm-test-ulps: Update.
130 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
133 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
135 2012-05-02 Andreas Jaeger <aj@suse.de>
137 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
138 since we manipulate rounding mode.
139 (CPPFLAGS-test-idouble.c): Likewise.
140 (CPPFLAGS-test-ifloat.c): Likewise.
141 (CFLAGS-test-ldouble.c): Likewise.
142 (CFLAGS-test-double.c): Likewise.
143 (CFLAGS-test-float.c): Likewise.
144 (CFLAGS-test-misc.c): Likewise.
145 (CFLAGS-test-test-fenv.c): Likewise.
147 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
152 comparisons to determine direction to adjust input.
154 2012-05-01 Roland McGrath <roland@hack.frob.com>
156 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
157 output to the target.
159 * scripts/localplt.awk: New file.
160 * elf/Makefile ($(objpfx)check-localplt): Target removed.
161 (check-localplt-CFLAGS): Variable removed.
162 ($(all-built-dso:=.jmprel)): New static pattern rule.
163 (generated): Add those targets.
164 (localplt-built-dso): New variable.
165 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
167 * elf/check-localplt.c: File removed.
169 * scripts/check-execstack.awk: New file.
170 * elf/Makefile ($(objpfx)check-execstack): Target removed.
171 (check-execstack-CFLAGS): Variable removed.
172 ($(objpfx)check-execstack.h): Target removed.
173 ($(objpfx)execstack-default): New target.
174 (generated): Add that instead of check-execstack.h.
175 ($(all-built-dso:=.phdr)): New static pattern rule.
176 (generated): Add those targets.
177 * elf/check-execstack.c: File removed.
179 * scripts/check-textrel.awk: New file.
180 * elf/Makefile ($(objpfx)check-textrel): Target removed.
181 (check-textrel-CFLAGS): Variable removed.
182 (all-built-dso): Use := to define.o
183 ($(all-built-dso:=.dyn)): New static pattern rule.
184 (generated): Add those targets.
185 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
186 * config.make.in (READELF): New substituted variable.
187 * elf/check-textrel.c: File removed.
189 2012-05-01 Joseph Myers <joseph@codesourcery.com>
191 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
193 * conform/data/ctype.h-data [C99-based standards] (isblank):
195 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
196 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
197 [ISO || ISO99 || ISO11] (*_t): Do not allow.
198 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
199 Specify type. Require positive value.
202 [ISO || POSIX] (EILSEQ): Do not expect.
203 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
204 Specify type. Require positive value.
205 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
206 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
207 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
208 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
209 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
210 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
211 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
212 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
213 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
214 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
215 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
216 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
217 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
218 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
219 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
220 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
221 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
222 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
223 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
224 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
225 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
226 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
227 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
228 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
229 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
230 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
231 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
232 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
233 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
234 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
235 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
236 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
237 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
238 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
239 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
240 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
241 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
242 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
243 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
244 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
245 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
246 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
247 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
248 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
249 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
250 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
251 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
252 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
253 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
254 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
255 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
256 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
257 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
258 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
259 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
260 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
261 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
262 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
263 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
264 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
265 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
266 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
267 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
268 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
269 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
270 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
271 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
272 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
273 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
274 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
275 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
276 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
277 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
278 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
279 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
280 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
281 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
283 (FLT_ROUNDS): Expect as macro, not constant.
284 (FLT_MANT_DIG): Use macro-int-constant.
285 (DBL_MANT_DIG): Likewise.
286 (LDBL_MANT_DIG): Likewise.
289 (LDBL_DIG): Likewise.
290 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
291 (DBL_MIN_EXP): Likewise.
292 (LDBL_MIN_EXP): Likewise.
293 (FLT_MAX_EXP): Use macro-int-constant.
294 (DBL_MAX_EXP): Likewise.
295 (LDBL_MAX_EXP): Likewise.
296 (FLT_MAX_10_EXP): Likewise.
297 (DBL_MAX_10_EXP): Likewise.
298 (LDBL_MAX_10_EXP): Likewise.
299 (FLT_MAX): Use macro-constant.
301 (LDBL_MAX): Likewise.
302 (FLT_EPSILON): Use macro-constant. Give upper bound.
303 (DBL_EPSILON): Likewise.
304 (LDBL_EPSILON): Likewise.
307 (LDBL_MIN): Likewise.
308 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
309 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
310 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
311 [ISO11] (FLT_HAS_SUBNORM): Likewise.
312 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
313 [ISO11] (DBL_DECIMAL_DIG): Likewise.
314 [ISO11] (FLT_DECIMAL_DIG): Likewise.
315 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
316 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
317 [ISO11] (FLT_TRUE_MIN): Likewise.
318 [ISO11] (LDBL_TRUE_MIN): Likewise.
319 [ISO || ISO99 || ISO11] (*_t): Do not allow.
320 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
321 (SCHAR_MIN): Use macro-int-constant. Specify type.
322 (SCHAR_MAX): Likewise.
323 (UCHAR_MAX): Likewise.
324 (CHAR_MIN): Likewise.
325 (CHAR_MAX): Likewise.
326 (MB_LEN_MAX): Use macro-int-constant.
327 (SHRT_MIN): Use macro-int-constant. Specify type.
328 (SHRT_MAX): Likewise.
329 (USHRT_MAX): Likewise.
331 (INT_MIN): Use macro-int-constant. Specify type. Make upper
333 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
335 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
337 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
338 bound negative. Suffix upper bound with "L".
339 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
341 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
343 [C99-based standards] (LLONG_MAX): Likewise.
344 [C99-based standards] (ULLONG_MAX): Likewise.
345 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
347 [ISO11] (max_align_t): Require type.
348 [ISO || ISO99 || ISO11] (*_t): Do not allow.
350 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
351 from $CFLAGS, without defining away __attribute__ calls.
352 (checknamespace): Use $CFLAGS_namespace.
354 * conform/conformtest.pl (@keywords): Only include C99 keywords
355 for standards based on C99 or C11.
357 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
359 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
362 * conform/conformtest.pl: Handle "macro-int-constant" and test for
363 usability of symbols in #if.
365 * conform/conformtest.pl: If macro or constant types start
366 "promoted:", expect the symbol to be of the following type
367 promoted by the integer promotions.
369 * conform/conformtest.pl: Parse all "constant" and "macro" lines
370 in one place. Also handle "macro-constant".
372 * conform/conformtest.pl: Only accept expected macro values with
373 "==". Parse all "macro" lines in one place.
374 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
376 * conform/conformtest.pl: Handle braced types on "constant" lines
377 instead of handling "typed-constant".
378 * conform/data/signal.h-data: Use "constant" instead of
381 * conform/conformtest.pl: Handle "optional-" at start of lines in
382 one place rather than duplicating several cases. Handle each
383 format of "macro" line with initial "optional-".
385 * conform/conformtest.pl: Only accept expected constant or
386 optional-constant values with "==". Parse all "constant" lines in
387 one place. Parse all "optional-constant" lines in one place.
388 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
389 * conform/data/fmtmsg.h-data: Likewise.
390 * conform/data/netinet/in.h-data: Likewise.
391 * conform/data/tar.h-data: Likewise.
392 * conform/data/limits.h-data: Use "==" form on "constant" and
393 "optional-constant" lines.
395 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
396 Use -std=c99 for XOPEN2K.
397 (@knownproblems): Remove.
398 (newtoken): Don't check %isknown.
400 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
402 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
403 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
404 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
405 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
406 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
407 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
408 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
409 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
410 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
411 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
412 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
413 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
414 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
415 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
416 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
417 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
418 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
419 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
420 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
421 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
422 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
423 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
424 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
425 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
426 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
427 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
428 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
429 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
430 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
431 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
432 [XPG3] (acosh): Likewise.
433 [XPG3] (asinh): Likewise.
434 [XPG3] (atanh): Likewise.
435 [XPG3] (cbrt): Likewise.
436 [XPG3] (expm1): Likewise.
437 [XPG3] (ilogb): Likewise.
438 [XPG3] (log1p): Likewise.
439 [XPG3] (logb): Likewise.
440 [XPG3] (nextafter): Likewise.
441 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
442 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
443 [XPG3] (remainder): Likewise.
444 [XPG3] (rint): Likewise.
445 [XPG3 || XPG4 || UNIX98] (round): Likewise.
446 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
447 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
448 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
449 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
450 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
451 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
452 [UNIX98 || XOPEN2K] (scalb): Expect.
453 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
454 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
455 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
456 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
457 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
458 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
459 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
460 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
461 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
462 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
463 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
464 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
465 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
466 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
467 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
468 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
469 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
470 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
471 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
472 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
473 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
474 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
475 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
476 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
477 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
478 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
479 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
480 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
481 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
482 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
483 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
484 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
485 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
486 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
487 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
488 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
489 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
490 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
491 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
492 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
493 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
494 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
495 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
496 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
497 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
498 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
499 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
500 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
501 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
502 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
503 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
504 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
505 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
506 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
507 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
508 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
509 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
510 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
511 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
512 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
513 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
514 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
515 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
516 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
517 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
518 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
519 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
520 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
521 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
522 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
523 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
524 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
525 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
526 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
527 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
528 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
529 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
530 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
531 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
532 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
533 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
534 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
535 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
536 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
537 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
538 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
539 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
540 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
541 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
542 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
543 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
544 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
545 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
546 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
547 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
548 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
549 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
550 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
551 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
552 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
553 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
554 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
555 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
556 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
557 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
558 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
559 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
560 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
561 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
562 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
563 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
564 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
565 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
566 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
567 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
568 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
569 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
570 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
571 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
572 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
573 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
574 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
575 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
576 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
577 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
578 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
579 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
580 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
581 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
582 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
583 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
584 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
585 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
586 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
587 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
588 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
589 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
591 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
592 _XOPEN_SOURCE_EXTENDED for XPG4.
594 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
596 * Makeconfig (localtime): Remove variable.
597 (inst_localtime-file): Likewise.
599 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
620 2012-05-01 Joseph Myers <joseph@codesourcery.com>
624 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
625 comparisons to determine direction to adjust input.
626 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
627 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
628 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
630 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
632 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
634 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
635 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
637 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
639 * math/libm-test.inc (nexttoward_test): Add more tests.
641 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
644 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
645 in version GLIBC_2.1, not GLIBC_2.0.
646 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
649 2012-04-30 Joseph Myers <joseph@codesourcery.com>
652 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
654 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
655 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
656 * math/libm-test.inc (acos_test): Add more tests.
657 (asin_test): Likewise.
658 * sysdeps/i386/fpu/libm-test-ulps: Update.
659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
662 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
664 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
665 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
666 * math/libm-test.inc (acos_test_tonearest): New function.
667 (acos_test_towardzero): Likewise.
668 (acos_test_downward): Likewise.
669 (acos_test_upward): Likewise.
670 (asin_test_tonearest): Likewise.
671 (asin_test_towardzero): Likewise.
672 (asin_test_downward): Likewise.
673 (asin_test_upward): Likewise.
674 (main): Call the new functions.
675 * sysdeps/i386/fpu/libm-test-ulps: Update.
676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
680 * math/e_exp10.c: Include <float.h>.
681 (__ieee754_exp10): Handle underflow here rather than multiplying
682 large negative argument by M_LN10.
683 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
685 * math/e_exp10l.c: Include <float.h>.
686 (__ieee754_exp10l): Handle underflow here rather than multiplying
687 large negative argument by M_LN10l.
688 * math/libm-test.inc (exp10_test): Add another test. Do not allow
689 spurious overflow exception on underflow.
691 2012-04-29 Marek Polacek <polacek@redhat.com>
693 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
694 (__fortify_function): New macro.
695 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
696 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
697 __extern_always_inline.
698 * libio/bits/stdio2.h: Likewise.
699 * libio/bits/stdio.h: Likewise.
700 * string/string.h: Likewise.
701 * string/bits/string3.h: Likewise.
702 * include/stdio.h: Likewise.
703 * stdlib/bits/stdlib.h: Likewise.
704 * stdlib/stdlib.h: Likewise.
705 * rt/bits/mqueue2.h: Likewise.
706 * rt/mqueue.h: Likewise.
707 * posix/bits/unistd.h: Likewise.
708 * posix/unistd.h: Likewise.
709 * io/bits/poll2.h: Likewise.
710 * io/bits/fcntl2.h: Likewise.
711 * io/fcntl.h: Likewise.
712 * io/sys/poll.h: Likewise.
713 * misc/bits/syslog.h: Likewise.
714 * misc/bits/syslog-ldbl.h: Likewise.
715 * misc/sys/syslog.h: Likewise.
716 * socket/bits/socket2.h: Likewise.
717 * socket/sys/socket.h: Likewise.
718 * debug/tst-chk1.c: Likewise.
719 * wcsmbs/bits/wchar2.h: Likewise.
720 * wcsmbs/bits/wchar-ldbl.h: Likewise.
721 * wcsmbs/wchar.h: Likewise.
723 2012-04-29 Andreas Jaeger <aj@suse.de>
725 * Makerules (tests): Remove enable-check-abi protection.
726 (check-abi-warn): Remove.
727 (check-abi-%): Remove check-abi-warn usage.
729 * configure.in: Remove check-abi configure option.
730 * configure: Regenerated.
731 * config.make.in (enable-check-abi): Remove.
733 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
736 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
737 double functions to double *_finite functions.
740 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
741 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
743 * stdio-common/Makefile (tests): Add tst-sprintf3.
744 * stdio-common/tst-sprintf3.c: New file.
746 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
747 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
749 2012-04-28 Joseph Myers <joseph@codesourcery.com>
751 * conform/conformtest.pl: Remove duplicate typed-constant
754 2012-04-28 David S. Miller <davem@davemloft.net>
756 * Makerules (%.abilist): Add vpath on sysdep_dirs.
757 (check-abi-%): Remove AWK script prerequisite and explicit
759 (check-abi): Rewrite to just diff the symlist with the abilist.
760 (config-tls, config-abi-config): Delete, no longer used.
761 (update-abi-%): Remove AWK script and explicit abilist directory.
762 (update-abi): Rewrite to simply compare and conditionally copy the
763 symlist and the sysdep abilist file. Remove update-abi-config
765 * abilist/ld.abilist: Remove.
766 * abilist/libBrokenLocale.abilist: Remove.
767 * abilist/libanl.abilist: Remove.
768 * abilist/libcrypt.abilist: Remove.
769 * abilist/libdl.abilist: Remove.
770 * abilist/librt.abilist: Remove.
771 * abilist/libthread_db.abilist: Remove.
772 * abilist/libutil.abilist: Remove.
773 * scripts/extract-abilist.awk: Remove.
774 * scripts/merge-abilist.awk: Remove.
775 * sysdeps/generic/libcidn.abilist: New file.
776 * sysdeps/generic/libnss_compat.abilist: New file.
777 * sysdeps/generic/libnss_db.abilist: New file.
778 * sysdeps/generic/libnss_dns.abilist: New file.
779 * sysdeps/generic/libnss_files.abilist: New file.
780 * sysdeps/generic/libnss_hesiod.abilist: New file.
781 * sysdeps/generic/libnss_nis.abilist: New file.
782 * sysdeps/generic/libnss_nisplus.abilist: New file.
783 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
784 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
785 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
787 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
788 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
789 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
790 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
791 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
792 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
793 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
794 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
795 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
797 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
798 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
799 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
800 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
802 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
803 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
804 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
805 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
806 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
807 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
809 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
810 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
811 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
813 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
834 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
836 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
838 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
885 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
889 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
916 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
917 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
918 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
920 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
921 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
922 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
923 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
924 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
925 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
926 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
927 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
928 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
929 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
930 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
951 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
953 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
955 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
974 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
976 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
978 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
981 2012-04-28 Joseph Myers <joseph@codesourcery.com>
983 * conform/conformtest.pl: Fix typo in handling typed-constant from
986 2012-04-27 Joseph Myers <joseph@codesourcery.com>
988 * README: Cut down references to pre-2.6 Linux kernels and
989 Linuxthreads. Update lists of configurations in libc and ports
990 and sort alphabetically. Say "or newer" with Linux kernel version
993 * config.h.in [IS_IN_build]: Allow compiling without optimization.
995 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
998 * math/libm-test.inc (logb_test_downward): New test to expose
999 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
1002 2012-04-27 Joseph Myers <joseph@codesourcery.com>
1005 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
1007 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
1008 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
1010 2012-04-26 Joseph Myers <joseph@codesourcery.com>
1012 * sysdeps/unix/i386/brk.S: Remove file.
1013 * sysdeps/unix/i386/dl-brk.S: Likewise.
1014 * sysdeps/unix/i386/pipe.S: Likewise.
1015 * sysdeps/unix/i386/sigreturn.S: Likewise.
1016 * sysdeps/unix/i386/syscall.S: Likewise.
1017 * sysdeps/unix/i386/vfork.S: Likewise.
1018 * sysdeps/unix/i386/wait.S: Likewise.
1020 * sysdeps/unix/common/tcsendbrk.c: Move to ...
1021 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
1023 * configure.in (arm*-none*): Do not allow without
1024 --enable-hacker-mode.
1025 (netbsd*): Remove case setting base_os.
1026 (386bsd*): Likewise.
1027 (freebsd*): Likewise.
1031 (ultrix*): Likewise.
1032 (newsos*): Likewise.
1042 (solaris[2-9]*): Likewise.
1044 * configure: Regenerated.
1046 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1049 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
1050 overflow or cancellation in calculating denominator.
1051 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
1052 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
1053 down expression to avoid unexpected rounding in newer GCCs.
1054 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
1056 2012-04-26 David S. Miller <davem@davemloft.net>
1058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
1059 long-double compat symbols.
1060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
1064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
1068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
1069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1070 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
1071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
1072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
1074 2012-04-25 David S. Miller <davem@davemloft.net>
1076 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
1077 HWCAP_* values only after the memory barriers have been defined.
1078 (atomic_full_barrier): Define.
1079 (atomic_read_barrier): Define.
1080 (atomic_write_barrier): Define.
1082 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1084 * shlib-versions: Add libgcc_s version information.
1085 * sysdeps/generic/libgcc_s.h: Remove.
1086 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
1088 * sysdeps/gnu/unwind-resume.c: Likewise.
1089 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
1091 2012-04-25 David S. Miller <davem@davemloft.net>
1093 * sysdeps/unix/sparc/brk.S: Delete.
1094 * sysdeps/unix/sparc/dl-brk.S: Delete.
1095 * sysdeps/unix/sparc/pipe.S: Delete.
1096 * sysdeps/unix/sparc/sysdep.S: Delete.
1097 * sysdeps/unix/sparc/sysdep.h: Delete.
1098 * sysdeps/unix/sparc/vfork.S: Delete.
1099 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
1100 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
1101 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
1102 ret_ERRVAL, r0, r1, MOVE): Define.
1103 (JUMPTARGET): Remove.
1104 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
1105 sysdeps/unix/sparc/sysdep.h
1106 (ENTRY, END): Remove.
1107 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1109 2012-04-25 Joseph Myers <joseph@codesourcery.com>
1111 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
1112 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
1115 * timezone/README: Update upstream location and email address for
1117 * timezone/zdump.c: Update from tzcode 2012b.
1118 * timezone/zic.c: Likewise.
1120 * configure.in (libc_cv_as_needed): Remove test.
1121 * configure: Regenerated.
1122 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
1123 conditional definition.
1124 [$(have-as-needed) != yes] (no-as-needed): Likewise.
1125 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
1126 * config.make.in (have-as-needed): Remove variable.
1128 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1129 Paul Pluzhnikov <ppluzhnikov@google.com>
1131 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
1134 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
1136 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
1137 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
1138 * sysdeps/sh/strlen.S: Likewise.
1140 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1142 * sysdeps/unix/fork.S: Remove file.
1143 * sysdeps/unix/i386/fork.S: Likewise.
1144 * sysdeps/unix/sparc/fork.S: Likewise.
1146 * sysdeps/unix/system.c: Remove file.
1147 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
1149 * sysdeps/unix/getegid.S: Remove file.
1150 * sysdeps/unix/geteuid.S: Likewise.
1152 2012-04-24 Roland McGrath <roland@hack.frob.com>
1154 * scripts/check-localplt.awk: New file.
1155 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
1157 * scripts/data/localplt-generic.data: Add a comment.
1159 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
1160 NODE when __dir_mkfile failed.
1161 * sysdeps/mach/hurd/symlinkat.c: Likewise.
1162 Reported by Ludovic Courtès <ludo@gnu.org>.
1164 2012-04-24 Andreas Jaeger <aj@suse.de>
1166 * Makerules (common-clean): Also remove gen-as-const-headers
1169 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1171 * Makerules (native-compile): Do not change working directory for
1172 build. Use $(OUTPUT_OPTION) in command.
1173 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
1175 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1178 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
1179 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
1180 * math/libm-test.inc (floor_test): Add more tests.
1181 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
1183 2012-04-24 Joseph Myers <joseph@codesourcery.com>
1185 * sysdeps/unix/getdents.c: Remove file.
1186 * sysdeps/unix/sysv/getdents.c: Likewise.
1187 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
1189 * sysdeps/unix/syscalls.list (madvise): Add syscall from
1190 sysdeps/unix/mman/syscalls.list.
1192 (mprotect): Likewise.
1195 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
1196 * sysdeps/unix/mman/syscalls.list: Remove.
1197 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
1199 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
1200 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
1201 * configure: Regenerated.
1202 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
1204 * config.make.in (libgcc_s_suffix): Remove variable.
1206 2012-04-23 Joseph Myers <joseph@codesourcery.com>
1208 * sysdeps/unix/sysv/gethostname.c: Move to ...
1209 * sysdeps/posix/gethostname.c: ... here.
1211 * sysdeps/unix/execve.S: Remove file.
1213 * sysdeps/unix/_exit.S: Remove file.
1215 2012-04-23 Andreas Jaeger <aj@suse.de>
1218 * manual/Makefile: Remove make dist support, there's no
1219 need for a stand-alone documentation tar ball.
1220 (TEXI2DVI): Define always, it's not in Makeconfig.
1224 (glibc-doc-$(edition).tar): Removed
1228 (ETAGS): Remove, it's in Makeconfig.
1229 (move-if-change): Remove, it's in Makeconfig.
1231 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
1234 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
1235 (strtod, strtof, strtold, strtol, strtoul, strtoq)
1236 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
1237 (strtod_l, strtof_l, strtold_l): Remove __wur.
1238 It is not necessarily an error to ignore strtol's return value.
1239 One can reliably look at the stored endptr to decide whether
1240 the number had valid syntax.
1242 2012-04-21 Andreas Jaeger <aj@suse.de>
1245 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
1247 2012-04-21 Joseph Myers <joseph@codesourcery.com>
1249 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
1250 * sysdeps/unix/sysv/Versions: Remove file.
1252 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
1255 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1257 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
1260 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
1261 version from __vm86.
1263 2012-04-20 Joseph Myers <joseph@codesourcery.com>
1265 * sysdeps/unix/common/lxstat.c: Remove file.
1266 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
1268 * sysdeps/unix/sysv/Makefile: Remove file.
1270 * sysdeps/unix/sysv/direct.h: Remove file.
1272 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
1273 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
1274 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
1275 * sysdeps/unix/sysv/bits/signum.h: Likewise.
1276 * sysdeps/unix/sysv/bits/stat.h: Likewise.
1277 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
1278 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
1280 * sysdeps/unix/sysv/setrlimit.c: Remove file.
1282 * sysdeps/unix/xmknod.c: Remove file.
1283 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
1285 * sysdeps/unix/sysv/settimeofday.c: Remove file.
1287 * sysdeps/unix/sysv/i386/time.S: Remove file.
1289 * sysdeps/unix/fxstat.c: Remove file.
1290 * sysdeps/unix/xstat.c: Likewise.
1291 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
1293 * sysdeps/unix/sysv/sigaction.c: Remove file.
1295 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
1296 (sysdep_headers): Remove variable.
1297 [termio.h not in sysdep_headers] (generated): Likewise.
1298 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
1299 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
1300 * sysdeps/unix/sysv/tcdrain.c: Likewise.
1301 * sysdeps/unix/sysv/tcflow.c: Likewise.
1302 * sysdeps/unix/sysv/tcflush.c: Likewise.
1303 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
1304 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
1305 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
1306 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
1307 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
1309 * sysdeps/unix/siglist.c: Remove file.
1311 * sysdeps/unix/getppid.S: Remove file.
1313 * sysdeps/unix/mkdir.c: Remove file.
1314 * sysdeps/unix/rmdir.c: Likewise.
1316 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
1318 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
1320 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
1321 errlist-compat value.
1323 2012-04-18 David S. Miller <davem@davemloft.net>
1325 * sysdeps/generic/memcopy.h (reg_char): Delete.
1326 * debug/strcat_chk.c: Use char, not reg_char.
1327 * debug/strcpy_chk.c: Likewise.
1328 * debug/strncat_chk.c: Likewise.
1329 * debug/strncpy_chk.c: Likewise.
1330 * string/memchr.c: Likewise.
1331 * string/memrchr.c: Likewise.
1332 * string/rawmemchr.c: Likewise.
1333 * string/strcat.c: Likewise.
1334 * string/strchr.c: Likewise.
1335 * string/strchrnul.c: Likewise.
1336 * string/strcmp.c: Likewise.
1337 * string/strcpy.c: Likewise.
1338 * string/strncat.c: Likewise.
1339 * string/strncmp.c: Likewise.
1340 * string/strncpy.c: Likewise.
1342 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1344 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
1345 __builtin_memcopy is called when src and dest ranges are known to not
1348 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1350 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
1351 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
1352 fwd_align_merge macro call.
1353 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
1354 bwd_align_merge macro call.
1355 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1357 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
1359 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
1360 bwd_align_merge macros.
1361 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
1362 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
1363 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1365 2012-04-18 David S. Miller <davem@davemloft.net>
1367 * sysdeps/sparc/sparc64/memcopy.h: Delete.
1369 2012-04-18 Andreas Jaeger <aj@suse.de>
1372 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
1373 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
1374 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1376 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
1377 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
1378 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1380 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
1381 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
1382 Adjust for changed ldbl-128 files.
1384 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
1385 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
1386 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
1388 2012-04-17 David S. Miller <davem@davemloft.net>
1390 * sysdeps/sparc/sparc32/memcopy.h: Delete.
1392 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
1394 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
1395 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
1396 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
1397 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
1398 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1399 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
1401 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1404 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
1405 * math/libm-test.inc: Add ilogb errno and exception tests.
1406 * math/w_ilogb.c: New file: ilogb wrapper.
1407 * math/w_ilogbf.c: New file: ilogbf wrapper.
1408 * math/w_ilogbl.c: New file: ilogbl wrapper.
1409 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
1410 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
1411 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
1412 exception being thrown with 0.0 as argument.
1413 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
1414 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
1415 exception being thrown with 0.0 as argument.
1416 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
1417 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1418 exception being thrown with 0.0 as argument.
1419 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
1420 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
1421 exception being thrown with 0.0 as argument.
1422 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
1423 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
1424 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
1425 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
1426 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
1427 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
1428 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
1429 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
1430 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
1432 2012-04-17 Petr Baudis <pasky@ucw.cz>
1434 * include/sys/uio.h: Change __vector to __iovec to avoid clash
1437 2012-04-16 Marek Polacek <polacek@redhat.com>
1439 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
1441 2012-04-16 Marek Polacek <polacek@redhat.com>
1443 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
1444 operands of fdivp instruction.
1446 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1448 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
1449 * elf/tst-auditmod3b.c: Likewise.
1450 * elf/tst-auditmod4b.c: Likewise.
1451 * elf/tst-auditmod5b.c: Likewise.
1452 * elf/tst-auditmod6b.c: Likewise.
1453 * elf/tst-auditmod6c.c: Likewise.
1454 * elf/tst-auditmod7b.c: Likewise.
1455 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
1456 * sysdeps/x86_64/preconfigure.in: Likewise.
1457 * sysdeps/x86_64/preconfigure: Regenerated.
1459 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
1461 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
1464 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
1466 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
1467 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
1469 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
1472 * locale/iso-639.def: Fix gl language name. Spotted by
1475 2012-04-12 Roland McGrath <roland@hack.frob.com>
1478 * libio/libio.h (__io_write_fn): Update comment.
1480 2012-04-12 Petr Baudis <pasky@ucw.cz>
1483 * stdio.texi (Hook Functions): The user provided writer function
1484 is not allowed to return -1.
1486 2012-04-11 David S. Miller <davem@davemloft.net>
1488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1490 2012-04-11 Mike Frysinger <vapier@gentoo.org>
1492 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
1493 Add a leading slash to rtkaio.
1495 2012-04-11 Jim Meyering <meyering@redhat.com>
1498 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
1499 It is not necessarily an error to ignore fwrite's return
1500 value. One can reliably use ferror to test for errors after
1503 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1505 * bits/types.h (__snseconds_t): New type.
1506 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
1508 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
1509 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
1510 (__SNSECONDS_T_TYPE): Likewise.
1511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
1512 (__SNSECONDS_T_TYPE): Likewise.
1513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1514 (__SNSECONDS_T_TYPE): Likewise.
1516 2012-04-10 Andreas Jaeger <aj@suse.de>
1519 * manual/time.texi (Processor Time): Return type of times is
1520 elapsed real time since an arbitrary point in the past.
1521 (CPU Time): Move CLK_TCK from here...
1522 (Processor Time): ...to here. Correct description.
1523 * manual/conf.texi (Constants for Sysconf): Correct description of
1526 2012-04-10 David S. Miller <davem@davemloft.net>
1529 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
1530 where the is a gap between DT_REL(A) and DT_JMPREL.
1532 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
1534 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
1535 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1536 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1538 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1540 * elf/dl-support.c (_dl_inhibit_cache): New variable.
1541 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
1542 (dl_main): Handle --inhibit-cache.
1543 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
1545 * elf/dl-load.c (_dl_map_object): Use it.
1546 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
1548 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1551 * sysdeps/i386/fpu/e_powl.S (p78): New object.
1552 (__ieee754_powl): Saturate large exponents rather than testing for
1553 overflow of y*log2(x).
1554 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
1555 * math/libm-test.inc (pow_test): Do not permit spurious overflow
1559 * math/s_ctan.c: Include <float.h>.
1560 (__ctan): Avoid internal overflow or cancellation in calculating
1562 * math/s_ctanf.c: Likewise.
1563 * math/s_ctanl.c: Likewise.
1564 * math/s_ctanh.c: Likewise.
1565 * math/s_ctanhf.c: Likewise.
1566 * math/s_ctanhl.c: Likewise.
1567 * math/libm-test.inc (ctan_test): Add more tests.
1568 (ctanh_test): Likewise.
1569 * sysdeps/i386/fpu/libm-test-ulps: Update.
1570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1572 2012-04-09 Andreas Jaeger <aj@suse.de>
1575 * manual/filesys.texi (Directory Entries): Mention that d_namlen
1576 is an optional BSD extension.
1579 * manual/stdio.texi (Opening Streams): Document additional fopen
1582 2012-04-09 Roland McGrath <roland@hack.frob.com>
1584 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
1585 %eax without telling the compiler.
1587 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
1590 * manual/install.texi: Use sourceware.org.
1592 2012-04-09 Joseph Myers <joseph@codesourcery.com>
1595 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
1596 (__ieee754_pow): Generate overflow and underflow using huge*huge
1597 and tiny*tiny rather than just returning constant infinity or zero
1598 for large exponents.
1599 * math/libm-test.inc (pow_test): Require overflow exceptions for
1600 applicable cases of large exponents.
1603 * sysdeps/i386/fpu/e_pow.S (p10): New object.
1604 (__ieee754_pow): Use iterative multiplication algorithm only for
1605 integer exponents with absolute value below 1024. Check for odd
1606 integer exponents when using algorithm for real exponents.
1607 * math/libm-test.inc (pow_test): Add more tests.
1608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1610 2012-04-08 Joseph Myers <joseph@codesourcery.com>
1613 * math/libm-test.inc (exp_test): Do not allow overflow exception
1616 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
1619 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
1620 instead of __kernel_standard_f.
1622 2012-04-08 Mike Frysinger <vapier@gentoo.org>
1624 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
1625 * sysdeps/x86_64/memset_chk.S: Likewise.
1627 2012-04-08 Andreas Jaeger <aj@suse.de>
1630 * manual/startup.texi (Environment Access): Describe return value
1631 for putenv and setenv.
1634 * manual/filesys.texi (Directory Entries): Add description for
1638 * manual/filesys.texi (Directory Entries): Clarify that it's file
1639 system not operating system in the description of DT_UNKNOWN.
1642 * manual/syslog.texi (closelog): Fix reference, it's openlog.
1644 2012-04-08 Stephen Compall <s11@member.fsf.org>
1647 * manual/llio.texi (Opening and Closing Files): Add cross
1648 reference to explain mode argument.
1650 2012-04-07 Mike Frysinger <vapier@gentoo.org>
1652 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
1653 * sysdeps/x86_64/memset_chk.S: Likewise.
1655 2012-04-07 David S. Miller <davem@davemloft.net>
1657 * elf/elf.h (R_SPARC_WDISP10): Define.
1658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
1660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
1661 R_SPARC_SIZE64 and R_SPARC_H34.
1663 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
1665 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
1666 conditions and remove no longer applicable assertion.
1668 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1670 * bits/byteswap.h: Include <features.h>.
1671 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
1672 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
1674 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
1676 * bits/byteswap.h (__bswap_16): Removed.
1677 Include <bits/byteswap-16.h> to get __bswap_16.
1678 * sysdeps/i386/bits/byteswap.h: Likewise.
1679 * sysdeps/s390/bits/byteswap.h: Likewise.
1680 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1681 * bits/byteswap-16.h: New file.
1682 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1683 * sysdeps/s390/bits/byteswap-16.h: Likewise.
1684 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
1685 * string/Makefile (headers): Add bits/byteswap-16.h.
1687 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1690 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
1692 * nss/Makefile (tests-static, tests): Add tst-nss-static.
1693 * nss/tst-nss-static.c: New.
1695 2012-04-06 Robert Millan <rmh@gnu.org>
1698 * manual/llio.texi (File Position Primitive): lseek
1699 refers to WHENCE when it really means OFFSET.
1701 2012-04-06 Andreas Jaeger <aj@suse.de>
1703 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
1704 strncmp declarations.
1706 * abilist/libc.abilist: Add __poll and __ppoll.
1708 2012-04-05 David S. Miller <davem@davemloft.net>
1710 * scripts/check-local-headers.sh: Accept a host triplet in the
1711 path matched by the exclude regexp.
1713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
1715 * sysdeps/powerpc/powerpc32/dl-machine.h
1716 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
1717 * sysdeps/s390/s390-32/dl-machine.h
1718 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1719 * sysdeps/sparc/sparc32/dl-machine.h
1720 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1721 * sysdeps/sparc/sparc64/dl-machine.h
1722 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
1724 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
1726 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
1727 undefined symbol errors.
1729 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
1732 2012-04-05 Michael Matz <matz@suse.de>
1735 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
1737 2012-04-05 Andreas Jaeger <aj@suse.de>
1740 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
1743 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1745 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
1746 which ROUND is no valid rounding mode.
1748 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1750 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
1752 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
1754 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1756 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
1757 an exception using FPU order intentionally.
1759 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1761 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
1762 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
1763 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
1764 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
1766 2012-04-05 Simon Josefsson <simon@josefsson.org>
1769 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
1770 EINVAL when BUFLEN is too smal.
1772 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
1775 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
1776 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
1778 2012-04-03 Andreas Jaeger <aj@suse.de>
1781 * manual/setjmp.texi (System V contexts): Fix sentence.
1784 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
1785 New macro for this case.
1786 [!__GNUC__] (__bswap_64): New inline function for this case.
1787 * sysdeps/x86_64/bits/byteswap.h: Likewise.
1788 * bits/byteswap.h: Likewise.
1789 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
1790 ull, guard with __GLIBC_HAVE_LONG_LONG.
1792 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
1793 __GLIBC_HAVE_LONG_LONG.
1795 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
1796 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
1798 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1801 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
1802 inptr and inend, rather than using last_ch.
1804 2012-04-02 David S. Miller <davem@davemloft.net>
1806 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
1807 * stdio-common/printf-parse.h (read_int): Change return type to
1808 'int', return -1 on INT_MAX overflow.
1809 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
1810 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
1811 overflows INT_MAX. Check for overflow of in-format-string precision
1812 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
1813 SIZE_MAX not INT_MAX for integer overflow test.
1814 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
1815 skip the construct in the format string but do not record anything.
1816 * stdio-common/bug22.c: Adjust to test both width/prevision
1817 INT_MAX overflow as well as total length INT_MAX overflow. Check
1818 explicitly for proper errno values.
1820 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
1822 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
1824 * string/test-strcmp.c [! WIDE]: Likewise.
1825 * time/tst-mktime2.c: Likewise for INT_MAX.
1826 * string/test-string.h: #include <sys/param.h> for MIN.
1828 * csu/init-first.c (__libc_init_first): Call __ctype_init.
1829 * sysdeps/i386/init-first.c (init): Likewise.
1830 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
1831 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
1832 * sysdeps/sh/init-first.c (init): Likewise.
1834 2012-04-01 Ulrich Drepper <drepper@gmail.com>
1836 * po/ru.po: Update from translation team.
1837 * po/vi.po: Likewise.
1839 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1841 * resolv/nss_dns/dns-host.c: Merge copyright years.
1843 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
1845 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
1846 Optimize memcpy with prefetch if
1847 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
1848 src, dst pointers have unequal 16 byte alignments.
1850 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1853 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
1854 from a CNAME entry and return the minimum ttl for the query.
1855 (gaih_getanswer_slice): Likewise.
1857 2012-03-30 Jeff Law <law@redhat.com>
1859 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
1861 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
1862 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1864 * resolv/nss_dns/dns-host.c: Update copyright year.
1866 2012-03-30 Ulrich Drepper <drepper@gmail.com>
1868 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
1869 requests to save a system call. Fix check that all bytes are sent.
1871 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
1872 comments for sendmmsg.
1874 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1877 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
1878 with only 1 character between 0x0041 and 0x01b0.
1879 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
1880 * wcsmbs/tst-mbsnrtowcs.c: New file.
1882 2012-03-29 David S. Miller <davem@davemloft.net>
1884 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
1885 small copies by hand.
1887 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1890 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
1891 _nss_compat_initgroups_dyn): Fall back to malloc/free
1892 for large group memberships.
1894 2012-03-28 David S. Miller <davem@davemloft.net>
1896 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
1897 that branches into memcpy.
1898 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1899 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1901 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
1904 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
1906 * sysdeps/sparc/mempcpy.S: New file.
1908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
1909 the IFUNC routine in the libc case.
1910 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1912 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
1913 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
1914 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
1915 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
1916 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
1917 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
1918 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
1919 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
1921 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
1922 loop to 256 bytes instead of 64 bytes and fix test signedness.
1924 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
1925 * sysdeps/sparc/sparc32/Makefile: rather than here...
1926 * sysdeps/sparc/sparc64/Makefile: and here.
1928 2012-03-28 Ulrich Drepper <drepper@gmail.com>
1930 * malloc/mallocbug.c: Avoid warnings about unused variables.
1932 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1935 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
1936 in the right place. Discard and retry query if response is
1937 larger than input buffer size.
1939 2012-03-28 Joseph Myers <joseph@codesourcery.com>
1944 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
1945 x for large integer exponent.
1946 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1947 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
1948 sign of result as needed afterwards.
1949 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1950 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
1951 result for underflowing pow the same as for overflow.
1952 (__kernel_standard_l): Handle powl overflow and underflow here
1953 rather than calling __kernel_standard.
1954 * math/libm-test.inc (pow_test): Add more tests.
1969 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
1970 * sysdeps/ieee754/k_standard.c: Include <float.h>.
1971 (__kernel_standard_l): New function.
1972 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
1974 * math/w_acosl.c (__acosl): Likewise.
1975 * math/w_asinl.c (__asinl): Likewise.
1976 * math/w_atan2l.c (__atan2l): Likewise.
1977 * math/w_atanhl.c (__atanhl): Likewise.
1978 * math/w_coshl.c (__coshl): Likewise.
1979 * math/w_exp10l.c (__exp10l): Likewise.
1980 * math/w_exp2l.c (__exp2l): Likewise.
1981 * math/w_fmodl.c (__fmodl): Likewise.
1982 * math/w_hypotl.c (__hypotl): Likewise.
1983 * math/w_j0l.c (__j0l, __y0l): Likewise.
1984 * math/w_j1l.c (__j1l, __y1l): Likewise.
1985 * math/w_jnl.c (__jnl, __ynl): Likewise.
1986 * math/w_lgammal.c (__lgammal): Likewise.
1987 * math/w_log10l.c (__log10l): Likewise.
1988 * math/w_log2l.c (__log2l): Likewise.
1989 * math/w_logl.c (__logl): Likewise.
1990 * math/w_powl.c (__powl): Likewise.
1991 * math/w_remainderl.c (__remainderl): Likewise.
1992 * math/w_scalbl.c (sysv_scalbl): Likewise.
1993 * math/w_sinhl.c (__sinhl): Likewise.
1994 * math/w_sqrtl.c (__sqrtl): Likewise.
1995 * math/w_tgammal.c (__tgammal): Likewise.
1996 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
1997 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
1998 * math/libm-test.inc (acos_test): Add more tests.
1999 (acosh_test): Likewise.
2000 (asin_test): Likewise.
2001 (atanh_test): Likewise.
2002 (exp_test): Likewise.
2003 (exp10_test): Likewise.
2004 (exp2_test): Likewise.
2005 (expm1_test): Likewise.
2006 (lgamma_test): Likewise.
2007 (log_test): Likewise.
2008 (log10_test): Likewise.
2009 (log1p_test): Likewise.
2010 (log2_test): Likewise.
2011 (pow_test): Do not allow some spurious overflow exceptions.
2012 (sqrt_test): Add more tests.
2013 (tgamma_test): Likewise.
2014 (y0_test): Likewise.
2015 (y1_test): Likewise.
2016 (yn_test): Likewise.
2018 2012-03-27 Anton Blanchard <anton@samba.org>
2020 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
2022 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
2023 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
2024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2026 2012-03-27 David S. Miller <davem@davemloft.net>
2028 * conform/Makefile: Run run-conformtest.sh using $(BASH).
2030 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
2033 2012-03-27 Andreas Jaeger <aj@suse.de>
2035 * sysdeps/x86_64/elf/configure.in: Moved to ...
2036 * sysdeps/x86_64/configure.in: ... here.
2037 * sysdeps/x86_64/elf/start.S: Moved to ...
2038 * sysdeps/x86_64/start.S: ... here.
2039 * sysdeps/x86_64/elf/configure: Delete.
2041 * sysdeps/x86_64/configure.in: Merge contents from
2042 sysdeps/i386/configure.in (without i686 check).
2044 * sysdeps/i386/elf/Versions: Merge into ...
2045 * sysdeps/i386/Versions: ... this.
2046 * sysdeps/i386/elf/Versions: Delete file.
2047 * sysdeps/i386/elf/start.S: Moved to ...
2048 * sysdeps/i386/start.S: ...here.
2049 * sysdeps/i386/elf/configure.in: Merge into...
2050 * sysdeps/i386/configure.in: ...here.
2051 * sysdeps/i386/elf/configure.in: Delete file.
2052 * sysdeps/i386/elf/configure: Delete file.
2054 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
2055 * debug/backtracesyms.c: ... here.
2056 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
2057 * debug/backtracesymsfd.c: ... here.
2058 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
2059 * sysdeps/generic/ifunc-sel.h: ... here.
2061 * sysdeps/unix/i386/start.c: Delete file.
2062 * sysdeps/unix/sparc/start.c: Delete file.
2063 * sysdeps/unix/start.c: Delete file.
2065 * sysdeps/sh/elf/configure.in: Moved to ...
2066 * sysdeps/sh/configure.in: ... here.
2067 * sysdeps/sh/elf/start.S: Moved to ...
2068 * sysdeps/sh/start.S: ... here.
2069 * sysdeps/sh/elf/configure: Delete file.
2071 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
2072 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
2073 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
2074 * sysdeps/powerpc/powerpc64/entry.h: ... here.
2075 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
2076 * sysdeps/powerpc/powerpc64/start.S: here.
2077 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
2078 * sysdeps/powerpc/powerpc64/Makefile: ... this.
2079 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
2080 * sysdeps/powerpc/powerpc64/configure.in: ... this.
2081 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2083 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
2084 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
2085 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
2086 * sysdeps/powerpc/powerpc32/start.S: ... here.
2087 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
2088 * sysdeps/powerpc/powerpc32/configure.in: ... this.
2089 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2091 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
2092 * sysdeps/powerpc/ifunc-sel.h: ... here.
2093 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
2094 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2096 * sysdeps/sparc/elf/configure.in: Moved to ...
2097 * sysdeps/sparc/configure.in: ... here.
2098 * sysdeps/sparc/elf/configure: Delete file.
2099 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
2100 * sysdeps/sparc/sparc32/start.S: ... here.
2101 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
2102 * sysdeps/sparc/sparc64/start.S: ... here.
2103 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
2104 * sysdeps/sparc/sparc32/Makefile: ... this.
2105 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
2106 * sysdeps/sparc/sparc64/Makefile: ... this.
2108 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
2109 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
2110 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
2111 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
2112 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
2113 * sysdeps/s390/s390-32/setjmp.S: ... here.
2114 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
2115 * sysdeps/s390/s390-32/configure.in: ... here.
2116 * sysdeps/s390/s390-32/elf/configure: Delete file.
2117 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
2118 * sysdeps/s390/s390-32/start.S: ... here.
2120 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
2121 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
2122 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
2123 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
2124 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
2125 * sysdeps/s390/s390-64/setjmp.S: ... here.
2126 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
2127 * sysdeps/s390/s390-64/configure.in: ... here
2128 * sysdeps/s390/s390-64/elf/configure: Delete file.
2129 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
2130 * sysdeps/s390/s390-64/start.S: ... here.
2131 * sysdeps/s390/s390-64/elf/configure: Delete.
2133 * configure.in: Remove support for elf directories in sysdeps.
2135 * configure: Regenerated.
2136 * sysdeps/i386/configure: Regenerated.
2137 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2138 * sysdeps/powerpc/powerpc64/configure: Regenerated.
2139 * sysdeps/s390/s390-32/configure: Regenerated.
2140 * sysdeps/s390/s390-64/configure: Regenerated.
2141 * sysdeps/sh/configure: Regenerated.
2142 * sysdeps/sparc/configure: Regenerated.
2143 * sysdeps/x86_64/configure: Regenerated.
2145 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
2147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2149 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
2150 denormal result into account.
2152 2012-03-25 Roland McGrath <roland@hack.frob.com>
2154 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
2155 Reported by Allan McRae <allan@archlinux.org>.
2157 2012-03-23 Jeff Law <law@redhat.com>
2159 * nss/getnssent.c (__nss_getent): Fix typo.
2161 2012-03-23 David S. Miller <davem@davemloft.net>
2163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2165 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
2167 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
2168 to pad to uint64_t for each field.
2169 (dl_tls_index): Replace unsigned long with uint64_t.
2171 2012-03-23 Daniel Jacobowitz <dmj@google.com>
2172 Paul Pluzhnikov <ppluzhnikov@google.com>
2175 * grp/Makefile (otherlibs): Don't set it.
2176 * inet/Makefile (otherlibs): Likewise.
2177 * login/Makefile (otherlibs): Likewise.
2178 * nscd/Makefile (otherlibs): Likewise.
2179 * posix/Makefile (otherlibs): Likewise.
2180 * pwd/Makefile (otherlibs): Likewise.
2181 * rt/Makefile (otherlibs): Likewise.
2182 * sunrpc/Makefile (otherlibs): Likewise.
2183 * nss/Makefile (otherlibs): Likewise.
2184 Add libnss_files to routines and static-only-routines.
2185 ($(objpfx)getent): Remove rule.
2186 * resolv/Makefile: Add libnss_dns and libresolv to routines and
2187 static-only-routines.
2189 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2192 * math/s_cexp.c: Include <float.h>.
2193 (__cexp): Handle exp result overflowing not necessarily
2194 overflowing both real and imaginary parts of result.
2195 * math/s_cexpf.c: Likewise.
2196 * math/s_cexpl.c: Likewise.
2197 * math/libm-test.inc (cexp_test): Add more tests.
2198 * sysdeps/i386/fpu/libm-test-ulps: Update.
2199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2201 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2203 * include/link.h (ELFW): New macro.
2204 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
2205 Replace ELF64_R_TYPE with ELFW(R_TYPE).
2207 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2209 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
2212 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2214 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
2216 (struct La_x32_retval): Likewise.
2218 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
2220 * sysdeps/x86_64/preconfigure.in: New file.
2221 * sysdeps/x86_64/preconfigure: New generated file.
2223 2012-03-22 Joseph Myers <joseph@codesourcery.com>
2226 * math/e_exp2l.c: Include <float.h>.
2227 (__ieee754_exp2l): Handle overflow and underflow cases
2228 separately. Only pass fractional part of argument to
2230 * math/libm-test.inc (exp2_test): Add more tests.
2232 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
2233 negating x to take absolute value.
2234 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
2236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
2239 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
2240 computing low part if x was negated.
2241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2243 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2245 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
2247 (pltexit): Cast int_retval to ptrdiff_t.
2248 * elf/tst-auditmod3b.c: Likewise.
2249 * elf/tst-auditmod4b.c: Likewise.
2250 * elf/tst-auditmod5b.c: Likewise.
2251 * elf/tst-auditmod6b.c: Likewise.
2252 * elf/tst-auditmod6c.c: Likewise.
2253 * elf/tst-auditmod7b.c: Likewise.
2255 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
2256 and x32_gnu_pltexit.
2258 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
2260 (La_x32_regs): New macro.
2261 (La_x32_retval): Likewise.
2262 (la_x32_gnu_pltenter): New function prototype.
2263 (la_x32_gnu_pltexit): Likewise.
2265 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
2267 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
2270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2272 * configure.in (libc_cv_cc_nofma): Check for option to disable
2273 generation of FMA instructions.
2274 * configure: Regenerate.
2275 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
2276 * sysdeps/ieee754/dbl-64/Makefile: New file.
2277 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
2278 Remove brandred-fma4.
2279 (CFLAGS-brandred-fma4.c): Remove.
2280 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
2281 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
2283 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
2286 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2288 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2289 LLONG_MAX != LONG_MAX.
2290 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2291 (_fitoa_word): Likewise.
2292 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
2293 LLONG_MAX != LONG_MAX.
2294 * stdio-common/_itowa.h: Include <_itoa.h>.
2295 (_itowa_word): Use _ITOA_WORD_TYPE on value.
2296 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
2297 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
2298 only if not defined.
2299 (_ITOA_WORD_TYPE): Likewise.
2300 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2301 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
2303 2012-03-21 David S. Miller <davem@davemloft.net>
2305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2307 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
2309 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
2310 of x86_64 when setting libc_cv_slibdir, libdir and
2312 * sysdeps/unix/sysv/linux/configure: Regenerated.
2314 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2316 * manual/lang.texi (Old Varargs): Remove section.
2317 (How Variadic): Update menu.
2318 (va_start): Do not mention varargs.h.
2320 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2321 Joseph Myers <joseph@codesourcery.com>
2323 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
2325 * configure: Regenerated.
2327 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
2329 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
2330 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
2333 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2336 * Makefile (files-for-dist): Remove NOTES.
2337 (NOTES): Remove rule.
2338 * README: Don't refer to NOTES.
2339 * manual/creature.texi: Don't include macros.texi.
2340 * manual/intro.texi (creature.texi): Remove comment referring to
2343 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
2344 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
2345 * configure: Regenerated.
2346 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
2348 (libc_cv_as_i686): Likewise.
2349 (libc_cv_cc_avx): Likewise.
2350 (libc_cv_cc_sse2avx): Likewise.
2351 (libc_cv_cc_fma4): Likewise.
2352 (libc_cv_cc_novzeroupper): Likewise.
2353 * sysdeps/i386/configure: Regenerated.
2356 * sysdeps/i386/fpu/s_cexp.S: Remove.
2357 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
2358 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
2359 * math/libm-test.inc (cexp_test): Add more tests.
2360 * sysdeps/i386/fpu/libm-test-ulps: Update.
2361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2363 2012-03-21 Allan McRae <allan@archlinux.org>
2365 * timezone/Makefile: Do not install iso3166.tab and zone.tab
2367 2012-03-21 Joseph Myers <joseph@codesourcery.com>
2370 * math/w_exp2.c: Do not include <float.h>.
2371 (o_threshold, u_threshold): Remove.
2372 (__exp2): Calculate result before checking finiteness and calling
2374 * math/w_exp2f.c: Likewise.
2375 * math/w_exp2l.c: Likewise.
2376 * math/libm-test.inc (exp2_test): Require overflow exception for
2380 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
2381 range of signed 64-bit integers before using fistpll. Remove
2382 checks for whether integers fit in mantissa bits.
2383 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
2384 the range of signed 32-bit integers before using fistpl. Remove
2385 checks for whether integers fit in mantissa bits.
2386 * sysdeps/i386/fpu/e_powl.S (p64): New object.
2387 (__ieee754_powl): Test for y outside the range of signed 64-bit
2388 integers before using fistpll. Reduce 64-bit values to 63-bit
2390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
2391 divide-by-zero is raised for zero to large negative powers.
2392 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
2393 (__ieee754_powl): Test for y outside the range of signed 64-bit
2394 integers before using fistpll. Reduce 64-bit values to 63-bit
2396 * math/libm-test.inc (pow_test): Add more tests.
2398 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2400 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
2401 <stdio-common/_itoa.h>.
2402 * debug/segfault.c: Likewise.
2403 * elf/dl-cache.c: Likewise.
2404 * elf/dl-minimal.c: Likewise.
2405 * elf/dl-misc.c: Likewise.
2406 * elf/dl-sysdep.c: Likewise.
2407 * elf/dl-version.c: Likewise.
2408 * elf/rtld.c: Likewise.
2409 * hurd/hurdsock.c: Likewise.
2410 * hurd/lookup-retry.c: Likewise.
2411 * malloc/malloc.c: Likewise.
2412 * malloc/mtrace.c: Likewise.
2413 * nscd/nscd_getgr_r.c: Likewise.
2414 * nscd/nscd_getpw_r.c: Likewise.
2415 * nscd/nscd_getserv_r.c: Likewise.
2416 * posix/getopt_init.c: Likewise.
2417 * posix/wordexp.c: Likewise.
2418 * stdio-common/_itoa.c: Likewise.
2419 * stdio-common/printf_fphex.c: Likewise.
2420 * stdio-common/vfprintf.c: Likewise.
2421 * string/_strerror.c: Likewise.
2422 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
2423 * sysdeps/i386/i686/hp-timing.h: Likewise.
2424 * sysdeps/mach/_strerror.c: Likewise.
2425 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
2426 * sysdeps/mach/hurd/sethostid.c: Likewise.
2427 * sysdeps/mach/hurd/xmknodat.c: Likewise.
2428 * sysdeps/mach/xpg-strerror.c: Likewise.
2429 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2430 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
2431 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
2432 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
2433 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
2434 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
2435 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
2436 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
2437 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
2438 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
2439 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
2440 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2441 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
2442 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2443 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2444 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
2445 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
2446 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
2447 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2448 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2449 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
2451 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
2453 * stdio-common/_itoa.h: Moved to ...
2454 * sysdeps/generic/_itoa.h: Here.
2456 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
2458 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
2459 instead of "_itoa.h" and "_itowa.h".
2460 * stdio-common/vfprintf.: Likewise.
2462 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2464 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
2466 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
2467 (__signbit): Likwise.
2471 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
2473 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
2476 2012-03-20 Joseph Myers <joseph@codesourcery.com>
2478 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
2479 OVERFLOW_EXCEPTION_OK.
2480 * math/libm-test.inc ("Philosophy"): Update comment about
2482 (OVERFLOW_EXCEPTION): Define.
2483 (OVERFLOW_EXCEPTION_OK): Likewise.
2484 (INVALID_EXCEPTION_OK): Renumber.
2485 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2486 (IGNORE_ZERO_INF_SIGN): Likewise.
2487 (test_exceptions): Handle FE_OVERFLOW.
2488 (exp10_test): Expect overflow exceptions.
2489 (exp2_test): Likewise.
2490 (expm1_test): Likewise.
2491 (nextafter_test): Likewise.
2492 (pow_test): Likewise.
2493 (scalbn_test): Likewise.
2494 (scalbln_test): Likewise.
2496 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2498 * sysdeps/x86_64/bits/atomic.h
2499 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
2501 (atomic_exchange_acq): Likewise.
2502 (__arch_exchange_and_add_body): Likewise.
2503 (__arch_add_body): Likewise.
2504 (atomic_add_negative): Likewise.
2505 (atomic_add_zero): Likewise.
2507 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2509 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
2510 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
2512 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2514 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
2515 Check __x86_64__ instead of __WORDSIZE.
2517 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2519 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
2521 2012-03-19 David S. Miller <davem@davemloft.net>
2523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2525 * sysdeps/sparc/fpu/fenv_private.h: New file.
2526 * sysdeps/sparc/fpu/math_private.h: Use it.
2527 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
2529 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
2530 (libc_feholdexcept_setroundl): Remove.
2531 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
2533 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
2534 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
2536 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2538 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
2539 int64_t instead of long int.
2540 (INSERT_WORDS64): Likwise.
2542 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
2544 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
2545 _Unwind_GetCFA return to _Unwind_Ptr first.
2547 2012-03-19 Joseph Myers <joseph@codesourcery.com>
2550 * math/s_clog.c: Include <float.h>.
2551 (__clog): Scale large or subnormal inputs.
2552 * math/s_clogf.c: Likewise.
2553 * math/s_clogl.c: Likewise.
2554 * math/s_clog10.c: Include <float.h>.
2555 (M_LOG10_2): Define.
2556 (__clog10): Scale large or subnormal inputs.
2557 * math/s_clog10f.c: Likewise.
2558 * math/s_clog10l.c: Likewise.
2559 * math/libm-test.inc (clog_test): Add more tests.
2560 (clog10_test): Likewise.
2561 * sysdeps/i386/fpu/libm-test-ulps: Update.
2562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2565 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
2567 * math/libm-test.inc (atan2_test): Add another test.
2569 * Makerules (common-objdir-compile): Remove.
2570 * sysdeps/unix/Makefile (config-generated): Do not add
2571 $(unix-generated) to variable.
2572 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
2573 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
2575 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
2577 [generic bits/local_lim.h] (before-compile): Do not append to
2579 [generic bits/local_lim.h] (common-generated): Likewise.
2580 [generic sys/param.h] (before-compile): Do not append to variable.
2581 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
2582 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
2583 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
2584 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
2586 [generic sys/param.h] (sys/param.h-includes): Remove variable.
2587 [generic sys/param.h] (sys/param.h-includes): Remove rule.
2588 [generic sys/param.h] ($(addprefix
2589 $(common-objpfx),$(sys/param.h-includes))): Likewise.
2590 [generic sys/param.h] (common-generated): Do not append to
2592 [generic sys/param.h] (sysdep_headers): Likewise.
2593 [generic bits/errno.h] (before-compile): Do not append to
2595 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
2597 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
2598 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
2599 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
2600 [generic bits/errno.h] (common-generated): Do not append to
2602 [generic bits/ioctls.h] (before-compile): Do not append to
2604 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
2606 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
2607 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
2608 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
2610 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
2611 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
2612 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
2613 [generic bits/ioctls.h] (common-generated): Do not append to
2615 [generic sys/syscall.h] (syscall.h): Remove variable.
2616 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
2618 [generic sys/syscall.h] (before-compile): Do not append to
2620 [generic sys/syscall.h] (common-generated): Likewise.
2621 * sysdeps/unix/errnos-tmpl.c: Remove file.
2622 * sysdeps/unix/errnos.awk: Likewise.
2623 * sysdeps/unix/ioctls-tmpl.c: Likewise.
2624 * sysdeps/unix/ioctls.awk: Likewise.
2625 * sysdeps/unix/mk-local_lim.c: Likewise.
2626 * sysdeps/unix/snarf-ioctls: Likewise.
2628 2012-03-19 Richard Henderson <rth@twiddle.net>
2630 * sysdeps/i386/fpu/fenv_private.h: New file.
2631 * sysdeps/i386/fpu/math_private.h: Use it.
2632 (math_opt_barrier, math_force_eval): Remove.
2633 (libc_feholdexcept_setround_53bit): Remove.
2634 (libc_feupdateenv_53bit): Remove.
2635 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2636 (math_opt_barrier, math_force_eval): Remove.
2637 (libc_feholdexcept): Remove.
2638 (libc_feholdexcept_setround): Remove.
2639 (libc_fetestexcept, libc_fesetenv): Remove.
2640 (libc_feupdateenv_test): Remove.
2641 (libc_feupdateenv, libc_feholdsetround): Remove.
2642 (libc_feresetround): Remove.
2644 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
2645 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2647 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
2648 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
2649 (libc_feupdateenv_testl): New.
2650 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
2651 (libc_feupdateenv_testf): New.
2652 (libc_feupdateenv): Use libc_feupdateenv_test.
2653 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
2654 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
2656 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
2657 (libc_feholdsetroundf, libc_feholdsetroundl): New.
2658 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
2659 (libc_feresetround_noex): New.
2660 (libc_feresetround_noexf): New.
2661 (libc_feresetround_noexl): New.
2662 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
2663 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
2664 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
2665 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
2667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
2668 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
2670 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
2671 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
2672 SET_RESTORE_ROUND_NOEX.
2673 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
2674 SET_RESTORE_ROUND_NOEXF.
2675 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
2676 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
2677 (libc_feholdsetroundf): New.
2678 (libc_feresetround, libc_feresetroundf): New.
2680 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
2681 (libc_feholdexcept_setround_53bit): Convert from macro to function.
2682 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
2684 * sysdeps/generic/math_private.h: Include <fenv.h>.
2685 (default_libc_feholdexcept): New.
2686 (default_libc_feholdexcept_setround): New.
2687 (default_libc_fesetenv, default_libc_feupdateenv): New.
2688 (libc_feholdexcept): Only define if undefined.
2689 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
2690 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
2691 (libc_feholdexcept_setroundl): Likewise.
2692 (libc_feholdexcept_setround_53bit): Likewise.
2693 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
2694 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
2695 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
2696 (libc_feupdateenv_53bit): Likewise.
2697 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
2698 (libc_feholdexcept): Convert from macro to inline function.
2699 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
2700 (libc_fesetenv, libc_feupdateenv): Likewise.
2702 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
2703 not previously defined.
2704 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
2705 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
2706 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
2707 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
2708 * sysdeps/ieee754/flt-32/math_private.h: New file.
2709 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
2710 math_private.h below SET_FLOAT_WORD.
2711 (__isnan, __isinf_ns, __finite): Remove.
2712 (__isnanf, __isinf_nsf, __finitef): Remove.
2714 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
2716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2718 2012-03-17 David S. Miller <davem@davemloft.net>
2721 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
2724 2012-03-16 David S. Miller <davem@davemloft.net>
2726 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
2730 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
2732 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
2733 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
2734 sysdep_routines when subdir is sysvipc.
2735 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
2738 * sysdeps/sparc/fpu/libm-test/ulps: Update.
2740 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2742 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
2745 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2747 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
2748 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
2749 (__lround): Renamed to ...
2750 (__llround): This. Replace long int with long long int.
2751 Define lround functions as aliases of llround functions.
2752 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
2754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2756 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
2757 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
2758 adresses to uintptr_t. Replace "long int" and "unsigned long
2759 int" with "greg_t" on va_arg.
2761 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2763 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
2764 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
2766 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
2767 Move e_machine check before EI_CLASS check. Handle x32
2768 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
2769 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
2770 SKIP_EM_IA_64 and include
2771 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
2773 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
2774 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
2775 (add_system_dir): New macro.
2777 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
2778 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
2780 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2791 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
2793 * math/w_j0f.c (j0f): Likewise.
2795 * math/w_j0l.c (__j0l): Likewise.
2797 * math/w_j1.c (j1): Likewise.
2799 * math/w_j1f.c (j1f): Likewise.
2801 * math/w_j1l.c (__j1l): Likewise.
2803 * math/w_jn.c (jn): Likewise.
2805 * math/w_jnf.c (jnf): Likewise.
2807 * math/w_jnl.c (__jnl): Likewise.
2809 * math/libm-test.inc (j0_test): Add more tests.
2810 (j1_test): Likewise.
2811 (jn_test): Likewise. Add trailing semicolon to existing test.
2812 (y0_test): Likewise.
2813 (y1_test): Likewise.
2814 * sysdeps/i386/fpu/libm-test-ulps: Update.
2815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2819 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
2820 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
2821 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
2822 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
2823 (__tanl): Set errno for infinite argument.
2824 * sysdeps/i386/fpu/mptan.c: Remove.
2825 * sysdeps/i386/fpu/s_tan.S: Likewise.
2826 * sysdeps/i386/fpu/s_tanl.S: Likewise.
2827 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
2828 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
2829 * math/libm-test.inc (tan_test): Add more tests and enable more
2830 tests for double and long double.
2831 * sysdeps/i386/fpu/libm-test-ulps: Update.
2832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2834 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2836 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
2837 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
2839 2012-03-16 Roland McGrath <roland@hack.frob.com>
2841 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
2842 * configure.in: Use it for both main tree and add-ons.
2843 * configure: Regenerated.
2845 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
2847 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
2849 2012-03-16 Joseph Myers <joseph@codesourcery.com>
2851 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
2855 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
2856 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
2857 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
2858 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
2859 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
2861 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
2862 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
2864 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
2865 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
2866 * sysdeps/i386/fpu/s_cosl.S: Likewise.
2867 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
2868 * sysdeps/i386/fpu/s_sinl.S: Likewise.
2869 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
2870 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
2871 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
2872 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
2873 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
2874 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
2875 * math/libm-test.inc (cos_test): Add more tests and enable more
2876 tests for long double.
2877 (sin_test): Likewise.
2878 (sincos_test): Likewise.
2879 * sysdeps/i386/fpu/libm-test-ulps: Update.
2880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2882 2012-03-16 David S. Miller <davem@davemloft.net>
2884 * sysdeps/sparc/fpu/math_private.h: New file.
2886 2012-03-15 David S. Miller <davem@davemloft.net>
2888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
2890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
2891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
2893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
2894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
2895 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
2896 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
2897 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
2898 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
2900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
2902 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
2903 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
2905 * sysdeps/sparc/sparc-ifunc.h: New file.
2906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
2908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
2909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
2913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
2914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
2915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
2918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
2924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
2926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
2928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
2929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
2930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
2931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
2932 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
2933 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
2934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2936 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2937 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2938 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2939 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2940 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
2941 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
2942 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
2943 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
2944 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
2945 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
2946 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
2947 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
2948 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
2949 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
2951 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
2953 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
2955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2957 2012-03-15 Andreas Jaeger <aj@suse.de>
2960 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
2961 ieee754/flt-32 implementation for sin, cos and sincos.
2962 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
2963 * sysdeps/i386/fpu/s_cosf.S: Likewise.
2964 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
2965 * sysdeps/i386/fpu/s_sinf.S: Likewise.
2966 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
2967 ieee754/flt-32 implementation for tan.
2969 * math/libm-test.inc (cos_test): Enable some large input tests for
2971 (sin_test): Likewise.
2972 (sincos_test): Likewise.
2973 (tan_test): Add tests for large input.
2975 * sysdeps/i386/fpu/libm-test-ulps: Update.
2977 2012-03-15 Andreas Jaeger <aj@suse.de>
2980 * math/libm-test.inc (cos_test): Add more test cases.
2981 (sin_test): Likewise.
2982 (sincos_test): Likewise.
2984 2012-03-15 Andreas Jaeger <aj@suse.de>
2987 * math/libm-test.inc (cos_test): Add a test case for large input
2989 (sin_test): Likewise.
2990 (sincos_test): Likewise.
2992 2012-03-15 Andreas Jaeger <aj@suse.de>,
2993 Joseph Myers <joseph@codesourcery.com>
2996 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
2997 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
2998 * sysdeps/i386/fpu/branred.c: Likewise.
2999 * sysdeps/i386/fpu/dosincos.c: Likewise.
3000 * sysdeps/i386/fpu/mpa.c: Likewise.
3001 * sysdeps/i386/fpu/s_cos.S: Likewise.
3002 * sysdeps/i386/fpu/s_sin.S: Likewise.
3003 * sysdeps/i386/fpu/s_sincos.S: Likewise.
3004 * sysdeps/i386/fpu/sincos32.c: Likewise.
3006 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
3008 (libc_feupdateenv_53bit): Define.
3009 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
3011 (libc_feupdateenv_53bit): Define.
3013 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
3014 53 bit (without extend i386 double precision).
3016 * math/libm-test.inc (sincos_test): Add tests for large input.
3020 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3022 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3026 2012-03-15 David S. Miller <davem@davemloft.net>
3028 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
3029 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
3030 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
3031 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
3032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
3033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
3034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
3035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
3036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
3037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
3038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
3039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
3040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
3041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
3042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
3043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
3045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
3046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
3048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
3049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
3051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
3052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
3054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
3055 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
3056 fmin/fmax sysdep routines.
3057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3059 2012-03-14 David S. Miller <davem@davemloft.net>
3061 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
3062 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
3063 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
3064 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
3065 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
3066 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
3067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
3068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
3069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
3070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
3071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
3072 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
3073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
3074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
3075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
3076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
3077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
3078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
3079 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
3080 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
3081 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
3082 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
3083 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
3084 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
3085 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
3086 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
3087 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
3088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
3089 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
3091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
3093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
3094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
3096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
3097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
3099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
3100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
3102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
3103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
3105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
3106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
3110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
3112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
3114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
3116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
3118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
3120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
3121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
3123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
3124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
3126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
3127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
3129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
3130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
3133 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3136 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3138 * sysdeps/sparc/configure.in: New file.
3139 * sysdeps/sparc/configure: Generate.
3140 * configure.in (libc_cv_sparc_as_vis3): Substitute.
3141 * configure: Regenerate.
3142 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
3143 * config.make.in (have-as-vis3): New.
3144 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
3145 available use -Av9d instead of -Av9a.
3146 * sysdeps/sparc/sparc64/Makefile: Likewise.
3147 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
3148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
3150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
3152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
3154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
3156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
3157 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
3158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
3159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
3160 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
3162 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
3163 fzeros/fnegs to load 0x80000000 into a float register instead of
3165 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
3167 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3169 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3171 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
3172 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
3173 ($(inst_includedir)/bits/syscall.h): Remove rule.
3174 ($(objpfx)bits/syscall.d): Include instead of
3175 $(objpfx)syscall-list.d.
3176 (generated): Change syscall-list.h and syscall-list.d to
3177 bits/syscall.h and bits/syscall.d.
3179 2012-03-14 Roland McGrath <roland@hack.frob.com>
3182 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
3184 2012-03-14 Joseph Myers <joseph@codesourcery.com>
3187 * math/s_csqrt.c: Include <float.h>.
3188 (__csqrt): Scale large or subnormal inputs.
3189 * math/s_csqrtf.c: Likewise.
3190 * math/s_csqrtl.c: Likewise.
3191 * math/libm-test.inc (csqrt_test): Add more tests.
3192 * sysdeps/i386/fpu/libm-test-ulps: Update.
3193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3196 * math/libm-test.inc (hypot_test): Add more tests.
3198 2012-03-13 David S. Miller <davem@davemloft.net>
3201 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
3202 double-precision for the calculation instead of scaling.
3204 2012-03-13 Joseph Myers <joseph@codesourcery.com>
3206 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
3207 manipulate bits before adding and subtracting TWO52[sx].
3208 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
3209 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
3211 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
3213 2012-03-13 David S. Miller <davem@davemloft.net>
3215 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
3216 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
3217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
3218 rtld-global-offsets.h
3219 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3221 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
3224 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
3226 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
3227 'err' in the ifdef scope in which it is actually used.
3229 * nss/nss_db/db-init.c: Include string.h
3231 2012-03-12 David S. Miller <davem@davemloft.net>
3233 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
3234 masking out of the most significant byte of random value used.
3235 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3236 Fix coding style in previous change.
3238 * sysdeps/unix/sysv/linux/kernel-features.h
3239 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
3240 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
3242 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
3245 2012-03-11 David S. Miller <davem@davemloft.net>
3247 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
3248 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
3249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
3250 for 'resultvar' otherwise things get truncated on 64-bit.
3252 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3253 Fix masking out of the most significant byte of random value used.
3255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3257 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
3259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3261 2012-03-09 David S. Miller <davem@davemloft.net>
3263 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
3264 variables with appropriate CPP guards.
3265 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
3266 frame pointer, not the stack pointer. Correct layout comments. Fix test
3267 on resulting framesize and the management of the outregs buffer for pltexit.
3268 Preserve floating point return values across _dl_call_pltexit call.
3269 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
3270 framesize and the management of the outregs buffer for pltexit.
3271 Preserve floating point return values across _dl_call_pltexit
3273 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
3274 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
3275 (print_exit): Fix format string for return register value.
3277 2012-03-10 Joseph Myers <joseph@codesourcery.com>
3279 * sunrpc/Makefile (others): Add rpcgen.
3280 ($(objpfx)rpcgen): Remove special build rule and dependency on
3282 * sunrpc/rpcgen.c: New file.
3284 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
3287 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
3288 * stdio-common/bug-vfprintf-nargs.c: Likewise.
3289 * sysdeps/i386/crti.S: Likewise.
3290 * sysdeps/i386/crtn.S: Likewise.
3291 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
3292 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
3293 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
3294 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
3295 * sysdeps/sh/crti.S: Likewise.
3296 * sysdeps/sh/crtn.S: Likewise.
3297 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
3300 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
3302 * locale/programs/locfile-kw.gperf: Likewise.
3303 * locale/programs/charmap-kw.h: Regenerated.
3304 * locale/programs/locfile-kw.h: Likewise.
3307 * intl/plural.y: Replace FSF snail mail address with URL.
3308 * intl/plural.c: Regenerated.
3310 2012-03-09 Richard Henderson <rth@twiddle.net>
3312 * include/math_private.h: Remove file.
3313 * math/math_private.h: Move file ...
3314 * sysdeps/generic/math_private.h: ... here.
3316 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
3317 * sysdeps/powerpc/fpu/math_private.h: Likewise.
3318 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3320 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
3321 and <math_private.h>.
3322 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3323 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3324 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3325 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3326 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3327 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
3328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3330 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
3331 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3332 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3333 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3334 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
3335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3336 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
3337 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
3338 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
3339 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3340 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
3341 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
3342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3343 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
3344 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
3345 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3346 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
3347 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3348 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3352 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
3353 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
3354 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
3355 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
3356 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3357 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3358 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3359 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3360 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3361 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3362 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
3363 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3364 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3365 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
3366 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
3367 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3368 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
3369 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
3370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3371 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3372 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
3373 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
3374 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
3375 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3376 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
3378 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
3379 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3380 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3383 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
3384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
3385 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3386 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
3387 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
3388 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
3389 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
3390 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
3391 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
3392 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
3393 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
3394 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
3395 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
3396 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
3397 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
3398 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
3399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3400 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
3401 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
3402 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
3403 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
3404 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
3405 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
3406 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
3407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3408 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
3409 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3410 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
3411 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3412 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3413 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
3414 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3415 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
3416 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
3417 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
3418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
3419 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
3420 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
3421 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
3422 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
3423 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
3424 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
3425 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
3426 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3427 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
3428 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
3429 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
3430 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3431 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3432 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3433 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3434 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
3435 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3436 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
3437 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
3438 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3439 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3440 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3441 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
3442 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3443 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3444 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
3445 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
3446 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3447 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3448 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
3449 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
3450 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3451 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
3452 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
3453 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
3454 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3455 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
3456 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
3457 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3458 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
3459 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3460 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
3461 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
3462 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
3463 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3464 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3465 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
3466 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
3467 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3468 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3469 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3470 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3471 * sysdeps/ieee754/k_standard.c: Likewise.
3472 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
3473 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3474 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3475 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3476 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3477 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3478 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
3479 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3480 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3481 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3482 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3483 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3484 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3485 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3486 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3487 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3488 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3489 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3490 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3491 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3492 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3493 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3494 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3495 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3496 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3497 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3498 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3499 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3500 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3501 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3502 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3503 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3504 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3505 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3507 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3508 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3509 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
3510 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
3511 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3512 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3513 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3514 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3515 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3516 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3517 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3518 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3520 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3522 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3523 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3524 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3525 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
3526 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3527 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3528 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
3529 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3530 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3531 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3532 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3533 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3534 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3535 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
3536 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3537 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3538 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
3539 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
3540 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
3541 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
3542 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
3543 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3544 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
3546 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
3547 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
3548 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
3549 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
3550 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3551 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3552 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3553 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3554 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3555 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3556 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
3557 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3558 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3559 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
3560 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
3561 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
3563 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3564 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3565 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3568 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
3569 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3570 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3571 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
3572 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3573 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3574 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3575 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3576 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
3577 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3578 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3579 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3580 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
3581 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3582 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3583 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3584 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
3585 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3586 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
3587 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
3588 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
3589 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3590 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
3591 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
3592 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
3593 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
3594 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
3595 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
3596 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3597 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
3598 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3599 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3600 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3601 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3605 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
3606 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3607 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3608 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
3609 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
3610 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3611 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
3612 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
3613 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3614 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
3615 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
3616 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3617 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3618 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3619 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3620 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3621 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
3622 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3623 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
3624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3625 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
3626 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
3627 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
3628 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3629 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3630 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3631 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
3632 * sysdeps/ieee754/s_lib_version.c: Likewise.
3633 * sysdeps/ieee754/s_matherr.c: Likewise.
3634 * sysdeps/ieee754/s_signgam.c: Likewise.
3635 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
3636 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3637 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
3638 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
3639 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
3640 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
3641 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
3642 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
3643 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
3644 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
3645 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3646 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
3647 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3648 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3649 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
3650 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
3651 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3652 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
3653 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3654 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3655 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3657 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3659 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
3660 * sunrpc/rpc_main.c: Likewise.
3661 * sunrpc/rpc_svcout.c: Likewise.
3663 2012-03-09 David S. Miller <davem@davemloft.net>
3665 * include/math_private.h: New file.
3667 2012-03-09 Joseph Myers <joseph@codesourcery.com>
3669 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
3670 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
3671 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
3672 from <bits/socket_type.h>.
3673 (enum __socket_type): Don't define here.
3674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
3675 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3679 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
3682 * Makerules ($(inst_includedir)/%.h): New rule.
3683 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
3684 (install-others): Remove variable setting.
3685 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
3687 2012-03-08 Richard Henderson <rth@twiddle.net>
3689 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
3690 from macro to inline function; merge with the
3691 !__LIBC_INTERNAL_MATH_INLINES version.
3692 (__ieee754_sqrtf): Likewise.
3694 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
3696 (__rintf, __floor, __floorf): Likewise.
3698 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
3699 macro to inline function.
3700 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
3702 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
3703 not <math/math_private.h>.
3705 2012-03-08 David S. Miller <davem@davemloft.net>
3707 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
3709 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
3711 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
3713 * resolv/gai_misc.c (handle_requests): Fix struct timespec
3715 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
3716 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3718 2012-03-08 Ulrich Drepper <drepper@gmail.com>
3720 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
3721 be defined individually, they must be defined as a block. Define
3722 S for printing a string instead of hidint the different by using a
3723 macro for adding the 'l'.
3724 * stdio-common/tst-fphex-wide.c: Adjust.
3726 2012-03-07 Marek Polacek <polacek@redhat.com>
3728 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
3730 2012-03-08 Marek Polacek <polacek@redhat.com>
3733 * stdio-common/Makefile (tests): Add tst-fphex-wide.
3734 * stdio-common/tst-fphex.c: Define a few macros to make the
3735 test reusable. Use them.
3736 * stdio-common/tst-fphex-wide.c: New file.
3738 2012-03-08 Joseph Myers <joseph@codesourcery.com>
3741 * manual/macros.texi (gnusystems): New macro.
3742 (nongnusystems): Likewise.
3743 (gnulinuxhurdsystems): Likewise.
3744 (gnuhurdsystems): Likewise..
3745 (gnulinuxsystems): Likewise.
3746 * manual/charset.texi: Use new macros or @theglibc{} to refer to
3747 variants of the GNU system, not "GNU system".
3748 * manual/conf.texi: Likewise.
3749 * manual/errno.texi: Likewise. Update example of errno macro
3751 * manual/filesys.texi: Likewise.
3752 (getumask): Document as specific to GNU/Hurd.
3753 * manual/install.texi: Likewise. Reword some references to
3755 * manual/intro.texi: Likewise.
3756 * manual/io.texi: Likewise.
3757 (File Name Portability): Detail which constraints are inapplicable
3758 to all GNU systems and which are only inapplicable to GNU/Hurd.
3759 * manual/job.texi: Likewise.
3760 * manual/llio.texi: Likewise.
3761 (O_NOCTTY): Document as present on GNU/Linux.
3762 * manual/maint.texi: Likewise.
3763 * manual/memory.texi: Likewise.
3764 * manual/pattern.texi: Likewise.
3765 * manual/pipe.texi: Likewise.
3766 * manual/process.texi: Likewise.
3767 * manual/resource.texi: Likewise.
3768 (RUSAGE_CHILDREN): Remove statement about specifying a particular
3770 * manual/setjmp.texi: Likewise.
3771 * manual/signal.texi: Likewise.
3772 * manual/startup.texi: Likewise.
3773 * manual/stdio.texi: Likewise.
3774 * manual/terminal.texi: Likewise.
3775 (ONLCR): Document as POSIX.
3776 (OXTABS): Document availability on GNU/Linux as XTABS.
3777 (ONOEOT): Document availability separately from other bits.
3778 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
3779 * manual/time.texi: Likewise.
3780 * manual/users.texi: Likewise.
3781 * INSTALL: Regenerated.
3782 * sysdeps/gnu/errlist.c: Regenerated.
3784 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
3785 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
3786 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
3788 * configure: Regenerated.
3790 2012-03-07 Joseph Myers <joseph@codesourcery.com>
3792 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
3793 default includes instead of AC_HEADER_CHECK.
3794 * sysdeps/i386/configure: Regenerated.
3797 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
3798 * math/s_cacoshf.c (__cacoshf): Likewise.
3799 * math/s_cacoshl.c (__cacoshl): Likewise.
3800 * math/s_casinh.c (__casinh): Set signs of result from argument.
3801 * math/s_casinhf.c (__casinhf): Likewise.
3802 * math/s_casinhl.c (__casinhl): Likewise.
3803 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
3804 (casinh_test): Add more tests.
3805 * sysdeps/i386/fpu/libm-test-ulps: Update.
3806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3808 2012-03-07 Ulrich Drepper <drepper@gmail.com>
3810 * po/zh_TW.po: Update from translation team.
3812 * login/Makefile (distribute): Remove variable.
3813 * catgets/Makefile: Likewise.
3814 * mach/Makefile: Likewise.
3815 * malloc/Makefile: Likewise.
3816 * misc/Makefile: Likewise.
3817 * iconv/Makefile: Likewise.
3818 * nscd/Makefile: Likewise.
3819 * hurd/Makefile: Likewise.
3820 * manual/Makefile: Likewise.
3821 * locale/Makefile: Likewise.
3822 * intl/Makefile: Likewise.
3823 * conform/Makefile: Likewise.
3824 * nss/Makefile: Likewise.
3825 * time/Makefile: Likewise.
3826 * soft-fp/Makefile: Likewise.
3827 * dirent/Makefile: Likewise.
3828 * gmon/Makefile: Likewise.
3829 * po/Makefile: Likewise.
3830 * rt/Makefile: Likewise.
3831 * socket/Makefile: Likewise.
3832 * math/Makefile: Likewise.
3833 * signal/Makefile: Likewise.
3834 * debug/Makefile: Likewise.
3835 * elf/Makefile: Likewise.
3836 * timezone/Makefile: Likewise.
3837 * stdlib/Makefile: Likewise.
3838 * iconvdata/Makefile: Likewise.
3839 * sunrpc/Makefile: Likewise.
3840 * io/Makefile: Likewise.
3841 * argp/Makefile: Likewise.
3842 * inet/Makefile: Likewise.
3843 * hesiod/Makefile: Likewise.
3844 * grp/Makefile: Likewise.
3845 * csu/Makefile: Likewise.
3846 * wctype/Makefile: Likewise.
3847 * crypt/Makefile: Likewise.
3848 * libio/Makefile: Likewise.
3849 * string/Makefile: Likewise.
3850 * nis/Makefile: Likewise.
3851 * resolv/Makefile: Likewise.
3852 * stdio-common/Makefile: Likewise.
3853 * wcsmbs/Makefile: Likewise.
3854 * dlfcn/Makefile: Likewise.
3855 * posix/Makefile: Likewise.
3858 * timezone/Makefile: Don't install timezone files, just the programs
3861 2012-03-06 Ulrich Drepper <drepper@gmail.com>
3863 * nss/databases.def: Add missing gshadow entry.
3865 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
3867 2012-03-06 Marek Polacek <polacek@redhat.com>
3870 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
3871 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3872 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
3873 * stdio-common/tst-long-dbl-fphex.c: New file.
3875 2012-03-06 David S. Miller <davem@davemloft.net>
3877 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3878 (set_obp_int): New function.
3879 (get_obp_int): New function.
3880 (__get_clockfreq_via_dev_openprom): Likewise.
3881 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
3882 Avoid unused variable warnings on 'val' and use builtin_expect.
3883 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
3885 (INLINE_CLONE_SYSCALL): Likewise.
3887 2012-03-05 David S. Miller <davem@davemloft.net>
3889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3891 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
3893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3895 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
3897 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
3899 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
3901 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
3902 Replace gettimeofday with __vdso_gettimeofday.
3904 * sysdeps/unix/sysv/linux/x86_64/init-first.c
3905 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
3906 __vdso_clock_gettime and __vdso_getcpu.
3908 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
3909 time with __vdso_time.
3911 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3913 * manual/lang.texi (size_t): Note types to which size_t may be
3914 equivalent with the GNU C Library, but do not describe when
3915 differences between them are significant.
3917 2012-03-05 Andreas Jaeger <aj@suse.de>
3919 * sysdeps/i386/fpu/libm-test-ulps: Update.
3921 2012-03-05 Joseph Myers <joseph@codesourcery.com>
3924 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
3925 (__ieee754_pow): Save and restore rounding mode and use
3926 round-to-nearest for main computations.
3927 * math/libm-test.inc (pow_test_tonearest): New function.
3928 (pow_test_towardzero): Likewise.
3929 (pow_test_downward): Likewise.
3930 (pow_test_upward): Likewise.
3931 (main): Call the new functions.
3932 * sysdeps/i386/fpu/libm-test-ulps: Update.
3933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3936 * math/libm-test.inc (cosh_test_tonearest): New function.
3937 (cosh_test_towardzero): Likewise.
3938 (cosh_test_downward): Likewise.
3939 (cosh_test_upward): Likewise.
3940 (sinh_test_tonearest): Likewise.
3941 (sinh_test_towardzero): Likewise.
3942 (sinh_test_downward): Likewise.
3943 (sinh_test_upward): Likewise.
3944 (main): Call the new functions.
3945 * sysdeps/i386/fpu/libm-test-ulps: Update.
3946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3948 2012-03-05 Tom de Vries <tom@codesourcery.com>
3950 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
3951 default stack guard is set in last bytes.
3952 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
3954 2012-03-05 Kees Cook <keescook@chromium.org>
3956 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
3959 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
3960 possibly allocate from heap instead of stack.
3961 * stdio-common/bug-vfprintf-nargs.c: New file.
3962 * stdio-common/Makefile (tests): Add nargs overflow test.
3964 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
3966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3968 2012-03-03 Marek Polacek <polacek@redhat.com>
3970 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
3971 * math/math_private.h: Likewise.
3972 * stdlib/tst-strtod.c: Likewise.
3973 * sysdeps/i386/i486/bits/atomic.h: Likewise.
3974 * sysdeps/x86_64/bits/atomic.h: Likewise.
3976 2012-03-02 David S. Miller <davem@davemloft.net>
3978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
3979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
3980 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
3981 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
3982 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
3983 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
3984 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
3985 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
3987 2012-03-02 Roland McGrath <roland@hack.frob.com>
3990 * manual/examples/README: New file, says the example source files
3991 can be used under GPL>=2.
3992 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
3993 line containing just "*/".
3994 * manual/examples/add.c: Add copyright header (GPL>=2).
3995 * manual/examples/argp-ex1.c: Likewise.
3996 * manual/examples/argp-ex2.c: Likewise.
3997 * manual/examples/argp-ex3.c: Likewise.
3998 * manual/examples/argp-ex4.c: Likewise.
3999 * manual/examples/atexit.c: Likewise.
4000 * manual/examples/db.c: Likewise.
4001 * manual/examples/dir.c: Likewise.
4002 * manual/examples/dir2.c: Likewise.
4003 * manual/examples/execinfo.c: Likewise.
4004 * manual/examples/filecli.c: Likewise.
4005 * manual/examples/filesrv.c: Likewise.
4006 * manual/examples/fmtmsgexpl.c: Likewise.
4007 * manual/examples/genpass.c: Likewise.
4008 * manual/examples/inetcli.c: Likewise.
4009 * manual/examples/inetsrv.c: Likewise.
4010 * manual/examples/isockad.c: Likewise.
4011 * manual/examples/longopt.c: Likewise.
4012 * manual/examples/memopen.c: Likewise.
4013 * manual/examples/memstrm.c: Likewise.
4014 * manual/examples/mkfsock.c: Likewise.
4015 * manual/examples/mkisock.c: Likewise.
4016 * manual/examples/mygetpass.c: Likewise.
4017 * manual/examples/pipe.c: Likewise.
4018 * manual/examples/popen.c: Likewise.
4019 * manual/examples/rprintf.c: Likewise.
4020 * manual/examples/search.c: Likewise.
4021 * manual/examples/select.c: Likewise.
4022 * manual/examples/setjmp.c: Likewise.
4023 * manual/examples/sigh1.c: Likewise.
4024 * manual/examples/sigusr.c: Likewise.
4025 * manual/examples/stpcpy.c: Likewise.
4026 * manual/examples/strdupa.c: Likewise.
4027 * manual/examples/strftim.c: Likewise.
4028 * manual/examples/strncat.c: Likewise.
4029 * manual/examples/subopt.c: Likewise.
4030 * manual/examples/swapcontext.c: Likewise.
4031 * manual/examples/termios.c: Likewise.
4032 * manual/examples/testopt.c: Likewise.
4033 * manual/examples/testpass.c: Likewise.
4034 * manual/examples/timeval_subtract.c: Likewise.
4037 * manual/time.texi (Elapsed Time): Move timeval_subtract example
4039 * manual/timeval_subtract.c.texi: ... here, new file.
4041 2012-03-02 David S. Miller <davem@davemloft.net>
4043 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
4045 2012-03-02 Joseph Myers <joseph@codesourcery.com>
4048 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
4049 (__sin): Save and restore rounding mode and use round-to-nearest
4050 for all computations.
4051 (__cos): Save and restore rounding mode and use round-to-nearest
4052 for all computations.
4053 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
4055 (tan): Save and restore rounding mode and use round-to-nearest for
4057 * math/libm-test.inc (cos_test_tonearest): New function.
4058 (cos_test_towardzero): Likewise.
4059 (cos_test_downward): Likewise.
4060 (cos_test_upward): Likewise.
4061 (sin_test_tonearest): Likewise.
4062 (sin_test_towardzero): Likewise.
4063 (sin_test_downward): Likewise.
4064 (sin_test_upward): Likewise.
4065 (tan_test_tonearest): Likewise.
4066 (tan_test_towardzero): Likewise.
4067 (tan_test_downward): Likewise.
4068 (tan_test_upward): Likewise.
4069 (main): Call the new functions.
4070 * sysdeps/i386/fpu/libm-test-ulps: Update.
4071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4074 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
4075 small n, then large n, before computing and testing k+n.
4076 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4077 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
4079 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
4081 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
4082 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
4083 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
4084 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
4087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
4088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
4089 * math/libm-test.inc (scalbn_test): Add more tests.
4090 (scalbln_test): Likewise.
4092 * manual/filesys.texi (mode_t): Describe constraints on size and
4093 signedness, not exact equivalence to a particular type.
4095 (ino64_t): Likewise.
4097 (nlink_t): Likewise.
4098 (blkcnt_t): Likewise.
4099 (blkcnt64_t): Likewise.
4100 * manual/llio.texi (off_t): Likewise.
4103 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
4104 (__ieee754_exp): Save and restore rounding mode and use
4105 round-to-nearest for all computations.
4106 * math/libm-test.inc (exp_test_tonearest): New function.
4107 (exp_test_towardzero): Likewise.
4108 (exp_test_downward): Likewise.
4109 (exp_test_upward): Likewise.
4110 (main): Call the new functions.
4111 * sysdeps/i386/fpu/libm-test-ulps: Update.
4112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4114 2012-03-01 Chris Demetriou <cgd@google.com>
4116 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
4117 have predictable order.
4119 2012-03-01 David S. Miller <davem@davemloft.net>
4121 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
4123 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
4124 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
4125 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
4126 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
4128 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
4129 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
4130 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
4131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
4132 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
4133 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
4134 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
4135 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
4136 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
4138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
4141 * sysdeps/sparc/fpu/libm-test-ulps: to here.
4142 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
4144 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
4145 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
4146 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4147 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
4148 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
4149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
4150 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
4151 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
4152 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4153 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
4154 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
4155 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4157 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4158 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4159 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4160 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
4161 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
4162 * sysdeps/sparc/elf/configure: Regenerated.
4164 2012-03-01 Joseph Myers <joseph@codesourcery.com>
4166 * configure.in (AS, LD): Require binutils 2.20 or later.
4167 * configure: Regenerated.
4168 * manual/install.texi (Tools for Compilation): Give binutils 2.20
4169 as required minimum version.
4170 * INSTALL: Regenerated.
4174 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
4175 before squaring exponent.
4176 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
4177 bottom long double and 27 bits of top long double before squaring
4179 * math/libm-test.inc (erfc_test): Add more tests.
4180 * sysdeps/i386/fpu/libm-test-ulps: Update.
4181 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4184 2012-03-01 Kai Tietz <ktietz@redhat.com>
4186 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
4187 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
4188 containing bit-fields.
4189 * soft-fp/extended.h (_FP_UNION_E): Likewise.
4190 * soft-fp/single.h (_FP_UNION_S): Likewise.
4191 * soft-fp/double.h (_FP_UNION_D): Likewise.
4193 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4196 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
4197 not include ../strcmp.S.
4198 [USE_AS_STRNCASECMP_L]: Likewise.
4199 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
4200 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
4201 * sysdeps/i386/i686/multiarch/strncase_l-c.c
4202 (__strncasecmp_l_ia32): Define as alias to
4203 __strncasecmp_l_nonascii.
4206 * math/libm-test.inc (expm1_test): Add test for bug 5794.
4207 * sysdeps/i386/fpu/libm-test-ulps: Update.
4208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4210 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
4211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4213 2012-02-29 Jeff Law <law@redhat.com>
4215 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
4218 2012-02-29 Marek Polacek <polacek@redhat.com>
4221 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
4222 * elf/Makefile: Add rules to run tst-unused-dep.out.
4224 2012-02-28 David S. Miller <davem@davemloft.net>
4226 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
4227 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
4228 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
4233 2012-02-29 Joseph Myers <joseph@codesourcery.com>
4235 * math/libm-test.inc (llround_test): Move one test from
4236 lround_test. Use TEST_f_L in moved test.
4237 (lround_test): Move misplaced test to llround_test. Add testcase
4240 2012-02-28 Ulrich Drepper <drepper@gmail.com>
4242 * sysdeps/x86_64/fpu/e_expf.S: New file.
4243 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
4245 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
4248 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
4249 of remain_len that may cause incomplete multi-byte character and
4251 * posix/bug-regex33.c: New file.
4252 * posix/Makefile (tests): Add bug-regex33.
4254 2012-02-28 Joseph Myers <joseph@codesourcery.com>
4256 * manual/macros.texi: New file.
4257 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
4258 * manual/libc.texinfo: Include macros.texi.
4259 * manual/creatute.texi: Likewise.
4260 * manual/install.texi: Likewise.
4261 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
4262 @glibcadj{} in references to the GNU C Library.
4263 * manual/charset.texi: Likewise.
4264 * manual/conf.texi: Likewise.
4265 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
4266 when not using those macros.
4267 * manual/creature.texi: Likewise.
4268 * manual/crypt.texi: Likewise.
4269 * manual/errno.texi: Likewise.
4270 * manual/filesys.texi: Likewise.
4271 * manual/header.texi: Likewise.
4272 * manual/install.texi: Likewise.
4273 * manual/intro.texi: Likewise.
4274 * manual/io.texi: Likewise.
4275 * manual/job.texi: Likewise.
4276 * manual/lang.texi: Likewise.
4277 * manual/libc.texiinfo: Likewise.
4278 * manual/llio.texi: Likewise.
4279 * manual/locale.texi: Likewise.
4280 * manual/maint.texi: Likewise.
4281 * manual/math.texi: Likewise.
4282 * manual/memory.texi: Likewise.
4283 * manual/message.texi: Likewise.
4284 * manual/nss.texi: Likewise.
4285 * manual/pattern.texi: Likewise.
4286 * manual/process.texi: Likewise.
4287 * manual/resource.texi: Likewise.
4288 * manual/search.texi: Likewise.
4289 * manual/setjmp.texi: Likewise.
4290 * manual/signal.texi: Likewise.
4291 * manual/socket.texi: Likewise.
4292 * manual/startup.texi: Likewise.
4293 * manual/stdio.texi: Likewise.
4294 * manual/string.texi: Likewise.
4295 * manual/sysinfo.texi: Likewise.
4296 * manual/syslog.texi: Likewise.
4297 * manual/terminal.texi: Likewise.
4298 * manual/time.texi: Likewise.
4299 * manual/users.texi: Likewise.
4300 * INSTALL: Regenerated.
4301 * NOTES: Regenerated.
4302 * sysdeps/gnu/errlist.c: Regenerated.
4304 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
4306 * include/dirent.h: Include <dirstream.h> before
4309 2012-02-28 David S. Miller <davem@davemloft.net>
4311 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
4312 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
4313 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
4314 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
4316 2012-02-27 David S. Miller <davem@davemloft.net>
4318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
4319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
4320 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
4321 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
4323 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
4324 frame pointer instead of stack pointer relative arg slot.
4325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4326 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4327 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4329 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
4332 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
4334 2012-02-27 David S. Miller <davem@davemloft.net>
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
4337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
4339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
4340 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4341 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4342 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
4343 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
4345 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4347 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
4348 later. Allow versions 5-9.
4349 * configure: Regenerated.
4350 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
4351 required minimum version and 4.6 as recommended version. Do not
4352 mention bugs in GCC 2.7 and 2.8.
4353 * INSTALL: Regenerated.
4355 2012-02-27 David S. Miller <davem@davemloft.net>
4357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
4360 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
4361 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
4362 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
4363 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
4364 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
4366 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
4367 manipulate bits before adding and subtracting TWO112[sx].
4368 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4370 2012-02-27 Roland McGrath <roland@hack.frob.com>
4373 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
4374 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
4375 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
4376 being in POSIX, because they are in 1003.1-2008.
4378 * rt/tst-aio.c: Include <fcntl.h>.
4379 * rt/tst-aio7.c: Likewise.
4380 * rt/tst-aio64.c: Likewise.
4382 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
4384 2012-02-27 Joseph Myers <joseph@codesourcery.com>
4386 * manual/install.texi (--with-headers): Describe headers as
4387 interface headers, not private headers.
4388 (Specific advice for GNU/Linux systems): Describe use of headers
4389 from "make headers_install", not private headers from older
4391 * INSTALL: Regenerated.
4392 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
4394 * sysdeps/unix/sysv/linux/configure: Regenerated.
4396 * manual/llio.texi (fclean): Remove documentation.
4398 * manual/Makefile (libc-texi-generated): New variable. Include
4400 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
4401 $(libc-texi-generated), not duplicated list of files.
4402 (version.texi, stamp-version): New rules.
4403 (realclean): Remove $(libc-texi-generated), not individual files
4404 from that list. Do not remove dir-add.texinfo.
4405 * manual/libc.texinfo: Comment out uses of edition numbers and
4406 references to printed manual. Remove last-updated dates.
4407 (EDITION): Comment out.
4409 (VERSION, UPDATED): Remove.
4410 (version.texi): Include.
4412 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
4414 * sysdeps/posix/spawni.c: Include <signal.h>.
4415 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
4416 * sysdeps/pthread/aio_fsync.c: Likewise.
4418 2012-02-26 Ulrich Drepper <drepper@gmail.com>
4420 * conform/Makefile (tests): Run only when not cross-compiling and
4421 when fast-check is not defined.
4423 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
4424 * conform/data/limits.h-data: Fixes for POSIX2008.
4425 * conform/run-conformtest.sh: Run all tests.
4426 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
4428 * include/bits/dlfcn.h: Likewise.
4429 * include/langinfo.h: Likewise.
4430 * include/monetary.h: Likewise.
4431 * include/sys/poll.h: Likewise.
4433 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
4435 * posix/spawn.h: Define __need_sigset_t.
4436 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
4437 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
4438 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
4439 to get sigevent_t only.
4440 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
4442 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4443 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
4444 process_vm_writev only for __USE_GNU.
4445 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4447 * conform/Makefile: For now ignore errors from run-conformtest.
4448 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
4449 POSIX to avoid namespace pollution. Don't prepend headers.
4450 * conform/data/aio.h-data: Fixes for POSIX testing.
4451 * conform/data/fcntl.h-data: Likewise.
4452 * conform/data/glob.h-data: Likewise.
4453 * conform/data/grp.h-data: Likewise.
4454 * conform/data/pthread.h-data: Likewise.
4455 * conform/data/pwd.h-data: Likewise.
4456 * conform/data/signal.h-data: Likewise.
4457 * conform/data/spawn.h-data: Likewise.
4458 * conform/data/stdio.h-data: Likewise.
4459 * conform/data/stdlib.h-data: Likewise.
4460 * conform/data/stropts.h-data: Likewise.
4461 * conform/data/sys/mman.h-data: Likewise.
4462 * conform/data/sys/stat.h-data: Likewise.
4463 * conform/data/sys/types.h-data: Likewise.
4464 * conform/data/sys/wait.h-data: Likewise.
4465 * conform/data/time.h-data: Likewise.
4466 * conform/data/unistd.h-data: Likewise.
4467 * conform/data/utime.h-data: Likewise.
4469 * io/sys/stat.h: fchmod was always in POSIX.
4470 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
4471 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
4472 * rt/aio.h: Define __need_timespec before including <time.h>.
4473 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
4474 struct. Add forward declaration of pthread_attr_t and use it in
4476 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
4477 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4478 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
4479 always remove CLK_TCK definition.
4481 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
4483 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
4485 2012-02-25 Ulrich Drepper <drepper@gmail.com>
4487 * conform/run-conformtest.sh: New file.
4488 * conform/Makefile: Run run-conformtest for tests.
4489 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
4492 * conform/data/uchar.h-data: New file.
4493 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
4494 * conform/data/arpa/inet.h-data: Likewise.
4495 * conform/data/assert.h-data: Likewise.
4496 * conform/data/complex.h-data: Likewise.
4497 * conform/data/cpio.h-data: Likewise.
4498 * conform/data/ctype.h-data: Likewise.
4499 * conform/data/dirent.h-data: Likewise.
4500 * conform/data/dlfcn.h-data: Likewise.
4501 * conform/data/errno.h-data: Likewise.
4502 * conform/data/fcntl.h-data: Likewise.
4503 * conform/data/float.h-data: Likewise.
4504 * conform/data/fmtmsg.h-data: Likewise.
4505 * conform/data/fnmatch.h-data: Likewise.
4506 * conform/data/ftw.h-data: Likewise.
4507 * conform/data/glob.h-data: Likewise.
4508 * conform/data/grp.h-data: Likewise.
4509 * conform/data/iconv.h-data: Likewise.
4510 * conform/data/inttypes.h-data: Likewise.
4511 * conform/data/langinfo.h-data: Likewise.
4512 * conform/data/libgen.h-data: Likewise.
4513 * conform/data/limits.h-data: Likewise.
4514 * conform/data/locale.h-data: Likewise.
4515 * conform/data/math.h-data: Likewise.
4516 * conform/data/monetary.h-data: Likewise.
4517 * conform/data/mqueue.h-data: Likewise.
4518 * conform/data/ndbm.h-data: Likewise.
4519 * conform/data/net/if.h-data: Likewise.
4520 * conform/data/netdb.h-data: Likewise.
4521 * conform/data/netinet/in.h-data: Likewise.
4522 * conform/data/nl_types.h-data: Likewise.
4523 * conform/data/poll.h-data: Likewise.
4524 * conform/data/pthread.h-data: Likewise.
4525 * conform/data/pwd.h-data: Likewise.
4526 * conform/data/regex.h-data: Likewise.
4527 * conform/data/sched.h-data: Likewise.
4528 * conform/data/search.h-data: Likewise.
4529 * conform/data/semaphore.h-data: Likewise.
4530 * conform/data/setjmp.h-data: Likewise.
4531 * conform/data/signal.h-data: Likewise.
4532 * conform/data/spawn.h-data: Likewise.
4533 * conform/data/stdarg.h-data: Likewise.
4534 * conform/data/stdio.h-data: Likewise.
4535 * conform/data/stdlib.h-data: Likewise.
4536 * conform/data/string.h-data: Likewise.
4537 * conform/data/strings.h-data: Likewise.
4538 * conform/data/stropts.h-data: Likewise.
4539 * conform/data/sys/ipc.h-data: Likewise.
4540 * conform/data/sys/mman.h-data: Likewise.
4541 * conform/data/sys/msg.h-data: Likewise.
4542 * conform/data/sys/resource.h-data: Likewise.
4543 * conform/data/sys/select.h-data: Likewise.
4544 * conform/data/sys/sem.h-data: Likewise.
4545 * conform/data/sys/shm.h-data: Likewise.
4546 * conform/data/sys/socket.h-data: Likewise.
4547 * conform/data/sys/stat.h-data: Likewise.
4548 * conform/data/sys/statvfs.h-data: Likewise.
4549 * conform/data/sys/time.h-data: Likewise.
4550 * conform/data/sys/timeb.h-data: Likewise.
4551 * conform/data/sys/times.h-data: Likewise.
4552 * conform/data/sys/types.h-data: Likewise.
4553 * conform/data/sys/uio.h-data: Likewise.
4554 * conform/data/sys/un.h-data: Likewise.
4555 * conform/data/sys/utsname.h-data: Likewise.
4556 * conform/data/sys/wait.h-data: Likewise.
4557 * conform/data/syslog.h-data: Likewise.
4558 * conform/data/tar.h-data: Likewise.
4559 * conform/data/termios.h-data: Likewise.
4560 * conform/data/utime.h-data: Likewise.
4561 * conform/data/utmpx.h-data: Likewise.
4562 * conform/data/varargs.h-data: Likewise.
4563 * conform/data/wchar.h-data: Likewise.
4564 * conform/data/wctype.h-data: Likewise.
4565 * conform/data/wordexp.h-data: Likewise.
4567 * include/stropts.h: New file.
4568 * include/uchar.h: New file.
4569 * include/aio.h: Changes to allow conformtest.pl to use the headers.
4570 * include/assert.h: Likewise.
4571 * include/ctype.h: Likewise.
4572 * include/dirent.h: Likewise.
4573 * include/dlfcn.h: Likewise.
4574 * include/fcntl.h: Likewise.
4575 * include/fnmatch.h: Likewise.
4576 * include/glob.h: Likewise.
4577 * include/grp.h: Likewise.
4578 * include/libio.h: Likewise.
4579 * include/locale.h: Likewise.
4580 * include/math.h: Likewise.
4581 * include/net/if.h: Likewise.
4582 * include/netdb.h: Likewise.
4583 * include/netinet/in.h: Likewise.
4584 * include/pthread.h: Likewise.
4585 * include/pwd.h: Likewise.
4586 * include/regex.h: Likewise.
4587 * include/sched.h: Likewise.
4588 * include/search.h: Likewise.
4589 * include/setjmp.h: Likewise.
4590 * include/signal.h: Likewise.
4591 * include/stdio.h: Likewise.
4592 * include/stdlib.h: Likewise.
4593 * include/string.h: Likewise.
4594 * include/sys/cdefs.h: Likewise.
4595 * include/sys/mman.h: Likewise.
4596 * include/sys/msg.h: Likewise.
4597 * include/sys/resource.h: Likewise.
4598 * include/sys/select.h: Likewise.
4599 * include/sys/socket.h: Likewise.
4600 * include/sys/stat.h: Likewise.
4601 * include/sys/statvfs.h: Likewise.
4602 * include/sys/time.h: Likewise.
4603 * include/sys/times.h: Likewise.
4604 * include/sys/uio.h: Likewise.
4605 * include/sys/utsname.h: Likewise.
4606 * include/sys/wait.h: Likewise.
4607 * include/termios.h: Likewise.
4608 * include/time.h: Likewise.
4609 * include/ulimit.h: Likewise.
4610 * include/unistd.h: Likewise.
4611 * include/utime.h: Likewise.
4612 * include/wchar.h: Likewise.
4613 * include/wctype.h: Likewise.
4614 * include/wordexp.h: Likewise.
4616 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
4618 * time/time.h: TIME_UTC must be a macro.
4619 Make timespec_get available for ISO C11 only as well.
4621 2012-02-24 Ulrich Drepper <drepper@gmail.com>
4623 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
4624 Reported by Peng Haitao <penght@cn.fujitsu.com>.
4626 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4628 * configure.in: Use -o not -a in test for unsupported multi-arch.
4630 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4632 * manual/texinfo.tex: Update to version 2012-01-19.16.
4634 2012-02-24 Joseph Myers <joseph@codesourcery.com>
4636 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
4638 2012-02-24 Roland McGrath <roland@hack.frob.com>
4641 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
4642 * manual/fdl-1.3.texi: New file.
4643 * manual/fdl-1.1.texi: File removed.
4646 * manual/libc.texinfo (FDL_VERSION): New @set.
4647 Use it for mention of FDL in cover text.
4648 (Documentation License): Use it in @include file name.
4650 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4651 Roland McGrath <roland@hack.frob.com>
4654 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
4655 not LONG_LONG_MAX and LONG_LONG_MIN.
4656 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
4657 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
4659 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
4661 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4665 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
4666 manipulate bits before adding and subtracting TWO23[sx].
4667 * math/libm-test.inc (nearbyint_test): Add more tests.
4669 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4672 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
4673 bits before adding and subtracting TWO23[sx].
4674 * math/libm-test.inc (rint_test): Add more tests.
4675 (rint_test_tonearest): Likewise.
4676 (rint_test_towardzero): Likewise.
4677 (rint_test_downward): Likewise.
4678 (rint_test_upward: Likewise.
4680 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4683 * include/stdc-predef.h: New file. Extracted from features.h.
4684 * include/features.h: Include stdc-predef.h.
4685 * Makefile (headers): Add stdc-predef.h.
4686 * CONFORMANCE (Compiler limitations): Update.
4688 2012-02-22 Joseph Myers <joseph@codesourcery.com>
4690 * manual/libc.texinfo (VERSION, UPDATED): Revert.
4692 2012-02-21 David S. Miller <davem@davemloft.net>
4694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
4695 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4697 2012-02-20 David S. Miller <davem@davemloft.net>
4699 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
4700 using a normal save/restore sequence, rather than allocating a
4701 dummy stack frame just to store a frame pointer and restore.
4702 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4704 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4706 * manual/install.texi: Fix stray word in line-wrapped comment.
4708 2012-02-20 David S. Miller <davem@davemloft.net>
4710 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
4711 both binutils and gcc support GOTDATA.
4713 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
4714 "rd %pc" in the PIC register setup sequences.
4716 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
4717 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4718 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
4719 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4720 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
4721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4722 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4723 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
4724 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
4725 (SYSCALL_ERROR_HANDLER): Likewise.
4726 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
4727 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4728 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
4729 (SYSCALL_ERROR_HANDLER): Likewise.
4731 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
4732 (HAVE_GCC_GOTDATA): New.
4733 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
4734 relocation support in both binutils and gcc.
4735 * sysdeps/sparc/elf/configure: Regenerate.
4737 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
4738 * sysdeps/sparc/sparc32/elf/configure: Delete.
4739 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
4740 * sysdeps/sparc/sparc64/elf/configure: Delete.
4741 * sysdeps/sparc/elf/configure.in: New file.
4742 * sysdeps/sparc/elf/configure: Generate.
4744 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
4745 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
4746 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
4747 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
4748 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
4750 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4752 * manual/install.texi: Do not mention specific glibc version
4754 * manual/libc.texinfo (VERSION, UPDATED): Update.
4755 (@copying): Use @copyright{} and range of years.
4757 2012-02-21 Joseph Myers <joseph@codesourcery.com>
4760 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
4761 [crti.S not in sysdirs] (generated): Do not append.
4762 [crti.S not in sysdirs] (omit-deps): Likewise.
4763 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
4764 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
4765 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
4766 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
4767 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
4769 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
4770 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
4771 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
4772 * csu/defs.awk: Remove file.
4773 * sysdeps/generic/initfini.c: Likewise.
4774 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
4776 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
4779 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4781 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
4782 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
4783 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
4784 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
4785 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4786 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
4788 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
4789 (__EPOLL_PACKED): Define to empty if not defined by
4791 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
4792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4795 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4797 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
4798 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
4799 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
4800 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
4802 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
4803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4806 2012-02-20 Joseph Myers <joseph@codesourcery.com>
4808 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
4810 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4811 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4812 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
4813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4815 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
4817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
4818 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
4820 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
4822 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
4823 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
4825 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
4827 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
4830 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
4832 * math/w_acos.c: Use non-signaling floating-point comparisons.
4833 * math/w_acosf.c: Likewise.
4834 * math/w_acosh.c: Likewise.
4835 * math/w_acoshf.c: Likewise.
4836 * math/w_acoshl.c: Likewise.
4837 * math/w_acosl.c: Likewise.
4838 * math/w_asin.c: Likewise.
4839 * math/w_asinf.c: Likewise.
4840 * math/w_asinl.c: Likewise.
4841 * math/w_atanh.c: Likewise.
4842 * math/w_atanhf.c: Likewise.
4843 * math/w_atanhl.c: Likewise.
4844 * math/w_exp2.c: Likewise.
4845 * math/w_exp2f.c: Likewise.
4846 * math/w_exp2l.c: Likewise.
4847 * math/w_j0.c: Likewise.
4848 * math/w_j0f.c: Likewise.
4849 * math/w_j0l.c: Likewise.
4850 * math/w_j1.c: Likewise.
4851 * math/w_j1f.c: Likewise.
4852 * math/w_j1l.c: Likewise.
4853 * math/w_jn.c: Likewise.
4854 * math/w_jnf.c: Likewise.
4855 * math/w_log.c: Likewise.
4856 * math/w_log10.c: Likewise.
4857 * math/w_log10f.c: Likewise.
4858 * math/w_log10l.c: Likewise.
4859 * math/w_log2.c: Likewise.
4860 * math/w_log2f.c: Likewise.
4861 * math/w_log2l.c: Likewise.
4862 * math/w_logf.c: Likewise.
4863 * math/w_logl.c: Likewise.
4864 * math/w_sqrt.c: Likewise.
4865 * math/w_sqrtf.c: Likewise.
4866 * math/w_sqrtl.c: Likewise.
4867 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4868 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
4869 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4870 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
4873 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4876 * manual/string.texi (strnlen): Use correct parameter name in
4877 equivalent expression.
4879 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4882 * manual/users.texi (seteuid): Consistently use neweuid for
4885 2012-02-19 Joseph Myers <joseph@codesourcery.com>
4888 * manual/nss.texi (Services in the NSS configuration): Correct
4889 list of services in example configuration file.
4891 2012-02-19 Nick Bowler <nbowler@draconx.ca>
4894 * manual/arith.texi: Remove statements about negative zero
4895 behaving identically to zero.
4897 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4900 * manual/install.texi: Do not document upgrading from libc5.
4902 2012-02-18 Joseph Myers <joseph@codesourcery.com>
4905 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
4907 2012-02-18 David S. Miller <davem@davemloft.net>
4909 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
4910 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
4911 %o7 across the call.
4912 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
4914 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
4916 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4917 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
4918 * sysdeps/sparc/crtn.S: Likewise.
4920 2012-02-17 Ulrich Drepper <drepper@gmail.com>
4922 * aout/Makefile: Remove.
4924 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
4927 * manual/examples/argp-ex1.c (main): Format definition in GNU
4929 * manual/examples/argp-ex2.c (main): Likewise.
4930 * manual/examples/argp-ex3.c (main): Likewise.
4931 * manual/examples/argp-ex4.c (main): Likewise.
4932 * manual/examples/longopt.c (main): Use new-style prototype
4934 * manual/examples/strncat.c (main): Specify return type and use
4935 (void) for arguments.
4936 * manual/examples/subopt.c (main): Use char **argv argument.
4938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4941 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
4944 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
4947 * manual/string.texi (strchr): Change when strchrnul is
4950 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
4953 * manual/locale.texi (setlocale): Document LOCPATH.
4955 2012-02-17 Joseph Myers <joseph@codesourcery.com>
4958 * manual/process.texi (execle): Move @dots{} before last argument.
4960 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
4963 * manual/charset.texi (Generic Charset Conversion): Fix typo
4964 (LC_TYPE -> LC_CTYPE).
4966 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
4969 * manual/arith.texi (scalbn): Use @var{} on parameter names.
4970 (scalbnf): Likewise.
4971 (scalbnl): Likewise.
4972 (scalbln): Likewise.
4973 (scalblnf): Likewise.
4974 (scalblnl): Likewise.
4975 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
4979 * manual/filesys.texi (telldir): Use braces around return type.
4980 * manual/llio.texi (mmap): Add space after comma.
4982 * manual/math.texi (jn): Use @var{} on parameter names.
4988 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
4990 * manual/resource.texi (ulimit): Use @dots{} instead of literal
4992 (sched_get_priority_min): Remove semicolon on @deftypefun line.
4993 (sched_get_priority_max): Likewise.
4994 * manual/signal.texi (sigvec): Add space after comma.
4995 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
4997 (if_indextoname): Likewise.
4998 (if_freenameindex): Likewise.
4999 (sendto): Use ',' instead of '.' in prototype.
5000 * manual/startup.texi (syscall): Use @dots{} instead of literal
5002 * manual/stdio.texi (__fpending): Separate initial words of
5003 paragraph from @deftypefun line.
5004 * manual/syslog.texi (syslog): Use @dots{} instead of literal
5006 (vsyslog): Use @var{} on parameter names.
5007 * manual/terminal.texi (stty): Use @var{} on parameter names.
5008 * manual/users.texi (getutmp): Use @var{} on parameter names.
5009 (getutmpx): Likewise.
5011 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5014 * manual/stdio.texi (fopen): Fix typos in description of
5017 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
5020 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
5021 get clock_id definition.
5023 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
5026 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
5027 (madvise): Cast every argument to void on its own.
5029 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5032 * manual/startup.texi (Exit Status): Fix typo.
5034 2012-02-17 Joseph Myers <joseph@codesourcery.com>
5037 * manual/examples/argp-ex1.c: Include <stdlib.h>.
5038 * manual/examples/argp-ex2.c: Likewise.
5039 * manual/examples/argp-ex3.c: Likewise.
5041 2012-02-16 Richard Henderson <rth@redhat.com>
5043 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
5044 * sysdeps/s390/s390-32/initfini.c: Remove.
5045 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
5046 * sysdeps/s390/s390-64/initfini.c: Remove.
5048 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5050 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
5051 compiler output for sysdeps/generic/initfini.c.
5052 * sysdeps/sh/elf/initfini.c: Remove file.
5054 2012-02-16 David S. Miller <davem@davemloft.net>
5057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
5059 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
5060 * sysdeps/sparc/crti.S: New file.
5061 * sysdeps/sparc/crtn.S: New file.
5062 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
5063 * sysdeps/sparc/sparc64/Makefile: Likewise.
5065 2012-02-15 Mike Frysinger <vapier@gentoo.org>
5068 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
5070 2012-02-15 Roland McGrath <roland@hack.frob.com>
5073 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
5075 * mach/devstream.c (cookie_io_functions_t): Macro removed.
5076 (write, read, close): Likewise.
5077 Patch by Aurelien Jarno <aurelien@aurel32.net>.
5079 2012-02-15 Joseph Myers <joseph@codesourcery.com>
5081 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
5082 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
5083 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
5084 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
5086 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
5087 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5090 2012-02-14 Marek Polacek <polacek@redhat.com>
5092 * sysdeps/x86_64/crti.S: New file.
5093 * sysdeps/x86_64/crtn.S: New file.
5094 * sysdeps/x86_64/elf/initfini.c: Remove file.
5096 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5098 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
5099 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
5100 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
5101 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
5103 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
5104 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5107 2012-02-13 Joseph Myers <joseph@codesourcery.com>
5109 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
5110 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
5111 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
5112 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
5114 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
5115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5118 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
5120 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
5121 __feraiseexcept instead of feraiseexcept.
5123 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
5124 nanosleep invocations.
5125 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
5126 strings, and add error checking for a nanosleep invocations.
5128 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
5130 Replace FSF snail mail address with URLs, as per GNU coding standards.
5131 Most of the snail mail addresses were wrong anyway, and omitting
5132 them makes the source code easier to maintain. Almost all of the
5133 changes are to license notices and to locale LC_IDENTIFICATION
5134 addresses, except for this one:
5135 * manual/libc.texinfo: In "Published by", give the FSF's URL,
5136 not its snail mail address.
5138 2012-02-09 Richard Henderson <rth@twiddle.net>
5140 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
5141 of kernel-features.h.
5143 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
5145 2012-02-08 Marek Polacek <polacek@redhat.com>
5147 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
5148 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
5149 * sysdeps/gnu/_G_config.h: Likewise.
5150 * sysdeps/generic/_G_config.h: Likewise.
5152 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
5154 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
5156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5158 * sysdeps/powerpc/powerpc32/crti.S: New file.
5159 * sysdeps/powerpc/powerpc32/crtn.S: New file.
5160 * sysdeps/powerpc/powerpc64/crti.S: New file.
5161 * sysdeps/powerpc/powerpc64/crtn.S: New file.
5163 * Makeconfig (have-initfini): Don't set.
5164 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
5165 * configure.in (nopic_initfini): Don't substitute.
5166 * config.h.in (HAVE_INITFINI): Don't #undef.
5167 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
5168 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
5170 2012-02-08 Joseph Myers <joseph@codesourcery.com>
5172 Support crti.S and crtn.S provided directly by architectures.
5173 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
5174 [crti.S in sysdirs] (omit-deps): Likewise.
5175 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
5176 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
5177 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
5178 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
5179 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
5180 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
5181 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
5182 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
5183 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
5184 compiler output for sysdeps/generic/initfini.c.
5185 * sysdeps/i386/elf/Makefile: Remove file.
5186 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
5188 2012-02-07 Marek Polacek <polacek@redhat.com>
5190 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
5191 * sysdeps/gnu/_G_config.h: Likewise.
5192 * sysdeps/mach/hurd/_G_config.h: Likewise.
5194 2012-02-07 Marek Polacek <polacek@redhat.com>
5196 * math/Makefile (tests): Add tst-CMPLX2.
5197 * math/tst-CMPLX2.c: New file.
5199 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
5201 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5203 * math/libm-test.inc (jn_test): Add missing L suffix.
5205 2012-02-06 Marek Polacek <polacek@redhat.com>
5207 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
5208 * sysdeps/i386/fpu/e_powf.S: Likewise.
5209 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
5210 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
5211 * sysdeps/i386/fpu/e_acosh.S: Likewise.
5212 * sysdeps/i386/fpu/e_pow.S: Likewise.
5213 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
5214 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
5215 * sysdeps/i386/fpu/s_expm1.S: Likewise.
5216 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
5217 * sysdeps/i386/fpu/e_log2.S: Likewise.
5218 * sysdeps/i386/fpu/e_log2l.S: Likewise.
5219 * sysdeps/i386/fpu/e_scalb.S: Likewise.
5220 * sysdeps/i386/fpu/e_powl.S: Likewise.
5221 * sysdeps/i386/fpu/s_log1p.S: Likewise.
5222 * sysdeps/i386/fpu/e_log10f.S: Likewise.
5223 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
5224 * sysdeps/i386/fpu/e_logl.S: Likewise.
5225 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
5226 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
5227 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
5228 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
5229 * sysdeps/i386/fpu/e_log2f.S: Likewise.
5230 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
5231 * sysdeps/i386/fpu/e_log.S: Likewise.
5232 * sysdeps/i386/fpu/s_cexp.S: Likewise.
5233 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
5234 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
5235 * sysdeps/i386/fpu/e_logf.S: Likewise.
5236 * sysdeps/i386/fpu/e_log10l.S: Likewise.
5237 * sysdeps/i386/fpu/e_atanh.S: Likewise.
5238 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
5239 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
5240 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
5241 * sysdeps/i386/fpu/e_log10.S: Likewise.
5242 * sysdeps/i386/fpu/s_frexp.S: Likewise.
5243 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
5244 * sysdeps/i386/fpu/s_asinh.S: Likewise.
5245 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
5246 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
5247 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
5248 * sysdeps/i386/asm-syntax.h: Likewise.
5249 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
5250 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5251 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
5252 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
5253 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
5254 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
5255 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
5256 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
5257 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
5258 * sysdeps/powerpc/sysdep.h: Likewise.
5259 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
5260 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
5262 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5265 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
5267 2012-02-06 Joseph Myers <joseph@codesourcery.com>
5269 * sysdeps/i386/sysdep.h: Include <features.h>.
5270 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
5273 2012-02-05 Joseph Myers <joseph@codesourcery.com>
5275 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
5277 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
5280 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5282 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
5283 (SETUP_PIC_REG): Use GET_PC_THUNK.
5284 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
5287 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5289 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
5290 for non-PIC compilation.
5291 (SETUP_PIC_REG): Add .p2align directive.
5292 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
5293 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5294 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5295 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5296 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5297 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5298 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5299 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5300 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5301 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5302 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5303 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5304 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5305 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5306 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5307 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5308 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5309 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5310 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5311 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5312 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
5313 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5314 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5315 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5316 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5317 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5318 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5319 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5320 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5321 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5322 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5323 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5324 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5325 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5326 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5327 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5328 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5329 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5330 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5331 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5332 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5334 2012-02-03 Joseph Myers <joseph@codesourcery.com>
5336 * math/tst-CMPLX.c: Include <stdio.h>.
5338 2012-01-31 Joseph Myers <joseph@codesourcery.com>
5340 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
5342 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5343 * sysdeps/sparc/bits/mathdef.h: Likewise.
5345 2012-01-31 Marek Polacek <polacek@redhat.com>
5347 * libio/libio.h: Don't define _PARAMS.
5348 * locale/programs/config.h: Don't define PARAMS.
5349 * stdlib/strtol_l.c: Likewise.
5350 (__strtol_l): Remove PARAMS from the prototype.
5352 2012-01-31 Ulrich Drepper <drepper@gmail.com>
5354 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
5355 names. Just use the correct names. Remove unnecessary wrapper
5357 * malloc/arena.c: Likewise.
5358 * malloc/hooks.c: Likewise.
5360 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
5361 ARENA_TEST says not to. Simplify test for creation of a new arena.
5362 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
5364 2012-01-30 Ulrich Drepper <drepper@gmail.com>
5366 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
5368 (update_get_addr): New function.
5369 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
5370 GET_ADDR_MODULE parameter.
5372 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5374 * crypt/cert.c: Remove __STDC__ conditionals.
5375 * crypt/crypt-entry.c: Likewise.
5376 * crypt/crypt_util.c: Likewise.
5377 * libio/filedoalloc.c: Likewise.
5378 * libio/fileops.c: Likewise.
5379 * libio/genops.c: Likewise.
5380 * libio/iofclose.c: Likewise.
5381 * libio/iofdopen.c: Likewise.
5382 * libio/iofopen.c: Likewise.
5383 * libio/iofopen64.c: Likewise.
5384 * libio/iogetdelim.c: Likewise.
5385 * libio/iopopen.c: Likewise.
5386 * libio/obprintf.c: Likewise.
5387 * libio/oldfileops.c: Likewise.
5388 * libio/oldiofclose.c: Likewise.
5389 * libio/oldiofdopen.c: Likewise.
5390 * libio/oldiofopen.c: Likewise.
5391 * libio/oldiopopen.c: Likewise.
5392 * libio/wfiledoalloc.c: Likewise.
5393 * libio/wgenops.c: Likewise.
5394 * locale/programs/xmalloc.c: Likewise.
5395 * misc/syslog.c: Likewise.
5396 * stdio-common/xbug.c: Likewise.
5397 * string/memchr.c: Likewise.
5398 * string/memcmp.c: Likewise.
5399 * string/memrchr.c: Likewise.
5400 * string/rawmemchr.c: Likewise.
5401 * sysdeps/posix/getcwd.c: Likewise.
5402 * time/strftime_l.c: Likewise.
5404 2012-01-30 Joseph Myers <joseph@codesourcery.com>
5406 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
5407 * config.make.in (config-cflags-sse2avx): Define.
5408 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
5411 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
5413 * scripts/config.guess: Update from upstream config git repository.
5414 * scripts/config.sub: Likewise.
5416 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
5418 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
5420 (R_TILEPRO_*, R_TILEGX_*): New macros.
5422 * scripts/firstversions.awk: Fix bug in version range handling.
5424 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
5426 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
5428 * include/sys/epoll.h: New file.
5429 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
5432 2012-01-28 Ulrich Drepper <drepper@gmail.com>
5434 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
5435 Avoid unnecessary __WORDSIZE == 64 test.
5436 (fmaxf): Use VEX format if possible.
5441 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
5442 * math/math_private.h: Remove libc_fegetround* and
5444 * sysdeps/i386/configure.in: Check for -msse2avx.
5445 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
5446 also if SSE2AVX is defined.
5447 Remove libc_fegetround* and libc_fesetround*.
5448 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
5449 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
5450 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
5452 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5453 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5454 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5456 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5458 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
5460 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5462 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
5464 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
5466 2012-01-27 Ulrich Drepper <drepper@gmail.com>
5469 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
5471 * Makeconfig (libm): Define.
5472 * elf/Makefile: Add rules to build and run tst-relsort1.
5473 * elf/tst-relsort1.c: New file.
5474 * elf/tst-relsort1mod1.c: New file.
5475 * elf/tst-relsort1mod2.c: New file.
5477 2012-01-27 Joseph Myers <joseph@codesourcery.com>
5479 * math/s_ldexp.c: Remove __STDC__ conditionals.
5480 * math/s_ldexpf.c: Likewise.
5481 * math/s_ldexpl.c: Likewise.
5482 * math/s_nextafter.c: Likewise.
5483 * math/s_nexttowardf.c: Likewise.
5484 * math/s_significand.c: Likewise.
5485 * math/s_significandf.c: Likewise.
5486 * math/s_significandl.c: Likewise.
5487 * math/w_jnl.c: Likewise.
5488 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
5489 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
5490 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
5491 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
5492 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
5493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5494 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
5495 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
5496 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
5497 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
5498 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
5499 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5500 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
5501 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
5502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5503 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
5504 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
5505 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
5506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5507 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
5508 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
5509 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5510 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5511 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5512 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5513 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5514 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5515 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5516 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
5517 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5518 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5519 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
5520 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5521 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
5522 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
5523 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5524 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
5525 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
5526 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
5527 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
5528 * sysdeps/ieee754/k_standard.c: Likewise.
5529 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
5530 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
5533 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5551 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
5553 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5554 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5555 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5556 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5557 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5558 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
5559 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
5560 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
5561 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5562 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
5563 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
5564 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
5565 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
5566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5567 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
5568 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
5569 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
5570 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
5571 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5572 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
5573 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5574 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
5575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5576 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5577 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
5578 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5579 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
5580 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5581 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5582 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
5583 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
5584 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
5585 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
5586 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
5587 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
5588 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
5589 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
5590 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
5591 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
5592 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5593 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
5594 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
5595 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
5596 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
5597 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
5598 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
5599 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
5600 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
5601 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
5602 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
5603 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
5604 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
5605 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
5606 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
5607 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
5608 * sysdeps/ieee754/s_matherr.c: Likewise.
5609 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
5610 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5611 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5612 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5614 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5616 * crypt/md5.h: Remove __STDC__ conditionals.
5617 * libio/libioP.h: Likewise.
5618 * locale/programs/config.h: Likewise.
5619 * sysdeps/generic/sysdep.h: Likewise.
5620 * sysdeps/i386/asm-syntax.h: Likewise.
5621 * sysdeps/s390/asm-syntax.h: Likewise.
5622 * sysdeps/unix/sysdep.h: Likewise.
5623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5626 2012-01-26 Joseph Myers <joseph@codesourcery.com>
5628 * libio/libio.h: Remove __STDC__ conditionals.
5629 * malloc/obstack.h: Likewise.
5630 * math/complex.h: Likewise.
5631 * math/math.h: Likewise.
5632 * sysdeps/generic/_G_config.h: Likewise.
5633 * sysdeps/gnu/_G_config.h: Likewise.
5634 * sysdeps/mach/hurd/_G_config.h: Likewise.
5635 * sysdeps/powerpc/bits/mathdef.h: Likewise.
5636 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
5637 * sysdeps/sparc/bits/mathdef.h: Likewise.
5639 2012-01-26 Ulrich Drepper <drepper@gmail.com>
5642 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
5643 Clean up HAS_* macros.
5644 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
5645 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
5647 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
5649 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5650 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5651 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5652 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5653 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5655 2012-01-25 Joseph Myers <joseph@codesourcery.com>
5657 * elf/tst-unique3.cc (gets): Remove declaration.
5658 * elf/tst-unique3lib.cc (gets): Likewise.
5659 * elf/tst-unique3lib2.cc (gets): Likewise.
5660 * elf/tst-unique4.cc (gets): Likewise.
5662 2012-01-24 Ulrich Drepper <drepper@gmail.com>
5664 * include/stdio.h: Add C++ protection. Add gets declarations and
5666 * debug/tst-chk1.c: Don't declare gets here.
5667 * stdio-common/tst-gets.c: Likewise.
5669 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5671 * posix/glob: Remove directory.
5673 2012-01-24 Joseph Myers <joseph@codesourcery.com>
5675 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
5677 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
5679 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
5680 of the non-standard EPFNOSUPPORT.
5682 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
5684 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
5685 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
5686 ANYWHERE set to 1 only on KERN_NO_SPACE error.
5688 2012-01-21 Ulrich Drepper <drepper@gmail.com>
5690 * wcsmbs/uchar.h: Test __STDC_VERSION__.
5692 2012-01-20 Ulrich Drepper <drepper@gmail.com>
5694 * nscd/aicache.c (addhstaiX): Do not cache negative results of
5696 * nscd/grpcache.c (cache_addgr): Likewise.
5697 * nscd/hstcache.c (cache_addhst): Likewise.
5698 * nscd/initgrcache.c (addinitgroupsX): Likewise.
5699 * nscd/pwdcache.c (cache_addpw): Likewise.
5700 * nscd/servicescache.c (cache_addserv): Likewise.
5702 2012-01-16 Ulrich Drepper <drepper@gmail.com>
5704 * malloc/malloc.c: Various cleanups.
5705 * malloc/hooks.c: Likewise.
5707 * stdlib/Makefile (tests): Add bug-fmtmsg1.
5708 * stdlib/bug-fmtmsg1.c: New file.
5710 * stdlib/fmtmsg.c (init): Add missing unlock.
5711 Patch by Peng Haitao <penght@cn.fujitsu.com>.
5713 2012-01-12 Marek Polacek <polacek@redhat.com>
5715 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
5718 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
5720 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
5721 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
5722 macro to ensure uniqueness of label name.
5723 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5724 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5726 2012-01-11 Ulrich Drepper <drepper@gmail.com>
5728 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
5730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
5731 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
5732 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
5735 2012-01-10 Ulrich Drepper <drepper@gmail.com>
5737 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
5739 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
5740 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
5741 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
5743 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
5745 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
5746 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
5747 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
5748 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
5750 * math/bits/math-finite.h: Add ldexp support.
5752 2012-01-10 Marek Polacek <polacek@redhat.com>
5754 * locale/programs/localedef.h (show_archive_content): Add noreturn
5757 2012-01-09 Ulrich Drepper <drepper@gmail.com>
5759 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
5761 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5763 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
5765 * io/Makefile (headers): Add bits/poll2.h.
5767 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
5769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
5770 typo #include statement.
5772 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5774 * include/sys/cdefs.h: Define __attribute_alloc_size.
5775 * catgets/gencat.c: Add alloc_size attribute and apply consistently
5776 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
5777 * elf/pldd.c: Likewise.
5778 * iconv/iconv_charmap.c: Likewise.
5779 * iconv/iconvconfig.c: Likewise.
5780 * iconv/strtab.c: Likewise.
5781 * locale/programs/locale.c: Likewise.
5782 * locale/programs/localedef.h: Likewise.
5783 * locale/programs/simple-hash.c: Likewise.
5784 * nscd/nscd.h: Likewise.
5785 * nss/makedb.c: Likewise.
5786 * sysdeps/generic/ldconfig.h: Likewise.
5787 * locale/programs/localedef.c: Remove xmalloc prototype.
5788 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
5790 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5792 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
5795 2012-01-08 Ulrich Drepper <drepper@gmail.com>
5797 * math/Makefile (tests): Add tst-CMPLX.
5798 * math/tst-CMPLX.c: New file.
5800 * math/complex.h (CMPLXL): Fix typo.
5802 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
5803 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
5805 * debug/tst-chk1.c: Add poll and ppoll tests.
5806 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
5807 * include/sys/poll.h: Add hidden proto for ppoll.
5808 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
5809 * sysdeps/mach/hurd/ppoll.c: Likewise.
5810 * io/ppoll.c: Likewise.
5811 * debug/poll_chk.c: New file.
5812 * debug/ppoll_chk.c: New file.
5813 * include/bits/poll2.h: New file.
5814 * io/bits/poll2.h: New file.
5817 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
5819 * configure.in: static is always set to yes. Remove.
5820 * config.make.in: Don't set build-static.
5821 * Makeconfig: Remove use of build-static.
5822 * dlfcn/Makefile: Likewise.
5823 * elf/Makefile: Likewise.
5824 * math/Makefile: Likewise.
5825 * misc/Makefile: Likewise.
5826 * nptl/Makefile: Likewise.
5827 * sysdeps/mach/hurd/Makefile: Likewise.
5829 * configure.in: PWD_P is not used anymore.
5830 * config.make.in: Remove PWD_P entry.
5832 * configure.in: Remove last remnants of RANLIB.
5833 No need to check for signed size_t anymore.
5834 Don't set libc_commonpagesize and libc_relro_required here for Alpha
5836 Remove __builtin_expect test because we require at least gcc 3.4.
5837 * aclocal.m4: Likewise.
5839 * wcsmbs/mbrtoc16.c: Implement using towc function.
5840 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
5841 * wcsmbs/wcsmbsload.c: Likewise.
5842 * iconv/gconv_simple.c: Likewise.
5843 * iconv/gconv_int.h: Likewise.
5844 * iconv/gconv_builtin.h: Likewise.
5845 * iconv/iconv_prog.c: Remove CHAR16 handling.
5847 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
5849 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
5851 * configure.in: Remove --with-elf and --enable-bounded options.
5852 Dont set base_machine for ia64. More non-ELF conditions removed.
5853 Remove testing and setting of leading underscore information.
5854 * config.make.in (build-bounded): Set to no.
5855 * config.h.in: Remove NO_UNDERSCORES entry.
5856 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
5858 * csu/start.c: Remove !NO_UNDERSCORE code.
5859 * locale/localeinfo.h: Likewise.
5860 * sysdeps/generic/machine-gmon.h: Likewise.
5861 * sysdeps/generic/sysdep.h: Likewise.
5862 * sysdeps/i386/sysdep.h: Likewise.
5863 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
5864 * sysdeps/mach/sysdep.h: Likewise.
5865 * sysdeps/s390/s390-32/sysdep.h: Likewise.
5866 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5867 * sysdeps/sh/sysdep.h: Likewise.
5868 * sysdeps/sparc/sparc32/alloca.S: Likewise.
5869 * sysdeps/unix/i386/sysdep.S: Likewise.
5870 * sysdeps/unix/sparc/start.c: Likewise.
5871 * sysdeps/unix/sparc/sysdep.S: Likewise.
5872 * sysdeps/unix/sparc/sysdep.h: Likewise.
5873 * sysdeps/unix/start.c: Likewise.
5874 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5875 * sysdeps/x86_64/sysdep.h: Likewise.
5877 2012-01-07 Ulrich Drepper <drepper@gmail.com>
5880 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
5882 * argp/argp-fmtstream.h: Use const instead __const.
5883 * argp/argp.h: Likewise.
5884 * assert/assert.h: Likewise.
5885 * bits/fenv.h: Likewise.
5886 * bits/sched.h: Likewise.
5887 * bits/sigset.h: Likewise.
5888 * bits/sigthread.h: Likewise.
5889 * catgets/nl_types.h: Likewise.
5890 * conform/data/pthread.h-data: Likewise.
5891 * crypt/crypt-private.h: Likewise.
5892 * crypt/crypt.h: Likewise.
5893 * crypt/crypt_util.c: Likewise.
5894 * ctype/ctype.h: Likewise.
5895 * debug/execinfo.h: Likewise.
5896 * debug/mbsnrtowcs_chk.c: Likewise.
5897 * debug/mbsrtowcs_chk.c: Likewise.
5898 * debug/wcsnrtombs_chk.c: Likewise.
5899 * debug/wcsrtombs_chk.c: Likewise.
5900 * debug/wcstombs_chk.c: Likewise.
5901 * dirent/dirent.h: Likewise.
5902 * dlfcn/dlfcn.h: Likewise.
5903 * elf/neededtest4.c: Likewise.
5904 * grp/grp.h: Likewise.
5905 * gshadow/gshadow.h: Likewise.
5906 * iconv/gconv.h: Likewise.
5907 * iconv/gconv_int.h: Likewise.
5908 * iconv/gconv_simple.c: Likewise.
5909 * iconv/iconv.h: Likewise.
5910 * iconv/loop.c: Likewise.
5911 * iconv/skeleton.c: Likewise.
5912 * include/aio.h: Likewise.
5913 * include/aliases.h: Likewise.
5914 * include/argz.h: Likewise.
5915 * include/arpa/inet.h: Likewise.
5916 * include/assert.h: Likewise.
5917 * include/dirent.h: Likewise.
5918 * include/dlfcn.h: Likewise.
5919 * include/execinfo.h: Likewise.
5920 * include/fcntl.h: Likewise.
5921 * include/fenv.h: Likewise.
5922 * include/glob.h: Likewise.
5923 * include/grp.h: Likewise.
5924 * include/libintl.h: Likewise.
5925 * include/mntent.h: Likewise.
5926 * include/netdb.h: Likewise.
5927 * include/pwd.h: Likewise.
5928 * include/rpc/netdb.h: Likewise.
5929 * include/sched.h: Likewise.
5930 * include/search.h: Likewise.
5931 * include/shadow.h: Likewise.
5932 * include/signal.h: Likewise.
5933 * include/stdio.h: Likewise.
5934 * include/stdlib.h: Likewise.
5935 * include/string.h: Likewise.
5936 * include/sys/socket.h: Likewise.
5937 * include/sys/stat.h: Likewise.
5938 * include/sys/statfs.h: Likewise.
5939 * include/sys/statvfs.h: Likewise.
5940 * include/sys/syslog.h: Likewise.
5941 * include/sys/time.h: Likewise.
5942 * include/sys/uio.h: Likewise.
5943 * include/time.h: Likewise.
5944 * include/unistd.h: Likewise.
5945 * include/utmp.h: Likewise.
5946 * include/wchar.h: Likewise.
5947 * include/wctype.h: Likewise.
5948 * inet/aliases.h: Likewise.
5949 * inet/arpa/inet.h: Likewise.
5950 * inet/netinet/ether.h: Likewise.
5951 * inet/netinet/in.h: Likewise.
5952 * intl/libintl.h: Likewise.
5953 * io/bits/fcntl2.h: Likewise.
5954 * io/fcntl.h: Likewise.
5955 * io/ftw.h: Likewise.
5956 * io/sys/poll.h: Likewise.
5957 * io/sys/stat.h: Likewise.
5958 * io/sys/statfs.h: Likewise.
5959 * io/sys/statvfs.h: Likewise.
5960 * io/utime.h: Likewise.
5961 * libio/bits/stdio.h: Likewise.
5962 * libio/bits/stdio2.h: Likewise.
5963 * libio/libio.h: Likewise.
5964 * libio/libioP.h: Likewise.
5965 * libio/stdio.h: Likewise.
5966 * locale/lc-ctype.c: Likewise.
5967 * locale/locale.h: Likewise.
5968 * login/utmp.h: Likewise.
5969 * malloc/arena.c: Likewise.
5970 * malloc/malloc.c: Likewise.
5971 * malloc/malloc.h: Likewise.
5972 * malloc/mcheck.c: Likewise.
5973 * malloc/mtrace.c: Likewise.
5974 * math/bits/mathcalls.h: Likewise.
5975 * math/fenv.h: Likewise.
5976 * math/math_private.h: Likewise.
5977 * misc/bits/error.h: Likewise.
5978 * misc/bits/syslog.h: Likewise.
5979 * misc/err.h: Likewise.
5980 * misc/error.h: Likewise.
5981 * misc/fstab.h: Likewise.
5982 * misc/mntent.h: Likewise.
5983 * misc/regexp.h: Likewise.
5984 * misc/search.h: Likewise.
5985 * misc/sgtty.h: Likewise.
5986 * misc/sys/mman.h: Likewise.
5987 * misc/sys/syslog.h: Likewise.
5988 * misc/sys/uio.h: Likewise.
5989 * misc/sys/xattr.h: Likewise.
5990 * misc/ttyent.h: Likewise.
5991 * nis/rpcsvc/ypclnt.h: Likewise.
5992 * nss/nss.h: Likewise.
5993 * posix/bits/unistd.h: Likewise.
5994 * posix/fnmatch.h: Likewise.
5995 * posix/glob.h: Likewise.
5996 * posix/sched.h: Likewise.
5997 * posix/spawn.h: Likewise.
5998 * posix/sys/wait.h: Likewise.
5999 * posix/unistd.h: Likewise.
6000 * posix/wordexp.h: Likewise.
6001 * pwd/pwd.h: Likewise.
6002 * resolv/netdb.h: Likewise.
6003 * resource/sys/resource.h: Likewise.
6004 * rt/aio.h: Likewise.
6005 * rt/bits/mqueue2.h: Likewise.
6006 * rt/mqueue.h: Likewise.
6007 * shadow/shadow.h: Likewise.
6008 * signal/signal.h: Likewise.
6009 * socket/send.c: Likewise.
6010 * socket/sendto.c: Likewise.
6011 * socket/sys/socket.h: Likewise.
6012 * stdio-common/printf.h: Likewise.
6013 * stdlib/bits/stdlib.h: Likewise.
6014 * stdlib/fmtmsg.h: Likewise.
6015 * stdlib/monetary.h: Likewise.
6016 * stdlib/stdlib.h: Likewise.
6017 * stdlib/ucontext.h: Likewise.
6018 * streams/stropts.h: Likewise.
6019 * string/argz.h: Likewise.
6020 * string/bits/string2.h: Likewise.
6021 * string/string.h: Likewise.
6022 * string/strings.h: Likewise.
6023 * sunrpc/rpc/auth.h: Likewise.
6024 * sunrpc/rpc/auth_des.h: Likewise.
6025 * sunrpc/rpc/clnt.h: Likewise.
6026 * sunrpc/rpc/netdb.h: Likewise.
6027 * sunrpc/rpc/pmap_clnt.h: Likewise.
6028 * sunrpc/rpc/xdr.h: Likewise.
6029 * sysdeps/generic/inttypes.h: Likewise.
6030 * sysdeps/generic/net/if.h: Likewise.
6031 * sysdeps/generic/sys/swap.h: Likewise.
6032 * sysdeps/gnu/net/if.h: Likewise.
6033 * sysdeps/gnu/utmpx.h: Likewise.
6034 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
6035 * sysdeps/i386/i486/bits/string.h: Likewise.
6036 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
6037 * sysdeps/s390/bits/string.h: Likewise.
6038 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
6039 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
6040 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
6041 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
6042 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
6043 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
6044 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
6045 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
6046 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
6047 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
6048 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
6049 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6050 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
6051 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6052 * sysdeps/unix/sysv/linux/readv.c: Likewise.
6053 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
6054 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6055 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6058 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6059 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
6060 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
6061 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
6062 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
6063 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
6064 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
6065 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6066 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
6067 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
6068 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
6069 * sysvipc/sys/ipc.h: Likewise.
6070 * sysvipc/sys/msg.h: Likewise.
6071 * sysvipc/sys/sem.h: Likewise.
6072 * sysvipc/sys/shm.h: Likewise.
6073 * termios/termios.h: Likewise.
6074 * time/sys/time.h: Likewise.
6075 * time/time.h: Likewise.
6076 * wcsmbs/bits/wchar2.h: Likewise.
6077 * wcsmbs/uchar.h: Likewise.
6078 * wcsmbs/wchar.h: Likewise.
6079 * wctype/wctype.h: Likewise.
6082 * Makeconfig: Remove all but ELF support including AIX support.
6083 * Makerules: Likewise.
6084 * config.h.in: Likewise.
6085 * config.make.in: Likewise.
6086 * configure: Likewise.
6087 * configure.in: Likewise.
6088 * csu/Makefile: Likewise.
6089 * csu/version.c: Likewise.
6090 * debug/Makefile: Likewise.
6091 * dlfcn/Makefile: Likewise.
6092 * elf/Makefile: Likewise.
6093 * extra-lib.mk: Likewise.
6094 * iconv/Makefile: Likewise.
6095 * include/libc-symbols.h: Likewise.
6096 * include/shlib-compat.h: Likewise.
6097 * resolv/Makefile: Likewise.
6098 * resolv/res_libc.c: Likewise.
6099 * rt/Makefile: Likewise.
6100 * sysdeps/i386/asm-syntax.h: Likewise.
6101 * sysdeps/i386/sysdep.h: Likewise.
6102 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6103 * sysdeps/mach/sysdep.h: Likewise.
6104 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
6105 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
6106 * sysdeps/s390/asm-syntax.h: Likewise.
6107 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6109 * sysdeps/sh/sysdep.h: Likewise.
6110 * sysdeps/unix/sparc/sysdep.h: Likewise.
6111 * sysdeps/wordsize-32/divdi3.c: Likewise.
6112 * sysdeps/x86_64/sysdep.h: Likewise.
6114 * argp/Versions: Remove _argp_unlock_xxx.
6117 * abilist/ld.abilist: Update. Adjust for removal of tls option.
6118 * abilist/libBrokenLocale.abilist: Likewise.
6119 * abilist/libanl.abilist: Likewise.
6120 * abilist/libc.abilist: Likewise.
6121 * abilist/libcrypt.abilist: Likewise.
6122 * abilist/libdl.abilist: Likewise.
6123 * abilist/libm.abilist: Likewise.
6124 * abilist/libnsl.abilist: Likewise.
6125 * abilist/libpthread.abilist: Likewise.
6126 * abilist/libresolv.abilist: Likewise.
6127 * abilist/librt.abilist: Likewise.
6128 * abilist/libthread_db.abilist: Likewise.
6129 * abilist/libutil.abilist: Likewise.
6130 * abilist/libnss_db.abilist: New file.
6132 * scripts/abilist.awk: Add support for indirect functions.
6134 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
6136 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
6138 * shlib-versions: Remove entries for ports architectures.
6140 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
6142 * elf/stackguard-macros.h: Remove support for IA-64.
6143 * elf/tst-auditmod1.c: Likewise.
6144 * sysdeps/generic/ldsodefs.h: Likewise.
6146 * sysdeps/unix/sysv/linux/configure.in: Ports should define
6147 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
6151 * configure.in: Remove --enable-omitfp support.
6153 * config.make.in: Likewise.
6154 * Makeconfig: Likewise.
6155 * manual/install.texi: Likewise.
6157 In case anyone cares, the IA-64 architecture could move to ports.
6158 * sysdeps/ia64/*: Removed.
6159 * sysdeps/unix/sysv/linux/ia64/*: Removed.
6160 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
6163 * configure.in: Remove entries for unsupported architectures.
6166 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
6167 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
6169 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
6170 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
6171 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
6172 fall back to using wcrtomb.
6173 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
6174 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
6176 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
6177 * wcsmbs/tst-c16c32-1.c: New file.
6179 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
6182 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
6184 * elf/tst-unique3.cc: Add explicit declaration of gets.
6185 * elf/tst-unique3lib.cc: Likewise.
6186 * elf/tst-unique3lib2.cc: Likewise.
6187 * elf/tst-unique4.cc: Likewise.
6189 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
6191 2012-01-06 Joseph Myers <joseph@codesourcery.com>
6194 * assert/assert.h (static_assert): Don't define for C++.
6195 * libio/stdio.h (gets): Do declare for C++ <= C++11.
6196 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
6198 2012-01-03 Ulrich Drepper <drepper@gmail.com>
6200 * iconv/loop.c (single loop): Fix assertion in storing of
6203 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
6205 2012-01-01 Ulrich Drepper <drepper@gmail.com>
6207 * posix/getconf.c: Update copyright year.
6208 * nss/getent.c: Likewise.
6209 * nss/makedb.c: Likewise.
6210 * iconv/iconvconfig.c: Likewise.
6211 * iconv/iconv_prog.c: Likewise.
6212 * elf/ldconfig.c: Likewise.
6213 * elf/pldd.c: Likewise.
6214 * elf/sotruss.ksh: Likewise.
6215 * catgets/gencat.c: Likewise.
6216 * csu/version.c: Likewise.
6217 * elf/ldd.bash.in: Likewise.
6218 * elf/sprof.c (print_version): Likewise.
6219 * locale/programs/locale.c: Likewise.
6220 * locale/programs/localedef.c: Likewise.
6221 * login/programs/pt_chown.c: Likewise.
6222 * nscd/nscd.c (print_version): Likewise.
6223 * debug/xtrace.sh: Likewise.
6224 * malloc/memusage.sh: Likewise.
6225 * malloc/mtrace.pl: Likewise.
6226 * debug/catchsegv.sh: Likewise.
6228 2011-12-30 Jakub Jelinek <jakub@redhat.com>
6230 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
6233 2011-12-24 Ulrich Drepper <drepper@gmail.com>
6236 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
6237 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
6239 * iconv/gconv_int.h: Likewise.
6240 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
6241 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
6242 from libc for GLIBC_2.16.
6243 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
6244 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
6245 * wcsmbs/uchar.h: Really define mbstate_t.
6246 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
6247 * wcsmbs/c16rtomb.c: New file.
6248 * wcsmbs/mbrtoc16.c: New file.
6249 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
6251 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
6252 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
6254 * wcsmbs/wchar.h: Add missing __restrict.
6256 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6259 * time/Makefile (routines): Add timespec_get.
6260 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
6261 * time/time.h: Define TIME_UTC and declare timespec_get. Define
6262 timespec for ISO C11.
6263 * time/timespec_get.c: New file.
6264 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
6265 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
6268 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
6269 * stdlib/stdlib.h: Declare aligned_alloc.
6270 * Versions.def: Add GLIBC_2.16 for libc.
6271 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
6274 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
6277 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
6281 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
6284 * assert/assert.h (static_assert): Define.
6286 * version.h: Update for 2.16 development version.
6289 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
6292 * version.h (RELEASE): Bump for 2.15 release.
6293 * include/features.h (__GLIBC_MINOR__): Bump to 15.
6295 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
6296 Patch by Marek Polacek <mpolacek@redhat.com>.
6298 * bits/byteswap.h: Protect long long constants with __extension__.
6299 * sysdeps/i386/bits/byteswap.h: Likewise.
6300 * sysdeps/ia64/bits/byteswap.h: Likewise.
6301 * sysdeps/s390/bits/byteswap.h: Likewise.
6302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6304 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6307 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
6309 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
6311 2011-12-23 Marek Polacek <polacek@redhat.com>
6313 * elf/dl-addr.c (determine_info): Add inline keyword.
6314 * elf/tst-auditmod4b.c (check_avx): Likewise.
6315 * elf/tst-auditmod6b.c (check_avx): Likewise.
6316 * elf/tst-auditmod6c.c (check_avx): Likewise.
6317 * elf/tst-auditmod7b.c (check_avx): Likewise.
6319 2011-12-23 Ulrich Drepper <drepper@gmail.com>
6321 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
6324 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6327 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
6328 processing for last bytes.
6330 2011-08-06 Bruno Haible <bruno@clisp.org>
6333 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
6334 U+0385, not to U+1FEE.
6337 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
6338 entry for U+00A5 U+0301.
6340 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6343 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
6344 buffer for the output is too small.
6346 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
6350 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
6351 SSE flags if possible.
6353 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6356 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
6357 processing for last bytes.
6359 2011-12-22 Joseph Myers <joseph@codesourcery.com>
6361 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
6362 (syscall-list-default-options, syscall-list-default-condition)
6363 (syscall-list-includes): Define.
6364 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
6365 list of ABIs and options and #if conditions for each ABI. Do not
6366 handle common syscalls between ABIs specially.
6367 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
6369 (syscall-list-variants, syscall-list-32bit-options)
6370 (syscall-list-32bit-condition, syscall-list-64bit-options)
6371 (syscall-list-64bit-condition): Define.
6372 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
6373 (syscall-list-variants, syscall-list-32bit-options)
6374 (syscall-list-32bit-condition, syscall-list-64bit-options)
6375 (syscall-list-64bit-condition): Define.
6376 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
6378 (syscall-list-variants, syscall-list-32bit-options)
6379 (syscall-list-32bit-condition, syscall-list-64bit-options)
6380 (syscall-list-64bit-condition): Define.
6381 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
6383 (syscall-list-variants, syscall-list-32bit-options)
6384 (syscall-list-32bit-condition, syscall-list-64bit-options)
6385 (syscall-list-64bit-condition): Define.
6387 2011-12-22 Ulrich Drepper <drepper@gmail.com>
6389 * locale/iso-639.def: Add brx entry.
6392 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
6393 Proposed by Mariusz_Cukr <marcukr@op.pl>.
6395 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
6396 __feraiseexcept_renamed.
6398 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6401 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
6402 EPOLLET with unsigned values.
6403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6404 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
6406 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
6407 to large cancellation.
6408 * math/s_cacoshf.c: Likewise.
6409 * math/s_cacoshl.c: Likewise.
6411 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
6415 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
6416 * math/s_cacoshf.c: Likewise.
6417 * math/s_cacoshl.c: Likewise.
6419 2011-12-21 Ulrich Drepper <drepper@gmail.com>
6422 * iconv/gconv.h: Define __GCONV_SWAP.
6423 * iconvdata/unicode.c: The swap bit must be stored in __flags.
6424 * iconvdata/utf-16.c: Likewise.
6425 * iconvdata/utf-32.c: Likewise.
6427 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
6430 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
6431 numerator after shifting it by one limb.
6433 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
6435 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
6436 under [__USE_EXTERN_INLINES].
6438 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6441 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
6443 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6445 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
6446 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
6448 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
6449 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
6450 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
6451 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
6452 for strncasecmp/strncasecmp_l compilation.
6453 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
6454 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
6456 2011-12-08 Marek Polacek <mpolacek@redhat.com>
6459 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
6462 2011-12-17 Ulrich Drepper <drepper@gmail.com>
6465 * time/tzfile.c (__tzfile_read): Check values from file header.
6467 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
6469 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
6470 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
6471 * powerpc/powerpc32/dl-start.S: Likewise.
6472 * powerpc/powerpc32/elf/start.S: Likewise.
6473 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
6474 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
6475 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
6476 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
6477 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6478 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
6479 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
6480 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6481 * powerpc/powerpc32/fpu/s_round.S: Likewise.
6482 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6483 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6484 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6485 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
6486 * powerpc/powerpc32/memset.S: Likewise.
6487 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6488 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6489 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6490 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6491 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6492 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6493 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6494 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6495 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
6496 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
6497 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
6498 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6499 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6501 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6503 * math/libm-test.inc: Added more nearbyint tests.
6504 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
6505 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
6506 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
6507 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
6509 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
6511 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
6514 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6516 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
6517 Add wcscpy-ssse3 wcscpy-c.
6518 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
6519 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
6520 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
6521 * sysdeps/x86_64/wcschr.S: New file.
6522 * sysdeps/x86_64/wcsrchr.S: New file.
6523 * string/test-strcmp.c: Remove checking of wcscmp function for
6525 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
6526 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
6527 wcsrchr-sse2 wcsrchr-c.
6528 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
6529 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
6530 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
6531 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
6532 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
6533 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
6534 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
6535 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
6536 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
6537 * wcsmbc/wcschr.c (WCSCHR): New macro.
6539 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6541 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
6542 * wcsmbs/test-wcsrchr.c: New file.
6543 * string/test-strrchr.c: Add wcsrchr support.
6545 * wcsmbs/test-wcscpy.c: New file.
6546 * string/test-strcpy.c: Add wcscpy support.
6549 2011-12-10 Ulrich Drepper <drepper@gmail.com>
6551 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
6554 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
6557 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
6559 2011-12-04 Ulrich Drepper <drepper@gmail.com>
6561 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
6562 Minor optimizations.
6564 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
6565 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
6566 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6568 2011-12-03 Ulrich Drepper <drepper@gmail.com>
6570 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
6571 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
6572 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
6573 for gcc to avoid warnings.
6574 * inet/Makefile (tests): Add tst-checks.
6575 * inet/tst-checks.c: New file.
6577 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
6580 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
6583 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
6584 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
6586 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
6588 2011-12-02 Ulrich Drepper <drepper@gmail.com>
6590 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
6593 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
6595 2011-11-29 Joseph Myers <joseph@codesourcery.com>
6597 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
6598 conditional on GCC version.
6599 (__arch_compare_and_exchange_val_8_acq)
6600 (__arch_compare_and_exchange_val_16_acq)
6601 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
6602 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
6603 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
6605 2011-12-02 Joseph Myers <joseph@codesourcery.com>
6607 * sysdeps/sh/backtrace.c: New file.
6609 2011-12-02 Andreas Schwab <schwab@redhat.com>
6611 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
6614 2011-12-01 Andreas Schwab <schwab@redhat.com>
6616 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
6617 falling back to utime.
6619 2011-11-30 Andreas Schwab <schwab@redhat.com>
6621 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
6622 expectations for float.
6624 2011-11-29 Andreas Schwab <schwab@redhat.com>
6626 * locale/weight.h (findidx): Add parameter len.
6627 * locale/weightwc.h (findidx): Likewise.
6628 * posix/fnmatch_loop.c (FCT): Adjust caller.
6629 * posix/regcomp.c (build_equiv_class): Likewise.
6630 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
6631 * posix/regexec.c (check_node_accept_bytes): Likewise.
6632 * string/strcoll_l.c (STRCOLL): Likewise.
6633 * string/strxfrm_l.c (STRXFRM): Likewise.
6635 2011-11-17 Ulrich Drepper <drepper@gmail.com>
6637 * Makefile.in: Remove CVSOPT handling.
6638 * configure.in: Remove use of AC_REVISION.
6639 * iconvdata/Makefile (distribute): No need to filter out CVS.
6640 * scripts/list-sources.sh: Remove CVS, subversion and monotone
6643 2011-11-16 Andreas Schwab <schwab@redhat.com>
6645 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
6646 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
6647 [USE_AS_STRNCASECMP_L]: Likewise.
6648 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
6649 NO_TLS_DIRECT_SEG_REFS.
6650 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
6651 Fix argument offsets for non-PIC.
6652 [USE_AS_STRNCASECMP_L]: Likewise.
6653 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
6654 NO_TLS_DIRECT_SEG_REFS.
6656 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6658 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
6660 * locale/loadlocale.c (_nl_load_locale): Likewise.
6662 2011-11-15 Andreas Schwab <schwab@redhat.com>
6664 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
6665 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
6666 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
6667 (SYSCALL_GETTIME): Set errno on error.
6669 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
6670 count references to noai6ai_cached.
6672 2011-11-15 Ulrich Drepper <drepper@gmail.com>
6674 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
6676 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
6677 FD_CLOEXEC for /proc/self/maps.
6679 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
6680 FD_CLOEXEC for /proc/meminfo.
6682 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
6685 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
6686 FD_CLOEXEC for given file.
6688 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
6690 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
6691 FD_CLOEXEC for /etc/hosts.
6692 (_gethtent): Likewise.
6694 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
6696 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
6697 cancellation and set FD_CLOEXEC for /etc/netgroup.
6699 * nss/nss_files/files-key.c (search): Don't allow cancellation when
6700 reading /etc/publickey.
6702 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
6703 allow cancellation when reading /etc/group.
6705 * nss/nss_files/files-alias.c (internal_setent): Don't allow
6707 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
6709 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
6710 when using data file.
6712 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
6714 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
6715 (write_nis_obj): Use "c" and "e" in fopen.
6717 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
6719 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
6721 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
6723 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
6725 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
6728 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
6730 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
6732 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
6734 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
6735 file parsing and set FD_CLOEXEC.
6737 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6739 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
6741 2011-11-14 Andreas Schwab <schwab@redhat.com>
6743 * malloc/arena.c (arena_get2): Don't call reused_arena when
6744 _int_new_arena failed.
6746 2011-11-14 Ulrich Drepper <drepper@gmail.com>
6748 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
6749 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
6750 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
6751 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6752 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6753 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
6754 to compile strcasecmp and strncasecmp.
6755 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
6756 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
6758 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
6760 2011-11-13 Ulrich Drepper <drepper@gmail.com>
6762 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
6763 locale-defines.sym to gen-as-const-headers.
6764 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
6765 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
6766 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
6767 to compile strcasecmp and strncasecmp.
6768 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
6769 strcasecmp_l and strncasecmp_l.
6770 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
6771 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
6772 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
6773 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
6774 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
6775 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
6776 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
6777 * sysdeps/i386/i686/multiarch/strncase.S: New file.
6778 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
6779 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
6780 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
6782 2011-11-12 Ulrich Drepper <drepper@gmail.com>
6784 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
6785 result of SYSDEP_GETTIME_CPU to retval.
6786 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
6787 parameter list to macro. Remove trailing semicolon. Adjust users.
6789 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
6792 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
6794 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6796 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
6797 from unused variable.
6799 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
6801 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
6804 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
6807 * sunrpc/rpc_prot.c (rejected): Fix case value.
6809 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
6810 unsigned long long int to avoid warnings in shift.
6812 * posix/regex_internal.c (re_string_reconstruct): Actually use result
6814 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
6817 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
6818 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6819 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6821 * nis/nis_table.c (nis_list): Use variable of correct type for
6822 result of __follow_path call.
6824 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6826 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
6827 of math functions ceil, trunc, floor, round, and sqrt, when
6828 avaliable on the platform.
6829 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
6831 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6832 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6833 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6835 2011-10-30 Marek Polacek <mpolacek@redhat.com>
6837 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
6838 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6840 2011-11-11 Roland McGrath <roland@hack.frob.com>
6842 * include/unistd.h: Fix __readlink return type.
6843 Reported by Chris Metcalf <cmetcalf@tilera.com>.
6845 2011-11-11 Ulrich Drepper <drepper@gmail.com>
6847 * stdlib/ucontext.h: Undo last change for makecontext.
6849 2011-11-11 Andreas Schwab <schwab@redhat.com>
6851 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
6853 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
6854 * setjmp/setjmp.h: Mark functions as non-leaf.
6855 * setjmp/bits/setjmp2.h: Likewise.
6856 * stdlib/ucontext.h: Likewise.
6858 2011-11-10 Andreas Schwab <schwab@redhat.com>
6860 * malloc/arena.c (_int_new_arena): Don't increment narenas.
6861 (reused_arena): Don't check arena limit.
6862 (arena_get2): Atomically check arena limit.
6864 2011-11-08 Ulrich Drepper <drepper@gmail.com>
6866 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
6867 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
6869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
6872 2011-11-07 Andreas Schwab <schwab@redhat.com>
6874 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
6875 handler when locking.
6877 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6878 Fix size of allocated buffer.
6880 2011-11-04 Andreas Schwab <schwab@redhat.com>
6883 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
6884 declarations for long double functions.
6885 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
6887 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
6889 2011-11-03 Andreas Schwab <schwab@redhat.com>
6891 * nscd/nscd.c (main): Don't start AVC thread until credentials are
6894 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
6897 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
6899 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
6901 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
6903 * include/alloca.h (stackinfo_alloca_round): Define.
6904 (extend_alloca): Use it.
6905 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
6906 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
6909 * scripts/check-local-headers.sh: Ignore libaudit.h.
6911 * nscd/Makefile (extra-objs): Make recursively expanded.
6913 2011-11-01 Ulrich Drepper <drepper@gmail.com>
6915 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
6916 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
6918 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
6919 * posix/tst-rfc3484-2.c: Likewise.
6920 * posix/tst-rfc3484-3.c: Likewise.
6922 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
6924 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
6926 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
6927 process_vm_writev from libc using GLIBC_2.15 version.
6929 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
6931 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
6933 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
6936 2011-10-31 Ulrich Drepper <drepper@gmail.com>
6939 * nss/getent.c (initgroups_keys): Show error message in case no group
6942 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
6943 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
6944 __bump_nl_timestamp.
6945 * nscd/connections (nscd_init): When host database is served open
6946 netlink socket and request notification about configuration changes.
6947 (main_loop_poll): Track netlink file descriptor and bump timestamp
6948 in case data becomes available.
6949 (main_loop_epoll): Likewise.
6950 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
6951 (database_pers_head): Add extra_data fileds.
6952 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
6953 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
6954 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
6956 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
6957 in6ai data, call __free_in6ai.
6958 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
6960 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
6961 interface information. Reuse previous data if netlink timestamp
6963 (__bump_nl_timestamp): New function.
6964 (__free_in6ai): New function.
6966 2011-10-30 Ulrich Drepper <drepper@gmail.com>
6968 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
6969 close_not_cancel_no_status here.
6970 (__check_pf): Reorganize code a bit to not call close twice if OOM.
6972 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6975 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
6978 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
6979 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
6980 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
6982 2011-07-03 Andreas Jaeger <aj@suse.de>
6985 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
6986 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
6987 * math/libm-test.inc (sin_test): Add test case.
6989 2011-10-29 Ulrich Drepper <drepper@gmail.com>
6992 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
6993 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
6995 * elf/chroot_canon.c (chroot_canon): Cleanups.
6997 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
7000 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
7001 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
7003 * string/test-strchr.c: Make usable for strchrnul testing.
7004 * string/test-strchrnul.c: New file.
7005 * string/Makefile (strop-tests): Add strchrnul.
7007 * po/it.po: Update from translation team.
7008 * po/es.po: Likewise.
7010 2011-10-28 Ulrich Drepper <drepper@gmail.com>
7012 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
7013 the three constants needed as parameters. Drop the others.
7014 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
7015 __m128i_strloadu_tolower.
7016 Create and initialize variable zero and use it in all the places
7017 where _mm_setzero_si128 was used.
7019 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
7020 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
7021 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
7022 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
7024 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
7025 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
7026 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
7027 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
7028 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
7029 __mpranred, __mptan.
7030 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
7031 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
7032 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
7033 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
7034 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
7035 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
7036 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
7037 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
7038 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
7040 2011-10-28 Andreas Schwab <schwab@redhat.com>
7042 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
7044 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
7046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
7047 wide char related routines to wcsmbs subdir.
7049 2011-10-27 Andreas Schwab <schwab@redhat.com>
7052 * misc/sys/cdefs.h (__THROWNL): Define.
7053 * posix/unistd.h: Use __THREADNL instead of __THREAD
7054 for memory synchronization functions.
7056 2011-10-26 Roland McGrath <roland@hack.frob.com>
7059 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
7061 * manual/stdio.texi (Obstack Streams): Node removed.
7063 2011-10-26 Andreas Schwab <schwab@redhat.com>
7065 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
7066 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7067 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7069 * math/math_private.h (math_force_eval): Allow non-addressable
7071 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
7073 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7075 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
7078 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
7079 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
7080 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
7081 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
7082 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
7083 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
7084 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
7085 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
7087 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
7088 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
7089 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
7090 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
7091 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
7092 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
7093 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
7094 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
7095 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
7096 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
7097 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
7098 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
7099 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
7100 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
7101 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
7102 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
7103 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
7104 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
7105 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
7107 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
7108 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
7110 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
7111 place. Use VEX encoding when compiling for AVX.
7113 2011-10-25 Andreas Schwab <schwab@redhat.com>
7115 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
7116 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
7118 * string/test-strchr.c (do_test): Don't generate NUL bytes.
7120 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7122 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
7123 useless if() expression.
7124 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7125 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7126 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7127 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7128 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7129 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7130 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7131 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7132 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7133 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7134 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7135 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7136 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7137 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7138 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7139 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7141 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7142 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7144 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
7146 2011-10-25 Andreas Schwab <schwab@redhat.com>
7148 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
7150 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7152 2011-10-25 Ulrich Drepper <drepper@gmail.com>
7154 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
7155 .text section. Avoid duplicate constants.
7156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7158 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7159 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7160 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7163 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7164 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7165 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
7166 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7167 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
7168 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
7169 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
7170 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
7171 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
7172 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
7173 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7174 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7175 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7176 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7177 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7178 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7179 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
7180 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
7181 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
7182 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
7183 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
7184 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
7185 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
7186 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
7187 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
7188 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
7189 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
7190 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
7191 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
7192 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
7193 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
7194 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
7195 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
7196 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
7197 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
7198 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
7199 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
7200 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
7202 2011-10-24 Ulrich Drepper <drepper@gmail.com>
7204 * sysdeps/x86_64/dla.h: Move to ...
7205 * sysdeps/x86_64/fpu/dla.h: ...here.
7206 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
7207 situations. Use __builtin_fma only for gcc 4.6 and up.
7209 * config.make.in: Add have-mfma4 entry.
7210 * configure.in: Substitute libc_cv_cc_fma4.
7211 * math/Makefile (dbl-only-routines): Add sincostab.
7212 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
7213 Use __sincostab not sincos.
7214 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
7216 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7217 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7218 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
7221 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
7222 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
7223 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
7224 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
7226 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
7227 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
7229 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
7230 define aliases when function name is a macro.
7231 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
7232 sysdeps/ieee754/dbl-64/sincos.tbl.
7233 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
7234 fma4-enabled routines.
7235 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
7236 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
7237 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
7238 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
7239 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
7240 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
7241 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
7242 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
7243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
7244 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
7245 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
7246 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
7247 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
7248 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
7249 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
7250 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
7251 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
7252 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
7253 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
7254 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
7255 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
7256 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
7257 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
7258 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
7259 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
7260 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
7261 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
7262 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
7263 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
7264 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
7266 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
7268 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7270 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7271 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7272 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7277 2011-10-24 Andreas Schwab <schwab@redhat.com>
7279 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
7281 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7283 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
7285 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
7287 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
7289 * string/strnlen.c: Don't define STRNLEN, reverse logic.
7290 Remove unused variable magic_bits.
7291 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
7293 * string/strnlen.c: Define and use STRNLEN macro.
7294 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
7295 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
7296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
7297 * wcsmbs/wcslen.c: Define and use WCSLEN.
7298 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
7299 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
7300 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
7301 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
7302 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
7303 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
7304 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7306 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7308 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7309 strnlen-sse2-no-bsf.
7310 Rename strlen-no-bsf to strlen-sse2-no-bsf.
7311 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
7312 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
7313 Add strnlen support.
7314 (USE_AS_STRNLEN): New macro.
7315 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
7316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
7317 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
7318 * sysdeps/x86_64/wcslen.S: New file.
7320 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
7322 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
7323 XMM-moves are used for copying on small sizes.
7325 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7327 * wcsmbs/Makefile (strop-tests): Add wcschr.
7328 * wcsmbs/test-wcschr.c: New file.
7329 * string/test-strchr.c: Update.
7333 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7335 * wcsmbs/Makefile (strop-tests): Add wcslen.
7336 * wcsmbs/test-wcslen.c: New file.
7337 * string/test-strlen.c: Update.
7341 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7343 * po/it.po: Update from translation team.
7345 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7347 * sysdeps/x86_64/wcscmp.S: Update.
7348 Fix wrong comparison semantics.
7349 wcscmp shall use signed comparison not unsigned.
7350 Don't use substraction to avoid overflow bug.
7351 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7352 * wcsmbc/wcscmp.c: Likewise.
7353 * string/test-strcmp.c: Likewise.
7354 Add new tests to check cases with negative values.
7356 2011-10-23 Ulrich Drepper <drepper@gmail.com>
7358 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
7359 * sysdeps/x86_64/dla.h: ...here. New file.
7360 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
7361 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7365 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7366 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7367 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7368 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7370 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
7372 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
7373 __ynl_finite aliases.
7375 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7377 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7379 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
7381 [DLA_FMA] (EMULV): Use DLA_FMA.
7382 [DLA_FMA] (MUL12): Use EMULV.
7383 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
7384 that are not needed.
7385 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7387 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7388 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7389 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7390 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7391 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7393 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
7395 * math/s_nan.c: Undef __nan.
7396 * math/s_nanf.c: Undef __nanf.
7397 * math/s_nanl.c: Undef __nanl.
7398 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
7401 2011-10-22 Ulrich Drepper <drepper@gmail.com>
7403 * math/s_catan.c: Add branch predictions.
7404 * math/s_catanf.c: Likewise.
7405 * math/s_catanh.c: Likewise.
7406 * math/s_catanhf.c: Likewise.
7407 * math/s_catanhl.c: Likewise.
7408 * math/s_catanl.c: Likewise.
7409 * math/s_cexp.c: Likewise.
7410 * math/s_cexpf.c: Likewise.
7411 * math/s_cexpl.c: Likewise.
7412 * math/s_clog.c: Likewise.
7413 * math/s_clog10.c: Likewise.
7414 * math/s_clog10f.c: Likewise.
7415 * math/s_clog10l.c: Likewise.
7416 * math/s_clogf.c: Likewise.
7417 * math/s_clogl.c: Likewise.
7418 * math/s_csqrt.c: Likewise.
7419 * math/s_csqrtf.c: Likewise.
7420 * math/s_csqrtl.c: Likewise.
7421 * math/s_ctanf.c: Likewise.
7422 * math/s_ctanh.c: Likewise.
7423 * math/s_ctanhf.c: Likewise.
7424 * math/s_ctanhl.c: Likewise.
7425 * math/s_ctanl.c: Likewise.
7427 * math/math_private.h: Define __nan, __nanf, __nanl.
7428 * math/s_cacosh.c: Include <math_private.h>.
7429 * math/s_cacoshl.c: Likewise.
7430 * math/s_casinh.c: Likewise.
7431 * math/s_casinhf.c: Likewise.
7432 * math/s_casinhl.c: Likewise.
7433 * math/s_ccos.c: Rely entire on ccosh.
7434 * math/s_ccosf.c: Rely entire on ccoshf.
7435 * math/s_ccosl.c: Rely entirely on ccoshl.
7436 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
7437 Remove tests for FE_INVALID.
7438 * math/s_ccoshf.c: Likewise.
7439 * math/s_ccoshl.c: Likewise.
7440 * math/s_csin.c: Likewise.
7441 * math/s_csinf.c: Likewise.
7442 * math/s_csinh.c Likewise.
7443 * math/s_csinhf.c: Likewise.
7444 * math/s_csinhl.c: Likewise.
7445 * math/s_csinl.c: Likewise.
7446 * math/s_ctan.c: Likewise.
7447 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
7448 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
7449 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
7451 2011-10-21 Ulrich Drepper <drepper@gmail.com>
7453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
7454 compilation problems.
7456 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
7459 2011-10-20 Ulrich Drepper <drepper@gmail.com>
7461 * sysdeps/i386/configure.in: Test for -mfma4 option.
7462 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
7463 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
7464 COMMON_CPUID_INDEX_80000001.
7465 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
7466 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
7467 use it if FMA3 is not supported.
7468 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
7470 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
7471 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
7473 2011-10-20 Andreas Schwab <schwab@redhat.com>
7476 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
7477 it would create a cycle with a link time dependency.
7479 2011-10-19 Ulrich Drepper <drepper@gmail.com>
7481 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
7483 * string/Makefile (strop-tests): Add rawmemchr.
7484 * string/test-rawmemchr.c: New file.
7486 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
7487 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
7488 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
7489 when compiling str{,n}casecmp and when AVX is available. Hook up
7490 new optimized code in initializers.
7492 2011-10-19 Andreas Schwab <schwab@redhat.com>
7494 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
7495 __feraiseexcept instead of feraiseexcept.
7497 2011-10-18 Ulrich Drepper <drepper@gmail.com>
7499 * math/math_private.h: Define defaults for libc_fetestexcept and
7501 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
7502 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
7503 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7504 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7505 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7506 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7507 libc_fetestexcept and libc_feupdateenv.
7509 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
7510 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
7511 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
7512 * sysdeps/x86_64/fpu/math_private.h: Define special version of
7513 libc_feholdexcept_setround.
7515 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
7516 Add s_nearbyint-c and s_nearbyintf-c.
7517 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
7519 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
7520 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
7521 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
7522 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
7524 * math/math_private.h: Define defaults for libc_fegetround,
7525 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
7526 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
7527 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
7528 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
7529 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
7531 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7532 Remove comments and hacks for old compiler versions.
7533 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
7534 libc_fegetround, libc_fesetround, libc_feholdexcept, and
7537 2011-10-18 Andreas Schwab <schwab@redhat.com>
7539 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
7540 (__feraiseexcept_renamed): Add __NTH.
7541 (feraiseexcept): Add __NTH. Rename local variables to fix
7542 namespace violations.
7544 2011-10-17 Ulrich Drepper <drepper@gmail.com>
7546 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
7548 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
7550 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
7551 recently added interfaces.
7552 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
7554 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
7555 about macro parameter expansion.
7557 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
7558 __NO_MATH_INLINES is defined. Cleanups.
7560 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
7561 and __floorf is target has SSE4.1.
7562 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
7563 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
7564 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
7565 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
7567 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
7571 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
7573 2011-10-17 Andreas Schwab <schwab@redhat.com>
7575 * misc/sys/cdefs.h: Fix last change.
7577 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
7580 2011-10-16 Ulrich Drepper <drepper@gmail.com>
7582 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
7584 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
7585 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7586 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7587 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7588 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7589 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7591 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7592 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7593 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
7594 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
7595 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
7596 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
7597 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
7598 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
7599 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
7600 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
7601 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
7602 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
7603 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
7604 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
7605 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
7607 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
7608 ceil, ceilf, floor, floorf.
7610 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
7611 Perform IRELATIVE relocations last.
7613 * elf/do-rel.h: Add another parameter nrelative, replacing the
7614 local variable with the same name. Change name of the function
7615 to end in Rel or Rela (uppercase).
7616 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
7617 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
7618 elf_dynamic_do_##reloc function.
7620 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7622 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
7623 is sufficient, at least on modern CPUs.
7625 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
7627 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
7628 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
7630 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
7632 * math/bits/math-finite.h: Add entries for exp.
7633 * math/e_expl.c: Add __*_finite alias.
7634 * sysdeps/i386/fpu/e_exp.S: Likewise.
7635 * sysdeps/i386/fpu/e_expf.S: Likewise.
7636 * sysdeps/i386/fpu/e_expl.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7638 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7641 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
7642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7645 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
7646 is sufficient, at least on modern CPUs.
7648 * ctype/ctype-info.c (__ctype_init): Define.
7649 * include/ctype.h (__ctype_init): Declare.
7650 (__ctype_b_loc): The variable is always initialized.
7651 (__ctype_toupper_loc): Likewise.
7652 (__ctype_tolower_loc): Likewise.
7653 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
7654 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
7656 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
7658 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
7660 * configure.in: Also look in $cxxmachine/include for C++ system
7663 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7665 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
7666 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
7667 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
7668 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
7669 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
7670 (USE_AS_WMEMCMP): New macro.
7672 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
7673 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
7674 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
7675 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
7676 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7677 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
7678 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
7679 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
7680 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
7681 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
7682 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
7683 (USE_AS_WMEMCMP): New macro.
7684 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
7685 * sysdeps/string/test-memcmp.c: Update.
7688 * wcsmbs/wmemcmp.c: Update.
7689 (WMEMCMP): New macro.
7692 2011-10-12 Andreas Jaeger <aj@suse.de>
7695 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
7697 2011-10-15 Ulrich Drepper <drepper@gmail.com>
7699 * libio/iofwide.c (do_length): Avoid warning.
7701 * ctype/ctype.h (__isctype_f): Add missing __THROW.
7703 2011-10-14 Ulrich Drepper <drepper@gmail.com>
7705 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
7707 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
7708 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
7709 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
7710 * sysdeps/i386/i686/fpu/e_log.S: New file.
7711 * sysdeps/i386/i686/fpu/e_logf.S: New file.
7712 * sysdeps/i386/i686/fpu/e_logl.S: New file.
7714 * ctype/ctype.h: Add support for inlined isXXX functions when
7717 2011-10-14 Andreas Schwab <schwab@redhat.com>
7719 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7721 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
7723 2011-10-13 Roland McGrath <roland@hack.frob.com>
7726 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
7728 2011-10-13 Andreas Schwab <schwab@redhat.com>
7730 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
7731 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
7734 * sysdeps/x86_64/memrchr.S: Check for zero size.
7736 * string/stratcliff.c: Add memrchr tests.
7738 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7740 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7741 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
7742 rawmemchr-sse2 rawmemchr-sse2-bsf.
7743 * sysdeps/i386/i686/multiarch/memchr.S: New file.
7744 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
7745 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
7746 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
7747 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
7748 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
7749 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
7750 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
7751 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
7752 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
7753 * string/memrchr.c (MEMRCHR): New macro.
7755 2011-10-12 Ulrich Drepper <drepper@gmail.com>
7757 Add integration with gcc's -ffinite-math-only and optimize wrapper
7759 * Versions.def: Define GLIBC_2.15 version for libm.
7760 * math/Makefile (headers): Add bits/math-finite.h.
7761 * math/bits/math-finite.h: New file.
7762 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
7763 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
7764 * math/e_acoshl.c: Add __*_finite alias.
7765 * math/e_acosl.c: Likewise.
7766 * math/e_asinl.c: Likewise.
7767 * math/e_atan2l.c: Likewise.
7768 * math/e_atanhl.c: Likewise.
7769 * math/e_coshl.c: Likewise.
7770 * math/e_exp10.c: Likewise.
7771 * math/e_exp10f.c: Likewise.
7772 * math/e_exp10l.c: Likewise.
7773 * math/e_exp2l.c: Likewise.
7774 * math/e_fmodl.c: Likewise.
7775 * math/e_gammal_r.c: Likewise.
7776 * math/e_hypotl.c: Likewise.
7777 * math/e_j0l.c: Likewise.
7778 * math/e_j1l.c: Likewise.
7779 * math/e_jnl.c: Likewise.
7780 * math/e_lgammal_r.c: Likewise.
7781 * math/e_log10l.c: Likewise.
7782 * math/e_log2l.c: Likewise.
7783 * math/e_logl.c: Likewise.
7784 * math/e_powl.c: Likewise.
7785 * math/e_sinhl.c: Likewise.
7786 * math/e_sqrtl.c: Likewise.
7787 * math/e_scalb.c: Completely rewritten and optimized.
7788 * math/e_scalbf.c: Likewise.
7789 * math/e_scalbl.c: Likewise.
7790 * math/w_acos.c: Likewise.
7791 * math/w_acosf.c: Likewise.
7792 * math/w_acosl.c: Likewise.
7793 * math/w_acosh.c: Likewise.
7794 * math/w_acoshf.c: Likewise.
7795 * math/w_acoshl.c: Likewise.
7796 * math/w_asin.c: Likewise.
7797 * math/w_asinf.c: Likewise.
7798 * math/w_asinl.c: Likewise.
7799 * math/w_atan2.c: Likewise.
7800 * math/w_atan2f.c: Likewise.
7801 * math/w_atan2l.c: Likewise.
7802 * math/w_atanh.c: Likewise.
7803 * math/w_atanhf.c: Likewise.
7804 * math/w_atanhl.c: Likewise.
7805 * math/w_exp10.c: Likewise.
7806 * math/w_exp10f.c: Likewise.
7807 * math/w_exp10l.c: Likewise.
7808 * math/w_fmod.c: Likewise.
7809 * math/w_fmodf.c: Likewise.
7810 * math/w_fmodl.c: Likewise.
7811 * math/w_j0.c: Likewise.
7812 * math/w_j0f.c: Likewise.
7813 * math/w_j0l.c: Likewise.
7814 * math/w_j1.c: Likewise.
7815 * math/w_j1f.c: Likewise.
7816 * math/w_j1l.c: Likewise.
7817 * math/w_jn.c: Likewise.
7818 * math/w_jnf.c: Likewise.
7819 * math/w_log.c: Likewise.
7820 * math/w_logf.c: Likewise.
7821 * math/w_logl.c: Likewise.
7822 * math/w_log10.c: Likewise.
7823 * math/w_log10f.c: Likewise.
7824 * math/w_log10l.c: Likewise.
7825 * math/w_log2.c: Likewise.
7826 * math/w_log2f.c: Likewise.
7827 * math/w_log2l.c: Likewise.
7828 * math/w_pow.c: Likewise.
7829 * math/w_powf.c: Likewise.
7830 * math/w_powl.c: Likewise.
7831 * math/w_remainder.c: Likewise.
7832 * math/w_remainderf.c: Likewise.
7833 * math/w_remainderl.c: Likewise.
7834 * math/w_scalb.c: Likewise.
7835 * math/w_scalbf.c: Likewise.
7836 * math/w_scalbl.c: Likewise.
7837 * math/w_sqrt.c: Likewise.
7838 * math/w_sqrtf.c: Likewise.
7839 * math/w_sqrtl.c: Likewise.
7840 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
7841 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
7843 * math/math_private.h: Declare __kernel_standard_f.
7844 * math/w_cosh.c: Remove cruft and optimize a bit.
7845 * math/w_coshf.c: Likewise.
7846 * math/w_coshl.c: Likewise.
7847 * math/w_exp2.c: Likewise.
7848 * math/w_exp2f.c: Likewise.
7849 * math/w_exp2l.c: Likewise.
7850 * math/w_hypot.c: Likewise.
7851 * math/w_hypotf.c: Likewise.
7852 * math/w_hypotl.c: Likewise.
7853 * math/w_lgamma.c: Likewise.
7854 * math/w_lgamma_r.c: Likewise.
7855 * math/w_lgammaf.c: Likewise.
7856 * math/w_lgammaf_r.c: Likewise.
7857 * math/w_lgammal.c: Likewise.
7858 * math/w_lgammal_r.c: Likewise.
7859 * math/w_sinh.c: Likewise.
7860 * math/w_sinhf.c: Likewise.
7861 * math/w_sinhl.c: Likewise.
7862 * math/w_tgamma.c: Likewise.
7863 * math/w_tgammaf.c: Likewise.
7864 * math/w_tgammal.c: Likewise.
7865 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7866 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7867 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
7868 Minor optimizations. Pretty printing. Remove cruft.
7869 * sysdeps/i386/fpu/e_acosf.S: Likewise.
7870 * sysdeps/i386/fpu/e_acosh.S: Likewise.
7871 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
7872 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
7873 * sysdeps/i386/fpu/e_acosl.c: Likewise.
7874 * sysdeps/i386/fpu/e_asin.S: Likewise.
7875 * sysdeps/i386/fpu/e_asinf.S: Likewise.
7876 * sysdeps/i386/fpu/e_atan2.S: Likewise.
7877 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
7878 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
7879 * sysdeps/i386/fpu/e_atanh.S: Likewise.
7880 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
7881 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
7882 * sysdeps/i386/fpu/e_exp10.S: Likewise.
7883 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
7884 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
7885 * sysdeps/i386/fpu/e_exp2.S: Likewise.
7886 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
7887 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
7888 * sysdeps/i386/fpu/e_fmod.S: Likewise.
7889 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
7890 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
7891 * sysdeps/i386/fpu/e_hypot.S: Likewise.
7892 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
7893 * sysdeps/i386/fpu/e_log.S: Likewise.
7894 * sysdeps/i386/fpu/e_log10.S: Likewise.
7895 * sysdeps/i386/fpu/e_log10f.S: Likewise.
7896 * sysdeps/i386/fpu/e_log10l.S: Likewise.
7897 * sysdeps/i386/fpu/e_log2.S: Likewise.
7898 * sysdeps/i386/fpu/e_log2f.S: Likewise.
7899 * sysdeps/i386/fpu/e_log2l.S: Likewise.
7900 * sysdeps/i386/fpu/e_logf.S: Likewise.
7901 * sysdeps/i386/fpu/e_logl.S: Likewise.
7902 * sysdeps/i386/fpu/e_pow.S: Likewise.
7903 * sysdeps/i386/fpu/e_powf.S: Likewise.
7904 * sysdeps/i386/fpu/e_powl.S: Likewise.
7905 * sysdeps/i386/fpu/e_remainder.S: Likewise.
7906 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
7907 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
7908 * sysdeps/i386/fpu/e_scalb.S: Likewise.
7909 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
7910 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
7911 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
7912 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
7913 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
7914 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7915 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7918 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7920 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7921 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7922 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7923 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7924 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7925 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7927 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7928 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7929 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7934 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7935 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7936 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7937 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7938 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7939 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7940 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
7941 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7942 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
7943 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7944 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7945 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7946 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7947 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7948 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7949 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7950 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7951 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7952 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7953 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7954 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7955 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7956 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7957 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7958 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7959 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7960 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7961 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7962 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7963 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7964 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7965 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7966 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7967 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7968 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7969 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7970 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7971 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7972 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7973 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7974 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7975 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7976 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7977 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7978 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7979 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7980 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7981 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7982 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
7983 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7984 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7985 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7986 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7987 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7988 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7989 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7990 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
7991 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7992 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7993 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7994 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7995 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7996 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
7997 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7998 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7999 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8000 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8001 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8002 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8003 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8004 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8005 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8006 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8007 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
8008 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8009 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8010 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8011 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8012 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8013 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8014 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
8015 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
8016 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
8017 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
8018 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
8019 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
8020 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
8021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
8022 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
8023 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
8024 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
8025 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
8026 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
8027 (__isnanf): Likewise.
8028 (__isinf_ns): Likewise.
8029 (__isinf_nsf): Likewise.
8030 (__finite): Likewise.
8031 (__finitef): Likewise.
8032 (__ieee754_sqrt): Define as macro.
8033 (__ieee754_sqrtf): Define as macro.
8034 (__ieee754_sqrtl): Define as macro.
8035 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
8037 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
8038 __FINITE_MATH_ONLY__ consistent.
8039 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
8041 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
8043 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
8046 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
8048 2011-10-09 Ulrich Drepper <drepper@gmail.com>
8050 * po/ja.po: Update from translation team.
8052 2011-10-08 Roland McGrath <roland@hack.frob.com>
8054 * locale/programs/locarchive.c (prepare_address_space): New function.
8055 (create_archive, enlarge_archive, open_archive): Use it.
8057 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
8058 inside [SHARED], where it is used.
8060 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
8062 * nss/getent.c (netgroup_keys): Remove unused variable.
8063 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8065 2011-10-08 Ulrich Drepper <drepper@gmail.com>
8067 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
8068 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
8069 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
8070 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
8071 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
8072 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
8073 * math/Makefile (libm-calls): Add s_isinf_ns.
8074 * math/divtc3.c: Use __isinf_nsl instead of isinf.
8075 * math/multc3.c: Likewise.
8076 * math/s_casin.c: Likewise.
8077 * math/s_casinf.c: Likewise.
8078 * math/s_casinl.c: Likewise.
8079 * math/s_ccos.c: Likewise.
8080 * math/s_ccosf.c: Likewise.
8081 * math/s_ccosl.c: Likewise.
8082 * math/s_ctan.c: Likewise.
8083 * math/s_ctanf.c: Likewise.
8084 * math/s_ctanh.c: Likewise.
8085 * math/s_ctanhf.c: Likewise.
8086 * math/s_ctanhl.c: Likewise.
8087 * math/s_ctanl.c: Likewise.
8088 * math/w_fmod.c: Likewise.
8089 * math/w_fmodf.c: Likewise.
8090 * math/w_fmodl.c: Likewise.
8091 * math/w_remainder.c: Likewise.
8092 * math/w_remainderf.c: Likewise.
8093 * math/w_remainderl.c: Likewise.
8094 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
8095 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
8096 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
8097 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
8098 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
8099 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
8100 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
8101 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
8103 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
8105 * stdio-common/printf_fphex.c: Likewise.
8106 * stdio-common/printf_size.c: Likewise.
8108 * math/e_exp10.c: Include math_private.h using <...> not "...".
8109 * math/e_exp10f.c: Likewise.
8110 * math/e_exp10l.c: Likewise.
8111 * math/e_exp2l.c: Likewise.
8112 * math/e_j0l.c: Likewise.
8113 * math/e_j1l.c: Likewise.
8114 * math/e_jnl.c: Likewise.
8115 * math/e_lgammal_r.c: Likewise.
8116 * math/e_rem_pio2l.c: Likewise.
8117 * math/e_scalb.c: Likewise.
8118 * math/e_scalbf.c: Likewise.
8119 * math/e_scalbl.c: Likewise.
8120 * math/k_cosl.c: Likewise.
8121 * math/k_sinl.c: Likewise.
8122 * math/k_tanl.c: Likewise.
8123 * math/s_cacoshf.c: Likewise.
8124 * math/s_catan.c: Likewise.
8125 * math/s_catanf.c: Likewise.
8126 * math/s_catanh.c: Likewise.
8127 * math/s_catanhf.c: Likewise.
8128 * math/s_catanhl.c: Likewise.
8129 * math/s_catanl.c: Likewise.
8130 * math/s_ccosh.c: Likewise.
8131 * math/s_ccoshf.c: Likewise.
8132 * math/s_ccoshl.c: Likewise.
8133 * math/s_cexp.c: Likewise.
8134 * math/s_cexpf.c: Likewise.
8135 * math/s_cexpl.c: Likewise.
8136 * math/s_clog.c: Likewise.
8137 * math/s_clog10.c: Likewise.
8138 * math/s_clog10f.c: Likewise.
8139 * math/s_clog10l.c: Likewise.
8140 * math/s_clogf.c: Likewise.
8141 * math/s_clogl.c: Likewise.
8142 * math/s_csin.c: Likewise.
8143 * math/s_csinf.c: Likewise.
8144 * math/s_csinh.c: Likewise.
8145 * math/s_csinhf.c: Likewise.
8146 * math/s_csinhl.c: Likewise.
8147 * math/s_csinl.c: Likewise.
8148 * math/s_csqrt.c: Likewise.
8149 * math/s_csqrtf.c: Likewise.
8150 * math/s_csqrtl.c: Likewise.
8151 * math/s_ctan.c: Likewise.
8152 * math/s_ctanf.c: Likewise.
8153 * math/s_ctanh.c: Likewise.
8154 * math/s_ctanhf.c: Likewise.
8155 * math/s_ctanhl.c: Likewise.
8156 * math/s_ctanl.c: Likewise.
8157 * math/s_ldexp.c: Likewise.
8158 * math/s_ldexpf.c: Likewise.
8159 * math/s_ldexpl.c: Likewise.
8160 * math/s_significand.c: Likewise.
8161 * math/s_significandf.c: Likewise.
8162 * math/s_significandl.c: Likewise.
8163 * math/w_acos.c: Likewise.
8164 * math/w_acosf.c: Likewise.
8165 * math/w_acosh.c: Likewise.
8166 * math/w_acoshf.c: Likewise.
8167 * math/w_acoshl.c: Likewise.
8168 * math/w_acosl.c: Likewise.
8169 * math/w_asin.c: Likewise.
8170 * math/w_asinf.c: Likewise.
8171 * math/w_asinl.c: Likewise.
8172 * math/w_atan2.c: Likewise.
8173 * math/w_atan2f.c: Likewise.
8174 * math/w_atan2l.c: Likewise.
8175 * math/w_atanh.c: Likewise.
8176 * math/w_atanhf.c: Likewise.
8177 * math/w_atanhl.c: Likewise.
8178 * math/w_cosh.c: Likewise.
8179 * math/w_coshf.c: Likewise.
8180 * math/w_coshl.c: Likewise.
8181 * math/w_dremf.c: Likewise.
8182 * math/w_exp10.c: Likewise.
8183 * math/w_exp10f.c: Likewise.
8184 * math/w_exp10l.c: Likewise.
8185 * math/w_exp2.c: Likewise.
8186 * math/w_exp2f.c: Likewise.
8187 * math/w_fmod.c: Likewise.
8188 * math/w_fmodf.c: Likewise.
8189 * math/w_fmodl.c: Likewise.
8190 * math/w_hypot.c: Likewise.
8191 * math/w_hypotf.c: Likewise.
8192 * math/w_hypotl.c: Likewise.
8193 * math/w_j0.c: Likewise.
8194 * math/w_j0f.c: Likewise.
8195 * math/w_j0l.c: Likewise.
8196 * math/w_j1.c: Likewise.
8197 * math/w_j1f.c: Likewise.
8198 * math/w_j1l.c: Likewise.
8199 * math/w_jn.c: Likewise.
8200 * math/w_jnf.c: Likewise.
8201 * math/w_jnl.c: Likewise.
8202 * math/w_lgamma.c: Likewise.
8203 * math/w_lgamma_r.c: Likewise.
8204 * math/w_lgammaf.c: Likewise.
8205 * math/w_lgammaf_r.c: Likewise.
8206 * math/w_lgammal.c: Likewise.
8207 * math/w_lgammal_r.c: Likewise.
8208 * math/w_log.c: Likewise.
8209 * math/w_log10.c: Likewise.
8210 * math/w_log10f.c: Likewise.
8211 * math/w_log10l.c: Likewise.
8212 * math/w_log2.c: Likewise.
8213 * math/w_log2f.c: Likewise.
8214 * math/w_log2l.c: Likewise.
8215 * math/w_logf.c: Likewise.
8216 * math/w_logl.c: Likewise.
8217 * math/w_pow.c: Likewise.
8218 * math/w_powf.c: Likewise.
8219 * math/w_powl.c: Likewise.
8220 * math/w_remainder.c: Likewise.
8221 * math/w_remainderf.c: Likewise.
8222 * math/w_remainderl.c: Likewise.
8223 * math/w_scalb.c: Likewise.
8224 * math/w_scalbf.c: Likewise.
8225 * math/w_scalbl.c: Likewise.
8226 * math/w_sinh.c: Likewise.
8227 * math/w_sinhf.c: Likewise.
8228 * math/w_sinhl.c: Likewise.
8229 * math/w_sqrt.c: Likewise.
8230 * math/w_sqrtf.c: Likewise.
8231 * math/w_sqrtl.c: Likewise.
8232 * math/w_tgamma.c: Likewise.
8233 * math/w_tgammaf.c: Likewise.
8234 * math/w_tgammal.c: Likewise.
8236 * po/ja.po: Update from translation team.
8238 2011-09-29 Andreas Jaeger <aj@suse.de>
8241 * sunrpc/netname.c (netname2host): Fix logic.
8245 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
8247 * math/w_remainder.c (__remainder): Likewise.
8248 * math/w_remainderf.c (__remainderf): Likewise.
8249 * math/libm-test.inc (remainder_test): Add test cases.
8251 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8253 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
8256 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8258 * string/test-memcmp.c: Avoid unncessary #defines.
8259 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8261 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8263 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
8264 Use new sse2 version for core i3 - i7 as it's faster
8266 (bit_Prefer_PMINUB_for_stringop): New.
8267 * sysdeps/x86_64/rawmemchr.S: Update.
8268 Replace with faster SSE2 version.
8269 * sysdeps/x86_64/memrchr.S: New file.
8270 * sysdeps/x86_64/memchr.S: Update.
8271 Replace with faster SSE2 version.
8273 2011-09-12 Marek Polacek <mpolacek@redhat.com>
8275 * elf/dl-load.c (lose): Add cast to avoid warning.
8277 2011-10-07 Ulrich Drepper <drepper@gmail.com>
8279 * po/ca.po: Update from translation team.
8281 * inet/getnetgrent_r.c: Hook up nscd.
8282 * nscd/Makefile (routines): Add nscd_netgroup.
8283 (nscd-modules): Add netgroupcache.
8284 (CFLAGS-netgroupcache.c): Define.
8285 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
8286 (cache_search): Add const to second parameter.
8287 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
8289 (dbs): Add netgrdb entry.
8290 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
8291 (verify_persistent_db): Handle netgrdb.
8292 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
8293 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
8295 (netgroup_response_header): Define.
8296 (innetgroup_response_header): Define.
8297 (datahead): Add netgroup_response_header and innetgroup_response_header
8299 * nscd/nscd.conf: Add entries for netgroup cache.
8300 * nscd/nscd.h (dbtype): Add netgrdb.
8301 (_PATH_NSCD_NETGROUP_DB): Define.
8302 (netgroup_iov_disabled): Declare.
8303 (xmalloc, xcalloc, xrealloc): Move declarations here.
8304 (cache_search): Adjust prototype.
8305 Add netgroup-related prototypes.
8306 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
8307 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
8308 (__nscd_innetgr): Declare.
8309 * nscd/selinux.c (perms): Use access_vector_t as element type and
8310 add netgroup-related initializers.
8311 * nscd/netgroupcache.c: New file.
8312 * nscd/nscd_netgroup.c: New file.
8313 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
8314 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
8315 For four parameters use innetgr.
8316 * nss/nss_files/files-init.c: Add definition and callback for netgr.
8317 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
8318 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
8319 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
8321 * nscd/connections.c (register_traced_file): Don't register file
8322 for disabled databases.
8324 2011-10-06 Ulrich Drepper <drepper@gmail.com>
8326 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
8328 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
8329 from tree and freeing node.
8331 2011-09-25 Jiri Olsa <jolsa@redhat.com>
8333 * nss/nsswitch.c (__nss_database_lookup): Handle
8334 nss_parse_service_list out of memory case.
8336 2011-09-15 Jiri Olsa <jolsa@redhat.com>
8338 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
8341 2011-10-04 Andreas Schwab <schwab@redhat.com>
8343 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
8344 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
8346 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
8347 elf_machine_rela, elf_machine_lazy_rel.
8348 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
8349 (ELF_DYNAMIC_DO_REL): Likewise.
8350 (ELF_DYNAMIC_DO_RELA): Likewise.
8351 (ELF_DYNAMIC_RELOCATE): Likewise.
8352 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
8353 to ELF_DYNAMIC_DO_REL.
8354 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
8355 (dl_main): In trace mode always set __RTLD_NOIFUNC.
8356 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
8358 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
8359 skip_ifunc, don't call ifunc function if non-zero.
8360 (elf_machine_rela): Likewise.
8361 (elf_machine_lazy_rel): Likewise.
8362 (elf_machine_lazy_rela): Likewise.
8363 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
8364 (elf_machine_lazy_rel): Likewise.
8365 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
8367 (elf_machine_lazy_rel): Likewise.
8368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8370 (elf_machine_lazy_rel): Likewise.
8371 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
8372 (elf_machine_lazy_rel): Likewise.
8373 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
8374 (elf_machine_lazy_rel): Likewise.
8375 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8376 (elf_machine_lazy_rel): Likewise.
8377 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
8378 (elf_machine_lazy_rel): Likewise.
8379 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
8380 (elf_machine_lazy_rel): Likewise.
8381 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
8382 (elf_machine_lazy_rel): Likewise.
8384 2011-09-28 Ulrich Drepper <drepper@gmail.com>
8386 * nss/nss_files/files-init.c (_nss_files_init): Use static
8387 initialization for all the *_traced_file variables.
8389 2011-09-28 Andreas Schwab <schwab@redhat.com>
8391 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8393 2011-09-27 Roland McGrath <roland@hack.frob.com>
8396 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
8398 2011-09-27 Andreas Schwab <schwab@redhat.com>
8400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8401 Reread the line before reparsing it.
8403 2011-09-26 Andreas Schwab <schwab@redhat.com>
8405 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
8407 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
8408 Maxim Kuvyrkov <maxim@codesourcery.com>
8409 Joseph Myers <joseph@codesourcery.com>
8411 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
8412 if needed for __stack_chk_guard.
8414 2011-09-19 Roland McGrath <roland@hack.frob.com>
8416 * sysdeps/posix/spawni.c (script_execute): Always define it.
8417 It will be optimized away if unused.
8418 (maybe_script_execute): New function.
8419 (__spawni): Call it.
8421 * Makerules: Don't include tls.make.
8422 (config-tls): Always set to thread.
8423 * tls.make.c: File removed.
8425 2011-09-19 Mike Frysinger <vapier@gentoo.org>
8427 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
8428 * config.make.in (CPPFLAGS-config): New substituted variable.
8430 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8432 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
8435 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
8436 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
8438 2011-09-15 Roland McGrath <roland@hack.frob.com>
8440 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
8441 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
8442 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
8443 (CALL_FAIL): Likewise.
8444 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
8445 (CALL_FAIL): Macro removed.
8446 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
8448 2011-09-15 Ulrich Drepper <drepper@gmail.com>
8450 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
8451 for __FINITE_MATH_ONLY__ == 1.
8453 2011-09-15 Andreas Schwab <schwab@redhat.com>
8455 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
8456 __ieee754_sqrt instead of sqrt.
8457 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
8458 __ieee754_sqrtf instead of sqrtf.
8459 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
8460 __floorf instead of floorf.
8461 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
8462 __floorf, __truncf instead of floorf, truncf.
8464 2011-09-14 Ulrich Drepper <drepper@gmail.com>
8466 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
8468 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
8469 __extern_always_inline.
8470 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
8473 2011-09-14 Andreas Schwab <schwab@redhat.com>
8475 * elf/rtld.c (dl_main): Also relocate in dependency order when
8476 doing symbol dependency testing.
8478 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
8480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
8481 Always define `refsym'.
8483 2011-09-13 Andreas Schwab <schwab@redhat.com>
8485 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
8486 (__FD_ELT): Renamed from __FDELT.
8487 * misc/bits/select2.h (__FD_ELT): Likewise.
8488 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
8489 __FD_MASK instead of __FDELT, __FDMASK.
8490 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8492 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
8495 * elf/Makefile (gen-ldd): Fix pattern.
8497 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
8498 (init_tls): Likewise.
8500 2011-09-12 Ulrich Drepper <drepper@gmail.com>
8502 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
8504 2011-09-12 Andreas Schwab <schwab@redhat.com>
8506 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
8507 `struct cmsghdr *' instead of `void *'.
8508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
8511 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8513 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
8515 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
8518 2011-09-11 Ulrich Drepper <drepper@gmail.com>
8520 * configure.in: Remove --with-tls option.
8521 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
8522 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
8523 out in case it is missing.
8524 * sysdeps/ia64/elf/configure.in: Likewise.
8525 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
8526 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
8527 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
8528 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
8529 * sysdeps/sh/elf/configure.in: Likewise.
8530 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
8531 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
8532 * sysdeps/x86_64/elf/configure.in: Likewise.
8533 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
8534 * sysdeps/mach/hurd/tls.h: Likewise.
8537 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
8540 * configure.in: Fix use of AC_INIT.
8542 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
8544 2011-09-10 Ulrich Drepper <drepper@gmail.com>
8546 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
8548 * malloc/hooks.c: Likewise.
8551 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
8552 variables statically.
8553 (narenas): Initialize.
8554 (list_lock): Initialize.
8555 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
8556 initializtion of main_arena and list_lock. Small cleanups.
8557 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
8558 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
8559 Add initializers to main_arena and mp_.
8560 (malloc_state): Remove pagesize member. Change all users to use
8563 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
8564 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
8565 is always initialized.
8567 * malloc/malloc.c: Removed unused configurations and dead code.
8568 * malloc/arena.c: Likewise.
8569 * malloc/hooks.c: Likewise.
8570 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
8572 * include/tls.h: Removed. USE___THREAD must always be defined.
8573 * bits/libc-tsd.h: Don't handle !USE___THREAD.
8574 * elf/dl-libc.c: Likewise.
8575 * elf/dl-tsd.c: Likewise.
8576 * include/errno.h: Likewise.
8577 * include/netdb.h: Likewise.
8578 * include/resolv.h: Likewise.
8579 * inet/herrno-loc.c: Likewise.
8580 * inet/herrno.c: Likewise.
8581 * malloc/arena.c: Likewise.
8582 * malloc/hooks.c: Likewise.
8583 * malloc/malloc.c: Likewise.
8584 * resolv/res-state.c: Likewise.
8585 * resolv/res_libc.c: Likewise.
8586 * sysdeps/i386/dl-machine.h: Likewise.
8587 * sysdeps/ia64/dl-machine.h: Likewise.
8588 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8589 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8590 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8591 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8592 * sysdeps/sh/dl-machine.h: Likewise.
8593 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8594 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8595 * sysdeps/unix/i386/sysdep.S: Likewise.
8596 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8597 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
8598 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8599 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8601 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8602 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8605 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8606 * sysdeps/unix/x86_64/sysdep.S: Likewise.
8607 * sysdeps/x86_64/dl-machine.h: Likewise.
8608 * tls.make.c: Likewise.
8610 * configure.in: Remove --with-__thread option. Make tests for
8611 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
8612 tls_model attribute fail if no support is available. Remove
8614 * Makeconfig: Adjust for dropped configure option. All features are
8616 * Makerules: Likewise.
8617 * Versions.def: Likewise.
8618 * argp/argp-fmtstream.c: Likewise.
8619 * argp/argp-fmtstream.h: Likewise.
8620 * argp/argp-help.c: Likewise.
8621 * assert/assert.c: Likewise.
8622 * config.h.in: Likewise.
8623 * config.make.in: Likewise.
8624 * configure: Likewise.
8625 * configure.in: Likewise.
8626 * csu/Versions: Likewise.
8627 * csu/init.c: Likewise.
8628 * elf/tst-audit2.c: Likewise.
8629 * elf/tst-tls10.c: Likewise.
8630 * elf/tst-tls10.h: Likewise.
8631 * elf/tst-tls11.c: Likewise.
8632 * elf/tst-tls12.c: Likewise.
8633 * elf/tst-tls14.c: Likewise.
8634 * elf/tst-tlsmod11.c: Likewise.
8635 * elf/tst-tlsmod12.c: Likewise.
8636 * elf/tst-tlsmod13.c: Likewise.
8637 * elf/tst-tlsmod13a.c: Likewise.
8638 * elf/tst-tlsmod14a.c: Likewise.
8639 * elf/tst-tlsmod15b.c: Likewise.
8640 * elf/tst-tlsmod16a.c: Likewise.
8641 * elf/tst-tlsmod16b.c: Likewise.
8642 * elf/tst-tlsmod7.c: Likewise.
8643 * elf/tst-tlsmod8.c: Likewise.
8644 * elf/tst-tlsmod9.c: Likewise.
8645 * gmon/gmon.c: Likewise.
8646 * grp/fgetgrent_r.c: Likewise.
8647 * grp/putgrent.c: Likewise.
8648 * hurd/fopenport.c: Likewise.
8649 * include/libc-symbols.h: Likewise.
8650 * include/tls.h: Likewise.
8651 * intl/gettextP.h: Likewise.
8652 * intl/loadinfo.h: Likewise.
8653 * locale/global-locale.c: Likewise.
8654 * locale/localeinfo.h: Likewise.
8655 * mach/devstream.c: Likewise.
8656 * malloc/arena.c: Likewise.
8657 * malloc/set-freeres.c: Likewise.
8658 * misc/err.c: Likewise.
8659 * misc/getttyent.c: Likewise.
8660 * misc/mntent_r.c: Likewise.
8661 * posix/getopt.c: Likewise.
8662 * posix/wordexp.c: Likewise.
8663 * pwd/fgetpwent_r.c: Likewise.
8664 * resolv/Versions: Likewise.
8665 * resolv/res_hconf.c: Likewise.
8666 * shadow/fgetspent_r.c: Likewise.
8667 * shadow/putspent.c: Likewise.
8668 * stdio-common/printf_fphex.c: Likewise.
8669 * stdio-common/tmpfile.c: Likewise.
8670 * stdlib/abort.c: Likewise.
8671 * stdlib/fmtmsg.c: Likewise.
8672 * sunrpc/auth_unix.c: Likewise.
8673 * sunrpc/clnt_perr.c: Likewise.
8674 * sunrpc/clnt_tcp.c: Likewise.
8675 * sunrpc/clnt_udp.c: Likewise.
8676 * sunrpc/clnt_unix.c: Likewise.
8677 * sunrpc/openchild.c: Likewise.
8678 * sunrpc/svc_simple.c: Likewise.
8679 * sunrpc/svc_tcp.c: Likewise.
8680 * sunrpc/svc_udp.c: Likewise.
8681 * sunrpc/svc_unix.c: Likewise.
8682 * sunrpc/xdr.c: Likewise.
8683 * sunrpc/xdr_array.c: Likewise.
8684 * sunrpc/xdr_rec.c: Likewise.
8685 * sunrpc/xdr_ref.c: Likewise.
8686 * sunrpc/xdr_stdio.c: Likewise.
8688 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8690 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8692 2011-07-03 Andreas Jaeger <aj@suse.de>
8694 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
8695 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
8696 regenerate with gen-libm-tests.pl.
8698 2010-05-12 Petr Baudis <pasky@suse.cz>
8701 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
8702 around j0() zero points by switching to j1().
8703 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8704 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8706 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8708 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8710 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
8712 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
8714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8715 Patch in part by Pavel Roskin <proski@gnu.org>.
8718 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
8720 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
8721 Free memory block if necessary.
8724 * libio/genops.c (INTDEF): For string streams the _lock pointer can
8725 be NULL. Don't lock in this case.
8727 2011-09-09 Roland McGrath <roland@hack.frob.com>
8729 * elf/elf.h (ELFOSABI_GNU): New macro.
8730 (ELFOSABI_LINUX): Define to that.
8732 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
8734 * string/strncat.c (strncat): Undef the symbol in case it has been
8735 defined in bits/string.h.
8737 2011-09-09 Ulrich Drepper <drepper@gmail.com>
8739 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
8741 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
8744 2011-08-17 Andreas Jaeger <aj@suse.de>
8746 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
8748 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8749 Ian Lance Taylor <iant@google.com>
8751 * math/libm-test.inc (lround_test): New testcase.
8752 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
8754 2011-09-08 Ulrich Drepper <drepper@gmail.com>
8756 * Makefile: Remove support for automatic cvs check-ins.
8757 * Makerules: Likewise.
8758 * config.make.in: Likewise.
8759 * configure.in: Likewise.
8760 * intl/Makefile: Likewise.
8761 * locale/Makefile: Likewise.
8762 * po/Makefile: Likewise.
8763 * posix/Makefile: Likewise.
8764 * sysdeps/gnu/Makefile: Likewise.
8765 * sysdeps/mach/hurd/Makefile: Likewise.
8766 * sysdeps/sparc/sparc32/Makefile: Likewise.
8769 * posix/Makefile (bug-regex32-ENV): Define.
8770 Patch by John Stanley <jpsinthemix@verizon.net>.
8772 * misc/Makefile (headers): Add bits/select2.h.
8773 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
8774 * misc/bits/select2.h: New file.
8775 * include/bits/select2.h: New file.
8776 * debug/Makefile (routines): Add fdelt_chk.
8777 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
8778 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
8780 * debug/fdelt_chk.c: New file.
8782 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
8783 * wcsmbs/test-wmemcmp.c: Likewise.
8784 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
8785 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
8787 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8789 * string/Makefile (strop-tests): Add memcmp.
8790 * string/test-wmemcmp.c: New file.
8791 * string/test-memcmp.c: Add wmemcmp support.
8793 2011-09-08 Roland McGrath <roland@hack.frob.com>
8796 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
8799 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
8800 garbage value in a __mach_port_mod_refs call in the cases of the
8801 task-self and thread-self ports.
8803 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
8805 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
8807 2011-09-08 Andreas Schwab <schwab@redhat.com>
8809 * elf/dl-load.c (lose): Check for non-null L.
8811 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8813 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
8815 * elf/dl-libc.c (dlerror_run): Pass back error code from
8819 * elf/dl-load.c (lose): Free l_origin if it is valid.
8821 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
8823 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8824 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8825 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8826 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8827 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8828 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
8830 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8832 * sysdeps/powerpc/fpu/e_hypot.c: New file.
8833 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
8834 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
8835 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
8836 * sysdeps/powerpc/fpu/k_cosf.c: New file.
8837 * sysdeps/powerpc/fpu/k_sinf.c: New file.
8838 * sysdeps/powerpc/fpu/s_cosf.c: New file.
8839 * sysdeps/powerpc/fpu/s_sinf.c: New file.
8840 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
8841 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
8843 2011-08-15 Alan Modra <amodra@gmail.com>
8846 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
8847 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
8848 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
8849 ppc_mcount to static-only-routines.
8850 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
8852 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
8853 __mcount_internal with usual JUMPTARGET. Remove useless nop.
8855 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
8857 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
8858 for finite and infinity parameters.
8860 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
8862 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
8863 and add nop instructions for throughput optimization.
8864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8866 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
8868 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
8869 aligned copy for power7 with vector-scalar instructions.
8870 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8872 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
8874 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
8877 2011-09-07 Andreas Schwab <schwab@redhat.com>
8880 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
8883 2011-09-07 Ulrich Drepper <drepper@gmail.com>
8885 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8886 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
8887 syscall wrapper around clock_gettime in __vdso_clock_gettime.
8888 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
8891 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8893 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
8894 Forgot to demangle the pointer.
8896 * sysdeps/i386/sysdep.h: Define atom_text_section.
8897 * sysdeps/x86_64/sysdep.h: Likewise.
8898 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
8899 section with atom_text_section.
8900 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8901 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8902 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8903 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8904 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
8906 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
8907 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
8908 already be defined. Change to take two parameters and don't assign
8909 result to variable. Adjust all users.
8910 Define INTERNAL_GETTIME if not already defined.
8911 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
8913 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
8914 HAVE_CLOCK_GETTIME_VSYSCALL.
8915 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
8917 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
8918 gettimeofday vsyscall, just use time.
8920 2011-09-06 Andreas Schwab <schwab@redhat.com>
8922 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
8925 2011-09-06 Ulrich Drepper <drepper@gmail.com>
8927 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
8929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
8931 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
8932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
8933 syscall if possible.
8935 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8937 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
8938 e_ident. Don't pass to find_mapsXX.
8939 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
8941 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8944 strchr-sse2-no-bsf strrchr-sse2-no-bsf
8945 * sysdeps/x86_64/multiarch/strchr.S: Update.
8946 Check bit_slow_BSF bit.
8947 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8948 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
8949 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
8951 2011-09-05 Ulrich Drepper <drepper@gmail.com>
8954 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
8957 (__spawni): Change last parameter to be flag. Test
8958 SPAWN_XFLAGS_USE_PATH flag to use path or not.
8959 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
8960 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
8961 * posix/spawni.c: Likewise.
8962 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
8963 * posix/spawnp.c: Likewise. Change normal version to use
8964 SPAWN_XFLAGS_USE_PATH.
8965 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
8966 SPAWN_XFLAGS_TRY_SHELL.
8969 * posix/glob.h: Remove gcc 1.x support.
8972 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
8974 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8976 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8977 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
8979 * sysdeps/i386/i686/multiarch/strchr.S: New file.
8980 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
8981 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
8982 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
8983 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
8984 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
8986 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8988 * sysdeps/x86_64/wcscmp.S: New file.
8990 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
8991 wcscmp-c wcscmp-sse2
8992 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
8993 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
8994 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
8995 * wcsmbs/wcscmp.c: Allow renaming.
8997 2011-09-05 David S. Miller <davem@davemloft.net>
8999 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
9000 stack slot, rather than the struct return pointer slot.
9001 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
9002 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
9003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
9004 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
9006 2011-09-05 Ulrich Drepper <drepper@gmail.com>
9008 * po/ja.po: Update from translation team.
9011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
9012 kernel in 64-bit binaries.
9014 2011-09-01 David S. Miller <davem@davemloft.net>
9016 * elf/elf.h (HWCAP_SPARC_*): Move to..
9017 * sysdeps/sparc/sysdep.h: this new file and add new values.
9018 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
9019 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
9020 _DL_HWCAP_COUNT to 24.
9021 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
9023 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
9024 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
9025 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
9026 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
9027 instead of magic constants.
9028 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9030 2011-08-31 David S. Miller <davem@davemloft.net>
9032 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
9033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
9034 Reimplement to do errno handling inline.
9035 (SYSCALL_ERROR_HANDLER): New macro.
9036 (__SYSCALL_STRING): Do not do errno handling in asm.
9037 (__CLONE_SYSCALL_STRING): Delete.
9038 (__INTERNAL_SYSCALL_STRING): Delete.
9039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
9040 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
9041 (PSEUDO): Reimplement to do errno handling inline.
9042 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
9043 (SYSCALL_ERROR_HANDLER): New macro.
9044 (__SYSCALL_STRING): Do not do errno handling in asm.
9045 (__CLONE_SYSCALL_STRING): Delete.
9046 (__INTERNAL_SYSCALL_STRING): Delete.
9047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
9048 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
9050 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
9051 (inline_syscall*): Add 'err' argument.
9052 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
9053 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
9054 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
9055 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
9057 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
9058 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
9060 2011-08-30 Andreas Schwab <schwab@redhat.com>
9062 * elf/rtld.c (dl_main): Relocate objects in dependency order.
9064 2011-08-29 Jiri Olsa <jolsa@redhat.com>
9066 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
9069 2011-08-24 David S. Miller <davem@davemloft.net>
9071 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
9073 2011-08-24 Andreas Schwab <schwab@redhat.com>
9075 * elf/Makefile: Add rules to build and run unload8 test.
9076 * elf/unload8.c: New file.
9077 * elf/unload8mod1.c: New file.
9078 * elf/unload8mod1x.c: New file.
9079 * elf/unload8mod2.c: New file.
9080 * elf/unload8mod3.c: New file.
9082 * elf/dl-close.c (_dl_close_worker): Reset private search list if
9085 2011-08-23 David S. Miller <davem@davemloft.net>
9087 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
9088 subtract stack bias.
9089 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
9090 %sp not %fp in calculations.
9091 (_JMPBUF_UNWINDS_ADJ): Likewise.
9093 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
9094 (aio_suspend): Call it to force an exception region around the
9095 AIO_MISC_WAIT() invocation.
9097 2011-08-23 Andreas Schwab <schwab@redhat.com>
9099 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
9102 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
9104 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
9106 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
9108 (Elf64_FuncDesc): Remove.
9110 2011-08-22 David S. Miller <davem@davemloft.net>
9112 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
9113 sigaltstack check, add missing cfi directives.
9114 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
9115 missing cfi directives, and sigaltstack handling.
9117 2011-08-16 Andreas Schwab <schwab@redhat.com>
9120 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
9121 object is seen twice.
9122 * elf/dl-fini.c (_dl_sort_fini): Likewise.
9124 * elf/Makefile (distribute): Add tst-initorder2.c.
9125 (tests): Add tst-initorder2.
9126 (modules-names): Add tst-initorder2a tst-initorder2b
9127 tst-initorder2c tst-initorder2d. Add rules to build them.
9128 ($(objpfx)tst-initorder2.out): New rule.
9129 * elf/tst-initorder2.c: New file.
9130 * elf/tst-initorder2.exp: New file.
9132 2011-08-22 Andreas Schwab <schwab@redhat.com>
9134 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
9136 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
9137 dependencies back to end of function.
9139 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
9142 2011-08-21 Ulrich Drepper <drepper@gmail.com>
9144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
9145 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
9146 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
9147 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
9148 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
9149 of __vdso_gettimeofday.
9150 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
9151 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
9153 (_libc_vdso_platform_setup): Remove initialization of
9154 __vdso_gettimeofday and __vdso_time.
9156 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9158 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
9160 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
9163 * elf/dl-open.c (add_to_global): Report additions to the global scope
9164 for LD_DEBUG=scopes.
9165 (dl_open_worker): Also print scope of newly loaded dependencies.
9166 (_dl_show_scope): Indicate if there is no scope.
9169 * stdio-common/Makefile (tests): Add bug24.
9170 * stdio-common/bug24.c: New file.
9172 2011-08-19 Andreas Jaeger <aj@suse.de>
9175 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
9176 non-existant file when using close-on-exec mode.
9178 2011-08-20 Ulrich Drepper <drepper@gmail.com>
9180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
9181 the very first instruction.
9183 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
9184 the CFI state in the end.
9185 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
9186 inclusion of dl-trampoline.h.
9187 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
9189 2011-08-19 Andreas Schwab <schwab@redhat.com>
9191 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
9192 expectations for long double.
9194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
9195 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
9197 2011-08-14 David S. Miller <davem@davemloft.net>
9199 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
9200 artificual limit depends upon the system page size.
9202 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9204 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
9205 * resolv/Makefile: Define CFLAGS-libresolv.
9207 2011-08-17 Andreas Schwab <schwab@redhat.com>
9209 * nss/makedb.c (compute_tables): Make variables used in nested
9212 2011-08-17 Ulrich Drepper <drepper@gmail.com>
9214 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
9215 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
9216 if buffer was too small.
9218 * elf/pldd.c (main): Attach to all threads in the process.
9219 Rewrite /proc handling to use *at functions.
9221 2011-08-16 Ulrich Drepper <drepper@gmail.com>
9223 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
9224 specifies first scope to show.
9225 (dl_open_worker): Update callers. Move printing scope of new
9226 object to before the relocation.
9227 * elf/rtld.c (dl_main): Update _dl_show_scope call.
9228 * sysdeps/generic/ldsodefs.h: Update declaration.
9230 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
9231 string for the scope number.
9233 2011-08-14 Ulrich Drepper <drepper@gmail.com>
9235 * nscd/servicescache.c (cache_addserv): Make sure written is always
9238 2011-08-14 Roland McGrath <roland@hack.frob.com>
9240 * sysdeps/i386/i486/bits/atomic.h
9241 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
9242 statement expression, so as to suppress "set but not used" warning.
9243 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
9245 * string/strncat.c (STRNCAT): Use prototype definition.
9247 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
9248 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
9250 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
9251 (localedef-modules): Add localedef.
9252 (locale-modules): Add locale.
9254 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
9255 * elf/rtld.c (dl_main): Invert order of assignment in last change,
9258 2011-08-14 David S. Miller <davem@davemloft.net>
9260 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
9261 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
9263 2011-08-13 Ulrich Drepper <drepper@gmail.com>
9265 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
9266 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
9267 * elf/rtld.c (dl_main): Set l_name of vDSO.
9268 Call _dl_show_scope when DL_DEBUG_SCOPES.
9269 (process_dl_debug): Recognize scopes flag and also set it for all.
9270 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
9271 Declare _dl_show_scope.
9273 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
9274 (do_dlopen): Pass caller_dlopen to dl_open.
9275 (__libc_dlopen_mode): Initialize caller_dlopen.
9277 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
9278 of libc. Make tolower call locale-independent. Optimize a bit by
9279 using isdigit instead of isalnum.
9280 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
9282 2011-08-12 Ulrich Drepper <drepper@gmail.com>
9284 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
9285 was a dependency or dynamically loaded.
9287 2011-08-11 Ulrich Drepper <drepper@gmail.com>
9289 * intl/l10nflist.c: Allow architecture-specific pop function.
9290 * sysdeps/x86_64/l10nflist.c: New file.
9292 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
9295 2011-08-10 Andreas Schwab <schwab@redhat.com>
9297 * include/dirent.h: Add libc_hidden_proto for scandirat and
9298 scandirat64. Don't declare __scandirat64.
9299 * dirent/scandirat.c: Add libc_hidden_def.
9300 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
9301 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
9303 2011-08-10 David S. Miller <davem@davemloft.net>
9305 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
9307 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9308 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9309 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9311 2011-08-09 Ulrich Drepper <drepper@gmail.com>
9313 * Versions.def [libc]: Add GLIBC_2.15.
9314 * dirent/Makefile (routines): Add scandirat and scandirat64.
9315 * dirent/Versions [libc]: Export scandirat and scandirat64 for
9317 * dirent/dirent.h: Declare scandirat and scandirat64.
9318 * dirent/scandirat.c: New file.
9319 * dirent/scandirat64.c: New file.
9320 * sysdeps/wordsize-64/scandirat.c: New file.
9321 * sysdeps/wordsize-64/scandirat64.c: New file.
9322 * dirent/opendir.c: Define opendirat.
9323 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
9325 * dirent/scandir64.c: Adjust for scandir.c change.
9326 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
9327 __scandirat64, and __scandir_cancel_handler.
9328 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
9329 additional parameter and use openat instead of open (outside of ld.so).
9330 Add new __opendir as wrapper around __opendirat.
9331 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
9332 here without requiring old scandirat implementation.
9334 2011-08-08 Ulrich Drepper <drepper@gmail.com>
9336 * dirent/scandir.c (cancel_handler): Renamed to
9337 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
9338 defined. Adjust users.
9339 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
9340 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
9342 2011-08-04 Ulrich Drepper <drepper@gmail.com>
9344 * string/test-string.h (IMPL): Use __STRING to expand name and then
9347 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
9350 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9352 * string/Makefile: Update.
9353 (strop-tests): Append strncat.
9354 * string/test-wcscmp.c: New file.
9355 New comprehensive test for wcscmp.
9356 * string/test-strcmp.c: Update.
9359 2011-07-22 Andreas Schwab <schwab@redhat.com>
9361 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
9364 2011-07-26 Andreas Schwab <schwab@redhat.com>
9366 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9367 encoding to ACE if AI_IDN.
9369 2011-08-01 Jakub Jelinek <jakub@redhat.com>
9371 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
9372 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
9374 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9376 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
9377 Fix overflow bug in strncat.
9378 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
9380 * string/test-strncat.c: Update.
9381 Add new tests for checking overflow bugs.
9383 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9386 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
9387 * sysdeps/i386/i686/multiarch/strcat.S: New file.
9388 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
9389 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
9390 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
9391 * sysdeps/i386/i686/multiarch/strncat.S: New file.
9392 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
9393 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
9395 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
9396 (USE_AS_STRCAT): Define.
9397 Add strcat and strncat support.
9398 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9400 2011-07-25 Andreas Schwab <schwab@redhat.com>
9402 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
9403 __n bigger than INT_MAX+1.
9404 (__strncmp_g): Likewise.
9406 2011-07-23 Ulrich Drepper <drepper@gmail.com>
9408 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
9409 * libio/stido.h: Likewise.
9411 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
9413 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
9416 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
9417 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9418 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9419 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9423 * scripts/test-installation.pl: Don't expect libnss_test1 to be
9426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
9428 (_dl_x86_64_save_sse): Likewise.
9430 2011-07-22 Ulrich Drepper <drepper@gmail.com>
9432 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
9434 (_dl_x86_64_save_sse): Likewise.
9436 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
9438 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
9440 2011-07-21 Andreas Schwab <schwab@redhat.com>
9442 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
9444 (_dl_x86_64_save_sse): Use correct AVX check.
9446 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9448 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
9449 bug in strncpy/strncat.
9450 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9452 2011-07-21 Ulrich Drepper <drepper@gmail.com>
9454 * string/tester.c (test_strcat): Add tests for different alignments
9455 of source and destination.
9456 (test_strncat): Likewise.
9458 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9461 * posix/glob.c (glob): Check passed in values before using them in
9462 expressions to avoid some overflows.
9463 (glob_in_dir): Likewise.
9466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
9467 check for AVX enablement so that we don't crash with old kernels and
9469 * elf/tst-audit4.c: Add same checks here.
9470 * elf/tst-audit6.c: Likewise.
9472 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
9474 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
9476 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
9478 2011-07-20 Ulrich Drepper <drepper@gmail.com>
9480 * po/cs.po: Update from translation team.
9481 * po/bg.po: Likewise.
9483 2011-07-12 Marek Polacek <mpolacek@redhat.com>
9485 * misc/sys/cdefs.h: Add support for const attribute.
9486 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
9487 to gnu_dev_{major,minor,makedev} functions.
9489 2011-07-20 Marek Polacek <mpolacek@redhat.com>
9491 * intl/dcigettext.c (get_output_charset): Add missing bracket.
9493 2011-07-20 Andreas Schwab <schwab@redhat.com>
9495 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
9498 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9500 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
9501 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
9502 register in order to avoid conflicts with the soft frame pointer
9503 being held in r11 when necessary.
9504 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
9505 (INTERNAL_VSYSCALL_NCS): Likewise.
9507 2011-07-14 Marek Polacek <mpolacek@redhat.com>
9509 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
9510 * elf/dl-fini.c (_dl_fini): Adjust caller.
9511 * elf/dl-close.c (_dl_close_worker): Likewise.
9512 * sysdeps/generic/ldsodefs.h: Adjust declaration.
9514 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9516 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
9517 "aux_cache->nlibs < 0".
9519 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
9520 in the reload-count case.
9522 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
9524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9525 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
9526 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
9527 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
9528 * sysdeps/x86_64/multiarch/strcat.S: New file.
9529 * sysdeps/x86_64/multiarch/strncat.S: New file.
9530 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
9531 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
9532 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
9533 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
9534 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
9535 (USE_AS_STRCAT): Define.
9536 Add strcat and strncat support.
9537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
9538 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9539 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
9540 * string/strncat.c: Update.
9541 (USE_AS_STRNCAT): Define.
9542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9543 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
9545 * sysdeps/x86_64/multiarch/init-arch.h
9546 (bit_Prefer_PMINUB_for_stringop): New.
9547 (index_Prefer_PMINUB_for_stringop): Likewise.
9548 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
9549 bit_Prefer_PMINUB_for_stringop.
9551 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9553 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
9555 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
9556 of casting of buffer.
9557 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
9558 buffer32 and buffer64.
9559 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
9560 writes instead of casting of buffer.
9561 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
9563 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
9566 2011-07-19 Andreas Schwab <schwab@redhat.com>
9568 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
9570 2011-07-19 Ulrich Drepper <drepper@gmail.com>
9572 * nscd/nscd.c (termination_handler): Don't do anything for a database
9573 if it has not yet been initialized.
9575 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9577 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9579 2011-07-15 Marek Polacek <mpolacek@redhat.com>
9581 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
9583 2011-07-18 Ulrich Drepper <drepper@gmail.com>
9585 * po/nl.po: Update from translation team.
9586 * po/sv.po: Likewise.
9588 2011-07-16 Roland McGrath <roland@hack.frob.com>
9590 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
9591 now disallowed by GCC.
9593 * configure.in (use-default-link): Default to yes if a test -shared
9594 link meets our qualifications.
9595 * configure: Regenerated.
9597 * config.make.in (output-format): New variable.
9598 * configure.in: Check for ld --print-output-format support.
9599 * configure: Regenerated.
9600 * Makerules ($(common-objpfx)format.lds)
9601 [$(output-format) != unknown]: Just use $(output-format),
9602 instead of the linker-script munging.
9604 2011-07-14 Roland McGrath <roland@hack.frob.com>
9606 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
9607 of $(common-objpfx)shlib.lds.
9608 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
9610 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
9611 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
9613 * configure.in (-z relro check): Adjust test code to add a large
9614 writable data section after it.
9615 * configure: Regenerated.
9617 2011-07-11 Roland McGrath <roland@hack.frob.com>
9619 * configure.in (-z relro check): Fix test code to make the variable
9621 * configure: Regenerated.
9623 2011-07-11 Ulrich Drepper <drepper@gmail.com>
9625 * nscd/nscd.h (struct traced_file): Define.
9626 (struct database_dyn): Remove inotify_descr, reset_res, and filename
9627 elements. Add traced_files.
9628 (inotify_fd): Declare.
9629 (register_traced_file): Declare.
9630 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
9631 (inotify_fd): Export.
9632 (resolv_conf_descr): Remove.
9633 (nscd_init): Move inotify descriptor creation to main.
9634 Don't register files for notification here.
9635 (register_traced_file): New function.
9636 (invalidate_cache): Don't use reset_res to determine whether to call
9637 res_init, go through the list of registered files.
9638 (main_loop_poll): The inotify descriptors are now stored in the
9639 structures for the traced files.
9640 (main_loop_epoll): Likewise
9641 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
9642 to __nss_disable_nscd.
9643 * nscd/cache.c (prune_cache): There is no single inotify descriptor
9644 for a database anymore. Check the records for all the registered
9646 * nss/Makefile (libnss_files-routines): Add files-init.
9647 (libnss_db-routines): Add db-init.
9648 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
9649 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
9650 * nss/nss_db/db-init.c: New file.
9651 * nss/nss_files/files-init.c: New file.
9652 * nss/nsswitch.c (nss_load_library): New function. Broken out of
9653 __nss_lookup_function.
9654 (__nss_lookup_function): Call nss_load_library.
9655 (nss_load_all_libraries): New function.
9656 (__nss_disable_nscd): Take parameter with callback function for files
9657 to register. Set is_nscd. Load all the DSOs for the NSS modules
9658 used for the cached services.
9659 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
9660 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
9661 options for features to all the files in nscd.
9663 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
9665 2011-07-10 Roland McGrath <roland@hack.frob.com>
9667 * csu/elf-init.c (__libc_csu_init): Comment typo.
9669 2011-07-09 Ulrich Drepper <drepper@gmail.com>
9671 * po/pl.po: Update from translation team.
9672 * po/ja.po: Likewise.
9673 * po/ru.po: Likewise.
9674 * po/ko.po: Likewise.
9675 * po/fr.po: Likewise.
9677 2011-07-09 Roland McGrath <roland@hack.frob.com>
9679 * configure.in (.ctors/.dtors header and trailer check):
9680 Use an empirical test on a built program.
9681 * configure: Regenerated.
9683 * configure.in (-z relro check): Use an empirical test on a built DSO.
9684 Detect, but do not require, on ia64.
9685 * configure: Regenerated.
9687 * configure.in (READELF): Find it with AC_CHECK_TOOL.
9688 Update tests that use readelf to use $READELF instead.
9689 * configure: Regenerated.
9691 2011-07-08 Ulrich Drepper <drepper@gmail.com>
9693 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
9694 if the result is not used.
9696 2011-07-05 Andreas Jaeger <aj@suse.de>
9699 * stdlib/tst-strtod.c: Add testcase.
9701 2011-07-07 Ulrich Drepper <drepper@gmail.com>
9703 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
9704 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
9705 The latter has a higher limit. Take additional parameter to pass to
9707 (__pathconf): Pass file to __statfs_link_max.
9708 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
9710 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
9714 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
9715 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9717 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
9718 (__statfs_filesize_max): Likewise.
9719 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
9721 2011-07-05 Andreas Jaeger <aj@suse.de>
9723 * resolv/res_comp.c (dn_skipname): Remove unused variable.
9725 2011-07-06 Marek Polacek <mpolacek@redhat.com>
9727 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
9729 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
9732 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
9734 * Makefile (strop-tests): Add strncat.
9735 * string/test-strncat.c: New file.
9737 2011-06-30 Marek Polacek <mpolacek@redhat.com>
9739 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
9741 2011-06-21 Andreas Jaeger <aj@suse.de>
9743 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
9744 Copy rule from iconvdata/Makefile.
9746 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9749 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
9750 but no long options are defined, just return 'W'.
9752 2011-06-22 Marek Polacek <mpolacek@redhat.com>
9755 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
9757 2011-07-06 Ulrich Drepper <drepper@gmail.com>
9759 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
9761 (innetgr): Likewise.
9763 2011-07-05 Roland McGrath <roland@hack.frob.com>
9765 * config.make.in (install_root): Default to $(DESTDIR).
9767 2011-07-05 Ulrich Drepper <drepper@gmail.com>
9769 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
9771 2011-07-02 Roland McGrath <roland@hack.frob.com>
9773 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
9775 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
9776 containing directory rather than embedding absolute directory names.
9778 * scripts/check-local-headers.sh: Rewritten using awk.
9779 Match by word, not by line. Print error messages for matches.
9780 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
9782 * Makerules [shlib-lds-flags empty]:
9783 ($(common-objpfx)libc_pic.opts): New target.
9784 ($(common-objpfx)libc_pic.os.clean): New target.
9785 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
9787 * config.make.in (OBJCOPY): New variable.
9788 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
9789 * configure: Regenerated.
9791 * config.make.in (use-default-link): New variable.
9792 * configure.in (use_default_link): Grok --with-default-link to set it.
9793 * configure: Regenerated.
9794 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
9795 (shlib-lds, shlib-lds-flags): Define to empty.
9797 * Makerules (shlib-lds): New variable.
9798 (shlib-lds-flags): New variable.
9799 (build-shlib, build-moduile, build-module-asneeded): Use it.
9800 ($(common-objpfx)libc.so): Use $(shlib-lds).
9801 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
9802 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
9804 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
9805 DT_FLAGS/DT_FLAGS_1 with zero flags.
9807 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
9808 linker script munging.
9810 2011-07-02 Ulrich Drepper <drepper@gmail.com>
9812 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
9814 * crypt/sha512.c (sha512_process_block): Perform total addition using
9815 128-bit if possible.
9816 (__sha512_finish_ctx): Likewise.
9817 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
9819 * crypt/sha256.c (SWAP64): Define.
9820 (sha256_process_block): Perform total addition using 64-bit if
9822 (__sha256_finish_ctx): Likewise.
9824 2011-07-01 Ulrich Drepper <drepper@gmail.com>
9826 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
9827 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9828 * nscd/hstcache.c (cache_addhst): Likewise.
9829 * nscd/grpcache.c (cache_addgr): Likewise.
9830 * nscd/aicache.c (addhstaiX): Likewise
9831 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
9833 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
9835 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
9836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9837 * nscd/hstcache.c (cache_addhst): Likewise.
9838 * nscd/grpcache.c (cache_addgr): Likewise.
9839 * nscd/aicache.c (addhstaiX): Likewise
9841 2011-07-01 Andreas Schwab <schwab@redhat.com>
9843 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
9844 domain only when needed.
9846 2011-06-30 Andreas Schwab <schwab@redhat.com>
9848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
9851 2011-06-29 Ulrich Drepper <drepper@gmail.com>
9853 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
9854 are re-adding the entry.
9855 * nscd/servicescache.c (cache_addserv): Likewise.
9857 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
9859 * sysdeps/generic/dl-irel.h: fix protection against multiple
9861 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
9863 2011-06-28 Ulrich Drepper <drepper@gmail.com>
9866 * malloc/memusage.sh: Fix quoting in message.
9867 * debug/xtrace.sh: Likewise.
9869 * configure.in: Remove support for --experimental-malloc option, make
9871 * config.make.in: Likewise.
9872 * malloc/Makefile: Likewise.
9874 2011-06-27 Andreas Schwab <schwab@redhat.com>
9876 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
9877 two-byte characters.
9879 2011-06-27 Roland McGrath <roland@hack.frob.com>
9881 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
9882 AC_CACHE_CHECK invocation.
9883 * configure: Regenerated.
9885 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
9887 2011-06-27 Ulrich Drepper <drepper@gmail.com>
9890 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
9891 bit from old_res_options.
9893 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
9895 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
9896 value type for setfct.
9898 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
9900 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9901 __gettimeofday instead of gettimeofday.
9903 2011-06-26 Ulrich Drepper <drepper@gmail.com>
9905 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
9907 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
9909 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
9911 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
9914 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9916 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9917 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9918 strcpy-sse2-unaligned strncpy-sse2-unaligned
9919 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
9920 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
9921 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
9922 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
9923 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
9924 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
9925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
9926 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
9927 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
9928 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
9929 (STRCPY): Support SSE2 and SSSE3 versions.
9931 2011-06-24 Ulrich Drepper <drepper@gmail.com>
9934 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
9935 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
9936 kernels which artificially limit size of requests.
9938 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
9940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9941 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
9942 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
9943 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
9944 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
9945 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
9946 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
9947 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
9948 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
9949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
9950 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
9951 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
9952 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
9953 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
9954 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
9955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9956 Enable unaligned load optimization for Intel Core i3, i5 and i7
9958 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
9960 (index_Fast_Unaligned_Load): Define.
9961 (HAS_FAST_UNALIGNED_LOAD): Define.
9963 2011-06-23 Marek Polacek <mpolacek@redhat.com>
9965 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
9967 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
9971 until it is clear that the information is realy needed.
9972 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
9974 2011-06-22 Andreas Schwab <schwab@redhat.com>
9976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
9978 2011-06-22 Ulrich Drepper <drepper@gmail.com>
9980 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
9981 /sys/devices/system/cpu/online if it is usable.
9983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
9984 reading the information from the /proc filesystem to once a second.
9986 2011-06-21 Andreas Jaeger <aj@suse.de>
9988 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
9989 NULL after inclusion of kernel headers.
9991 2011-06-21 Ulrich Drepper <drepper@gmail.com>
9993 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
9994 calls to internal_setent.
9997 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
9998 addresses using gethostbyname4_r ignore IPv4 addresses.
10000 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
10001 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
10003 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
10005 2011-06-20 David S. Miller <davem@davemloft.net>
10007 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
10009 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
10011 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
10012 (elf_irel): Use it.
10013 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
10014 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
10015 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
10016 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
10017 * sysdeps/x86_64/dl-irel.h: Likewise.
10019 * elf/dl-runtime.c: Use elf_ifunc_invoke.
10020 * elf/dl-sym.c: Likewise.
10022 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10024 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
10025 need to dereference resplen2.
10027 2011-06-14 Andreas Schwab <schwab@redhat.com>
10029 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
10031 2011-06-15 Ulrich Drepper <drepper@gmail.com>
10033 * Makeconfig: Define vardbdir and inst_vardbdir.
10034 * nss/Makefile: Add rules to install db-Makefile.
10036 * nss/nss_db/db-XXX.c: Cleanup.
10038 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
10039 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
10041 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
10042 * nss/makedb.c: Implement -g option to specify that value strings
10043 are generated and should not be added to table iterated over for
10045 * nss/nss_db/db-initgroups.c: New file.
10047 * nss/getent.c: Add support for initgroups lookups through getgrouplist
10050 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
10051 (internal_getgrouplist): Adjust to name change.
10052 Update use_initgroups_entry if this is not the first call.
10053 * nss/databases.def: Add initgroups entry.
10055 * nss/makedb.c (compute_tables): Check result of multiple hash table
10056 sizes to minimize maximum chain length.
10058 2011-06-14 Ulrich Drepper <drepper@gmail.com>
10060 * Versions.def: Add entry for libnss_db.
10061 * shlib-versions: Likewise.
10062 * nss/Makefile: Add rules to build libnss_db.
10063 * nss/Versions: Add libnss_db information. Organize libnss_files
10065 * nss/db-Makefile: Add gshadow support. Change rules for the new
10066 makedb progra. Some minor improvements to generate smaller files.
10067 * nss/nss_db/nss_db.h: Move NSS database header data structures to
10069 * nss/makedb.c: ...here.
10070 Improve database format to be smaller and require less memory at
10072 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
10074 * nss/nss_db/db-netgrp.c: Likewise.
10075 * nss/nss_db/db-open.c: Likewise.
10076 * nss/nss_files/flies-XXX.x: Adjust comments.
10077 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
10078 * nss/nss_files/files-grp.c: Likewise.
10079 * nss/nss_files/files-hosts.c: Likewise.
10080 * nss/nss_files/files-network.c: Likewise.
10081 * nss/nss_files/files-proto.c: Likewise.
10082 * nss/nss_files/files-pwd.c: Likewise.
10083 * nss/nss_files/files-rpc.c: Likewise.
10084 * nss/nss_files/files-service.c: Likewise.
10085 * nss/nss_files/files-sgrp.c: Likewise.
10086 * nss/nss_files/files-spwd.c: Likewise.
10087 * nss/nss_db/db-alias.c: Removed.
10088 * nss/nss_db/dummy-db.h: Removed.
10090 2011-06-02 Ulrich Drepper <drepper@gmail.com>
10092 * nss/makedb.c: Rewritten to not use database library.
10093 * nss/Makefile: Update to build new makedb program.
10095 2011-06-14 Andreas Jaeger <aj@suse.de>
10097 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
10098 memset declaration.
10100 2011-06-10 Andreas Schwab <schwab@redhat.com>
10102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
10105 2011-06-10 Roland McGrath <roland@hack.frob.com>
10107 * Makerules (shlib.lds): Fail if the linker script comes out empty.
10108 * elf/Makefile ($(objpfx)ld.so): Likewise.
10110 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
10111 Don't list ld.so twice in dependencies.
10113 * posix/bug-regex31.c: Include <stdlib.h>.
10115 * nscd/hstcache.c (cache_addhst): Remove unused variable.
10117 * nis/nss_compat/compat-spwd.c
10118 (getspent_next_nss_netgr): Remove unused variable.
10119 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
10121 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
10122 nonmembers" output to use the right array.
10124 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
10126 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
10128 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
10129 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
10130 * catgets/gencat.c (read_input_file): Likewise.
10131 * locale/programs/locarchive.c (enlarge_archive): Likewise.
10133 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
10134 variable definition inside #if's controlling its use.
10136 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
10138 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
10140 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
10142 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
10145 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
10147 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
10148 * configure: Regenerated.
10150 * Makerules: Revert last change.
10151 * elf/Makefile: Likewise.
10153 2011-06-09 Roland McGrath <roland@hack.frob.com>
10155 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
10156 * elf/Makefile ($(objpfx)librtld.os): Likewise.
10157 (reloc-link): Likewise.
10159 2011-06-09 Ulrich Drepper <drepper@gmail.com>
10161 * elf/Makefile: Add rules to build pldd.
10162 * elf/pldd.c: New file.
10163 * elf/pldd-xx.c: New file.
10165 2011-06-07 Ulrich Drepper <drepper@gmail.com>
10167 * version.h: Update for 2.15 development version.
10169 2011-06-07 David S. Miller <davem@davemloft.net>
10171 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
10173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
10174 elf_machine_lazy_rel): Likewise.
10175 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
10176 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
10177 elf_machine_lazy_rel): Likewise.
10178 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
10179 dl_hwcap via passed in argument.
10180 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
10183 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10185 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
10187 2011-06-06 Roland McGrath <roland@hack.frob.com>
10190 * manual/fdl-1.1.texi: New file, verbatim from:
10191 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
10192 * manual/lgpl-2.1.texi: New file, verbatim from:
10193 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
10194 * manual/Makefile (licenses): New variable, list those new file names.
10196 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
10198 * manual/fdl.texi: File removed.
10199 * manual/lesser.texi: File removed.
10200 * manual/libc.texinfo (Copying, Documentation License):
10201 Use new @include file names, put @appendix directive before @include.
10203 2011-06-04 Jakub Jelinek <jakub@redhat.com>
10206 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
10207 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
10208 (mq_open): Add __NTH.
10210 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
10212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10213 Assume Intel Core i3/i5/i7 processor if AVX is available.
10215 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10217 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
10220 2011-05-31 Andreas Schwab <schwab@redhat.com>
10222 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
10223 memory. Use alloca_account. Fix memory leak when retrying.
10225 2011-05-31 Ulrich Drepper <drepper@gmail.com>
10227 * version.h (RELEASE): Bump for 2.14 release.
10228 * include/features.h (__GLIBC_MINOR__): Bump to 14.
10230 * config.make.in (RANLIB): Remove entry.
10232 2011-05-30 Ulrich Drepper <drepper@gmail.com>
10234 * po/Makefile (po-sed-cmd): Add ksh to extensions.
10235 (libc.pot): Work around missing support for .ksh extension in xgettext.
10238 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
10239 if both request failed.
10240 (send_dg): In case of server errors clear resplen or *resplen2.
10243 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
10244 when there are multiple maps.
10245 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
10246 (_dl_fini): Remove test here.
10248 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
10250 2011-05-29 Ulrich Drepper <drepper@gmail.com>
10253 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
10254 bit from old_res_options.
10255 (gaih_inet): Likewise.
10258 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
10261 * resolv/res_init.c (res_setoptions): Make the code more compact.
10264 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
10268 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
10270 * malloc/malloc.h: Mark malloc hook variables as deprecated.
10273 * malloc/malloc.h: Declare malloc hook variables as volatile.
10275 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
10279 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
10280 raise in the comment.
10281 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
10282 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10283 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
10285 2011-05-28 Ulrich Drepper <drepper@gmail.com>
10288 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
10289 grow the buffers more if it already has to be sufficient.
10290 (build_wcs_upper_buffer): Likewise.
10291 * posix/regexec.c (check_matching): Likewise.
10292 (clean_state_log_if_needed): Likewise.
10293 (extend_buffers): Don't enlarge buffers beyond size of the input
10295 Patches mostly by Emil Wojak <emil@wojak.eu>.
10296 * posix/bug-regex32.c: New file.
10297 * posix/Makefile (tests): Add bug-regex32.
10299 * locale/findlocale.c (_nl_find_locale): Return right away if
10300 _nl_explode_name failed.
10301 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10303 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
10305 * debug/xtrace.sh: Unify messages.
10306 * malloc/memusage.sh: Likewise.
10309 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
10310 time symbol from vDSO. Substitute with vsyscall if not available.
10311 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
10314 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
10315 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
10316 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
10317 Add sendmmsg and internal_sendmmsg.
10318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
10319 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
10320 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
10322 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
10323 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
10324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
10326 2011-05-27 Ulrich Drepper <drepper@gmail.com>
10329 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
10330 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
10332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
10336 * iconvdata/Makefile (tests): Add bug-iconv9.
10337 * iconvdata/bug-iconv9.c: New file.
10339 2011-05-27 Andreas Schwab <schwab@redhat.com>
10342 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
10344 2011-05-25 Jakub Jelinek <jakub@redhat.com>
10346 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10347 (struct user_regs_struct): Change intcs field back to cs.
10349 2011-05-25 Ulrich Drepper <drepper@gmail.com>
10351 * po/ja.po: Update from translation team.
10353 2011-05-23 Ulrich Drepper <drepper@gmail.com>
10356 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
10357 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
10359 2011-05-20 Andreas Schwab <schwab@redhat.com>
10361 * stdlib/longlong.h: Update from GCC.
10363 2011-05-23 Andreas Schwab <schwab@redhat.com>
10365 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
10367 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
10368 Add parameter name.
10369 (__sysconf): Pass it down.
10371 2011-05-22 Ulrich Drepper <drepper@gmail.com>
10374 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
10376 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
10377 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
10378 add in in __libc_use_alloca calls. Adjust callers.
10379 (glob): Use malloc in some situations.
10381 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
10382 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
10385 2011-05-21 Ulrich Drepper <drepper@gmail.com>
10387 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
10388 and CLOCK_BOOTTIME_ALARM.
10391 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
10394 * string/_strerror.c (__strerror_r): Print negative errors as signed
10398 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
10399 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
10400 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
10402 * configure.in: Fix typo in redirection and correct removal of test
10403 files in two cases.
10406 * locale/setlocale.c (new_composite_name): Fix test to check for
10407 identical name of all categories.
10410 * libio/filedoalloc.c (local_isatty): New function.
10411 (_IO_file_doallocate): Use local_isatty.
10412 * stdio-common/perror.c (perror): In case a new stream is used
10413 forward the stream error.
10414 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
10417 2011-05-20 Ulrich Drepper <drepper@gmail.com>
10420 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
10422 * include/alloca.h (extend_alloca_account): Define.
10425 * posix/regex.h: Fix comments with documentation of user-accessible
10426 fields after compilation and describe correct free'ing of pattern
10427 after re_compile_pattern.
10428 Patch by Reuben Thomas <rrt@sc3d.org>.
10430 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
10432 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
10433 and -mno-altivec to prevent the compiler from using Altivec and/or
10434 VSX instructions when the corresponding registers are not available.
10436 2011-05-19 Andreas Schwab <schwab@redhat.com>
10438 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
10440 2011-05-19 Ulrich Drepper <drepper@gmail.com>
10442 * libio/freopen.c (freopen): Use __dup2, not dup2.
10443 * libio/freopen64.c (freopen64): Likewise.
10445 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
10448 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
10449 * math/Makefile (tests): Add test-powl.
10450 (CFLAGS-test-powl.c): Define.
10451 * math/test-powl.c: New file.
10453 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
10455 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
10457 2011-05-17 Ulrich Drepper <drepper@gmail.com>
10460 * iconvdata/gb18030.c: Update to GB18020-2005.
10462 2011-05-16 Ulrich Drepper <drepper@gmail.com>
10464 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
10465 RE_SYNTAX_POSIX_AWK): Update to match recent development.
10466 Patch by Aharon Robbins <arnold@skeeve.com>.
10469 * stdlib/putenv.c (putenv): Don't always create copy of the variable
10473 * misc/pselect.c (__pselect): Handle timeout value errors hidden
10474 through underflows.
10477 * misc/error.c (error_at_line): Ensure file_name and old_file_name
10478 point to strings before performing equality test for error_one_per_line
10482 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
10485 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
10486 (struct user_fpregs_struct): Avoid __uint*_t types.
10489 * malloc/mtrace.c (tr_where): Add additional parameter to point to
10490 symbol info. Use it instead of calling _dl_addr locally.
10491 (lock_and_info): New function.
10492 (tr_freehook): Call lock_and_info and pass symbol info as additional
10493 parameter to tr_where.
10494 (tr_mallochook): Likewise.
10495 (tr_reallochook): Likewise.
10496 (tr_memalignhook): Likewise.
10498 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
10499 used and couldn't be at all thread-safe.
10501 2011-05-15 Ulrich Drepper <drepper@gmail.com>
10503 * libio/freopen.c (freopen): Don't close old file descriptor
10504 before the new one is opened. Instead dup the new file descriptor
10505 to the old one after the new stream is created.
10506 * libio/freopen64.c (freopen64): Likewise.
10507 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
10508 * libio/fileops.c (_IO_new_file_close_it): Handle new
10509 _IO_FLAGS2_NOCLOSE flag.
10510 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
10511 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
10512 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
10513 _IO_FLAGS2_NOCLOSE flag.
10514 * include/unistd.h: Add hidden_proto for dup3.
10515 Define __have_dup3.
10516 * io/dup3.c: Define hidden symbol.
10517 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
10520 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
10521 when an incomplete long option is used.
10522 * posix/tst-getopt_long1.c: New file.
10523 * posix/Makefile (tests): Add tst-getopt_long1.
10526 * scripts/config.guess: Update from autoconf-2.68.
10527 * scripts/config.sub: Likewise.
10530 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
10532 (has_cpuclock): ...this. New function.
10533 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
10534 macro here based on has_cpuclock code.
10537 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10538 First byte (not low byte) is now always NUL.
10539 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
10541 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
10542 Use non-cancelable interfaces.
10545 * locale/iso-639.def: Add entry for Sorani.
10548 * include/stdlib.h: Move include protection to the right place.
10549 Define abort_msg_s. Declare __abort_msg with it.
10550 * stdlib/abort.c (__abort_msg): Adjust type.
10551 * assert/assert.c (__assert_fail_base): New function. Majority
10552 of code from __assert_fail. Allocate memory for __abort_msg with
10554 (__assert_fail): Now call __assert_fail_base.
10555 * assert/assert-perr.c: Remove bulk of implementation. Use
10556 __assert_fail_base.
10557 * include/assert.hL Declare __assert_fail_base.
10558 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
10560 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
10562 2011-05-14 Ulrich Drepper <drepper@gmail.com>
10566 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
10567 until all modules are registered in the DTV.
10568 * elf/Makefile: Add rules to build and run tst-tls19.
10569 * elf/tst-tls19.c: New file.
10570 * elf/tst-tls19mod1.c: New file.
10571 * elf/tst-tls19mod2.c: New file.
10572 * elf/tst-tls19mod3.c: New file.
10573 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
10576 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
10580 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
10581 two-byte sequence errors.
10582 * iconvdata/Makefile (tests): Add bug-iconv8.
10583 * iconvdata/bug-iconv8.c: New file.
10586 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
10589 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
10592 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
10593 (dummy_getcfa): New function.
10594 (init): Get _Unwind_GetCFA address, use dummy if not found.
10595 (backtrace_helper): In recursion check, also check whether CFA changes.
10596 (__backtrace): Completely initialize arg.
10598 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
10599 storing incomplete byte sequence in state object. Avoid testing for
10600 guaranteed too small input if we know there is enough data available.
10602 2011-05-11 Andreas Schwab <schwab@redhat.com>
10604 * Makeconfig (+link-pie): Indent.
10605 * Rules (binaries-pie): Define if $(have-fpie) and
10607 (binaries-shared): Also filter out $(binaries-pie).
10608 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
10609 * nscd/Makefile (others-pie): Add nscd.
10610 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
10611 ($(objpfx)nscd): Remove command override.
10612 * login/Makefile (others-pie): Add pt_chown.
10613 ($(objpfx)pt_chown): Remove command override.
10614 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
10615 remove command overrides.
10617 2011-05-13 Ulrich Drepper <drepper@gmail.com>
10619 * libio/tst_putwc.c: Fix error messages.
10622 * libio/fileops.c (_IO_new_file_close_it): Always flush when
10623 currently writing and seek to current position when not.
10624 * libio/Makefile (tests): Add bug-fclose1.
10625 * libio/bug-fclose1.c: New file.
10627 2011-05-12 Ulrich Drepper <drepper@gmail.com>
10630 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
10631 don't set DF_1_NODELETE here.
10632 (do_lookup_x): When entering new entry test for copy relocation
10633 and if necessary set DF_1_NODELETE flag.
10634 * elf/tst-unique4.cc: New file.
10635 * elf/tst-unique4.h: New file.
10636 * elf/tst-unique4lib.cc: New file.
10637 * elf/Makefile: Add rules to build and run tst-unique4.
10638 Patch by Piotr Bury <pbury@goahead.com>.
10640 2011-05-11 Ulrich Drepper <drepper@gmail.com>
10643 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
10646 * misc/mntent_r.c (addmntent): Flush the stream after the output
10649 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
10650 (is_trusted_path_normalize): Skip initial colon. Append slash
10651 to empty buffer. Duplicate is_trusted_path code but allow
10652 constructed patch to be prefix.
10653 (is_dst): Allow $ORIGIN followed by /.
10654 (_dl_dst_substitute): Correct clearing of check_for_trusted.
10655 Correct testing of result of is_trusted_path_normalize
10656 (decompose_rpath): Fix warning.
10658 2011-05-10 Ulrich Drepper <drepper@gmail.com>
10661 * grp/initgroups.c (internal_getgrouplist): When we found the service
10662 list through the initgroups entry in nsswitch.conf do not always
10663 continue on a successful lookup. Don't always use the
10664 __nss_group_database value if it is set.
10665 * nss/nsswitch.conf (initgroups): Change action for successful db
10666 lookup to continue for compatibility.
10668 2011-05-09 Ulrich Drepper <drepper@gmail.com>
10671 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
10673 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
10675 * iconvdata/tst-tables.sh: Likewise.
10676 * iconvdata/cp770.c: New file.
10677 * iconvdata/cp771.c: New file.
10678 * iconvdata/cp772.c: New file.
10679 * iconvdata/cp773.c: New file.
10680 * iconvdata/cp774.c: New file.
10681 * iconvdata/testdata/CP770: New file.
10682 * iconvdata/testdata/CP770..UTF8: New file.
10683 * iconvdata/testdata/CP771: New file.
10684 * iconvdata/testdata/CP771..UTF8: New file.
10685 * iconvdata/testdata/CP772: New file.
10686 * iconvdata/testdata/CP772..UTF8: New file.
10687 * iconvdata/testdata/CP773: New file.
10688 * iconvdata/testdata/CP773..UTF8: New file.
10689 * iconvdata/testdata/CP774: New file.
10690 * iconvdata/testdata/CP774..UTF8: New file.
10692 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
10694 * iconvdata/gen-8bit-gap.sh: Likewise.
10695 * iconvdata/gen-8bit.sh: Likewise.
10697 * locale/iso-639.def: Add ary entry.
10700 * locale/C-translit.h.in: Add U20A1 transliteration.
10703 * locale/iso-639.def: Add wae entry.
10704 Patch by Kevin Bortis <bortis@translate-wae.ch>.
10707 * locale/programs/localedef.c (construct_output_path): Use ssize_t
10711 * locale/C-translit.h.in: Add entry for U20B9.
10712 Patch by pravin.d.s@gmail.com.
10714 2011-05-08 Ulrich Drepper <drepper@gmail.com>
10717 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
10718 ENAMETOOLONG use generic getcwd.
10719 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
10720 in rtld. Use *stat64.
10721 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
10722 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
10723 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
10724 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
10725 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
10726 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
10727 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
10728 __fstatat64 macros.
10729 * include/dirent.h: Add libc_hidden_proto for rewinddir.
10730 * dirent/rewinddir.c: Add libc_hidden_def.
10731 * sysdeps/mach/hurd/rewinddir.c: Likewise.
10732 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
10734 * include/dirent.h (__alloc_dir): Add flags parameter.
10735 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
10736 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
10738 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
10739 from fdopendir if O_CLOEXEC is already set.
10741 2011-03-15 Alan Modra <amodra@gmail.com>
10743 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
10744 l_tls_firstbyte_offset non-zero. Save padding offset in
10745 l_tls_firstbyte_offset for later use.
10746 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
10747 freeing static tls block.
10749 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
10751 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
10752 where #ifdef was intended. The intent is to prevent ARG_MAX from
10753 being defined by the kernel headers.
10755 2011-05-07 Ulrich Drepper <drepper@gmail.com>
10758 * resolv/resolv.h: Define RES_NOTLDQUERY.
10759 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
10760 no-tld-query and set RES_NOTLDQUERY.
10761 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
10762 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
10763 modern BIND to search name as TLD unless forbidden.
10765 2011-05-07 Petr Baudis <pasky@suse.cz>
10766 Ulrich Drepper <drepper@gmail.com>
10769 * elf/dl-load.c (fillin_rpath): Move trusted path check...
10770 (is_trusted_path): ...to here.
10771 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
10772 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
10773 using is_trusted_path_normalize() in setuid scripts.
10775 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
10777 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
10778 __BEGIN/__END_DECLS.
10780 2011-05-06 Ulrich Drepper <drepper@gmail.com>
10782 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
10783 NSS_STATUS_NOTFOUND if no record was found.
10785 2011-05-05 Andreas Schwab <schwab@redhat.com>
10787 * sunrpc/Makefile (headers): Add rpc/netdb.h.
10788 (headers-not-in-tirpc): Remove rpc/netdb.h
10789 * resolv/netdb.h: Revert last change.
10791 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10793 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
10794 circular dependency between libgcc.a and libc.a.
10796 2011-05-05 Andreas Schwab <schwab@redhat.com>
10798 * resolv/netdb.h: Don't include <rpc/netdb.h>.
10799 * nis/Makefile: Don't install rpcsvc/*.
10800 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
10801 instead of <rpc/types.h>.
10802 (MAXHOSTNAMELEN): Define.
10804 2011-05-03 Andreas Schwab <schwab@redhat.com>
10806 * elf/ldconfig.c (add_dir): Don't crash on empty path.
10808 2011-04-28 Maciej Babinski <mbabinski@google.com>
10811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
10812 gethostbyname4_r when IPv6 results are possible.
10814 2011-05-02 Ulrich Drepper <drepper@gmail.com>
10817 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
10818 _PC_PIPE_BUF handling.
10820 2011-04-30 Bruno Haible <bruno@clisp.org>
10823 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
10824 * resolv/netdb.h (getnameinfo): Change type of flags parameter
10826 * inet/getnameinfo.c (getnameinfo): Likewise.
10828 2011-04-29 Ulrich Drepper <drepper@gmail.com>
10830 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
10831 to groups setting in database lookup.
10832 * nss/nsswitch.conf: Add initgroups entry.
10834 2011-04-22 Ulrich Drepper <drepper@gmail.com>
10837 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
10839 Patch by Eric Blake <eblake@redhat.com>.
10841 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
10843 * sunrpc/Makefile (need-export-routines): Add svc_run.
10844 (routines): Remove svc_run.
10845 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
10846 * sunrpc/clnt_perr.c (clnt_perrno): Export.
10847 * sunrpc/svc_run.c (svc_run): Likewise.
10848 * sunrpc/svc_udp.c (svcudp_create): Likewise.
10850 2011-04-21 Ulrich Drepper <drepper@gmail.com>
10852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
10853 problem in reallocation in last patch.
10855 2011-04-20 Ulrich Drepper <drepper@gmail.com>
10857 * sunrpc/Makefile: Move inclusion of Rules.
10859 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10861 * nss/nss_files/files-initgroups.c: New file.
10862 * nss/Makefile (libnss_files-routines): Add files-initgroups.
10863 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
10864 _nss_files_initgroups_dyn.
10866 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
10868 * elf/elf.h (R_ARM_IRELATIVE): Define.
10870 2011-04-19 Ulrich Drepper <drepper@gmail.com>
10872 * po/ru.po: Update from translation team.
10874 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10876 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
10879 2011-02-06 Mike Frysinger <vapier@gentoo.org>
10882 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
10883 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
10884 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10885 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10886 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10888 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
10890 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
10892 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10893 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10896 2011-04-17 Ulrich Drepper <drepper@gmail.com>
10899 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
10901 * stdlib/bug-getcontext.c: New file.
10902 * stdlib/Makefile: Add rules to build and run bug-getcontext.
10904 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10906 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
10907 instructions into .machine "z9-109".
10908 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
10909 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
10911 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10913 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
10914 between environment variables and auxiliary vector.
10916 2011-04-16 Ulrich Drepper <drepper@gmail.com>
10918 * Makefile: Add rules to build linkobj/libc.so.
10919 * include/libc-symbols.h: Define libc_hidden_nolink.
10920 * include/rpc/auth.h: Mark functions which are to be hidden.
10921 * include/rpc/auth_des.h: Likewise.
10922 * include/rpc/auth_unix.h: Likewise.
10923 * include/rpc/clnt.h: Likewise.
10924 * include/rpc/des_crypt.h: Likewise.
10925 * include/rpc/key_prot.h: Likewise.
10926 * include/rpc/pmap_clnt.h: Likewise.
10927 * include/rpc/pmap_prot.h: Likewise.
10928 * include/rpc/pmap_rmt.h: Likewise.
10929 * include/rpc/rpc_msg.h: Likewise.
10930 * include/rpc/svc.h: Likewise.
10931 * include/rpc/svc_auth.h: Likewise.
10932 * include/rpc/xdr.h: Likewise.
10933 * nis/Makefile: Link all DSOs against linkobj/libc.so.
10934 * nss/Makefile: Likewise.
10935 * sunrpc/Makefile: Don't install headers. Build library with normal
10936 entry points. Don't build rpcinfo. Link RPC tests appropriately.
10937 * sunrpc/auth_des.c: Hide exported symbols by default, export some
10938 for the compat linking library. Remove use of INTDEF/INTUSE.
10939 * sunrpc/auth_none.c: Likewise.
10940 * sunrpc/auth_unix.c: Likewise.
10941 * sunrpc/authdes_prot.c: Likewise.
10942 * sunrpc/authuxprot.c: Likewise.
10943 * sunrpc/clnt_gen.c: Likewise.
10944 * sunrpc/clnt_perr.c: Likewise.
10945 * sunrpc/clnt_raw.c: Likewise.
10946 * sunrpc/clnt_simp.c: Likewise.
10947 * sunrpc/clnt_tcp.c: Likewise.
10948 * sunrpc/clnt_udp.c: Likewise.
10949 * sunrpc/clnt_unix.c: Likewise.
10950 * sunrpc/des_crypt.c: Likewise.
10951 * sunrpc/des_soft.c: Likewise.
10952 * sunrpc/get_myaddr.c: Likewise.
10953 * sunrpc/key_call.c: Likewise.
10954 * sunrpc/key_prot.c: Likewise.
10955 * sunrpc/netname.c: Likewise.
10956 * sunrpc/pm_getmaps.c: Likewise.
10957 * sunrpc/pm_getport.c: Likewise.
10958 * sunrpc/pmap_clnt.c: Likewise.
10959 * sunrpc/pmap_prot.c: Likewise.
10960 * sunrpc/pmap_prot2.c: Likewise.
10961 * sunrpc/pmap_rmt.c: Likewise.
10962 * sunrpc/publickey.c: Likewise.
10963 * sunrpc/rpc_cmsg.c: Likewise.
10964 * sunrpc/rpc_common.c: Likewise.
10965 * sunrpc/rpc_dtable.c: Likewise.
10966 * sunrpc/rpc_prot.c: Likewise.
10967 * sunrpc/rpc_thread.c: Likewise.
10968 * sunrpc/rtime.c: Likewise.
10969 * sunrpc/svc.c: Likewise.
10970 * sunrpc/svc_auth.c: Likewise.
10971 * sunrpc/svc_authux.c: Likewise.
10972 * sunrpc/svc_raw.c: Likewise.
10973 * sunrpc/svc_run.c: Likewise.
10974 * sunrpc/svc_simple.c: Likewise.
10975 * sunrpc/svc_tcp.c: Likewise.
10976 * sunrpc/svc_udp.c: Likewise.
10977 * sunrpc/svc_unix.c: Likewise.
10978 * sunrpc/svcauth_des.c: Likewise.
10979 * sunrpc/xcrypt.c: Likewise.
10980 * sunrpc/xdr.c: Likewise.
10981 * sunrpc/xdr_array.c: Likewise.
10982 * sunrpc/xdr_float.c: Likewise.
10983 * sunrpc/xdr_intXX_t.c: Likewise.
10984 * sunrpc/xdr_mem.c: Likewise.
10985 * sunrpc/xdr_rec.c: Likewise.
10986 * sunrpc/xdr_ref.c: Likewise.
10987 * sunrpc/xdr_sizeof.c: Likewise.
10988 * sunrpc/xdr_stdio.c: Likewise.
10990 2011-04-10 Ulrich Drepper <drepper@gmail.com>
10993 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
10994 * sysdeps/ia64/dl-tls.h: Likewise.
10995 * sysdeps/powerpc/dl-tls.h: Likewise.
10996 * sysdeps/s390/dl-tls.h: Likewise.
10997 * sysdeps/sh/dl-tls.h: Likewise.
10998 * sysdeps/sparc/dl-tls.h: Likewise.
10999 * sysdeps/x86_64/dl-tls.h: Likewise.
11000 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
11002 2011-03-14 Andreas Schwab <schwab@redhat.com>
11004 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
11005 rpath element also skip the following colon.
11006 (expand_dynamic_string_token): Add is_path parameter and pass
11007 down to DL_DST_REQUIRED and _dl_dst_substitute.
11008 (decompose_rpath): Call expand_dynamic_string_token with
11009 non-zero is_path. Ignore empty rpaths.
11010 (_dl_map_object_from_fd): Call expand_dynamic_string_token
11013 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
11018 2011-04-09 Ulrich Drepper <drepper@gmail.com>
11021 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
11022 Patch by Filipe David Manana <fdmanana@apache.org>.
11024 2011-04-07 Andreas Schwab <schwab@redhat.com>
11026 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
11027 Maintain aligned stack.
11028 (CHECK_RSP): Remove unused macro.
11030 2011-04-03 Ulrich Drepper <drepper@gmail.com>
11032 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
11033 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
11035 2011-04-02 Ulrich Drepper <drepper@gmail.com>
11037 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
11039 * include/features.h: Mention __USE_XOPEN2K8 in comment.
11041 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
11044 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
11045 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
11046 * sysdeps/x86_64/memmove.c: New file.
11047 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
11048 (memcpy): Renamed to ...
11049 (__new_memcpy): This.
11050 (memcpy): Provide GLIBC_2_14 memcpy.
11051 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
11052 (memcpy): Provide GLIBC_2_2_5 memcpy.
11054 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11057 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
11059 2011-03-30 Andreas Schwab <schwab@redhat.com>
11061 * misc/syncfs.c: New file.
11062 * misc/Makefile (routines): Add syncfs.
11063 * posix/unistd.h: Declare syncfs.
11064 * sysdeps/unix/syscalls.list: Add syncfs.
11066 2011-04-01 Andreas Schwab <schwab@redhat.com>
11068 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
11070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11071 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11073 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11075 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11078 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11080 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
11081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11082 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
11083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11088 * io/Makefile: Compile fallocate.c, fallocate64.c, and
11089 sync_file_range.c with -fexceptions.
11090 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
11091 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
11092 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
11093 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
11094 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
11095 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
11096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
11097 sync_file_range as cancellation point
11098 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
11099 now a wrapper around __call_sync_file_range with cancellation handling.
11100 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
11101 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
11102 function name to __call_sync_file_range.
11103 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
11104 Add call_sync_file_range.
11106 2011-04-01 Andreas Schwab <schwab@redhat.com>
11108 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11111 2011-04-01 Ulrich Drepper <drepper@gmail.com>
11113 * iconv/iconv.h: Fix typo in comment.
11114 * io/fcntl.h: Likewise.
11115 * libio/stdio.h: Likewise.
11116 * posix/spawn.h: Likewise.
11117 * posix/unistd.h: Likewise.
11118 * stdlib/stdlib.h: Likewise.
11119 * time/time.h: Likewise.
11120 * wcsmbs/wchar.h: Likewise.
11122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
11123 open_by_handle): Add.
11124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
11125 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
11126 Augment a few comments.
11127 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
11128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11129 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11130 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11131 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11132 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
11135 * io/fcntl.h (AT_EMPTY_PATH): Define.
11137 2011-03-30 Ulrich Drepper <drepper@gmail.com>
11139 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
11140 * sysdeps/unix/sysv/linux/bits/time.h: New file.
11141 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
11143 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
11144 * Versions.def: Add GLIBC_2.14.
11145 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
11148 2011-03-22 Ulrich Drepper <drepper@gmail.com>
11150 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
11152 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11154 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
11157 * string/test-strncmp.c (do_page_test): New function.
11158 (check2): Likewise.
11159 (test_main): Call check2.
11160 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
11162 2011-03-20 Ulrich Drepper <drepper@gmail.com>
11165 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
11166 Handle cache information in CPU leaf 4.
11167 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
11169 2011-03-18 Ulrich Drepper <drepper@gmail.com>
11172 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
11173 character representation.
11174 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
11176 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
11178 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
11179 END(__isnan) to END(__isnanf) to match function entry point/label
11180 EALIGN(__isnanf,...).
11182 2011-03-10 Jakub Jelinek <jakub@redhat.com>
11184 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
11186 2011-03-10 Ulrich Drepper <drepper@gmail.com>
11189 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
11190 copy from the symbol referenced in the relocation to initialize the
11192 Patch by Piotr Bury <pbury@goahead.com>.
11193 * elf/Makefile: Add rules to build and tst-unique3.
11194 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
11195 * elf/tst-unique3.cc: New file.
11196 * elf/tst-unique3.h: New file.
11197 * elf/tst-unique3lib.cc: New file.
11198 * elf/tst-unique3lib2.cc: New file.
11200 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
11202 2011-03-10 Mike Frysinger <vapier@gentoo.org>
11204 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
11205 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
11208 2011-03-06 Ulrich Drepper <drepper@gmail.com>
11210 * elf/dl-load.c (_dl_map_object): If we are looking for the first
11211 to-be-loaded object along a path to loader is ld.so.
11213 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11214 Ulrich Drepper <drepper@gmail.com>
11216 * sysdeps/x86_64/memset.S: After aligning destination, code
11217 branches to different locations depending on the value of
11218 misalignment, when multiarch is enabled. Fix this.
11220 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
11222 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
11223 Set _x86_64_preferred_memory_instruction for AMD processsors.
11224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11225 Set bit_Prefer_SSE_for_memop for AMD processors.
11227 2011-03-04 Ulrich Drepper <drepper@gmail.com>
11229 * libio/fmemopen.c (fmemopen): Optimize a bit.
11231 2011-03-03 Andreas Schwab <schwab@redhat.com>
11233 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
11235 2011-03-03 Roland McGrath <roland@redhat.com>
11237 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
11239 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
11241 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
11242 __bzero_ultra1 instead of __memset_ultra1.
11244 2011-02-23 Andreas Schwab <schwab@redhat.com>
11245 Ulrich Drepper <drepper@gmail.com>
11248 * include/link.h (struct link_map): Add l_orig_initfini.
11249 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
11250 returning unsuccessfully.
11251 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
11252 close of a file loaded at startup, restore the original l_initfini
11254 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
11255 list, store the pointer.
11256 * elf/Makefile ($(objpfx)noload-mem): New rule.
11257 (noload-ENV): Define.
11258 (tests): Add $(objpfx)noload-mem.
11259 * elf/noload.c: Include <memcheck.h>.
11260 (main): Call mtrace. Close all opened handles.
11262 2011-02-17 Andreas Schwab <schwab@redhat.com>
11265 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
11266 dependencies are missing.
11268 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
11270 Fix __if_freereq crash: Unlike the generic version which uses free,
11272 * sysdeps/mach/hurd/ifreq.h: New file.
11274 2011-01-27 Petr Baudis <pasky@suse.cz>
11275 Ulrich Drepper <drepper@gmail.com>
11278 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
11279 to extend_alloca().
11280 * stdio-common/bug23.c: New file.
11281 * stdio-common/Makefile (tests): Add bug23.
11283 2010-09-28 Andreas Schwab <schwab@redhat.com>
11284 Ulrich Drepper <drepper@gmail.com>
11287 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
11288 before performing relro protection. At old place add assertion
11289 to make sure nothing changed.
11291 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
11292 Glauber de Oliveira Costa <glommer@gmail.com>
11294 * elf/elf.h: Add new ARM TLS relocs.
11296 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
11298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
11299 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
11301 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
11303 * sysdeps/wordsize-64/tst-writev.c: New file.
11305 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
11307 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
11308 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
11309 insns in _dl_start to prevent a TOC reference before relocs are
11312 2011-02-15 Ulrich Drepper <drepper@gmail.com>
11315 * Makeconfig: Remove RANLIB definition.
11316 * Makerules: Don't use RANLIB.
11317 * aclocal.m4: Remove ranlib test.
11318 * configure.in: No need to check for ranlib.
11319 * elf/rtld-Rules: Don't use RANLIB.
11321 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11323 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
11325 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
11326 inclusion protection macro.
11328 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
11329 SIGRTMIN and SIGRTMAX and print information in that case only when
11330 SIGRTMIN is defined.
11332 2011-02-11 Jakub Jelinek <jakub@redhat.com>
11334 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
11335 arginfo fn returning -1.
11337 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
11338 and thousands string is zero terminated.
11340 2011-02-03 Andreas Schwab <schwab@redhat.com>
11342 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
11343 sysdeps/unix/sysv/linux/bits/socket.h.
11345 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
11347 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
11348 (__CPU_COUNT): Remove old macros.
11349 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
11350 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
11351 (__CPU_ALLOC, __CPU_FREE): Add macros.
11352 (__sched_cpualloc, __sched_cpufree): Add declarations.
11354 2011-02-05 Ulrich Drepper <drepper@gmail.com>
11356 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
11357 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
11358 * nscd/aicache.c (addhstaiX): Return timeout of added value.
11359 (readdhstai): Return value of addhstaiX call.
11360 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
11361 (addgrbyX): Return value returned by cache_addgr.
11362 (readdgrbyname): Return value returned by addgrbyX.
11363 (readdgrbygid): Likewise.
11364 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
11365 (addpwbyX): Return value returned by cache_addpw.
11366 (readdpwbyname): Return value returned by addhstbyX.
11367 (readdpwbyuid): Likewise.
11368 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
11369 (addservbyX): Return value returned by cache_addserv.
11370 (readdservbyname): Return value returned by addservbyX:
11371 (readdservbyport): Likewise.
11372 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
11373 (addhstbyX): Return value returned by cache_addhst.
11374 (readdhstbyname): Return value returned by addhstbyX.
11375 (readdhstbyaddr): Likewise.
11376 (readdhstbynamev6): Likewise.
11377 (readdhstbyaddrv6): Likewise.
11378 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
11379 (readdinitgroups): Return value returned by addinitgroupsX.
11380 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
11381 (prune_cache): Keep track of timeout value of re-added entries.
11382 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
11383 * nscd/nscd.h: Adjust prototypes of readd* functions.
11385 2011-02-04 Roland McGrath <roland@redhat.com>
11387 * nis/nis_server.c (nis_servstate): Use the right name for 0.
11388 (nis_stats): Likewise.
11389 * nis/nis_modify.c (nis_modify): Likewise.
11390 * nis/nis_remove.c (nis_remove): Likewise.
11391 * nis/nis_add.c (nis_add): Likewise.
11393 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
11395 * posix/fnmatch_loop.c: Add some consts.
11397 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
11399 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
11402 * config.make.in (config-cflags-novzeroupper): Define.
11403 * configure.in: Substitute libc_cv_cc_novzeroupper.
11404 * elf/Makefile (AVX-CFLAGS): Define.
11405 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
11406 (CFLAGS-tst-auditmod4a.c): Likewise.
11407 (CFLAGS-tst-auditmod4b.c): Likewise.
11408 (CFLAGS-tst-auditmod6b.c): Likewise.
11409 (CFLAGS-tst-auditmod6c.c): Likewise.
11410 (CFLAGS-tst-auditmod7b.c): Likewise.
11411 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
11413 2011-02-02 Ulrich Drepper <drepper@gmail.com>
11415 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
11416 function to the callback.
11417 Patch partly by Jiri Olsa <jolsa@redhat.com>.
11419 2011-02-02 Andreas Schwab <schwab@redhat.com>
11421 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
11424 2011-01-19 Ulrich Drepper <drepper@gmail.com>
11427 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
11429 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
11431 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
11434 * elf/Makefile: Add rules to build and run new test.
11435 * elf/tst-initorder.c: New file.
11436 * elf/tst-initorder.exp: New file.
11437 * elf/tst-initordera1.c: New file.
11438 * elf/tst-initordera2.c: New file.
11439 * elf/tst-initordera3.c: New file.
11440 * elf/tst-initordera4.c: New file.
11441 * elf/tst-initorderb1.c: New file.
11442 * elf/tst-initorderb2.c: New file.
11443 * elf/tst-order-a1.c: New file.
11444 * elf/tst-order-a2.c: New file.
11445 * elf/tst-order-a3.c: New file.
11446 * elf/tst-order-a4.c: New file.
11447 * elf/tst-order-b1.c: New file.
11448 * elf/tst-order-b2.c: New file.
11449 * elf/tst-order-main.c: New file.
11450 New test case by George Gensure <werkt0@gmail.com>.
11452 2010-10-01 Andreas Schwab <schwab@redhat.com>
11454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
11455 decoding ACE if AI_CANONIDN.
11457 2011-01-18 Ulrich Drepper <drepper@gmail.com>
11459 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
11461 2011-01-17 Ulrich Drepper <drepper@gmail.com>
11463 * version.h (RELEASE): Bump for 2.13 release.
11464 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
11466 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
11468 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
11470 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
11471 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
11472 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
11473 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
11474 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
11475 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11477 * posix/getconf.c: Update copyright year.
11478 * catgets/gencat.c: Likewise.
11479 * csu/version.c: Likewise.
11480 * debug/catchsegv.sh: Likewise.
11481 * debug/xtrace.sh: Likewise.
11482 * elf/ldconfig.c: Likewise.
11483 * elf/ldd.bash.in: Likewise.
11484 * elf/sprof.c (print_version): Likewise.
11485 * iconv/iconv_prog.c: Likewise.
11486 * iconv/iconvconfig.c: Likewise.
11487 * locale/programs/locale.c: Likewise.
11488 * locale/programs/localedef.c: Likewise.
11489 * malloc/memusage.sh: Likewise.
11490 * malloc/mtrace.pl: Likewise.
11491 * nscd/nscd.c (print_version): Likewise.
11492 * nss/getent.c: Likewise.
11494 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
11495 PF_CAIF, and PF_ALG.
11496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
11498 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
11500 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
11501 (modules-names): Use them.
11502 (ifunc-test-modules, ifunc-pie-tests): Define.
11503 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
11504 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
11505 (test-extras): Likewise.
11506 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
11507 $(compile-command.c).
11508 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
11509 (all-built-dso): Define.
11510 (check-textrel.out, check-execstack.out): Depend on it.
11512 * configure.in: Don't override --enable-multi-arch.
11514 2011-01-15 Ulrich Drepper <drepper@gmail.com>
11517 * nscd/hstcache.c (tryagain): Define.
11518 (cache_addhst): Return tryagain not notfound for temporary errors.
11519 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
11522 2011-01-14 Ulrich Drepper <drepper@gmail.com>
11525 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
11526 to make the syscall.
11527 * sysdeps/unix/sysv/linux/setgroups.c: New file.
11530 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
11531 and fall back to matching as normal character if the string ends before
11532 the matching ']' is found. This is what POSIX requires.
11533 * posix/testfnm.c: Adjust test result.
11534 * posix/globtest.sh: Adjust test result. Add new test.
11535 * posix/tst-fnmatch.input: Likewise.
11536 * posix/tst-fnmatch2.c: Add new test.
11538 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
11540 * elf/Makefile (check-execstack): Revert last change. Depend on
11542 (check-execstack.h): New target.
11543 (generated): Add check-execstack.h.
11544 * elf/check-execstack.c: Include "check-execstack.h".
11545 (main): Revert last change.
11546 (handle_file): Return zero if GNU_STACK is absent and
11547 DEFAULT_STACK_PERMS doesn't include PF_X.
11549 2011-01-13 Ulrich Drepper <drepper@gmail.com>
11551 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
11552 in child fails because the descriptor is already closed.
11553 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
11554 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
11555 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11558 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
11562 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
11563 temporary buffer used to handle multi lookups locally.
11564 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
11566 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11568 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
11571 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
11573 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
11574 alignment for SSE2.
11576 2011-01-12 Ulrich Drepper <drepper@gmail.com>
11579 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
11580 characters. When rounding increased number of integer digits recompute
11582 * stdio-common/tst-grouping.c: New file.
11583 * stdio-common/Makefile: Add rules to build and run tst-grouping.
11585 2011-01-09 Ulrich Drepper <drepper@gmail.com>
11587 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
11588 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
11590 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
11592 * bits/select.h: Likewise.
11594 2011-01-08 Ulrich Drepper <drepper@gmail.com>
11596 * po/ja.po: Update from translation team.
11598 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
11601 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
11602 implementation just like for lxstat, fxstatat, et al.
11604 2010-12-27 Jim Meyering <meyering@redhat.com>
11607 * posix/regexec.c (build_trtable): Return failure indication upon
11608 calloc failure. Otherwise, re_search_internal could infloop on OOM.
11610 2010-12-25 Ulrich Drepper <drepper@gmail.com>
11613 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
11614 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
11615 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
11616 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
11619 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
11622 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
11623 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
11625 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
11627 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
11628 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
11629 script has SORT_BY_INIT_PRIORITY.
11630 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
11631 NO_CTORS_DTORS_SECTIONS is defined.
11632 * elf/soinit.c: Likewise.
11633 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
11634 NO_CTORS_DTORS_SECTIONS is defined.
11635 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
11636 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
11637 * sysdeps/sh/init-first.c: Likewise.
11638 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
11640 2010-12-24 Ulrich Drepper <drepper@gmail.com>
11642 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
11643 always use the slow path.
11645 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
11647 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
11648 similar rule which adds the sysdep directories to the header search in
11649 order to pick up the correct platform stackinfo.h.
11650 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
11651 perform test if it is, otherwise return successfully without testing.
11652 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
11653 DEFAULT_STACK_PERMS define in stackinfo.h.
11654 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
11655 defined in stackinfo.h.
11656 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
11657 DEFAULT_STACK_PERMS defined in stackinfo.h.
11658 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
11659 * sysdeps/ia64/stackinfo.h: Likewise.
11660 * sysdeps/s390/stackinfo.h: Likewise.
11661 * sysdeps/sh/stackinfo.h: Likewise.
11662 * sysdeps/sparc/stackinfo.h: Likewise.
11663 * sysdeps/x86_64/stackinfo.h: Likewise.
11664 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
11665 PF_X for powerpc64. Retain PF_X for powerpc32.
11667 2010-12-19 Ulrich Drepper <drepper@gmail.com>
11669 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
11671 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
11672 GETDENTS_64BIT_ALIGNED.
11674 2010-12-14 Ulrich Drepper <dreper@gmail.com>
11676 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
11678 2010-12-10 Andreas Schwab <schwab@redhat.com>
11680 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
11683 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
11684 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
11686 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
11687 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
11689 2010-12-09 Ulrich Drepper <drepper@gmail.com>
11692 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
11695 2010-12-09 Jakub Jelinek <jakub@redhat.com>
11697 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
11699 2010-12-03 Ulrich Drepper <drepper@gmail.com>
11701 * po/it.po: Update from translation team.
11703 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
11705 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
11708 2010-11-30 Ulrich Drepper <drepper@gmail.com>
11710 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
11712 2010-11-24 Andreas Schwab <schwab@redhat.com>
11714 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
11716 (gaih_getanswer_slice): Likewise.
11718 2010-10-20 Jakub Jelinek <jakub@redhat.com>
11720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
11722 2010-05-31 Petr Baudis <pasky@suse.cz>
11725 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
11726 silently even in the chroot mode.
11728 2010-11-22 Ulrich Drepper <drepper@gmail.com>
11730 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
11731 last patch a bit. Pretty printing
11733 2010-05-31 Petr Baudis <pasky@suse.cz>
11736 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
11737 initialization of skip_initgroups_dyn.
11739 2010-11-19 Ulrich Drepper <drepper@gmail.com>
11741 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
11742 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
11744 2010-11-16 Ulrich Drepper <drepper@gmail.com>
11746 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
11748 2010-11-11 Andreas Schwab <schwab@redhat.com>
11750 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
11751 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
11752 (tst-fnmatch-ENV): Set MALLOC_TRACE.
11753 ($(objpfx)tst-fnmatch-mem): New rule.
11754 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
11755 * posix/tst-fnmatch.c (main): Call mtrace.
11757 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
11759 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11760 Support Intel processor model 6 and model 0x2c.
11762 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
11764 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
11767 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
11770 * string/test-strncasecmp.c (check_result): New function.
11771 (do_one_test): Use it.
11772 (check1): New function.
11773 (test_main): Use it.
11774 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
11775 Support strcasecmp and strncasecmp.
11777 2010-11-08 Ulrich Drepper <drepper@gmail.com>
11780 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
11781 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11783 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
11785 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
11787 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11789 * sysdeps/x86_64/multiarch/bzero.S: New file.
11790 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
11791 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
11792 * sysdeps/x86_64/multiarch/memset.S: New file.
11793 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
11794 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11795 Set bit_Prefer_SSE_for_memop for Intel processors.
11796 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
11798 (index_Prefer_SSE_for_memop): Define.
11799 (HAS_PREFER_SSE_FOR_MEMOP): Define.
11801 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
11803 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
11804 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
11806 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
11809 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11810 (__x86_64_raw_data_cache_size_half): Likewise.
11811 (__x86_64_raw_shared_cache_size): Likewise.
11812 (__x86_64_raw_shared_cache_size_half): Likewise.
11814 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
11815 (__x86_64_raw_data_cache_size_half): Likewise.
11816 (__x86_64_raw_shared_cache_size): Likewise.
11817 (__x86_64_raw_shared_cache_size_half): Likewise.
11818 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
11819 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
11820 and __x86_64_raw_shared_cache_size_half. Round
11821 __x86_64_data_cache_size_half, __x86_64_data_cache_size
11822 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
11823 to multiple of 256 bytes.
11825 2010-11-03 Ulrich Drepper <drepper@gmail.com>
11828 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
11829 of inacessible symlinks. Verify result of symlink before returning it.
11830 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11831 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
11833 2010-10-28 Erich Ritz <erichritz@gmail.com>
11835 * math/math.h (isinf): Fix typo in comment.
11837 2010-11-01 Ulrich Drepper <drepper@gmail.com>
11839 * po/da.po: Update from translation team.
11841 2010-10-26 Ulrich Drepper <drepper@gmail.com>
11843 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
11844 is added to the list.
11846 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11847 Ulrich Drepper <drepper@gmail.com>
11849 * elf/dl-object.c (_dl_new_object): Don't append the new object to
11850 the global list here. Move code to...
11851 (_dl_add_to_namespace_list): ...here. New function.
11852 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
11853 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
11854 * elf/dl-load.c (lose): Don't remove the element from the list.
11855 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
11856 (_dl_map_object): Likewise.
11858 2010-10-25 Ulrich Drepper <drepper@gmail.com>
11861 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
11862 into all bytes of SSE register.
11863 Patch by Richard Li <richardpku@gmail.com>.
11865 2010-10-24 Ulrich Drepper <drepper@gmail.com>
11868 * malloc/malloc.c (_int_free): Fill correct number of bytes when
11871 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
11873 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
11874 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
11875 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
11876 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
11877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
11879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
11881 2010-10-22 Andreas Schwab <schwab@redhat.com>
11883 * include/dlfcn.h (__RTLD_SECURE): Define.
11884 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
11885 mode & __RTLD_SECURE instead.
11886 (open_path): Rename preloaded parameter to secure.
11887 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
11888 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
11889 * elf/dl-deps.c (openaux): Likewise.
11890 * elf/rtld.c (struct map_args): Remove is_preloaded.
11891 (map_doit): Don't use it.
11892 (dl_main): Likewise.
11893 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
11894 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
11896 2010-09-09 Andreas Schwab <schwab@redhat.com>
11898 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
11899 (sysd-rules-targets): Remove duplicates.
11900 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
11901 rtld-%.$o dependency.
11903 2010-10-18 Andreas Schwab <schwab@redhat.com>
11905 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
11906 _dl_map_object do it.
11908 2010-10-19 Ulrich Drepper <drepper@gmail.com>
11910 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
11911 fast fma builtins, define the macros in the C99 standard.
11912 (FP_FAST_FMAF): Likewise.
11913 (FP_FAST_FMAL): Likewise.
11914 * sysdeps/x86_64/bits/mathdef.h: Likewise.
11916 * bits/mathdef.h: Update copyright year.
11917 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11919 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
11921 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
11922 builtins, define the macros in the C99 standard.
11923 (FP_FAST_FMAF): Likewise.
11924 (FP_FAST_FMAL): Likewise.
11925 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
11927 (FP_FAST_FMAF): Likewise.
11929 2010-10-15 Jakub Jelinek <jakub@redhat.com>
11932 * math/libm-test.inc (fma_test): Some new testcases.
11933 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
11934 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
11935 y and infinite z. Do multiplication by C already in long double.
11936 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
11937 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
11938 y and infinite z. Do bitwise or of inexact bit into u.d.
11939 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
11940 * sysdeps/i386/fpu/s_fmaf.S: Removed.
11941 * sysdeps/i386/fpu/s_fma.S: Removed.
11942 * sysdeps/i386/fpu/s_fmal.S: Removed.
11944 2010-10-16 Jakub Jelinek <jakub@redhat.com>
11947 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
11948 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
11949 computation is not scheduled after fetestexcept. Fix value
11950 of minimum denormal long double.
11952 2010-10-14 Jakub Jelinek <jakub@redhat.com>
11955 * math/libm-test.inc (fma_test): Add some more tests.
11956 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
11959 2010-10-15 Andreas Schwab <schwab@redhat.com>
11961 * scripts/data/localplt-s390-linux-gnu.data: New file.
11962 * scripts/data/localplt-s390x-linux-gnu.data: New file.
11964 2010-10-13 Jakub Jelinek <jakub@redhat.com>
11967 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
11968 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
11970 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
11972 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
11973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
11974 if one of x and y is very large and the other is subnormal.
11975 * sysdeps/s390/fpu/s_fmaf.c: New file.
11976 * sysdeps/s390/fpu/s_fma.c: New file.
11977 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
11978 * sysdeps/powerpc/fpu/s_fma.S: New file.
11979 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
11980 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
11981 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
11983 2010-10-12 Jakub Jelinek <jakub@redhat.com>
11986 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
11988 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
11989 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
11990 * sysdeps/i386/i686/multiarch/s_fma.c: Include
11991 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
11992 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
11993 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
11994 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
11996 2010-10-12 Ulrich Drepper <drepper@redhat.com>
11999 * posix/regcomp.c (parse_branch): One more memory leak plugged.
12000 * posix/bug-regex31.input: Add test case.
12002 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12004 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
12005 * posix/bug-regex31.input: New file.
12008 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
12009 (parse_sub_exp): Fix last change, use postorder.
12011 * posix/bug-regex31.c: New file.
12012 * posix/Makefile: Add rules to build and run bug-regex31.
12014 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
12017 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
12020 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
12021 to have entries in sys_siglist.
12024 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
12027 2010-10-07 Jakub Jelinek <jakub@redhat.com>
12030 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
12031 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
12032 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
12033 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
12034 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12035 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
12036 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
12037 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
12038 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
12039 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
12040 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
12041 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
12042 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12043 * math/ftestexcept.c (fetestexcept): Likewise.
12044 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
12045 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
12046 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
12047 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
12048 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
12049 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
12050 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
12052 2010-10-11 Ulrich Drepper <drepper@gmail.com>
12055 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
12058 2010-10-06 Ulrich Drepper <drepper@gmail.com>
12060 * string/bug-strstr1.c: New file.
12061 * string/Makefile: Add rules to build and run bug-strstr1.
12063 2010-10-05 Eric Blake <eblake@redhat.com>
12066 * string/str-two-way.h (two_way_long_needle): Always clear memory
12067 when skipping input due to the shift table.
12069 2010-10-03 Ulrich Drepper <drepper@gmail.com>
12072 * malloc/mcheck.c: Handle large requests.
12075 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
12076 for strncmp and strncasecmp.
12077 * string/stratcliff.c: Add tests for strcmp and strncmp.
12078 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
12080 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12082 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
12085 2010-09-30 Andreas Jaeger <aj@suse.de>
12087 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
12088 (CGROUP_SUPER_MAGIC): Define.
12089 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12090 Handle btrfs and cgroup file systems.
12091 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
12094 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
12096 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
12097 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
12099 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12102 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
12103 trying to locate the ELF header.
12105 2010-09-27 Andreas Schwab <schwab@redhat.com>
12108 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
12109 Mask out sign-bit copies when constructing f_fsid.
12111 2010-09-24 Petr Baudis <pasky@suse.cz>
12113 * debug/stack_chk_fail_local.c: Add missing licence exception.
12114 * debug/warning-nop.c: Likewise.
12116 2010-09-15 Joseph Myers <joseph@codesourcery.com>
12118 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
12119 implementing getdents64 using getdents syscall, set d_type if
12120 __ASSUME_GETDENTS32_D_TYPE.
12122 2010-09-16 Andreas Schwab <schwab@redhat.com>
12124 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
12125 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
12127 2010-09-21 Ulrich Drepper <drepper@redhat.com>
12130 * posix/unistd.h: Undo change of feature selection for ftruncate from
12133 2010-09-20 Ulrich Drepper <drepper@redhat.com>
12135 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
12138 2010-09-20 Andreas Schwab <schwab@redhat.com>
12140 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
12142 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12144 2010-09-14 Andreas Schwab <schwab@redhat.com>
12146 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
12147 variables after CHECK_SP call.
12148 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
12150 2010-09-13 Andreas Schwab <schwab@redhat.com>
12151 Ulrich Drepper <drepper@redhat.com>
12153 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
12154 re-relocationg ld.so.
12155 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
12156 _dl_init_paths call.
12157 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
12160 2010-09-14 Ulrich Drepper <drepper@redhat.com>
12162 * resolv/res_init.c (__res_vinit): Count the default server we added.
12164 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
12165 Ulrich Drepper <drepper@redhat.com>
12168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12169 (____longjmp_chk): Use %ebx for saving value across system call.
12172 2010-09-06 Andreas Schwab <schwab@redhat.com>
12174 * manual/Makefile: Don't mix pattern rules with normal rules.
12176 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
12178 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
12180 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
12181 * libio/iofopncook.c (_IO_cookie_init): Likewise.
12182 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
12183 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
12184 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12187 2010-09-04 Ulrich Drepper <drepper@redhat.com>
12190 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
12191 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
12193 2010-09-02 Ulrich Drepper <drepper@redhat.com>
12195 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
12196 * sysdeps/x86_64/addmul_1.S: Likewise.
12197 * sysdeps/x86_64/lshift.S: Likewise.
12198 * sysdeps/x86_64/mul_1.S: Likewise.
12199 * sysdeps/x86_64/rshift.S: Likewise.
12200 * sysdeps/x86_64/sub_n.S: Likewise.
12201 * sysdeps/x86_64/submul_1.S: Likewise.
12203 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
12205 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
12206 Define __sched_param instead of SCHED_* and sched_param when
12207 <bits/sched.h> is included with __need_schedparam defined.
12208 * bits/sched.h [__need_schedparam]
12209 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
12210 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
12211 (__defined_schedparam): Define to 1.
12212 (__sched_param): New structure, identical to sched_param.
12213 (__need_schedparam): Undefine.
12215 2010-08-31 Mike Frysinger <vapier@gentoo.org>
12217 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
12218 (epoll_create1): Declare.
12220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
12222 2010-08-31 Andreas Schwab <schwab@redhat.com>
12225 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
12226 shifting retval into place.
12228 2010-09-01 Ulrich Drepper <drepper@redhat.com>
12230 * nis/rpcsvc/nis.h: Update copyright notice.
12231 * nis/rpcsvc/nis.x: Likewise.
12232 * nis/rpcsvc/nis_callback.h: Likewise.
12233 * nis/rpcsvc/nis_callback.x: Likewise.
12234 * nis/rpcsvc/nis_object.x: Likewise.
12235 * nis/rpcsvc/nis_tags.h: Likewise.
12236 * nis/rpcsvc/yp.h: Likewise.
12237 * nis/rpcsvc/yp.x: Likewise.
12238 * nis/rpcsvc/ypupd.h: Likewise.
12239 * nis/yp_xdr.c: Likewise.
12240 * nis/ypupdate_xdr.c: Likewise.
12242 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
12243 mainly the body of pmap_getport. Add parameters to specify timeouts.
12244 (pmap_getport): Use __libc_rpc_getport.
12245 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
12246 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
12247 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
12249 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
12251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
12254 2010-08-27 Roland McGrath <roland@redhat.com>
12256 * sysdeps/i386/i686/multiarch/Makefile
12257 (CFLAGS-varshift.c): New variable.
12259 2010-08-27 Ulrich Drepper <drepper@redhat.com>
12261 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
12262 * sysdeps/i386/i686/multiarch/varshift.c: New file.
12264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
12266 * sysdeps/x86_64/strlen.S: Minimal code improvement.
12268 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
12270 * sysdeps/x86_64/strlen.S: Unroll the loop.
12271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12272 strlen-sse2 strlen-sse2-bsf.
12273 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
12274 __strlen_no_bsf if bit_Slow_BSF is set.
12275 (__strlen_sse42): Removed.
12276 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
12277 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
12279 2010-08-25 Roland McGrath <roland@redhat.com>
12281 * sysdeps/x86_64/multiarch/varshift.S: File removed.
12282 * sysdeps/x86_64/multiarch/varshift.c: New file.
12283 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
12284 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
12285 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
12286 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12288 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
12290 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12291 strlen-sse2 strlen-sse2-bsf.
12292 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
12293 __strlen_sse2_bsf if bit_Slow_BSF is unset.
12294 (__strlen_sse2): Removed.
12295 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
12296 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
12297 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12298 bit_Slow_BSF for Atom.
12299 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
12300 (index_Slow_BSF): Define.
12301 (HAS_SLOW_BSF): Define.
12303 2010-08-25 Ulrich Drepper <drepper@redhat.com>
12306 * resolv/res_init.c (__res_vinit): When no server address at all
12307 is given default to loopback.
12309 2010-08-24 Roland McGrath <roland@redhat.com>
12311 * configure.in: Remove config-name.h generation.
12312 * configure: Regenerated.
12313 * config-name.in: File removed.
12314 * scripts/config-uname.sh: New file.
12315 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
12316 ($(objdir)config-name.h): New target.
12318 * sunrpc/rpc_parse.h: Avoid nested comment.
12320 2010-08-24 Richard Henderson <rth@redhat.com>
12321 Ulrich Drepper <drepper@redhat.com>
12322 H.J. Lu <hongjiu.lu@intel.com>
12324 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
12325 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
12326 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
12327 Replace _mm_srli_si128 with __m128i_shift_right. Replace
12328 _mm_alignr_epi8 with _mm_loadu_si128.
12329 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
12330 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
12331 (__m128i_shift_right): Removed.
12332 * sysdeps/i386/i686/multiarch/varshift.h: New file.
12333 * sysdeps/i386/i686/multiarch/varshift.S: New file.
12334 * sysdeps/x86_64/multiarch/varshift.h: New file.
12335 * sysdeps/x86_64/multiarch/varshift.S: New file.
12337 2010-08-21 Mike Frysinger <vapier@gentoo.org>
12339 * configure.in: Move assembler checks to before sysdep dir checking.
12341 2010-08-20 Petr Baudis <pasky@suse.cz>
12343 * LICENSES: Sync the sunrpc license.
12345 2010-08-19 Ulrich Drepper <drepper@redhat.com>
12347 * sunrpc/auth_des.c: Update copyright notice once again.
12348 * sunrpc/auth_none.c: Likewise.
12349 * sunrpc/auth_unix.c: Likewise.
12350 * sunrpc/authdes_prot.c: Likewise.
12351 * sunrpc/authuxprot.c: Likewise.
12352 * sunrpc/bindrsvprt.c: Likewise.
12353 * sunrpc/clnt_gen.c: Likewise.
12354 * sunrpc/clnt_perr.c: Likewise.
12355 * sunrpc/clnt_raw.c: Likewise.
12356 * sunrpc/clnt_simp.c: Likewise.
12357 * sunrpc/clnt_tcp.c: Likewise.
12358 * sunrpc/clnt_udp.c: Likewise.
12359 * sunrpc/clnt_unix.c: Likewise.
12360 * sunrpc/des_crypt.c: Likewise.
12361 * sunrpc/des_soft.c: Likewise.
12362 * sunrpc/get_myaddr.c: Likewise.
12363 * sunrpc/getrpcport.c: Likewise.
12364 * sunrpc/key_call.c: Likewise.
12365 * sunrpc/key_prot.c: Likewise.
12366 * sunrpc/openchild.c: Likewise.
12367 * sunrpc/pm_getmaps.c: Likewise.
12368 * sunrpc/pm_getport.c: Likewise.
12369 * sunrpc/pmap_clnt.c: Likewise.
12370 * sunrpc/pmap_prot.c: Likewise.
12371 * sunrpc/pmap_prot2.c: Likewise.
12372 * sunrpc/pmap_rmt.c: Likewise.
12373 * sunrpc/rpc/auth.h: Likewise.
12374 * sunrpc/rpc/auth_unix.h: Likewise.
12375 * sunrpc/rpc/clnt.h: Likewise.
12376 * sunrpc/rpc/des_crypt.h: Likewise.
12377 * sunrpc/rpc/key_prot.h: Likewise.
12378 * sunrpc/rpc/netdb.h: Likewise.
12379 * sunrpc/rpc/pmap_clnt.h: Likewise.
12380 * sunrpc/rpc/pmap_prot.h: Likewise.
12381 * sunrpc/rpc/pmap_rmt.h: Likewise.
12382 * sunrpc/rpc/rpc.h: Likewise.
12383 * sunrpc/rpc/rpc_des.h: Likewise.
12384 * sunrpc/rpc/rpc_msg.h: Likewise.
12385 * sunrpc/rpc/svc.h: Likewise.
12386 * sunrpc/rpc/svc_auth.h: Likewise.
12387 * sunrpc/rpc/types.h: Likewise.
12388 * sunrpc/rpc/xdr.h: Likewise.
12389 * sunrpc/rpc_clntout.c: Likewise.
12390 * sunrpc/rpc_cmsg.c: Likewise.
12391 * sunrpc/rpc_common.c: Likewise.
12392 * sunrpc/rpc_cout.c: Likewise.
12393 * sunrpc/rpc_dtable.c: Likewise.
12394 * sunrpc/rpc_hout.c: Likewise.
12395 * sunrpc/rpc_main.c: Likewise.
12396 * sunrpc/rpc_parse.c: Likewise.
12397 * sunrpc/rpc_parse.h: Likewise.
12398 * sunrpc/rpc_prot.c: Likewise.
12399 * sunrpc/rpc_sample.c: Likewise.
12400 * sunrpc/rpc_scan.c: Likewise.
12401 * sunrpc/rpc_scan.h: Likewise.
12402 * sunrpc/rpc_svcout.c: Likewise.
12403 * sunrpc/rpc_tblout.c: Likewise.
12404 * sunrpc/rpc_util.c: Likewise.
12405 * sunrpc/rpc_util.h: Likewise.
12406 * sunrpc/rpcinfo.c: Likewise.
12407 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
12408 * sunrpc/rpcsvc/key_prot.x: Likewise.
12409 * sunrpc/rpcsvc/klm_prot.x: Likewise.
12410 * sunrpc/rpcsvc/mount.x: Likewise.
12411 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
12412 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
12413 * sunrpc/rpcsvc/rex.x: Likewise.
12414 * sunrpc/rpcsvc/rstat.x: Likewise.
12415 * sunrpc/rpcsvc/rusers.x: Likewise.
12416 * sunrpc/rpcsvc/sm_inter.x: Likewise.
12417 * sunrpc/rpcsvc/spray.x: Likewise.
12418 * sunrpc/rpcsvc/yppasswd.x: Likewise.
12419 * sunrpc/rtime.c: Likewise.
12420 * sunrpc/svc.c: Likewise.
12421 * sunrpc/svc_auth.c: Likewise.
12422 * sunrpc/svc_authux.c: Likewise.
12423 * sunrpc/svc_raw.c: Likewise.
12424 * sunrpc/svc_run.c: Likewise.
12425 * sunrpc/svc_simple.c: Likewise.
12426 * sunrpc/svc_tcp.c: Likewise.
12427 * sunrpc/svc_udp.c: Likewise.
12428 * sunrpc/svc_unix.c: Likewise.
12429 * sunrpc/svcauth_des.c: Likewise.
12430 * sunrpc/xcrypt.c: Likewise.
12431 * sunrpc/xdr.c: Likewise.
12432 * sunrpc/xdr_array.c: Likewise.
12433 * sunrpc/xdr_float.c: Likewise.
12434 * sunrpc/xdr_mem.c: Likewise.
12435 * sunrpc/xdr_rec.c: Likewise.
12436 * sunrpc/xdr_ref.c: Likewise.
12437 * sunrpc/xdr_sizeof.c: Likewise.
12438 * sunrpc/xdr_stdio.c: Likewise.
12440 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
12443 2010-08-19 Andreas Schwab <schwab@redhat.com>
12445 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
12447 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
12449 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
12450 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
12451 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
12452 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
12453 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
12454 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
12455 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
12456 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
12457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
12458 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
12459 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
12460 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
12461 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
12462 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
12464 2010-07-26 Anton Blanchard <anton@samba.org>
12466 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
12467 * malloc/arena.c (heap_trim): Likewise.
12469 2010-08-16 Ulrich Drepper <drepper@redhat.com>
12471 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
12473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
12474 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
12476 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
12478 * sysdeps/i386/elf/Makefile: New file.
12480 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12482 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
12483 from fanotify_init.
12484 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
12485 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12487 2010-08-15 Ulrich Drepper <drepper@redhat.com>
12489 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
12491 * sysdeps/multiarch/strcmp.S: Likewise.
12493 2010-08-14 Ulrich Drepper <drepper@redhat.com>
12495 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12496 strncase_l-nonascii.
12497 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12498 Add strncase_l-ssse3.
12499 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
12500 * sysdeps/x86_64/strcmp.S: Likewise.
12501 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
12502 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
12503 * sysdeps/x86_64/strncase.S: New file.
12504 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
12505 * sysdeps/x86_64/strncase_l.S: New file.
12506 * string/Makefile (strop-tests): Add strncasecmp.
12507 * string/test-strncasecmp.c: New file.
12509 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
12512 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
12513 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
12515 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
12517 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
12519 2010-08-12 Ulrich Drepper <drepper@redhat.com>
12521 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
12522 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
12523 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
12525 2010-05-01 Alan Modra <amodra@gmail.com>
12527 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
12528 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
12529 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
12530 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
12531 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
12532 tidying. Don't tail-call __sigjmp_save for static lib.
12533 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
12535 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
12536 (CALL_MCOUNT): Add eh info, and nop after bl.
12537 (TAIL_CALL_SYSCALL_ERROR): New macro.
12538 (PSEUDO_RET): Use it.
12539 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12540 Correct save location of integer regs and cr.
12541 (_dl_profile_resolve): Correct cr save location. Delete nops
12542 after bl when SHARED. Reduce cfi size a little by better
12543 placement of cfi directives.
12544 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
12545 make a stack frame. Instead use parm save area as a temp.
12546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
12547 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12549 Don't make a stack frame for parent, use parm save area.
12550 Increase child stack frame to 112 bytes. Don't save unused reg,
12551 and adjust reg usage. Set up cfi on error recovery and
12552 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12554 (__makecontext): Add dummy nop after jump to exit.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
12556 Use correct parm save area and cr save, reduce stack frame.
12557 Correct cfi for possible PSEUDO_RET frame setup.
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
12559 Branch to local label emitted by PSEUDO_RET rather than
12562 2010-08-12 Andreas Schwab <schwab@redhat.com>
12565 * locale/programs/locale.c (print_assignment): New function.
12566 (show_locale_vars): Use it.
12568 2010-08-11 Ulrich Drepper <drepper@redhat.com>
12570 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
12572 (struct statfs64): Likewise.
12573 (_STATFS_F_FLAGS): Define.
12574 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
12575 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12576 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
12577 (ST_VALID): Define locally.
12578 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
12579 __statvfs_getflags, use the provided value.
12580 * sysdeps/unix/sysv/linux/kernel-features.h: Define
12581 __ASSUME_STATFS_F_FLAGS.
12583 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
12585 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
12586 Add sys/fanotify.h.
12587 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
12588 fanotify_mask for GLIBC_2.13.
12589 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
12590 fanotify_init and fanotify_mark.
12591 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
12592 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
12594 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
12596 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
12597 prlimit64 for GLIBC_2.13.
12598 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
12600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
12602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
12603 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
12604 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
12605 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
12606 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
12608 * sysdeps/unix/sysv/linux/prlimit.c: New file.
12611 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
12612 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
12614 * nss/Makefile: Add rules to build and run tst-nss-test1.
12615 * shlib-versions: Add entry for libnss_test1.
12616 * nss/nss_test1.c: New file.
12617 * nss/tst-nss-test1.c: New file.
12619 * nss/nsswitch.c (__nss_database_custom): Define new variable.
12620 (__nss_configure_lookup): Set appropriate entry in
12621 __nss_configure_lookup to true.
12622 * nss/nsswitch.h: Define enum with indeces of databases in
12623 databases and __nss_database_custom arrays. Declare
12624 __nss_database_custom.
12625 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
12626 to avoid using nscd when custom rules are installed.
12627 * nss/getXXbyYY_r.c: Likewise.
12628 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12630 * nss/nss_files/files-parse.c: Whitespace fixes.
12632 2010-08-09 Ulrich Drepper <drepper@redhat.com>
12635 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
12636 * posix/fnmatch_loop.c: Likewise.
12638 2010-07-17 Andi Kleen <ak@linux.intel.com>
12640 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
12641 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
12642 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
12643 * Versions.def [GLIBC_2.13]: Add.
12645 2010-08-06 Ulrich Drepper <drepper@redhat.com>
12647 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12648 Also fail if tpwd after pwuid call is NULL.
12650 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
12652 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
12653 when converting to ms.
12655 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
12657 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
12658 EOPNOTSUPP errors with ENOTTY.
12659 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
12660 EOPNOTSUPP errors with ENOTTY.
12662 2010-07-31 Ulrich Drepper <drepper@redhat.com>
12664 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
12665 Add strcasecmp_l-ssse3.
12666 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
12668 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
12669 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
12670 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
12672 2010-07-30 Ulrich Drepper <drepper@redhat.com>
12674 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
12676 * string/Makefile (strop-tests): Add strcasecmp.
12677 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
12678 strcasecmp_l-nonascii.
12679 (gen-as-const-headers): Add locale-defines.sym.
12680 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
12681 * sysdeps/x86_64/strcasecmp.S: New file.
12682 * sysdeps/x86_64/strcasecmp_l.S: New file.
12683 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
12684 * sysdeps/x86_64/locale-defines.sym: New file.
12685 * string/test-strcasecmp.c: New file.
12687 * string/test-strcasestr.c: Test both ends of the range of characters.
12688 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
12690 2010-07-29 Roland McGrath <roland@redhat.com>
12693 * manual/locale.texi (Yes-or-No Questions): Fix example code.
12695 2010-07-27 Ulrich Drepper <drepper@redhat.com>
12697 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
12700 2010-07-27 Andreas Schwab <schwab@redhat.com>
12702 * manual/memory.texi (Malloc Tunable Parameters): Document
12705 2010-07-26 Roland McGrath <roland@redhat.com>
12708 * configure.in (-fgnu89-inline check): Set and substitute
12709 gnu89_inline, not libc_cv_gnu89_inline.
12710 * configure: Regenerated.
12711 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
12713 2010-07-26 Ulrich Drepper <drepper@redhat.com>
12715 * string/test-strnlen.c: New file.
12716 * string/Makefile (strop-tests): Add strnlen.
12717 * string/tester.c (test_strnlen): Add a few more test cases.
12718 * string/tst-strlen.c: Better error reporting.
12720 * sysdeps/x86_64/strnlen.S: New file.
12722 2010-07-24 Ulrich Drepper <drepper@redhat.com>
12724 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
12725 lower-latency instructions.
12727 2010-07-23 Ulrich Drepper <drepper@redhat.com>
12729 * string/test-strcasestr.c: New file.
12730 * string/test-strstr.c: New file.
12731 * string/Makefile (strop-tests): Add strstr and strcasestr.
12732 * string/str-two-way.h: Don't undefine MAX.
12733 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
12735 2010-07-21 Andreas Schwab <schwab@redhat.com>
12737 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12738 strcasestr-nonascii.
12739 (CFLAGS-strcasestr-nonascii.c): Define.
12740 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
12741 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
12742 Remove unused attribute.
12744 2010-07-20 Roland McGrath <roland@redhat.com>
12746 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
12747 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
12748 ld.so.cache was broken. With it, there is no way to disable dsocaps
12749 like LD_HWCAP_MASK can disable hwcaps.
12751 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12753 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
12755 2010-07-16 Ulrich Drepper <drepper@redhat.com>
12757 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
12758 call in strcasestr.
12759 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
12760 __strcasestr_sse42_nonascii.
12761 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
12762 strcasestr-nonascii.c.
12763 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
12765 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
12767 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
12768 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
12769 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
12770 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
12772 2010-07-09 Ulrich Drepper <drepper@redhat.com>
12774 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
12777 2010-07-06 Andreas Schwab <schwab@redhat.com>
12780 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
12783 2010-07-06 Ulrich Drepper <drepper@redhat.com>
12785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
12786 _PC_PIPE_BUF using F_GETPIPE_SZ.
12788 2010-07-05 Roland McGrath <roland@redhat.com>
12790 * manual/arith.texi (Rounding Functions): Fix rint description
12791 implicit in round description.
12793 2010-07-02 Ulrich Drepper <drepper@redhat.com>
12795 * elf/Makefile: Fix linking for a few tests to make recent linker
12798 2010-06-30 Andreas Schwab <schwab@redhat.com>
12800 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
12801 $(common-objpfx)libc_nonshared.a.
12803 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
12805 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
12806 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
12807 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12808 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12809 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
12810 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
12811 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12812 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
12816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
12818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
12821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
12823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
12825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
12826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
12827 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
12828 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
12829 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
12830 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
12831 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
12832 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
12833 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
12834 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
12835 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
12836 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
12837 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
12838 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
12840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
12841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
12842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
12843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
12844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
12845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
12846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
12847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
12849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
12851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
12852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
12854 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
12856 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
12857 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
12858 * string/memmove.c (memmove): Renamed to ...
12859 (MEMMOVE): ...this. Default to memmove.
12860 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
12861 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
12863 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12864 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
12865 mempcpy-ssse3-back memmove-ssse3-back.
12866 * sysdeps/x86_64/multiarch/bcopy.S: New file .
12867 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
12868 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
12869 * sysdeps/x86_64/multiarch/memcpy.S: New file.
12870 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
12871 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
12872 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
12873 * sysdeps/x86_64/multiarch/memmove.c: New file.
12874 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
12875 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
12876 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
12877 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
12878 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
12879 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
12881 (index_Fast_Copy_Backward): Define.
12882 (HAS_ARCH_FEATURE): Define.
12883 (HAS_FAST_REP_STRING): Define.
12884 (HAS_FAST_COPY_BACKWARD): Define.
12886 2010-06-21 Andreas Schwab <schwab@redhat.com>
12888 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
12889 Restore proper fallback handling.
12891 2010-06-19 Ulrich Drepper <drepper@redhat.com>
12894 * posix/group_member.c (__group_member): Correct checking loop.
12896 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
12897 OOM in getpwuid_r correctly. Return error number when the caller
12898 should return, otherwise -1.
12899 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
12900 call returning > 0 value.
12901 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
12903 2010-06-07 Andreas Schwab <schwab@redhat.com>
12905 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
12906 libc_nonshared.a from targets in modules-names.
12908 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
12910 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
12913 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
12915 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
12916 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
12917 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
12918 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
12920 2010-06-02 Andreas Schwab <schwab@redhat.com>
12922 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
12924 2010-06-14 Ulrich Drepper <drepper@redhat.com>
12926 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
12928 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12930 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12932 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12933 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
12935 2010-06-14 Roland McGrath <roland@redhat.com>
12937 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
12939 2010-06-07 Jakub Jelinek <jakub@redhat.com>
12941 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
12942 __REDIRECT followed by __THROW.
12943 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
12944 * posix/getopt.h (getopt): Likewise.
12946 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
12948 * hurd/lookup-at.c (__file_name_lookup_at): Accept
12949 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
12950 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
12952 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
12953 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
12955 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
12957 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
12959 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
12962 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12963 Properly check family and model.
12965 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
12967 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
12969 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
12971 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
12973 2010-05-21 Ulrich Drepper <drepper@redhat.com>
12975 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
12978 2010-05-19 Andreas Schwab <schwab@redhat.com>
12980 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
12983 2010-05-21 Andreas Schwab <schwab@redhat.com>
12985 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
12986 and internal_recvmmsg.
12987 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
12988 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
12989 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
12990 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
12992 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
12993 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12994 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12996 2010-05-20 Andreas Schwab <schwab@redhat.com>
12998 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
13000 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
13002 POWER7 optimizations.
13003 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
13004 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
13006 2010-05-19 Ulrich Drepper <drepper@redhat.com>
13008 * version.h: Update for 2.13 development version.
13010 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
13012 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
13013 exceptions. Return 0.
13015 2010-05-07 Roland McGrath <roland@redhat.com>
13017 * elf/ldconfig.c (main): Add a const.
13019 2010-05-06 Ulrich Drepper <drepper@redhat.com>
13021 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
13022 (args_options): Add no-idn option.
13023 (ahosts_keys_int): Add idn_flags to ai_flags.
13024 (parse_option): Handle 'i' option to clear idn_flags.
13026 * malloc/malloc.c (_int_free): Possible race in the most recently
13027 added check. Only act on the data if no current modification
13030 See ChangeLog.17 for earlier changes.