]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix qsort argument order in collation example
[thirdparty/glibc.git] / ChangeLog
1 2014-04-12 Allan McRae <allan@archlinux.org>
2
3 [BZ #16838]
4 * manual/string.texi (Collation Functions): Fix qsort argument
5 order in example.
6 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
7
8 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
9
10 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11 Make the test a no-op if there are no exceptions defined.
12
13 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14
15 * elf/Makefile (tests): make tst-dlopen-aout conditional on
16 enable-hardcoded-path-in-tests
17
18 2014-04-11 Will Newton <will.newton@linaro.org>
19
20 * benchtests/Makefile (extra-objs): Add json-lib.o.
21 (bench-func): Tidy up JSON output.
22 * benchtests/bench-skeleton.c: Include json-lib.h.
23 (main): Use JSON library functions to do output of
24 benchmark results.
25 * benchtests/bench-timing-type.c (main): Output the
26 timing type simply, leaving formatting to the user.
27 * benchtests/json-lib.c: New file.
28 * benchtests/json-lib.h: Likewise.
29
30 2014-04-11 Torvald Riegel <triegel@redhat.com>
31
32 [BZ #15215]
33 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
34 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
35 memory barriers. Add comments.
36 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
37 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
39 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
41 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
42
43 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
44
45 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46 * sysdeps/s390/s390-64/configure.ac: ... this ...
47 * sysdeps/s390/configure.ac: ... to here.
48 * sysdeps/s390/s390-32/configure: Delete file.
49 * sysdeps/s390/s390-64/configure: Delete file.
50 * sysdeps/s390/configure: Regenerate.
51
52 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
53
54 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
55
56 2014-04-11 Will Newton <will.newton@linaro.org>
57
58 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
59 to zero if it is not defined elsewhere. (mtrim): Test
60 the value of MALLOC_DEBUG with #if rather than #ifdef.
61
62 2014-04-10 Torvald Riegel <triegel@redhat.com>
63
64 * benchtests/pthread_once-inputs: New file.
65 * benchtests/pthread_once-source.c: New file.
66 * benchtests/README: Update documentation.
67
68 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
69 H.J. Lu <hongjiu.lu@intel.com>
70
71 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
72 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
73 * sysdeps/x86_64/configure: Regenerated.
74 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
75 macro.
76 (REGISTER_SAVE_RAX): Likewise.
77 (REGISTER_SAVE_RCX): Likewise.
78 (REGISTER_SAVE_RDX): Likewise.
79 (REGISTER_SAVE_RSI): Likewise.
80 (REGISTER_SAVE_RDI): Likewise.
81 (REGISTER_SAVE_R8): Likewise.
82 (REGISTER_SAVE_R9): Likewise.
83 (REGISTER_SAVE_BND0): Likewise.
84 (REGISTER_SAVE_BND1): Likewise.
85 (REGISTER_SAVE_BND2): Likewise.
86 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
87 bound registers when calling _dl_fixup.
88
89 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
90
91 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
92 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
93 definition.
94 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
95 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
96 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
97 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
98 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
99 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
100 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
101
102 2014-04-09 Peter Brett <peter@peter-b.co.uk>
103
104 [BZ #15514]
105 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
106 pathconf(_PC_NAME_MAX).
107
108 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
109
110 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
111 Remove macro usage.
112 (__PTHREAD_SPINS): Move definition to ...
113 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
114 (__PTHREAD_SPINS): ... here.
115 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
116 (__PTHREAD_SPIN): Likewise.
117 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
118 (__PTHREAD_SPIN): Likewise.
119 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
120 (__PTHREAD_SPIN): Likewise.
121 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
122 (__PTHREAD_SPIN): Likewise.
123 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
124 (__PTHREAD_SPIN): Likewise.
125 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
126 (__PTHREAD_SPIN): Likewise.
127 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
128 (__PTHREAD_SPIN): Likewise.
129 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
130 (__PTHREAD_SPIN): Likewise.
131 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
132 (__PTHREAD_SPIN): Likewise.
133 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
134 (__PTHREAD_SPIN): Likewise.
135 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
136 (__PTHREAD_SPIN): Likewise.
137 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
138 (__PTHREAD_SPIN): Likewise.
139
140 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
143 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
144 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
145 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
146 imply folder.
147 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
148 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
149 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
150 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
151 correct imply path.
152 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
153 strlen symbol for non multi-arch builds.
154 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
155 missing hidden_def and weak_alias.
156
157 2014-04-08 Carlos O'Donell <carlos@redhat.com>
158
159 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
160
161 2014-04-07 Will Newton <will.newton@linaro.org>
162
163 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
164 and contents. [!_LIBC] Remove #ifndef and contents.
165 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
166 * string/memccpy.c (__memccpy): Use ANSI prototype.
167 * string/memfrob.c (memfrob): Likewise.
168 * string/strcoll.c (STRCOLL): Likewise.
169 * string/strlen.c (strlen): Likewise.
170 * string/strtok.c (STRTOK): Likewise.
171 * string/strcat.c: Remove unused #include of memcopy.h.
172 (strcat): Use ANSI prototype.
173 * string/strchr.c: Remove unused #include of memcopy.h.
174 (strchr): Use ANSI prototype.
175 * string/strcmp.c: Remove unused #include of memcopy.h.
176 (strcmp): Use ANSI prototype.
177 * string/strcpy.c: Remove unused #include of memcopy.h.
178 (strcpy): Use ANSI prototype.
179
180 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
181
182 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
183 * config.make.in (config-extra-cppflags): Set it from
184 libc_extra_cppflags.
185 * configure.ac (libc_extra_cflags): Make it accumulate over
186 configure fragments.
187 (libc_extra_cppflags): New flag.
188 * configure. Regenerate.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
190 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
191 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
193
194 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
195
196 [BZ #16815]
197 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
198 result for FE_DOWNWARD rounding mode.
199 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
200 Likewise.
201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
202
203 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
204
205 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
206 in function argument name.
207
208 2014-04-03 David Svoboda <svoboda@cert.org>
209
210 [BZ #5666]
211 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
212 explicitly.
213
214 2014-04-03 Roland McGrath <roland@hack.frob.com>
215
216 * elf/dl-unmap-segments.h: New file.
217 * sysdeps/generic/ldsodefs.h
218 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
219 * elf/dl-close.c: Include <dl-unmap-segments.h>.
220 * elf/dl-fptr.c: Likewise.
221 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
222 * sysdeps/aarch64/tlsdesc.c: Likewise.
223 * sysdeps/arm/tlsdesc.c: Likewise.
224 * sysdeps/i386/tlsdesc.c: Likewise.
225 * sysdeps/tile/dl-runtime.c: Likewise.
226 * sysdeps/x86_64/tlsdesc.c: Likewise.
227 * elf/dl-load.h: New file.
228 * elf/dl-load.c: Include it.
229 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
230 Macros moved to dl-load.h.
231 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
232 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
233 Use _dl_unmap_segments in place of __munmap.
234 Break out segment-mapping loop into ...
235 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
236
237 2014-04-03 Will Newton <will.newton@linaro.org>
238
239 * elf/dl-lookup.c (do_lookup_x): Remove comment
240 referring to nested function and move variable
241 declarations down to before first use.
242
243 2014-04-02 Joseph Myers <joseph@codesourcery.com>
244
245 [BZ #16799]
246 [BZ #16800]
247 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
248 with 0 numerator.
249 * math/s_catanf.c (__catanf): Likewise.
250 * math/s_catanh.c (__catanh): Likewise.
251 * math/s_catanhf.c (__catanhf): Likewise.
252 * math/s_catanhl.c (__catanhl): Likewise.
253 * math/s_catanl.c (__catanl): Likewise.
254 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
255 by positive zero when computing -Inf result.
256 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
257 (catanh_test): Likewise.
258 * sysdeps/i386/fpu/libm-test-ulps: Update.
259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
260
261 [BZ #16789]
262 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
263 instead of using underflowing value in computing result.
264 * math/s_clog10.c (__clog10): Likewise.
265 * math/s_clog10f.c (__clog10f): Likewise.
266 * math/s_clog10l.c (__clog10l): Likewise.
267 * math/s_clogf.c (__clogf): Likewise.
268 * math/s_clogl.c (__clogl): Likewise.
269 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
270 (clog10_test): Likewise.
271 * sysdeps/i386/fpu/libm-test-ulps: Update.
272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
273
274 2014-04-02 Alan Modra <amodra@gmail.com>
275
276 [BZ #16739]
277 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
278 output when value is near a power of two. Use int64_t for lx and
279 remove casts. Use decimal rather than hex exponent constants.
280 Don't use long double multiplication when double will suffice.
281 * math/libm-test.inc (nextafter_test_data): Add tests.
282 * NEWS: Add 16739 and 16786 to bug list.
283
284 2014-04-02 Alan Modra <amodra@gmail.com>
285
286 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
287
288 2014-04-02 Alan Modra <amodra@gmail.com>
289
290 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
291
292 2014-04-01 Will Newton <will.newton@linaro.org>
293
294 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
295 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
296
297 2014-04-01 Florian Weimer <fweimer@redhat.com>
298
299 [BZ #13347]
300 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
301 * nptl/tst-setuid2.c: New file.
302 * nptl/Makefile (xtests): Add tst-setuid2.
303
304 2014-04-01 Alan Modra <amodra@gmail.com>
305
306 [BZ #16786]
307 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
308
309 2014-03-31 Joseph Myers <joseph@codesourcery.com>
310
311 [BZ #6803]
312 [BZ #6804]
313 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
314 set errno as appropriate.
315 * math/w_scalbf.c (__scalbf): Likewise.
316 * math/w_scalbl.c (__scalbl): Likewise.
317 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
318 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
319 * math/libm-test.inc (scalb_test_data): Add errno expectations.
320 Add more NaN tests.
321
322 [BZ #16349]
323 * math/w_atan2.c: Include <errno.h>.
324 (__atan2): Set errno for result underflowing to zero.
325 * math/w_atan2f.c: Include <errno.h>.
326 (__atan2f): Set errno for result underflowing to zero.
327 * math/w_atan2l.c: Include <errno.h>.
328 (__atan2l): Set errno for result underflowing to zero.
329 * math/auto-libm-test-in: Don't allow missing errno for some atan2
330 tests.
331 * math/auto-libm-test-out: Regenerated.
332
333 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
334
335 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
336 Encode instruction correctly in little endian.
337 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
338 Likewise.
339 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
340 Likewise.
341 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
342 Likewise.
343 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
344 Likewise.
345
346 2014-03-31 Joseph Myers <joseph@codesourcery.com>
347
348 [BZ #9894]
349 * sysdeps/unix/sysv/linux/kernel-features.h
350 [__sparc__ && !__arch64__ && !__sparc_v9__]
351 (__ASSUME_SET_ROBUST_LIST): Do not define.
352 [__sparc__ && !__arch64__ && !__sparc_v9__]
353 (__ASSUME_FUTEX_LOCK_PI): Likewise.
354 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
355 Likewise.
356 * sysdeps/unix/sysv/linux/arm/kernel-features.h
357 (__ASSUME_FUTEX_LOCK_PI): Undefine.
358 (__ASSUME_REQUEUE_PI): Likewise.
359 (__ASSUME_SET_ROBUST_LIST): Likewise.
360 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
361 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
362 Undefine.
363 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
364 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
365 Likewise.
366 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
367 Likewise.
368 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
369 Likewise.
370 * sysdeps/unix/sysv/linux/mips/kernel-features.h
371 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
372 Undefine.
373 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
374 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
375 Likewise.
376
377 [BZ #16648]
378 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
379 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
380 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
381
382 2014-03-31 Will Newton <will.newton@linaro.org>
383
384 * benchtests/Makefile (bench): Add ffs and ffsll to list
385 of tests.
386 * benchtests/ffs-inputs: New file.
387 * benchtests/ffsll-inputs: Likewise.
388
389 2014-03-29 Joseph Myers <joseph@codesourcery.com>
390
391 [BZ #16770]
392 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
393 too large before casting to int.
394 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
395 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
396 * math/libm-test.inc (scalb_test_data): Add more tests.
397
398 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
399
400 * benchtests/Makefile (DETAILED_OPT): New make option.
401 (bench-func): Run benchmark program with -d if DETAILED_OPT is
402 set.
403 * benchtests/bench-skeleton.c: Include stdbool.h.
404 (main): Store and print timings per input.
405 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
406 member to each argument value.
407 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
408 (_print_arg_data): Initialize per-input timing to 0.
409
410 * benchtests/Makefile (timing-type): New binary.
411 (bench-clean): Also remove bench-timing-type.
412 (bench): New target for timing-type.
413 (bench-func): Print output in JSON format.
414 * benchtests/bench-skeleton.c (main): Print output in JSON
415 format.
416 * benchtests/bench-timing-type.c: New file.
417 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
418 (TIMING_PRINT_STATS): Remove.
419 * benchtests/scripts/bench.py (_print_arg_data): Store variant
420 name separately.
421
422 * benchtests/bench-modf.c: Remove.
423 * benchtests/modf-inputs: New inputs file.
424
425 2014-03-28 Joseph Myers <joseph@codesourcery.com>
426
427 [BZ #16362]
428 * math/s_clog10.c (M_PI_LOG10E): New macro.
429 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
430 imaginary parts are 0.
431 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
432 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
433 imaginary parts are 0.
434 * math/s_clog10l.c (M_PI_LOG10El): New macro.
435 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
436 imaginary parts are 0.
437 * math/libm-test.inc (clog10_test_data): Update expected results
438 for when real and imaginary parts are 0.
439
440 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
441
442 * elf/dl-load.c: Finish conversion of __builtin_expect into
443 __glibc_{un}likely.
444
445 2014-03-27 Joseph Myers <joseph@codesourcery.com>
446
447 [BZ #16348]
448 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
449 1+x for argument with exponent below -67.
450 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
451 Likewise.
452 * math/auto-libm-test-in: Add more tests of exp.
453 * math/auto-libm-test-out: Regenerated.
454
455 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
456
457 [BZ #16759]
458 * inet/getnetgrent_r.c (get_nonempty_val): New function.
459 (nscd_getnetgrent): Use it.
460
461 [BZ #16760]
462 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
463 of stpcpy.
464
465 2014-03-27 Andi Kleen <ak@linux.intel.com>
466
467 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
468 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
469 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
470 Remove out of line section. Use cfi intrinsics.
471 (LLL_STUB_UNWIND_INFO*): Remove.
472 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
473 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
474 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
475 Remove out of line section. Use cfi intrinsics.
476 (LLL_STUB_UNWIND_INFO*): Remove.
477
478 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
479
480 [BZ #16758]
481 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
482 blank values.
483
484 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
485
486 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
487
488 2014-03-26 Joseph Myers <joseph@codesourcery.com>
489
490 [BZ #16198]
491 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
492 fnstenv.
493 * math/test-fenv-preserve.c: New file.
494 * math/Makefile (tests): Add test-fenv-preserve.
495
496 2014-03-26 Will Newton <will.newton@linaro.org>
497
498 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
499
500 2014-03-25 Roland McGrath <roland@hack.frob.com>
501
502 * scripts/versionlist.awk: Partition the version sets and emit all
503 GLIBC_* (sorted) before all others (sorted).
504
505 2014-03-25 Joseph Myers <joseph@codesourcery.com>
506
507 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
508 GLIBC_2.2.5 version.
509
510 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
511
512 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
513 calls.
514
515 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
516
517 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
518 previous change.
519
520 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
521
522 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
523
524 2014-03-25 Andreas Schwab <schwab@suse.de>
525
526 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
527 label to be used after in6ailist is initialized.
528
529 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
530
531 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
532 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
533
534 2014-03-25 Joseph Myers <joseph@codesourcery.com>
535
536 [BZ #16357]
537 [BZ #16599]
538 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
539 min_plus_half.
540 (fp_formats): Update initializers.
541 (init_fp_formats): Initialize new field.
542 (output_for_one_input_case): Allow underflow for results up to
543 min_plus_half.
544 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
545 * math/auto-libm-test-in: Don't mark some underflows from asin and
546 atanh as spurious.
547 * math/auto-libm-test-out: Regenerated.
548 * sysdeps/i386/fpu/libm-test-ulps: Update.
549 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
550
551 2014-03-25 Andreas Schwab <schwab@suse.de>
552
553 * libio/Makefile (tst-ftell-partial-wide-ENV)
554 (tst-ftell-active-handler-ENV): Define.
555
556 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
557
558 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
559
560 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
561
562 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
563
564 2014-03-24 Joseph Myers <joseph@codesourcery.com>
565
566 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
567 * sysdeps/x86_64/fpu/multiarch/e_exp.c
568 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
569
570 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
571
572 [BZ #16634]
573 * elf/dl-load.c (open_verify): Add mode parameter.
574 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
575 (open_path): Change from boolean 'secure' to complete flag 'mode'
576 (_dl_map_object): Adjust.
577 * elf/Makefile (tests): Add tst-dlopen-aout.
578 * elf/tst-dlopen-aout.c: New test.
579
580 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
581
582 [BZ #16714]
583 * sysdeps/unix/sysv/linux/s390/bits/stat.h
584 (struct stat): Rename member pad0 to __glibc_reserved0.
585
586 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
587
588 [BZ #16712]
589 * sysdeps/s390/s390-32/bits/wordsize.h
590 (__WORDSIZE32_SIZE_ULONG): New define.
591 * sysdeps/s390/s390-64/bits/wordsize.h
592 (__WORDSIZE32_SIZE_ULONG): Likewise.
593 * sysdeps/generic/stdint.h (SIZE_MAX):
594 Define as UL if __WORDSIZE32_SIZE_ULONG.
595
596 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
597
598 [BZ #16713]
599 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
600 (__glibc_reserved0): New variable.
601 (sa_flags): Change type to int.
602
603 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
604
605 * posix/Makefile (before-compile): Use += before-compile instead
606 of a :=.
607
608 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
609
610 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
611 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
612
613 2014-03-20 Andreas Schwab <schwab@suse.de>
614
615 [BZ #16743]
616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
617 non-matching result from nscd.
618
619 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
620
621 * scripts/bench.py: Moved to ...
622 * benchtests/scripts/bench.py: ... here.
623 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
624
625 2014-03-24 Andreas Schwab <schwab@suse.de>
626
627 [BZ #16002]
628 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
629 alloca_account and account alloca use for struct in6ailist.
630
631 2014-03-24 Joseph Myers <joseph@codesourcery.com>
632
633 [BZ #16284]
634 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
635 rounding mode to recompute results that overflow to infinity or
636 underflow to zero.
637 * math/auto-libm-test-in: Don't mark tests as expected to fail for
638 bug 16284.
639 * math/auto-libm-test-out: Regenerated.
640 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
641 (ccosh_test): Likewise.
642 (csin_test_data): Use plus_oflow.
643 (csin_test): Use ALL_RM_TEST.
644 (csinh_test_data): Use plus_oflow.
645 (csinh_test): Use ALL_RM_TEST.
646 * sysdeps/i386/fpu/libm-test-ulps: Update.
647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648
649 2014-03-21 Joseph Myers <joseph@codesourcery.com>
650
651 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
652 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
653 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
654
655 [BZ #16731]
656 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
657 when x - 1 is zero.
658 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
659 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
660 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
662 argument is 1.
663 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
664 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
665 zero.
666 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
667 * sysdeps/i386/fpu/libm-test-ulps: Update.
668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
669
670 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
671
672 * scripts/bench.pl: Remove file.
673 * scripts/bench.py: New benchmark script.
674 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
675 * benchtests/README: Mention python dependency.
676 * scripts/pylintrc: New file.
677 * scripts/pylint: New file.
678
679 * bits/mathdef.h: Use #ifdef instead of #if.
680 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
681 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
682 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
683 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
684 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
685 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
686
687 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
689
690 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
691 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
692 and strpbrk-ppc64 objects.
693 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
694 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
695 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
696 multiarch strpbrk for POWER7.
697 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
698 multiarch strpbrk for PPC64.
699 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
700 ifunc selector.
701 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
702 strpbrk for POWER7.
703
704 2014-03-20 Joseph Myers <joseph@codesourcery.com>
705
706 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
707 (atan_test): Likewise.
708 (atanh_test_data): Use NO_TEST_INLINE for two tests.
709 (atanh_test): Use ALL_RM_TEST.
710 (atan2_test_data): Likewise.
711 (cabs_test): Likewise.
712 (cacosh_test): Likewise.
713 (carg_test): Likewise.
714 (casin_test): Likewise.
715 (casinh_test): Likewise.
716 (cbrt_test): Likewise.
717 (csqrt_test): Likewise.
718 (erf_test): Likewise.
719 (erfc_test): Likewise.
720 (pow10_test): Likewise.
721 (exp2_test): Likewise.
722 (hypot_test): Likewise.
723 (j0_test): Likewise.
724 (j1_test): Likewise.
725 (lgamma_test): Likewise.
726 (gamma_test): Likewise.
727 (sincos_test): Likewise.
728 (tanh_test): Likewise.
729 (y0_test): Likewise.
730 (y1_test): Likewise.
731 * sysdeps/i386/fpu/libm-test-ulps: Update.
732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
733
734 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
735
736 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
737 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
738 and strcspn-ppc64 objects.
739 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
740 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
741 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
742 multiarch strcspn for POWER7.
743 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
744 multiarch strcspn for PPC64.
745 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
746 ifunc selector.
747 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
748 strcspn for POWER7.
749
750 2014-03-20 Joseph Myers <joseph@codesourcery.com>
751
752 * math/gen-libm-test.pl (generate_testfile): Expect only function
753 name as argument to AUTO_TESTS_* and pass results for all rounding
754 modes to parse_args.
755 (parse_auto_input): Separate inputs of automatic tests from
756 outputs before storing in %auto_tests.
757 * math/libm-test.inc (acos_test_data): Update call to
758 AUTO_TESTS_f_f.
759 (acos_test): Use ALL_RM_TEST.
760 (acos_tonearest_test_data): Remove.
761 (acos_test_tonearest): Likewise.
762 (acos_towardzero_test_data): Likewise.
763 (acos_test_towardzero): Likewise.
764 (acos_downward_test_data): Likewise.
765 (acos_test_downward): Likewise.
766 (acos_upward_test_data): Likewise.
767 (acos_test_upward): Likewise.
768 (acosh_test_data): Update call to AUTO_TESTS_f_f.
769 (asin_test_data): Likewise.
770 (asin_test): Use ALL_RM_TEST.
771 (asin_tonearest_test_data): Remove.
772 (asin_test_tonearest): Likewise.
773 (asin_towardzero_test_data): Likewise.
774 (asin_test_towardzero): Likewise.
775 (asin_downward_test_data): Likewise.
776 (asin_test_downward): Likewise.
777 (asin_upward_test_data): Likewise.
778 (asin_test_upward): Likewise.
779 (asinh_test_data): Update call to AUTO_TESTS_f_f.
780 (atan_test_data): Likewise.
781 (atanh_test_data): Likewise.
782 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
783 (cabs_test_data): Update call to AUTO_TESTS_c_f.
784 (carg_test_data): Likewise.
785 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
786 (ccos_test_data): Update call to AUTO_TESTS_c_c.
787 (ccosh_test_data): Likewise.
788 (cexp_test_data): Likewise.
789 (clog_test_data): Likewise.
790 (clog10_test_data): Likewise.
791 (cos_test_data): Update call to AUTO_TESTS_f_f.
792 (cos_test): Use ALL_RM_TEST.
793 (cos_tonearest_test_data): Remove.
794 (cos_test_tonearest): Likewise.
795 (cos_towardzero_test_data): Likewise.
796 (cos_test_towardzero): Likewise.
797 (cos_downward_test_data): Likewise.
798 (cos_test_downward): Likewise.
799 (cos_upward_test_data): Likewise.
800 (cos_test_upward): Likewise.
801 (cosh_test_data): Update call to AUTO_TESTS_f_f.
802 (cosh_test): Use ALL_RM_TEST.
803 (cosh_tonearest_test_data): Remove.
804 (cosh_test_tonearest): Likewise.
805 (cosh_towardzero_test_data): Likewise.
806 (cosh_test_towardzero): Likewise.
807 (cosh_downward_test_data): Likewise.
808 (cosh_test_downward): Likewise.
809 (cosh_upward_test_data): Likewise.
810 (cosh_test_upward): Likewise.
811 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
812 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
813 (ctan_test_data): Likewise.
814 (ctan_test): Use ALL_RM_TEST.
815 (ctan_tonearest_test_data): Remove.
816 (ctan_test_tonearest): Likewise.
817 (ctan_towardzero_test_data): Likewise.
818 (ctan_test_towardzero): Likewise.
819 (ctan_downward_test_data): Likewise.
820 (ctan_test_downward): Likewise.
821 (ctan_upward_test_data): Likewise.
822 (ctan_test_upward): Likewise.
823 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
824 (ctanh_test): Use ALL_RM_TEST.
825 (ctanh_tonearest_test_data): Remove.
826 (ctanh_test_tonearest): Likewise.
827 (ctanh_towardzero_test_data): Likewise.
828 (ctanh_test_towardzero): Likewise.
829 (ctanh_downward_test_data): Likewise.
830 (ctanh_test_downward): Likewise.
831 (ctanh_upward_test_data): Likewise.
832 (ctanh_test_upward): Likewise.
833 (erf_test_data): Update call to AUTO_TESTS_f_f.
834 (erfc_test_data): Likewise.
835 (exp_test_data): Likewise.
836 (exp_test): Use ALL_RM_TEST.
837 (exp_tonearest_test_data): Remove.
838 (exp_test_tonearest): Likewise.
839 (exp_towardzero_test_data): Likewise.
840 (exp_test_towardzero): Likewise.
841 (exp_downward_test_data): Likewise.
842 (exp_test_downward): Likewise.
843 (exp_upward_test_data): Likewise.
844 (exp_test_upward): Likewise.
845 (exp10_test_data): Update call to AUTO_TESTS_f_f.
846 (exp10_test): Use ALL_RM_TEST.
847 (exp10_tonearest_test_data): Remove.
848 (exp10_test_tonearest): Likewise.
849 (exp10_towardzero_test_data): Likewise.
850 (exp10_test_towardzero): Likewise.
851 (exp10_downward_test_data): Likewise.
852 (exp10_test_downward): Likewise.
853 (exp10_upward_test_data): Likewise.
854 (exp10_test_upward): Likewise.
855 (exp2_test_data): Update call to AUTO_TESTS_f_f.
856 (expm1_test_data): Likewise.
857 (expm1_test): Use ALL_RM_TEST.
858 (expm1_tonearest_test_data): Remove.
859 (expm1_test_tonearest): Likewise.
860 (expm1_towardzero_test_data): Likewise.
861 (expm1_test_towardzero): Likewise.
862 (expm1_downward_test_data): Likewise.
863 (expm1_test_downward): Likewise.
864 (expm1_upward_test_data): Likewise.
865 (expm1_test_upward): Likewise.
866 (fma_test_data): Update call to AUTO_TESTS_fff_f.
867 (fma_test): Use ALL_RM_TEST.
868 (fma_towardzero_test_data): Remove.
869 (fma_test_towardzero): Likewise.
870 (fma_downward_test_data): Likewise.
871 (fma_test_downward): Likewise.
872 (fma_upward_test_data): Likewise.
873 (fma_test_upward): Likewise.
874 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
875 (j0_test_data): Update call to AUTO_TESTS_f_f.
876 (j1_test_data): Likewise.
877 (jn_test_data): Update call to AUTO_TESTS_if_f.
878 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
879 (log_test_data): Update call to AUTO_TESTS_f_f.
880 (log10_test_data): Likewise.
881 (log1p_test_data): Likewise.
882 (log2_test_data): Likewise.
883 (pow_test_data): Update call to AUTO_TESTS_ff_f.
884 (pow_tonearest_test_data): Likewise.
885 (sin_test_data): Update call to AUTO_TESTS_f_f.
886 (sin_test): Use ALL_RM_TEST.
887 (sin_tonearest_test_data): Remove.
888 (sin_test_tonearest): Likewise.
889 (sin_towardzero_test_data): Likewise.
890 (sin_test_towardzero): Likewise.
891 (sin_downward_test_data): Likewise.
892 (sin_test_downward): Likewise.
893 (sin_upward_test_data): Likewise.
894 (sin_test_upward): Likewise.
895 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
896 (sinh_test_data): Update call to AUTO_TESTS_f_f.
897 (sinh_test): Use ALL_RM_TEST.
898 (sinh_tonearest_test_data): Remove.
899 (sinh_test_tonearest): Likewise.
900 (sinh_towardzero_test_data): Likewise.
901 (sinh_test_towardzero): Likewise.
902 (sinh_downward_test_data): Likewise.
903 (sinh_test_downward): Likewise.
904 (sinh_upward_test_data): Likewise.
905 (sinh_test_upward): Likewise.
906 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
907 (sqrt_test): Use ALL_RM_TEST.
908 (sqrt_tonearest_test_data): Remove.
909 (sqrt_test_tonearest): Likewise.
910 (sqrt_towardzero_test_data): Likewise.
911 (sqrt_test_towardzero): Likewise.
912 (sqrt_downward_test_data): Likewise.
913 (sqrt_test_downward): Likewise.
914 (sqrt_upward_test_data): Likewise.
915 (sqrt_test_upward): Likewise.
916 (tan_test_data): Update call to AUTO_TESTS_f_f.
917 (tan_test): Use ALL_RM_TEST.
918 (tan_tonearest_test_data): Remove.
919 (tan_test_tonearest): Likewise.
920 (tan_towardzero_test_data): Likewise.
921 (tan_test_towardzero): Likewise.
922 (tan_downward_test_data): Likewise.
923 (tan_test_downward): Likewise.
924 (tan_upward_test_data): Likewise.
925 (tan_test_upward): Likewise.
926 (tanh_test_data): Update call to AUTO_TESTS_f_f.
927 (tgamma_test_data): Likewise.
928 (y0_test_data): Likewise.
929 (y1_test_data): Likewise.
930 (yn_test_data): Update call to AUTO_TESTS_if_f.
931 (main): Do not call removed functions.
932
933 2014-03-19 Joseph Myers <joseph@codesourcery.com>
934
935 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
936 (ldexp_test_data): Remove.
937 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
938 scalbn_test_data.
939 (scalb_test): Use ALL_RM_TEST.
940
941 2014-03-19 Andreas Schwab <schwab@suse.de>
942
943 * nscd/nscd.service: Also invalidate netgroup cache on reload.
944
945 2014-03-19 Joseph Myers <joseph@codesourcery.com>
946
947 [BZ #16649]
948 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
949 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
950 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
951 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
952 (__ASSUME_PREADV): Undefine.
953 (__ASSUME_PWRITEV): Likewise.
954
955 2014-03-18 Roland McGrath <roland@hack.frob.com>
956
957 * bits/mman-linux.h: Add comment about non-Linux use.
958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
959 bits/mman-linux.h resting place.
960
961 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
962 * bits/mman-linux.h: ... here.
963
964 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
965
966 * conform/conformtest.pl: Add standard definition when calling C
967 preprocessor on data files.
968 (checknamespace): Remove unused variable.
969
970 2014-03-18 Joseph Myers <joseph@codesourcery.com>
971
972 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
973 minus_oflow, plus_uflow and minus_uflow in expected results.
974 * math/libm-test.inc (scalbn_test_data): Add more tests of
975 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
976 minus_uflow.
977 (scalbn_test): Use ALL_RM_TEST.
978 (scalbln_test_data): Add more tests of negative arguments. Use
979 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
980 (scalbln_test): Use ALL_RM_TEST.
981
982 2014-03-18 Roland McGrath <roland@hack.frob.com>
983
984 * scripts/abilist.awk: Ignore symbols marked with .hidden.
985
986 2014-03-18 Will Newton <will.newton@linaro.org>
987
988 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
989 inaccurate comment.
990
991 2014-03-18 Joseph Myers <joseph@codesourcery.com>
992
993 * Makerules [!subdir] (check-abi): Exit with error status if a
994 test failed.
995
996 2014-03-17 Joseph Myers <joseph@codesourcery.com>
997
998 * math/libm-test.inc (nearbyint_test_data): Include all tests used
999 for rint. Include results for all rounding modes.
1000 (nearbyint_test): Use ALL_RM_TEST.
1001 (rint_test_data): Include all tests used for nearbyint.
1002
1003 2014-03-17 Will Newton <will.newton@linaro.org>
1004
1005 * nptl/sysdeps/pthread/pthread.h: Revert previous
1006 change.
1007
1008 * sysdeps/generic/ldsodefs.h: Revert previous
1009 change.
1010
1011 * libio/genops.c: Revert previous change.
1012 * libio/libioP.h: Likewise.
1013 * stdio-common/vfprintf.c: Likewise.
1014
1015 * sysdeps/generic/math_private.h: Revert previous
1016 change.
1017
1018 * sysdeps/generic/math_private.h: Check whether
1019 HAVE_RM_CTX is defined with #ifdef rather
1020 than #if.
1021
1022 * argp/argp-fmtstream.h: Check whether
1023 __STRICT_ANSI__ is defined with #ifdef rather
1024 than #if.
1025 * argp/argp.h: Likewise.
1026
1027 * libio/genops.c: Check whether
1028 _IO_JUMPS_OFFSET is defined with #ifdef rather
1029 than #if.
1030 * libio/libioP.h: Likewise.
1031 * stdio-common/vfprintf.c: Likewise.
1032
1033 * sysdeps/generic/ldsodefs.h: Check whether
1034 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1035 than #if.
1036
1037 * nptl/sysdeps/pthread/pthread.h: Check
1038 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1039 its value.
1040
1041 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1042
1043 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1044 setting O_APPEND.
1045 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1046 test case.
1047
1048 [BZ #16680]
1049 * libio/fileops.c (_IO_file_open): Seek to end of file but
1050 don't cache the offset.
1051 (get_file_offset): Remove function.
1052 (do_ftell): Use cached offset when available.
1053 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1054 don't cache the offset.
1055 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1056 case.
1057 (do_one_test): Call it.
1058 (do_ftell_test): Fix up expected old offset for a+ mode.
1059 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1060 available.
1061
1062 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1063 up test status with function return status.
1064 (do_write_test): Likewise.
1065 (do_append_test): Likewise.
1066
1067 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1068 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1069 Remove.
1070
1071 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1072
1073 * math/gen-libm-test.pl (parse_args): Handle results specified for
1074 each rounding mode separately.
1075 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1076 tests and results from lrint_tonearest_test_data,
1077 lrint_towardzero_test_data, lrint_downward_test_data and
1078 lrint_upward_test_data.
1079 (lrint_test): Use ALL_RM_TEST.
1080 (lrint_tonearest_test_data): Remove.
1081 (lrint_test_tonearest): Likewise.
1082 (lrint_towardzero_test_data): Likewise.
1083 (lrint_test_towardzero): Likewise.
1084 (lrint_downward_test_data): Likewise.
1085 (lrint_test_downward): Likewise.
1086 (lrint_upward_test_data): Likewise.
1087 (lrint_test_upward): Likewise.
1088 (llrint_test_data): Merge in per-rounding-mode tests and results
1089 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1090 llrint_downward_test_data and llrint_upward_test_data.
1091 (llrint_test): Use ALL_RM_TEST.
1092 (llrint_tonearest_test_data): Remove.
1093 (llrint_test_tonearest): Likewise.
1094 (llrint_towardzero_test_data): Likewise.
1095 (llrint_test_towardzero): Likewise.
1096 (llrint_downward_test_data): Likewise.
1097 (llrint_test_downward): Likewise.
1098 (llrint_upward_test_data): Likewise.
1099 (llrint_test_upward): Likewise.
1100 (rint_test_data): Merge in per-rounding-mode tests and results
1101 from rint_tonearest_test_data, rint_towardzero_test_data,
1102 rint_downward_test_data and rint_upward_test_data. Add
1103 per-rounding-mode results for tests not in those arrays.
1104 (rint_test): Use ALL_RM_TEST.
1105 (rint_tonearest_test_data): Remove.
1106 (rint_test_tonearest): Likewise.
1107 (rint_towardzero_test_data): Likewise.
1108 (rint_test_towardzero): Likewise.
1109 (rint_downward_test_data): Likewise.
1110 (rint_test_downward): Likewise.
1111 (rint_upward_test_data): Likewise.
1112 (rint_test_upward): Likewise.
1113 (main): Don't call removed functions.
1114
1115 2014-03-14 Roland McGrath <roland@hack.frob.com>
1116
1117 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1118 "Compiled on ..." crapola. It is anti-useful.
1119
1120 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1121
1122 * scripts/evaluate-test.sh: Handle fourth argument to determine
1123 whether test run should stop on failure.
1124 * Makeconfig (stop-on-test-failure): New variable.
1125 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1126 $(stop-on-test-failure).
1127 * Makefile (tests): Give a summary of results from testing and
1128 exit with failure status if they include an ERROR or FAIL.
1129 (xtests): Likewise.
1130 * manual/install.texi (Configuring and compiling): Mention
1131 stop-on-test-failure=y.
1132 * INSTALL: Regenerated.
1133
1134 2014-03-14 Roland McGrath <roland@hack.frob.com>
1135
1136 * scripts/versionlist.awk: New file.
1137 * Makerules [$(build-shared) = yes]
1138 (postclean-generated): Add Versions.def, not Versions.def.v and
1139 Versions.def.v.i.
1140 ($(common-objpfx)Versions.def.v.i): Target removed.
1141 ($(common-objpfx)Versions.def): New target.
1142 ($(common-objpfx)Versions.all): Depend on that rather that
1143 $(common-objpfx)Versions.def.v.
1144 * Versions.def: File removed.
1145
1146 * Makeconfig (+gccwarn): Add -Wundef.
1147 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1148 a dl-sysdep.h breaking its contract.
1149 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1150 * include/stackinfo.h: New file.
1151 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1152 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1153 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1154 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1155 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1156 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1157 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1158 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1159 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1160 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1161 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1162 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1163 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1164 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1165 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1166
1167 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1168
1169 [BZ #16707]
1170 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1171 implementation.
1172 * math/libm-test.inc (round_test_data): Add more tests.
1173
1174 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1175
1176 [BZ #16706]
1177 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1178 implementation.
1179 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1180
1181 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1182
1183 [BZ #16701]
1184 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1185 implementation.
1186 * math/libm-test.inc (ceil_test_data): Add more tests.
1187
1188 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1189
1190 * math/libm-test.inc (trunc_test_data): Add more tests related to
1191 BZ#16414.
1192
1193 2014-03-14 Roland McGrath <roland@hack.frob.com>
1194
1195 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1196 with #if rather than #ifdef.
1197 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1198
1199 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1200
1201 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1202 first. Disable AVX-512 GCC support if assembler doesn't support
1203 it.
1204 * sysdeps/x86_64/configure: Regenerated.
1205
1206 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1207
1208 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1209 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1210 (__old_pthread_attr_setstack): Likewise.
1211 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1212 [!_STACK_GROWS_DOWN]: Likewise.
1213
1214 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1215
1216 * config.make.in (have-bash2): Delete.
1217 * configure.ac (libc_cv_have_bash2): Delete.
1218 * configure: Regenerate.
1219 * elf/Makefile (common-ldd-rewrite): Rename to ...
1220 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1221 (sh-ldd-rewrite): Delete.
1222 (bash-ldd-rewrite): Delete.
1223 (have-bash2): Delete checks.
1224 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1225
1226 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1227
1228 * config.make.in (have-ksh): Delete.
1229 (KSH): Delete.
1230 * configure.ac (libc_cv_have_ksh): Delete.
1231 * configure: Regenerate.
1232
1233 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1234
1235 * elf/Makefile: Delete $(have-ksh) check.
1236 ($(objpfx)sotruss): Change KSH to BASH.
1237 * elf/sotruss.ksh: Rename to ...
1238 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1239 function style to match POSIX. Drop ksh vim mode setting.
1240
1241 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1242
1243 * manual/time.texi (Specifying the Time Zone with TZ): Change
1244 Tuesday to Thursday.
1245
1246 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1247
1248 * debug/tst-longjmp_chk2.c: Update header comment.
1249 (stackoverflow_handler): Add comment. Call assert on pass value.
1250
1251 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1252
1253 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1254 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1255 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1256 (La_x86_64_vector): Add zmm.
1257 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1258 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1259 ($(objpfx)tst-audit10): New target.
1260 ($(objpfx)tst-audit10.out): Likewise.
1261 (tst-audit10-ENV): New.
1262 (AVX512-CFLAGS): Likewise.
1263 (CFLAGS-tst-audit10.c): Likewise.
1264 (CFLAGS-tst-auditmod10a.c): Likewise.
1265 (CFLAGS-tst-auditmod10b.c): Likewise.
1266 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1267 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1268 * sysdeps/x86_64/configure: Regenerated.
1269 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1270 AVX-512 zmm register support.
1271 (_dl_x86_64_save_sse): Likewise.
1272 (_dl_x86_64_restore_sse): Likewise.
1273 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1274 size vector registers.
1275 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1276 (ZMM_SIZE): Likewise.
1277 * sysdeps/x86_64/tst-audit10.c: New file.
1278 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1279 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1280
1281 2014-03-13 Roland McGrath <roland@hack.frob.com>
1282
1283 * configure.ac (HAVE_EHDR_START): New check.
1284 * configure: Regenerated.
1285 * config.h.in (HAVE_EHDR_START): New #undef.
1286 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1287 assuming the lowest-addressed segment maps the start of the file.
1288
1289 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1290
1291 * INSTALL: Regenerated.
1292
1293 2014-03-13 Will Newton <will.newton@linaro.org>
1294
1295 * manual/setjmp.texi (System V contexts): Improve
1296 clarity and grammar of documentation.
1297
1298 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1299
1300 [BZ #16381]
1301 * elf/Makefile (tests): Add tst-pie2.
1302 (tests-pie): Add tst-pie2.
1303 * elf/tst-pie2.c: New file.
1304 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1305 for ET_EXEC.
1306 * elf/rtld.c (map_doit): Load executable as lt_executable.
1307 (dl_main): Likewise.
1308
1309 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1310
1311 [BZ #16642]
1312 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1313 (__ASSUME_PSELECT): Undefine.
1314
1315 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1316
1317 [BZ #16689]
1318 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1319 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1320 static build.
1321 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1322 selector for static builds.
1323
1324 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1325
1326 [BZ #16695]
1327 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1328 key in the buffer.
1329
1330 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1331
1332 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1333 selector for static builds.
1334
1335 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1336
1337 * sysdeps/mips/math_private.h [__mips_hard_float]
1338 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1339 libc_feresetround_mips_ctx.
1340 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1341 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1342 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1343
1344 [BZ #16677]
1345 * math/s_nextafter.c (__nextafter): Do not return value from
1346 overflowing computation.
1347 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1348 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1349 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1350 Likewise.
1351 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1352 Likewise.
1353 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1354 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1355
1356 2014-03-11 Roland McGrath <roland@hack.frob.com>
1357
1358 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1359 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1360 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1361 the new mov targetting sp.
1362
1363 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1364
1365 [BZ #16683]
1366 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1367 Define it for static builds as well.
1368 (NO_BZERO_IMPL): Likewise.
1369
1370 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1371
1372 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1373 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1374 multiarch strspn for PPC64.
1375 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1376 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1377 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1378 (__libc_ifunc_impl_list): Likewise.
1379 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1380 multiarch optimizations
1381 * string/strspn.c (strspn): Using macro to redefine symbol name.
1382
1383 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1384 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1385
1386 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1387 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1388 multiarch strncat for PPC64.
1389 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1390 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1392 (__libc_ifunc_impl_list): Likewise.
1393 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1394 multiarch optimizations
1395
1396 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1397
1398 [BZ #16639]
1399 * nscd/nscd.service: Make service type forking.
1400
1401 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1402
1403 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1404 sign in non default rounding modes.
1405 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1406
1407 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1408
1409 * math/libm-test.inc (ALL_RM_TEST): New macro.
1410 (ceil_test): Use ALL_RM_TEST.
1411 (cimag_test): Likewise.
1412 (conj_test): Likewise.
1413 (copysign_test): Likewise.
1414 (cproj_test): Likewise.
1415 (creal_test): Likewise.
1416 (fabs_test): Likewise.
1417 (floor_test): Likewise.
1418 (fmax_test): Likewise.
1419 (fmin_test): Likewise.
1420 (fmod_test): Likewise.
1421 (fpclassify_test): Likewise.
1422 (frexp_test): Likewise.
1423 (ilogb_test): Likewise.
1424 (isfinite_test): Likewise.
1425 (finite_test): Likewise.
1426 (isgreater_test): Likewise.
1427 (isgreaterequal_test): Likewise.
1428 (isinf_test): Likewise.
1429 (isless_test): Likewise.
1430 (islessequal_test): Likewise.
1431 (islessgreater_test): Likewise.
1432 (isnan_test): Likewise.
1433 (isnormal_test): Likewise.
1434 (issignaling_test): Likewise.
1435 (isunordered_test): Likewise.
1436 (logb_test): Likewise.
1437 (logb_downward_test_data): Remove.
1438 (logb_test_downward): Likewise.
1439 (lround_test): Use ALL_RM_TEST.
1440 (llround_test): Likewise.
1441 (modf_test): Likewise.
1442 (nexttoward_test): Likewise.
1443 (remainder_test): Likewise.
1444 (drem_test): Likewise.
1445 (remainder_tonearest_test_data): Likewise.
1446 (remainder_test_tonearest): Likewise.
1447 (drem_test_tonearest): Likewise.
1448 (remainder_towardzero_test_data): Likewise.
1449 (remainder_test_towardzero): Likewise.
1450 (drem_test_towardzero): Likewise.
1451 (remainder_downward_test_data): Likewise.
1452 (remainder_test_downward): Likewise.
1453 (drem_test_downward): Likewise.
1454 (remainder_upward_test_data): Likewise.
1455 (remainder_test_upward): Likewise.
1456 (drem_test_upward): Likewise.
1457 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1458 (round_test): Use ALL_RM_TEST.
1459 (signbit_test): Likewise.
1460 (trunc_test): Likewise.
1461 (significand_test): Likewise.
1462 (main): Don't call removed functions.
1463
1464 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1465
1466 [BZ #16674]
1467 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1468 || __USE_XOPEN2K8].
1469 (ILL_ILLOPN): Likewise.
1470 (ILL_ILLADR): Likewise.
1471 (ILL_ILLTRP): Likewise.
1472 (ILL_PRVOPC): Likewise.
1473 (ILL_PRVREG): Likewise.
1474 (ILL_COPROC): Likewise.
1475 (ILL_BADSTK): Likewise.
1476 (FPE_INTDIV): Likewise.
1477 (FPE_INTOVF): Likewise.
1478 (FPE_FLTDIV): Likewise.
1479 (FPE_FLTOVF): Likewise.
1480 (FPE_FLTUND): Likewise.
1481 (FPE_FLTRES): Likewise.
1482 (FPE_FLTINV): Likewise.
1483 (FPE_FLTSUB): Likewise.
1484 (SEGV_MAPERR): Likewise.
1485 (SEGV_ACCERR): Likewise.
1486 (BUS_ADRALN): Likewise.
1487 (BUS_ADRERR): Likewise.
1488 (BUS_OBJERR): Likewise.
1489 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1490 (TRAP_TRACE): Likewise.
1491 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1492 __USE_XOPEN2K8].
1493 (CLD_KILLED): Likewise.
1494 (CLD_DUMPED): Likewise.
1495 (CLD_TRAPPED): Likewise.
1496 (CLD_STOPPED): Likewise.
1497 (CLD_CONTINUED): Likewise.
1498 (POLL_IN): Likewise.
1499 (POLL_OUT): Likewise.
1500 (POLL_MSG): Likewise.
1501 (POLL_ERR): Likewise.
1502 (POLL_PRI): Likewise.
1503 (POLL_HUP): Likewise.
1504 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1505 Likewise.
1506 (ILL_ILLOPN): Likewise.
1507 (ILL_ILLADR): Likewise.
1508 (ILL_ILLTRP): Likewise.
1509 (ILL_PRVOPC): Likewise.
1510 (ILL_PRVREG): Likewise.
1511 (ILL_COPROC): Likewise.
1512 (ILL_BADSTK): Likewise.
1513 (FPE_INTDIV): Likewise.
1514 (FPE_INTOVF): Likewise.
1515 (FPE_FLTDIV): Likewise.
1516 (FPE_FLTOVF): Likewise.
1517 (FPE_FLTUND): Likewise.
1518 (FPE_FLTRES): Likewise.
1519 (FPE_FLTINV): Likewise.
1520 (FPE_FLTSUB): Likewise.
1521 (SEGV_MAPERR): Likewise.
1522 (SEGV_ACCERR): Likewise.
1523 (BUS_ADRALN): Likewise.
1524 (BUS_ADRERR): Likewise.
1525 (BUS_OBJERR): Likewise.
1526 (BUS_MCEERR_AR): Likewise.
1527 (BUS_MCEERR_AO): Likewise.
1528 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1529 (TRAP_TRACE): Likewise.
1530 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1531 __USE_XOPEN2K8].
1532 (CLD_KILLED): Likewise.
1533 (CLD_DUMPED): Likewise.
1534 (CLD_TRAPPED): Likewise.
1535 (CLD_STOPPED): Likewise.
1536 (CLD_CONTINUED): Likewise.
1537 (POLL_IN): Likewise.
1538 (POLL_OUT): Likewise.
1539 (POLL_MSG): Likewise.
1540 (POLL_ERR): Likewise.
1541 (POLL_PRI): Likewise.
1542 (POLL_HUP): Likewise.
1543 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1544 (ILL_ILLOPN): Likewise.
1545 (ILL_ILLADR): Likewise.
1546 (ILL_ILLTRP): Likewise.
1547 (ILL_PRVOPC): Likewise.
1548 (ILL_PRVREG): Likewise.
1549 (ILL_COPROC): Likewise.
1550 (ILL_BADSTK): Likewise.
1551 (FPE_INTDIV): Likewise.
1552 (FPE_INTOVF): Likewise.
1553 (FPE_FLTDIV): Likewise.
1554 (FPE_FLTOVF): Likewise.
1555 (FPE_FLTUND): Likewise.
1556 (FPE_FLTRES): Likewise.
1557 (FPE_FLTINV): Likewise.
1558 (FPE_FLTSUB): Likewise.
1559 (SEGV_MAPERR): Likewise.
1560 (SEGV_ACCERR): Likewise.
1561 (BUS_ADRALN): Likewise.
1562 (BUS_ADRERR): Likewise.
1563 (BUS_OBJERR): Likewise.
1564 (BUS_MCEERR_AR): Likewise.
1565 (BUS_MCEERR_AO): Likewise.
1566 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1567 (TRAP_TRACE): Likewise.
1568 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1569 __USE_XOPEN2K8].
1570 (CLD_KILLED): Likewise.
1571 (CLD_DUMPED): Likewise.
1572 (CLD_TRAPPED): Likewise.
1573 (CLD_STOPPED): Likewise.
1574 (CLD_CONTINUED): Likewise.
1575 (POLL_IN): Likewise.
1576 (POLL_OUT): Likewise.
1577 (POLL_MSG): Likewise.
1578 (POLL_ERR): Likewise.
1579 (POLL_PRI): Likewise.
1580 (POLL_HUP): Likewise.
1581 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1582 Likewise.
1583 (ILL_ILLOPN): Likewise.
1584 (ILL_ILLADR): Likewise.
1585 (ILL_ILLTRP): Likewise.
1586 (ILL_PRVOPC): Likewise.
1587 (ILL_PRVREG): Likewise.
1588 (ILL_COPROC): Likewise.
1589 (ILL_BADSTK): Likewise.
1590 (ILL_BADIADDR): Likewise.
1591 (ILL_BREAK): Likewise.
1592 (FPE_INTDIV): Likewise.
1593 (FPE_INTOVF): Likewise.
1594 (FPE_FLTDIV): Likewise.
1595 (FPE_FLTOVF): Likewise.
1596 (FPE_FLTUND): Likewise.
1597 (FPE_FLTRES): Likewise.
1598 (FPE_FLTINV): Likewise.
1599 (FPE_FLTSUB): Likewise.
1600 (FPE_DECOVF): Likewise.
1601 (FPE_DECDIV): Likewise.
1602 (FPE_DECERR): Likewise.
1603 (FPE_INVASC): Likewise.
1604 (FPE_INVDEC): Likewise.
1605 (SEGV_MAPERR): Likewise.
1606 (SEGV_ACCERR): Likewise.
1607 (SEGV_PSTKOVF): Likewise.
1608 (BUS_ADRALN): Likewise.
1609 (BUS_ADRERR): Likewise.
1610 (BUS_OBJERR): Likewise.
1611 (BUS_MCEERR_AR): Likewise.
1612 (BUS_MCEERR_AO): Likewise.
1613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1614 (TRAP_TRACE): Likewise.
1615 (TRAP_BRANCH): Likewise.
1616 (TRAP_HWBKPT): Likewise.
1617 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1618 __USE_XOPEN2K8].
1619 (CLD_KILLED): Likewise.
1620 (CLD_DUMPED): Likewise.
1621 (CLD_TRAPPED): Likewise.
1622 (CLD_STOPPED): Likewise.
1623 (CLD_CONTINUED): Likewise.
1624 (POLL_IN): Likewise.
1625 (POLL_OUT): Likewise.
1626 (POLL_MSG): Likewise.
1627 (POLL_ERR): Likewise.
1628 (POLL_PRI): Likewise.
1629 (POLL_HUP): Likewise.
1630 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1631 (ILL_ILLOPN): Likewise.
1632 (ILL_ILLADR): Likewise.
1633 (ILL_ILLTRP): Likewise.
1634 (ILL_PRVOPC): Likewise.
1635 (ILL_PRVREG): Likewise.
1636 (ILL_COPROC): Likewise.
1637 (ILL_BADSTK): Likewise.
1638 (FPE_INTDIV): Likewise.
1639 (FPE_INTOVF): Likewise.
1640 (FPE_FLTDIV): Likewise.
1641 (FPE_FLTOVF): Likewise.
1642 (FPE_FLTUND): Likewise.
1643 (FPE_FLTRES): Likewise.
1644 (FPE_FLTINV): Likewise.
1645 (FPE_FLTSUB): Likewise.
1646 (SEGV_MAPERR): Likewise.
1647 (SEGV_ACCERR): Likewise.
1648 (BUS_ADRALN): Likewise.
1649 (BUS_ADRERR): Likewise.
1650 (BUS_OBJERR): Likewise.
1651 (BUS_MCEERR_AR): Likewise.
1652 (BUS_MCEERR_AO): Likewise.
1653 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1654 (TRAP_TRACE): Likewise.
1655 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1656 __USE_XOPEN2K8].
1657 (CLD_KILLED): Likewise.
1658 (CLD_DUMPED): Likewise.
1659 (CLD_TRAPPED): Likewise.
1660 (CLD_STOPPED): Likewise.
1661 (CLD_CONTINUED): Likewise.
1662 (POLL_IN): Likewise.
1663 (POLL_OUT): Likewise.
1664 (POLL_MSG): Likewise.
1665 (POLL_ERR): Likewise.
1666 (POLL_PRI): Likewise.
1667 (POLL_HUP): Likewise.
1668 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1669 (ILL_ILLOPN): Likewise.
1670 (ILL_ILLADR): Likewise.
1671 (ILL_ILLTRP): Likewise.
1672 (ILL_PRVOPC): Likewise.
1673 (ILL_PRVREG): Likewise.
1674 (ILL_COPROC): Likewise.
1675 (ILL_BADSTK): Likewise.
1676 (FPE_INTDIV): Likewise.
1677 (FPE_INTOVF): Likewise.
1678 (FPE_FLTDIV): Likewise.
1679 (FPE_FLTOVF): Likewise.
1680 (FPE_FLTUND): Likewise.
1681 (FPE_FLTRES): Likewise.
1682 (FPE_FLTINV): Likewise.
1683 (FPE_FLTSUB): Likewise.
1684 (SEGV_MAPERR): Likewise.
1685 (SEGV_ACCERR): Likewise.
1686 (BUS_ADRALN): Likewise.
1687 (BUS_ADRERR): Likewise.
1688 (BUS_OBJERR): Likewise.
1689 (BUS_MCEERR_AR): Likewise.
1690 (BUS_MCEERR_AO): Likewise.
1691 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1692 (TRAP_TRACE): Likewise.
1693 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1694 __USE_XOPEN2K8].
1695 (CLD_KILLED): Likewise.
1696 (CLD_DUMPED): Likewise.
1697 (CLD_TRAPPED): Likewise.
1698 (CLD_STOPPED): Likewise.
1699 (CLD_CONTINUED): Likewise.
1700 (POLL_IN): Likewise.
1701 (POLL_OUT): Likewise.
1702 (POLL_MSG): Likewise.
1703 (POLL_ERR): Likewise.
1704 (POLL_PRI): Likewise.
1705 (POLL_HUP): Likewise.
1706 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1707 (ILL_ILLOPN): Likewise.
1708 (ILL_ILLADR): Likewise.
1709 (ILL_ILLTRP): Likewise.
1710 (ILL_PRVOPC): Likewise.
1711 (ILL_PRVREG): Likewise.
1712 (ILL_COPROC): Likewise.
1713 (ILL_BADSTK): Likewise.
1714 (FPE_INTDIV): Likewise.
1715 (FPE_INTOVF): Likewise.
1716 (FPE_FLTDIV): Likewise.
1717 (FPE_FLTOVF): Likewise.
1718 (FPE_FLTUND): Likewise.
1719 (FPE_FLTRES): Likewise.
1720 (FPE_FLTINV): Likewise.
1721 (FPE_FLTSUB): Likewise.
1722 (SEGV_MAPERR): Likewise.
1723 (SEGV_ACCERR): Likewise.
1724 (BUS_ADRALN): Likewise.
1725 (BUS_ADRERR): Likewise.
1726 (BUS_OBJERR): Likewise.
1727 (BUS_MCEERR_AR): Likewise.
1728 (BUS_MCEERR_AO): Likewise.
1729 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1730 (TRAP_TRACE): Likewise.
1731 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1732 __USE_XOPEN2K8].
1733 (CLD_KILLED): Likewise.
1734 (CLD_DUMPED): Likewise.
1735 (CLD_TRAPPED): Likewise.
1736 (CLD_STOPPED): Likewise.
1737 (CLD_CONTINUED): Likewise.
1738 (POLL_IN): Likewise.
1739 (POLL_OUT): Likewise.
1740 (POLL_MSG): Likewise.
1741 (POLL_ERR): Likewise.
1742 (POLL_PRI): Likewise.
1743 (POLL_HUP): Likewise.
1744 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1745 (ILL_ILLOPN): Likewise.
1746 (ILL_ILLADR): Likewise.
1747 (ILL_ILLTRP): Likewise.
1748 (ILL_PRVOPC): Likewise.
1749 (ILL_PRVREG): Likewise.
1750 (ILL_COPROC): Likewise.
1751 (ILL_BADSTK): Likewise.
1752 (ILL_DBLFLT): Likewise.
1753 (ILL_HARDWALL): Likewise.
1754 (FPE_INTDIV): Likewise.
1755 (FPE_INTOVF): Likewise.
1756 (FPE_FLTDIV): Likewise.
1757 (FPE_FLTOVF): Likewise.
1758 (FPE_FLTUND): Likewise.
1759 (FPE_FLTRES): Likewise.
1760 (FPE_FLTINV): Likewise.
1761 (FPE_FLTSUB): Likewise.
1762 (SEGV_MAPERR): Likewise.
1763 (SEGV_ACCERR): Likewise.
1764 (BUS_ADRALN): Likewise.
1765 (BUS_ADRERR): Likewise.
1766 (BUS_OBJERR): Likewise.
1767 (BUS_MCEERR_AR): Likewise.
1768 (BUS_MCEERR_AO): Likewise.
1769 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1770 (TRAP_TRACE): Likewise.
1771 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1772 __USE_XOPEN2K8].
1773 (CLD_KILLED): Likewise.
1774 (CLD_DUMPED): Likewise.
1775 (CLD_TRAPPED): Likewise.
1776 (CLD_STOPPED): Likewise.
1777 (CLD_CONTINUED): Likewise.
1778 (POLL_IN): Likewise.
1779 (POLL_OUT): Likewise.
1780 (POLL_MSG): Likewise.
1781 (POLL_ERR): Likewise.
1782 (POLL_PRI): Likewise.
1783 (POLL_HUP): Likewise.
1784 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1785 (ILL_ILLOPN): Likewise.
1786 (ILL_ILLADR): Likewise.
1787 (ILL_ILLTRP): Likewise.
1788 (ILL_PRVOPC): Likewise.
1789 (ILL_PRVREG): Likewise.
1790 (ILL_COPROC): Likewise.
1791 (ILL_BADSTK): Likewise.
1792 (FPE_INTDIV): Likewise.
1793 (FPE_INTOVF): Likewise.
1794 (FPE_FLTDIV): Likewise.
1795 (FPE_FLTOVF): Likewise.
1796 (FPE_FLTUND): Likewise.
1797 (FPE_FLTRES): Likewise.
1798 (FPE_FLTINV): Likewise.
1799 (FPE_FLTSUB): Likewise.
1800 (SEGV_MAPERR): Likewise.
1801 (SEGV_ACCERR): Likewise.
1802 (BUS_ADRALN): Likewise.
1803 (BUS_ADRERR): Likewise.
1804 (BUS_OBJERR): Likewise.
1805 (BUS_MCEERR_AR): Likewise.
1806 (BUS_MCEERR_AO): Likewise.
1807 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1808 (TRAP_TRACE): Likewise.
1809 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1810 __USE_XOPEN2K8].
1811 (CLD_KILLED): Likewise.
1812 (CLD_DUMPED): Likewise.
1813 (CLD_TRAPPED): Likewise.
1814 (CLD_STOPPED): Likewise.
1815 (CLD_CONTINUED): Likewise.
1816 (POLL_IN): Likewise.
1817 (POLL_OUT): Likewise.
1818 (POLL_MSG): Likewise.
1819 (POLL_ERR): Likewise.
1820 (POLL_PRI): Likewise.
1821 (POLL_HUP): Likewise.
1822 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1823 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1824
1825 [BZ #16670]
1826 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1827 before #include of <time.h>.
1828 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1829 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1830 (test-xfail-UNIX98/sched.h/conform): Likewise.
1831
1832 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1833
1834 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1835 error absence of trapping exception support.
1836 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1837
1838 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1839
1840 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1841 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1842 * timezone/Makefile (testdata): Move definition above include of
1843 Rules.
1844 (test-zones): New variable.
1845 (tests-special): Add zone files.
1846 (build-testdata): Use $(evaluate-test).
1847
1848 * elf/Makefile (tests-special): Rename tests to end with .out.
1849 ($(objpfx)noload-mem): Likewise.
1850 ($(objpfx)tst-leaks1-mem): Likewise.
1851 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1852 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1853 $(objpfx)test-iconvconfig.out.
1854 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1855 set -e inside subshell and redirect output to file.
1856 * iconvdata/Makefile (generated): Rename tests to end with .out.
1857 Correct type.
1858 (tests-special): Rename tests to end with .out.
1859 ($(objpfx)mtrace-tst-loading): Likewise.
1860 * intl/Makefile (generated): Likewise.
1861 (tests-special): Likewise.
1862 ($(objpfx)mtrace-tst-gettext): Likewise.
1863 * misc/Makefile (generated): Likewise.
1864 (tests-special): Likewise.
1865 ($(objpfx)tst-error1-mem): Likewise.
1866 * nptl/Makefile (tests-special): Likewise.
1867 ($(objpfx)tst-stack3-mem): Likewise.
1868 (generated): Likewise.
1869 * posix/Makefile (generated): Likewise.
1870 (tests-special): Likewise.
1871 (xtests-special): Likewise.
1872 ($(objpfx)tst-fnmatch-mem): Likewise.
1873 ($(objpfx)bug-regex2-mem): Likewise.
1874 ($(objpfx)bug-regex14-mem): Likewise.
1875 ($(objpfx)bug-regex21-mem): Likewise.
1876 ($(objpfx)bug-regex31-mem): Likewise.
1877 ($(objpfx)tst-vfork3-mem): Likewise.
1878 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1879 ($(objpfx)tst-pcre-mem): Likewise.
1880 ($(objpfx)tst-boost-mem): Likewise.
1881 ($(objpfx)bug-ga2-mem): Likewise.
1882 ($(objpfx)bug-glob2-mem): Likewise.
1883 * resolv/Makefile (generate): Likewise.
1884 (tests-special): Likewise.
1885 (xtests-special): Likewise.
1886 (generated): Likewise.
1887 ($(objpfx)mtrace-tst-leaks): Likewise.
1888 ($(objpfx)mtrace-tst-leaks2): Likewise.
1889
1890 * scripts/merge-test-results.sh: New file.
1891 * Makefile (tests-special-notdir): New variable.
1892 (tests): Run merge-test-results.sh.
1893 (xtests): Likewise.
1894 * Rules (tests-special-notdir): New variable.
1895 (xtests-special-notdir): Likewise.
1896 (tests): Run merge-test-results.sh
1897 (xtests): Likewise.
1898
1899 * Makeconfig (test-xfail-name): New variable.
1900 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1901 compute variable name for expected failures.
1902 * conform/Makefile (conformtest-headers-data): New variable.
1903 (conformtest-standards): Likewise.
1904 (conformtest-headers-ISO): Likewise.
1905 (conformtest-headers-ISO99): Likewise.
1906 (conformtest-headers-ISO11): Likewise.
1907 (conformtest-headers-POSIX): Likewise.
1908 (conformtest-headers-XPG3): Likewise.
1909 (conformtest-headers-XPG4): Likewise.
1910 (conformtest-headers-UNIX98): Likewise.
1911 (conformtest-headers-XOPEN2K): Likewise.
1912 (conformtest-headers-POSIX2008): Likewise.
1913 (conformtest-headers-XOPEN2K8): Likewise.
1914 (conformtest-header-list-base): Likewise.
1915 (conformtest-header-list-tests): Likewise.
1916 (conformtest-header-base): Likewise.
1917 (conformtest-header-tests): Likewise.
1918 (tests-special): Add $(conformtest-header-list-tests). If
1919 [$(fast-check) && !$(cross-compiling)], add
1920 $(conformtest-header-tests) instead of
1921 $(objpfx)run-conformtest.out.
1922 (generated): Add $(conformtest-header-list-base). If
1923 [$(fast-check) && !$(cross-compiling)], add
1924 $(conformtest-header-base). Remove previous setting.
1925 ($(conformtest-header-list-tests)): New target.
1926 (test-xfail-run-conformtest): Remove variable.
1927 ($(objpfx)run-conformtest.out): Remove target.
1928 (test-xfail-ISO11/complex.h/conform): New variable.
1929 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1930 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1931 (test-xfail-XPG3/varargs.h/conform): Likewise.
1932 (test-xfail-XPG4/varargs.h/conform): Likewise.
1933 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1934 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1935 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1936 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1937 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1938 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1939 (test-xfail-XPG3/ftw.h/conform): Likewise.
1940 (test-xfail-XPG3/grp.h/conform): Likewise.
1941 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1942 (test-xfail-XPG3/limits.h/conform): Likewise.
1943 (test-xfail-XPG3/pwd.h/conform): Likewise.
1944 (test-xfail-XPG3/search.h/conform): Likewise.
1945 (test-xfail-XPG3/signal.h/conform): Likewise.
1946 (test-xfail-XPG3/stdio.h/conform): Likewise.
1947 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1948 (test-xfail-XPG3/string.h/conform): Likewise.
1949 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1950 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1951 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1952 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1953 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1954 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1955 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1956 (test-xfail-XPG3/termios.h/conform): Likewise.
1957 (test-xfail-XPG3/time.h/conform): Likewise.
1958 (test-xfail-XPG3/unistd.h/conform): Likewise.
1959 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1960 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1961 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1962 (test-xfail-XPG4/netdb.h/conform): Likewise.
1963 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1964 (test-xfail-XPG4/signal.h/conform): Likewise.
1965 (test-xfail-XPG4/stdio.h/conform): Likewise.
1966 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1967 (test-xfail-XPG4/stropts.h/conform): Likewise.
1968 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1969 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1970 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1971 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1972 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1973 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1974 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1975 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1976 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1977 (test-xfail-XPG4/termios.h/conform): Likewise.
1978 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1979 (test-xfail-XPG4/unistd.h/conform): Likewise.
1980 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1981 (test-xfail-POSIX/sched.h/conform): Likewise.
1982 (test-xfail-POSIX/signal.h/conform): Likewise.
1983 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1984 (test-xfail-POSIX/tar.h/conform): Likewise.
1985 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1986 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1987 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1988 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1989 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1990 (test-xfail-UNIX98/sched.h/conform): Likewise.
1991 (test-xfail-UNIX98/signal.h/conform): Likewise.
1992 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1993 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1994 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1995 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1996 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1997 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1998 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1999 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2000 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2001 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2002 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2003 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2004 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2005 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2006 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2007 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2008 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2009 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2010 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2011 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2012 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2013 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2014 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2015 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2016 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2017 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2018 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2019 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2020 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2021 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2022 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2023 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2024 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2025 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2026 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2027 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2028 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2029 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2030 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2031 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2032 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2033 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2034 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2035 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2036 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2037 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2038 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2039 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2040 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2041 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2042 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2043 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2044 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2045 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2046 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2047 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2048 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2049 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2050 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2051 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2052 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2053 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2054 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2055 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2056 (conformtest-cc-flags): Likewise.
2057 ($(conformtest-header-tests): New target.
2058 * conform/check-header-lists.sh: New file.
2059 * conform/run-conformtest.sh: Remove.
2060
2061 * conform/conformtest.pl: Allow ' and \ in values given for
2062 constants.
2063 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2064 inclusion.
2065 [POSIX] (sys/types.h): Likewise.
2066 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2067 inclusion.
2068 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2069 inclusion.
2070 * conform/data/signal.h-data (SIGIO): Remove expectation.
2071 [XPG3] (SIGBUS): Do not expect.
2072 [POSIX || XPG3] (SIGPOLL): Likewise.
2073 [POSIX || XPG3] (SIGPROF): Likewise.
2074 [POSIX || XPG3] (SIGSYS): Likewise.
2075 [XPG3] (SIGTRAP): Likewise.
2076 [POSIX || XPG3] (SIGURG): Likewise.
2077 [POSIX || XPG3] (SIGVTALRM): Likewise.
2078 [POSIX || XPG3] (SIGXCPU): Likewise.
2079 [POSIX || XPG3] (SIGXFSZ): Likewise.
2080 [POSIX] (SA_SIGINFO): Expect.
2081 [XPG3] (siginfo_t): Do not expect type or contents.
2082 [POSIX] (si_pid): Do not expect element.
2083 [POSIX] (si_uid): Likewise.
2084 [POSIX] (si_addr): Likewise.
2085 [POSIX] (si_status): Likewise.
2086 [POSIX] (si_band): Likewise.
2087 [XPG4] (si_value): Likewise.
2088 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2089 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2090 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2091 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2092 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2093 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2094 [POSIX || XPG3] (ILL_COPROC): Likewise.
2095 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2096 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2097 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2098 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2099 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2100 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2101 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2102 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2103 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2104 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2105 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2106 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2107 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2108 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2109 [POSIX || XPG3] (CLD_EXITED): Likewise.
2110 [POSIX || XPG3] (CLD_KILLED): Likewise.
2111 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2112 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2113 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2114 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2115 [POSIX || XPG3] (POLL_IN): Likewise.
2116 [POSIX || XPG3] (POLL_OUT): Likewise.
2117 [POSIX || XPG3] (POLL_MSG): Likewise.
2118 [POSIX || XPG3] (POLL_ERR): Likewise.
2119 [POSIX || XPG3] (POLL_PRI): Likewise.
2120 [POSIX || XPG3] (POLL_HUP): Likewise.
2121 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2122 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2123 (SIG*): Do not allow.
2124 [XPG3] (si_*): Likewise.
2125 [XPG3] (SI_*): Likewise.
2126 [XPG3 || XPG4] (sigev_*): Likewise.
2127 [XPG3 || XPG4] (SIGEV_*): Likewise.
2128 [XPG3 || XPG4] (sival_*): Likewise.
2129 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2130 [POSIX || XPG3] (BUS_*): Likewise.
2131 [POSIX || XPG3] (CLD_*): Likewise.
2132 [POSIX || XPG3] (FPE_*): Likewise.
2133 [POSIX || XPG3] (ILL_*): Likewise.
2134 [POSIX || XPG3] (POLL_*): Likewise.
2135 [POSIX || XPG3] (SEGV_*): Likewise.
2136 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2137 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2138 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2139 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2140 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2141 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2142 Specify type and value.
2143 (TVERSLEN): Likewise.
2144 (REGTYPE): Likewise.
2145 (AREGTYPE): Likewise.
2146 (LNKTYPE): Likewise.
2147 (SYMTYPE): Likewise.
2148 (CHRTYPE): Likewise.
2149 (BLKTYPE): Likewise.
2150 (DIRTYPE): Likewise.
2151 (FIFOTYPE): Likewise.
2152 (CONTTYPE): Likewise.
2153 (TSUID): Likewise.
2154 (TSGID): Likewise.
2155 (TSVTX): Likewise.
2156 (TUREAD): Likewise.
2157 (TUWRITE): Likewise.
2158 (TUEXEC): Likewise.
2159 (TGREAD): Likewise.
2160 (TGWRITE): Likewise.
2161 (TGEXEC): Likewise.
2162 (TOREAD): Likewise.
2163 (TOWRITE): Likewise.
2164 (TOEXEC): Likewise.
2165 [POSIX] (TSVTX): Expect constant.
2166
2167 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2168
2169 * Makefile (tests): Change dependencies to ....
2170 (tests-special): ... additions to this variable.
2171 (tests): Depend on $(tests-special).
2172 * Makerules (check-abi-list): New variable.
2173 (check-abi): Depend on $(check-abi-list).
2174 [$(subdir) = elf] (tests-special): Add
2175 $(objpfx)check-abi-libc.out.
2176 [$(build-shared) = yes && subdir] (tests-special): Add
2177 $(check-abi-list).
2178 [$(build-shared) = yes && subdir] (tests): Do not depend on
2179 check-abi.
2180 * Rules (tests): Depend on $(tests-special).
2181 (xtests): Depend on $(xtests-special).
2182 * catgets/Makefile (tests): Change dependencies to ....
2183 (tests-special): ... additions to this variable.
2184 * conform/Makefile (tests): Change dependencies to ....
2185 (tests-special): ... additions to this variable.
2186 * elf/Makefile (tests): Change dependencies to ....
2187 (tests-special): ... additions to this variable.
2188 * grp/Makefile (tests): Change dependencies to ....
2189 (tests-special): ... additions to this variable.
2190 * iconv/Makefile (xtests): Change dependencies to ....
2191 (xtests-special): ... additions to this variable.
2192 * iconvdata/Makefile (tests): Change dependencies to ....
2193 (tests-special): ... additions to this variable.
2194 * intl/Makefile (tests): Change dependencies to ....
2195 (tests-special): ... additions to this variable. Also add
2196 $(objpfx)tst-gettext.out.
2197 * io/Makefile (tests): Change dependencies to ....
2198 (tests-special): ... additions to this variable.
2199 * libio/Makefile (tests): Change dependencies to ....
2200 (tests-special): ... additions to this variable.
2201 * malloc/Makefile (tests): Change dependencies to ....
2202 (tests-special): ... additions to this variable.
2203 * misc/Makefile (tests): Change dependencies to ....
2204 (tests-special): ... additions to this variable.
2205 * nptl/Makefile (tests): Change dependencies to ....
2206 (tests-special): ... additions to this variable.
2207 * nptl_db/Makefile (tests): Change dependencies to ....
2208 (tests-special): ... additions to this variable.
2209 * posix/Makefile (tests): Change dependencies to ....
2210 (tests-special): ... additions to this variable.
2211 (xtests): Change dependencies to ....
2212 (xtests-special): ... additions to this variable.
2213 * resolv/Makefile (tests): Change dependencies to ....
2214 (tests-special): ... additions to this variable.
2215 (xtests): Change dependencies to ....
2216 (xtests-special): ... additions to this variable.
2217 * stdio-common/Makefile (tests): Change dependencies to ....
2218 (tests-special): ... additions to this variable.
2219 (do-tst-unbputc): Remove target.
2220 (do-tst-printf): Likewise.
2221 * stdlib/Makefile (tests): Change dependencies to ....
2222 (tests-special): ... additions to this variable.
2223 * string/Makefile (tests): Change dependencies to ....
2224 (tests-special): ... additions to this variable.
2225 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2226 (tests-special): ... additions to this variable.
2227
2228 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2229 whole file.
2230 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2231 whole file.
2232 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2233 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2234
2235 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2236 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2237 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2238 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2239 * conform/data/libgen.h-data [XPG3]: Likewise.
2240 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2241 * conform/data/ndbm.h-data [XPG3]: Likewise.
2242 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2243 * conform/data/netdb.h-data [XPG3]: Likewise.
2244 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2245 * conform/data/poll.h-data [XPG3]: Likewise.
2246 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2247 * conform/data/strings.h-data [XPG3]: Likewise.
2248 * conform/data/stropts.h-data [XPG3]: Likewise.
2249 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2250 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2251 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2252 Likewise.
2253 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2254 * conform/data/sys/time.h-data [XPG3]: Likewise.
2255 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2256 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2257 * conform/data/sys/un.h-data [XPG3]: Likewise.
2258 * conform/data/syslog.h-data [XPG3]: Likewise.
2259 * conform/data/ucontext.h-data [XPG3]: Likewise.
2260 * conform/data/utmpx.h-data [XPG3]: Likewise.
2261 * conform/data/varargs.h-data [UNIX98]: Enable file.
2262
2263 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2264
2265 * math/libm-test.inc (struct test_f_f_data): Move expected results
2266 into structure for each rounding mode.
2267 (struct test_ff_f_data): Likewise.
2268 (struct test_ff_f_data_nexttoward): Likewise.
2269 (struct test_fi_f_data): Likewise.
2270 (struct test_fl_f_data): Likewise.
2271 (struct test_if_f_data): Likewise.
2272 (struct test_fff_f_data): Likewise.
2273 (struct test_c_f_data): Likewise.
2274 (struct test_f_f1_data): Likewise.
2275 (struct test_fF_f1_data): Likewise.
2276 (struct test_ffI_f1_data): Likewise.
2277 (struct test_c_c_data): Likewise.
2278 (struct test_cc_c_data): Likewise.
2279 (struct test_f_i_data): Likewise.
2280 (struct test_ff_i_data): Likewise.
2281 (struct test_f_l_data): Likewise.
2282 (struct test_f_L_data): Likewise.
2283 (struct test_fFF_11_data): Likewise.
2284 (RM_): New macro.
2285 (RM_FE_DOWNWARD): Likewise.
2286 (RM_FE_TONEAREST): Likewise.
2287 (RM_FE_TOWARDZERO): Likewise.
2288 (RM_FE_UPWARD): Likewise.
2289 (RUN_TEST_LOOP_f_f): Update references to expected results.
2290 (RUN_TEST_LOOP_2_f): Likewise.
2291 (RUN_TEST_LOOP_fff_f): Likewise.
2292 (RUN_TEST_LOOP_c_f): Likewise.
2293 (RUN_TEST_LOOP_f_f1): Likewise.
2294 (RUN_TEST_LOOP_fF_f1): Likewise.
2295 (RUN_TEST_LOOP_fI_f1): Likewise.
2296 (RUN_TEST_LOOP_ffI_f1): Likewise.
2297 (RUN_TEST_LOOP_c_c): Likewise.
2298 (RUN_TEST_LOOP_cc_c): Likewise.
2299 (RUN_TEST_LOOP_f_i): Likewise.
2300 (RUN_TEST_LOOP_f_i_tg): Likewise.
2301 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2302 (RUN_TEST_LOOP_f_b): Likewise.
2303 (RUN_TEST_LOOP_f_b_tg): Likewise.
2304 (RUN_TEST_LOOP_f_l): Likewise.
2305 (RUN_TEST_LOOP_f_L): Likewise.
2306 (RUN_TEST_LOOP_fFF_11): Likewise.
2307 * math/gen-libm-test.pl (parse_args): Output four copies of
2308 expected results for each test.
2309
2310 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2311 (__ASSUME_UTIMES): Remove.
2312 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2313 (__ASSUME_UTIMES): Likewise.
2314
2315 * math/gen-auto-libm-tests.c: Update comment on output format.
2316 (output_for_one_input_case): Generate before-rounding and
2317 after-rounding information as conditions on output flags not
2318 floating-point format.
2319 * math/auto-libm-test-out: Regenerated.
2320 * math/gen-libm-test.pl (cond_value): New function.
2321 (or_cond_value): Use cond_value.
2322 (generate_testfile): Handle conditional exceptions.
2323
2324 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2325
2326 * math/libm-test.inc (max_valid_error): New variable.
2327 (init_max_error): Take new argument specifying whether function
2328 results are exactly determined. Set max_valid_error and bound
2329 other variables for errors based on this argument.
2330 (set_max_error): Do not record results above max_valid_error.
2331 (check_float_internal): Only accept errors of up to 0.5ulps if
2332 also at most max_valid_error.
2333 (START): Take new argument EXACT and pass it to init_max_error.
2334 (acos_test): Update call to START.
2335 (acos_test_tonearest): Likewise.
2336 (acos_test_towardzero): Likewise.
2337 (acos_test_downward): Likewise.
2338 (acos_test_upward): Likewise.
2339 (acosh_test): Likewise.
2340 (asin_test): Likewise.
2341 (asin_test_tonearest): Likewise.
2342 (asin_test_towardzero): Likewise.
2343 (asin_test_downward): Likewise.
2344 (asin_test_upward): Likewise.
2345 (asinh_test): Likewise.
2346 (atan_test): Likewise.
2347 (atanh_test): Likewise.
2348 (atan2_test): Likewise.
2349 (cabs_test): Likewise.
2350 (cacos_test): Likewise.
2351 (cacosh_test): Likewise.
2352 (carg_test): Likewise.
2353 (casin_test): Likewise.
2354 (casinh_test): Likewise.
2355 (catan_test): Likewise.
2356 (catanh_test): Likewise.
2357 (cbrt_test): Likewise.
2358 (ccos_test): Likewise.
2359 (ccosh_test): Likewise.
2360 (ceil_test): Likewise.
2361 (cexp_test): Likewise.
2362 (cimag_test): Likewise.
2363 (clog_test): Likewise.
2364 (clog10_test): Likewise.
2365 (conj_test): Likewise.
2366 (copysign_test): Likewise.
2367 (cos_test): Likewise.
2368 (cos_test_tonearest): Likewise.
2369 (cos_test_towardzero): Likewise.
2370 (cos_test_downward): Likewise.
2371 (cos_test_upward): Likewise.
2372 (cosh_test): Likewise.
2373 (cosh_test_tonearest): Likewise.
2374 (cosh_test_towardzero): Likewise.
2375 (cosh_test_downward): Likewise.
2376 (cosh_test_upward): Likewise.
2377 (cpow_test): Likewise.
2378 (cproj_test): Likewise.
2379 (creal_test): Likewise.
2380 (csin_test): Likewise.
2381 (csinh_test): Likewise.
2382 (csqrt_test): Likewise.
2383 (ctan_test): Likewise.
2384 (ctan_test_tonearest): Likewise.
2385 (ctan_test_towardzero): Likewise.
2386 (ctan_test_downward): Likewise.
2387 (ctan_test_upward): Likewise.
2388 (ctanh_test): Likewise.
2389 (ctanh_test_tonearest): Likewise.
2390 (ctanh_test_towardzero): Likewise.
2391 (ctanh_test_downward): Likewise.
2392 (ctanh_test_upward): Likewise.
2393 (erf_test): Likewise.
2394 (erfc_test): Likewise.
2395 (exp_test): Likewise.
2396 (exp_test_tonearest): Likewise.
2397 (exp_test_towardzero): Likewise.
2398 (exp_test_downward): Likewise.
2399 (exp_test_upward): Likewise.
2400 (exp10_test): Likewise.
2401 (exp10_test_tonearest): Likewise.
2402 (exp10_test_towardzero): Likewise.
2403 (exp10_test_downward): Likewise.
2404 (exp10_test_upward): Likewise.
2405 (pow10_test): Likewise.
2406 (exp2_test): Likewise.
2407 (expm1_test): Likewise.
2408 (expm1_test_tonearest): Likewise.
2409 (expm1_test_towardzero): Likewise.
2410 (expm1_test_downward): Likewise.
2411 (expm1_test_upward): Likewise.
2412 (fabs_test): Likewise.
2413 (fdim_test): Likewise.
2414 (floor_test): Likewise.
2415 (fma_test): Likewise.
2416 (fma_test_towardzero): Likewise.
2417 (fma_test_downward): Likewise.
2418 (fma_test_upward): Likewise.
2419 (fmax_test): Likewise.
2420 (fmin_test): Likewise.
2421 (fmod_test): Likewise.
2422 (fpclassify_test): Likewise.
2423 (frexp_test): Likewise.
2424 (hypot_test): Likewise.
2425 (ilogb_test): Likewise.
2426 (isfinite_test): Likewise.
2427 (finite_test): Likewise.
2428 (isgreater_test): Likewise.
2429 (isgreaterequal_test): Likewise.
2430 (isinf_test): Likewise.
2431 (isless_test): Likewise.
2432 (islessequal_test): Likewise.
2433 (islessgreater_test): Likewise.
2434 (isnan_test): Likewise.
2435 (isnormal_test): Likewise.
2436 (issignaling_test): Likewise.
2437 (isunordered_test): Likewise.
2438 (j0_test): Likewise.
2439 (j1_test): Likewise.
2440 (jn_test): Likewise.
2441 (ldexp_test): Likewise.
2442 (lgamma_test): Likewise.
2443 (gamma_test): Likewise.
2444 (lrint_test): Likewise.
2445 (lrint_test_tonearest): Likewise.
2446 (lrint_test_towardzero): Likewise.
2447 (lrint_test_downward): Likewise.
2448 (lrint_test_upward): Likewise.
2449 (llrint_test): Likewise.
2450 (llrint_test_tonearest): Likewise.
2451 (llrint_test_towardzero): Likewise.
2452 (llrint_test_downward): Likewise.
2453 (llrint_test_upward): Likewise.
2454 (log_test): Likewise.
2455 (log10_test): Likewise.
2456 (log1p_test): Likewise.
2457 (log2_test): Likewise.
2458 (logb_test): Likewise.
2459 (logb_test_downward): Likewise.
2460 (lround_test): Likewise.
2461 (llround_test): Likewise.
2462 (modf_test): Likewise.
2463 (nearbyint_test): Likewise.
2464 (nextafter_test): Likewise.
2465 (nexttoward_test): Likewise.
2466 (pow_test): Likewise.
2467 (pow_test_tonearest): Likewise.
2468 (pow_test_towardzero): Likewise.
2469 (pow_test_downward): Likewise.
2470 (pow_test_upward): Likewise.
2471 (remainder_test): Likewise.
2472 (drem_test): Likewise.
2473 (remainder_test_tonearest): Likewise.
2474 (drem_test_tonearest): Likewise.
2475 (remainder_test_towardzero): Likewise.
2476 (drem_test_towardzero): Likewise.
2477 (remainder_test_downward): Likewise.
2478 (drem_test_downward): Likewise.
2479 (remainder_test_upward): Likewise.
2480 (drem_test_upward): Likewise.
2481 (remquo_test): Likewise.
2482 (rint_test): Likewise.
2483 (rint_test_tonearest): Likewise.
2484 (rint_test_towardzero): Likewise.
2485 (rint_test_downward): Likewise.
2486 (rint_test_upward): Likewise.
2487 (round_test): Likewise.
2488 (scalb_test): Likewise.
2489 (scalbn_test): Likewise.
2490 (scalbln_test): Likewise.
2491 (signbit_test): Likewise.
2492 (sin_test): Likewise.
2493 (sin_test_tonearest): Likewise.
2494 (sin_test_towardzero): Likewise.
2495 (sin_test_downward): Likewise.
2496 (sin_test_upward): Likewise.
2497 (sincos_test): Likewise.
2498 (sinh_test): Likewise.
2499 (sinh_test_tonearest): Likewise.
2500 (sinh_test_towardzero): Likewise.
2501 (sinh_test_downward): Likewise.
2502 (sinh_test_upward): Likewise.
2503 (sqrt_test): Likewise.
2504 (sqrt_test_tonearest): Likewise.
2505 (sqrt_test_towardzero): Likewise.
2506 (sqrt_test_downward): Likewise.
2507 (sqrt_test_upward): Likewise.
2508 (tan_test): Likewise.
2509 (tan_test_tonearest): Likewise.
2510 (tan_test_towardzero): Likewise.
2511 (tan_test_downward): Likewise.
2512 (tan_test_upward): Likewise.
2513 (tanh_test): Likewise.
2514 (tgamma_test): Likewise.
2515 (trunc_test): Likewise.
2516 (y0_test): Likewise.
2517 (y1_test): Likewise.
2518 (yn_test): Likewise.
2519 (significand_test): Likewise.
2520
2521 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2522 individual tests in comment.
2523 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2524 (prev_max_error): New variable.
2525 (prev_real_max_error): Likewise.
2526 (prev_imag_max_error): Likewise.
2527 (compare_ulp_data): Don't refer to test names in comment.
2528 (find_test_ulps): Remove function.
2529 (find_function_ulps): Likewise.
2530 (find_complex_function_ulps): Likewise.
2531 (init_max_error): Take function name as argument. Look up ulps
2532 for that function.
2533 (print_ulps): Remove function.
2534 (print_max_error): Use prev_max_error instead of calling
2535 find_function_ulps.
2536 (print_complex_max_error): Use prev_real_max_error and
2537 prev_imag_max_error instead of calling find_complex_function_ulps.
2538 (check_float_internal): Take max_ulp parameter instead of calling
2539 find_test_ulps. Don't call print_ulps.
2540 (check_float): Update call to check_float_internal.
2541 (check_complex): Update calls to check_float_internal.
2542 (START): Pass argument to init_max_error.
2543 * math/gen-libm-test.pl (%results): Don't include "kind"
2544 information.
2545 (parse_ulps): Don't handle ulps of individual tests.
2546 (print_ulps_file): Likewise.
2547 (output_ulps): Likewise.
2548 * math/README.libm-test: Update.
2549 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2550 individual tests.
2551 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2552 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2553 * sysdeps/arm/libm-test-ulps: Likewise.
2554 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2555 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2556 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2557 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2558 * sysdeps/microblaze/libm-test-ulps: Likewise.
2559 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2560 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2561 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2562 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2563 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2564 * sysdeps/sh/libm-test-ulps: Likewise.
2565 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2566 * sysdeps/tile/libm-test-ulps: Likewise.
2567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2568
2569 2014-03-04 Joseph Myers <joseph@codesourcery.com>
2570
2571 * math/libm-test.inc (print_complex_max_error): Check separately
2572 whether real and imaginary errors are within allowed range and
2573 pass 0 to print_complex_function_ulps instead of value within
2574 allowed range.
2575
2576 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2577
2578 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2579 formatting.
2580 (get_handles_fopen): Likewise.
2581 (do_write_test): Likewise.
2582
2583 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2584
2585 * libio/fileops.c (do_ftell): Use cached offset when
2586 available.
2587 * libio/iofwide.c (do_ftell_wide): Likewise.
2588 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2589 _IO_file_attach.
2590 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2591
2592 [BZ #16532]
2593 * libio/libioP.h (get_file_offset): New function.
2594 * libio/fileops.c (get_file_offset): Likewise.
2595 (do_ftell): Likewise.
2596 (_IO_new_file_seekoff): Split out ftell logic.
2597 * libio/wfileops.c (do_ftell_wide): Likewise.
2598 (_IO_wfile_seekoff): Split out ftell logic.
2599 * libio/tst-ftell-active-handler.c: New test case.
2600 * libio/Makefile (tests): Add it.
2601
2602 2014-03-03 Roland McGrath <roland@hack.frob.com>
2603
2604 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2605 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2606
2607 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2608
2609 [BZ #16639]
2610 * nscd/connections.c (nscd_init): Call do_exit.
2611 (start_threads): Call do_exit and notify_parent.
2612 (begin_drop_privileges): Call do_exit.
2613 (finish_drop_privileges): Likewise.
2614 * nscd/selinux.c (preserve_capabilities): Likewise.
2615 (install_real_capabilities): Likewise.
2616 (nscd_selinux_enabled): Likewise.
2617 (avc_create_thread): Likewise.
2618 (avc_alloc_lock): Likewise.
2619 (nscd_avc_init): Likewise.
2620 * nscd/nscd.c (parent_fd): New static variable.
2621 (main): Create a pipe between parent and child processes.
2622 Skip closing parent_fd.
2623 (monitor_child): New function.
2624 (do_exit): Likewise.
2625 (notify_parent): Likewise.
2626 * nscd/nscd.h (notify_parent): Likewise.
2627 (do_exit): Likewise.
2628
2629 2014-03-03 Carlos O'Donell <carlos@redhat.com>
2630
2631 * malloc/malloc.c (__libc_calloc): Revert last change.
2632
2633 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2634
2635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2636
2637 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2638
2639 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2641 implementation.
2642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2643 (__libc_ifunc_impl_list): Likewise.
2644 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2645 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2646 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2647 * string/strrchr.c: Define STRRCHR.
2648
2649 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
2650
2651 * benchtest/bench-strtok.c (simple_strtok): Delete.
2652 (strtok_string): Use as benchmark.
2653 * string/strtok (STRTOK): New macro.
2654
2655 2014-02-28 Carlos O'Donell <carlos@redhat.com>
2656
2657 * manual/threads.texi: Add header and standard comments to all
2658 functions.
2659
2660 * elf/dl-lookup.c (check_match): New function.
2661 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2662 (do_lookup_x): Remove nested function check_match. Use non-nested
2663 function check_match.
2664
2665 2014-02-28 Roland McGrath <roland@hack.frob.com>
2666
2667 * csu/Makefile (generated, before-compile): Use += rather than =.
2668 * catgets/Makefile (generated, generated-dirs): Likewise.
2669 * debug/Makefile (generated): Likewise.
2670 * dlfcn/Makefile (generated): Likewise.
2671 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2672 * iconvdata/Makefile (before-compile, generated): Likewise.
2673 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2674 * libio/Makefile (generated): Likewise.
2675 * malloc/Makefile (generated): Likewise.
2676 * manual/Makefile (generated, generated-dirs): Likewise.
2677 * misc/Makefile (generated): Likewise.
2678 * posix/Makefile (generated): Likewise.
2679 * resolv/Makefile (generated): Likewise.
2680 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2681 * timezone/Makefile (generated, generated-dirs): Likewise.
2682
2683 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2684
2685 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2686
2687 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2688 implementation.
2689 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2690 POWER8 llround ifunc implementation.
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2692 POWER8 implementation.
2693 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2694 POWER8 llround implementation.
2695
2696 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2697
2698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2699 implementation.
2700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2701 POWER8 llrint ifunc implementation.
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2703 POWER8 implementation.
2704 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2705 POWER8 llrint implementation.
2706
2707 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2708
2709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2710 implementation.
2711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2712 POWER8 finite ifunc implementation.
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2714 POWER8 implementation.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2716 Likewise.
2717 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2718 POWER8 finite implementation.
2719 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2720
2721 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2722
2723 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2724 implementation.
2725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2726 POWER8 isinf ifunc implementation.
2727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2728 POWER8 implementation.
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2730 Likewise.
2731 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2732 POWER8 isinf implementation.
2733 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2734
2735 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2736
2737 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2738 Add hwcap2 initialization.
2739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2740 implementation.
2741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2742 POWER8 isnan ifunc implementation.
2743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2744 POWER8 implementation.
2745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2746 Likewise.
2747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2748 POWER8 isnan implementation.
2749 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2750
2751 2014-02-27 Joey Ye <joey.ye@arm.com>
2752
2753 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2754 (_FP_NANFRAC_Q): Set to zero.
2755
2756 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2757
2758 [BZ #16623]
2759 * math/auto-libm-test-in: New test inputs.
2760 * math/auto-libm-test-out: Regenerate.
2761 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2762 and DA.
2763 (__cos): Likewise.
2764 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2765
2766 2014-02-27 Joseph Myers <joseph@codesourcery.com>
2767
2768 * scripts/evaluate-test.sh: Take new argument indicating whether
2769 failure is expected.
2770 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2771 indicating whether failure is expected.
2772 * conform/Makefile (test-xfail-run-conformtest): New variable.
2773 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2774 level.
2775 * posix/Makefile (test-xfail-annexc): New variable.
2776 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2777
2778 2014-02-26 Joseph Myers <joseph@codesourcery.com>
2779
2780 * argp/Makefile: Include Makeconfig immediately after defining
2781 subdir.
2782 * assert/Makefile: Likewise.
2783 * benchtests/Makefile: Likewise.
2784 * catgets/Makefile: Likewise.
2785 * conform/Makefile: Likewise.
2786 * crypt/Makefile: Likewise.
2787 * csu/Makefile: Likewise.
2788 (all): Remove target.
2789 * ctype/Makefile: Include Makeconfig immediately after defining
2790 subdir.
2791 * debug/Makefile: Likewise.
2792 * dirent/Makefile: Likewise.
2793 * dlfcn/Makefile: Likewise.
2794 * gmon/Makefile: Likewise.
2795 * gnulib/Makefile: Likewise.
2796 * grp/Makefile: Likewise.
2797 * gshadow/Makefile: Likewise.
2798 * hesiod/Makefile: Likewise.
2799 * hurd/Makefile: Likewise.
2800 (all): Remove target.
2801 * iconvdata/Makefile: Include Makeconfig immediately after
2802 defining subdir.
2803 * inet/Makefile: Likewise.
2804 * intl/Makefile: Likewise.
2805 * io/Makefile: Likewise.
2806 * libio/Makefile: Likewise.
2807 (all): Remove target.
2808 * locale/Makefile: Include Makeconfig immediately after defining
2809 subdir.
2810 * login/Makefile: Likewise.
2811 * mach/Makefile: Likewise.
2812 (all): Remove target.
2813 * malloc/Makefile: Include Makeconfig immediately after defining
2814 subdir.
2815 (all): Remove target.
2816 * manual/Makefile: Include Makeconfig immediately after defining
2817 subdir.
2818 * math/Makefile: Likewise.
2819 * misc/Makefile: Likewise.
2820 * nis/Makefile: Likewise.
2821 * nss/Makefile: Likewise.
2822 * po/Makefile: Likewise.
2823 (all): Remove target.
2824 * posix/Makefile: Include Makeconfig immediately after defining
2825 subdir.
2826 * pwd/Makefile: Likewise.
2827 * resolv/Makefile: Likewise.
2828 * resource/Makefile: Likewise.
2829 * rt/Makefile: Likewise.
2830 * setjmp/Makefile: Likewise.
2831 * shadow/Makefile: Likewise.
2832 * signal/Makefile: Likewise.
2833 * socket/Makefile: Likewise.
2834 * soft-fp/Makefile: Likewise.
2835 * stdio-common/Makefile: Likewise.
2836 * stdlib/Makefile: Likewise.
2837 * streams/Makefile: Likewise.
2838 * string/Makefile: Likewise.
2839 * sunrpc/Makefile: Likewise.
2840 (all): Remove target.
2841 * sysvipc/Makefile: Include Makeconfig immediately after defining
2842 subdir.
2843 * termios/Makefile: Likewise.
2844 * time/Makefile: Likewise.
2845 * timezone/Makefile: Likewise.
2846 (all): Remove target.
2847 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2848 subdir.
2849 * wctype/Makefile: Likewise.
2850
2851 2014-02-26 Steve Ellcey <sellcey@mips.com>
2852
2853 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2854 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2855 (libc_feholdexcept_setround_mips): Ditto.
2856 (libc_feholdsetround): New.
2857 (libc_feholdsetroundf): New.
2858 (libc_feholdsetroundl): New.
2859 (libc_feupdateenv_test_mips): New.
2860 (libc_feupdateenv_test): New.
2861 (libc_feupdateenv_testf): New.
2862 (libc_feupdateenv_testl): New.
2863 (libc_feresetround): New.
2864 (libc_feresetroundf): New.
2865 (libc_feresetroundl): New.
2866 (libc_fetestexcept_mips): New.
2867 (libc_fetestexcept): New.
2868 (libc_fetestexceptf): New.
2869 (libc_fetestexceptl): New.
2870 (HAVE_RM_CTX): New.
2871 (libc_feholdexcept_setround_mips_ctx): New.
2872 (libc_feholdexcept_setround_ctx): New.
2873 (libc_feholdexcept_setroundf_ctx): New.
2874 (libc_feholdexcept_setroundl_ctx): New.
2875 (libc_fesetenv_mips_ctx): New.
2876 (libc_fesetenv_ctx): New.
2877 (libc_fesetenv_ctxf): New.
2878 (libc_fesetenv_ctxl): New.
2879 (libc_feupdateenv_mips_ctx): New.
2880 (libc_feupdateenv_ctx): New.
2881 (libc_feupdateenvf_ctx): New.
2882 (libc_feupdateenvl_ctx): New.
2883 (libc_feholdsetround_mips_ctx): New.
2884 (libc_feholdsetround_ctx): New.
2885 (libc_feholdsetroundf_ctx): New.
2886 (libc_feholdsetroundl_ctx): New.
2887 (libc_feresetround_mips_ctx): New.
2888 (libc_feresetround_ctx): New.
2889 (libc_feresetroundf_ctx): New.
2890 (libc_feresetroundl_ctx): New.
2891
2892 2014-02-26 Carlos O'Donell <carlos@redhat.com>
2893
2894 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2895
2896 * manual/ipc.texi: New file.
2897 * manual/Makefile (chapters): Add ipc.
2898 * manual/job.texi: Add "Inter-Process Communication" to next.
2899 * manual/process.texi: Add "Inter-Process Communication" to prev.
2900
2901 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2902
2903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2904
2905 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
2906
2907 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2908
2909 * manual/arith.texi: Fix spaces after sentences.
2910 * manual/charset.texi: Likewise.
2911 * manual/errno.texi: Likewise.
2912 * manual/install.texi: Likewise.
2913 * manual/llio.texi: Likewise.
2914 * manual/locale.texi: Likewise.
2915 * manual/maint.texi: Likewise.
2916 * manual/math.texi: Likewise.
2917 * manual/memory.texi: Likewise.
2918 * manual/message.texi: Likewise.
2919 * manual/probes.texi: Likewise.
2920 * manual/resource.texi: Likewise.
2921 * manual/signal.texi: Likewise.
2922 * manual/socket.texi: Likewise.
2923 * manual/stdio.texi: Likewise.
2924 * manual/string.texi: Likewise.
2925 * manual/time.texi: Likewise.
2926 * manual/users.texi: Likewise.
2927
2928 2014-02-25 Carlos O'Donell <carlos@redhat.com>
2929
2930 [BZ #16632]
2931 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2932 _DEFAULT_SOURCE is defined.
2933
2934 2014-02-25 Ulrich Drepper <drepper@gmail.com>
2935 Carlos O'Donell <carlos@redhat.com>
2936
2937 [BZ #16613]
2938 * elf/dl-tls.c (_dl_count_modids): New function.
2939 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2940 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2941 audit library and increment generation counter.
2942 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2943 * elf/tst-audit9.c: New file.
2944 * elf/tst-auditmod9a.c: New file.
2945 * elf/tst-auditmod9b.c: New file.
2946 * elf/Makefile: Add rules to build and run tst-audit9.
2947
2948 2014-02-25 Florian Weimer <fweimer@redhat.com>
2949
2950 [BZ #15347]
2951 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2952
2953 2014-02-25 Will Newton <will.newton@linaro.org>
2954
2955 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2956 (__longjmp): Restore sp and lr before restoring callee
2957 saved registers. Add longjmp and longjmp_target
2958 SystemTap probe point.
2959 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2960 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2961 Define to zero to match jmpbuf layout.
2962 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2963 (__sigsetjmp): Save sp and lr before saving callee
2964 saved registers. Add setjmp SystemTap probe point.
2965
2966 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2967
2968 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2969
2970 2014-02-24 Andreas Schwab <schwab@suse.de>
2971
2972 [BZ #15804]
2973 * elf/pldd.c (wait_for_ptrace_stop): New function.
2974 (main): Call it after attaching.
2975
2976 2014-02-22 Roland McGrath <roland@hack.frob.com>
2977
2978 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2979 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2980 Versions files is now verboten.
2981 * hurd/Versions (libc: GLIBC_2.0):
2982 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2983 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2984 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2985 * mach/Versions: Likewise.
2986
2987 * csu/Versions: Remove unused %include.
2988 * resolv/Versions: Likewise.
2989
2990 2014-02-21 Joseph Myers <joseph@codesourcery.com>
2991
2992 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2993 ($(objpfx)check-local-headers.out): Likewise.
2994 ($(objpfx)begin-end-check.out): Likewise.
2995 * Makerules (check-abi-%.out): Likewise.
2996 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2997 ($(objpfx)test2.cat): Likewise.
2998 ($(objpfx)de/libc.cat): Likewise.
2999 ($(objpfx)test-gencat.out): Likewise.
3000 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3001 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3002 ($(objpfx)noload-mem): Likewise.
3003 ($(objpfx)tst-pathopt.out): Likewise.
3004 ($(objpfx)tst-rtld-load-self.out): Likewise.
3005 ($(objpfx)tst-array1-cmp.out): Likewise.
3006 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3007 ($(objpfx)tst-array2-cmp.out): Likewise.
3008 ($(objpfx)tst-array3-cmp.out): Likewise.
3009 ($(objpfx)tst-array4-cmp.out): Likewise.
3010 ($(objpfx)tst-array5-cmp.out): Likewise.
3011 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3012 ($(objpfx)check-textrel.out): Likewise.
3013 ($(objpfx)check-execstack.out): Likewise.
3014 ($(objpfx)check-localplt.out): Likewise.
3015 ($(objpfx)order2-cmp.out): Likewise.
3016 ($(objpfx)tst-leaks1-mem): Likewise.
3017 ($(objpfx)tst-leaks1-static-mem): Likewise.
3018 ($(objpfx)tst-initorder-cmp.out): Likewise.
3019 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3020 ($(objpfx)tst-unused-dep.out): Likewise.
3021 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3022 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3023 * iconv/Makefile (test-iconvconfig): Likewise.
3024 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3025 ($(objpfx)iconv-test.out): Likewise.
3026 ($(objpfx)tst-tables.out): Likewise.
3027 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3028 ($(objpfx)tst-gettext.out): Likewise.
3029 ($(objpfx)tst-translit.out): Likewise.
3030 ($(objpfx)tst-gettext2.out): Likewise.
3031 ($(objpfx)tst-gettext4.out): Likewise.
3032 ($(objpfx)tst-gettext6.out): Likewise.
3033 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3034 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3035 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3036 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3037 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3038 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3039 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3040 ($(objpfx)wordexp-tst.out): Likewise.
3041 ($(objpfx)annexc.out): Likewise.
3042 ($(objpfx)tst-fnmatch-mem): Likewise.
3043 ($(objpfx)bug-regex2-mem): Likewise.
3044 ($(objpfx)bug-regex14-mem): Likewise.
3045 ($(objpfx)bug-regex21-mem): Likewise.
3046 ($(objpfx)bug-regex31-mem): Likewise.
3047 ($(objpfx)tst-vfork3-mem): Likewise.
3048 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3049 ($(objpfx)tst-pcre-mem): Likewise.
3050 ($(objpfx)tst-boost-mem): Likewise.
3051 ($(objpfx)tst-getconf.out): Likewise.
3052 ($(objpfx)bug-ga2-mem): Likewise.
3053 ($(objpfx)bug-glob2-mem): Likewise.
3054 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3055 ($(objpfx)mtrace-tst-leaks2): Likewise.
3056 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3057 ($(objpfx)tst-printf.out): Likewise.
3058 ($(objpfx)tst-setvbuf1.out): Likewise.
3059 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3060 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3061 ($(objpfx)tst-fmtmsg.out): Likewise.
3062 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3063 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3064
3065 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3066 * bits/sigaction.h [__USE_MISC]: Likewise.
3067 * bits/waitstatus.h: Update #endif comments.
3068 * ctype/ctype.h: Likewise.
3069 * dirent/dirent.h: Likewise.
3070 [__USE_MISC]: Remove redundant conditionals.
3071 * grp/grp.h: Update #endif comments.
3072 [__USE_GNU]: Remove redundant conditionals.
3073 [__USE_MISC]: Likewise.
3074 * inet/netinet/in.h [__USE_GNU]: Likewise.
3075 * io/sys/stat.h [__USE_MISC]: Likewise.
3076 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3077 * libio/bits/stdio.h: Update #endif comments.
3078 [__USE_MISC]: Remove redundant conditionals.
3079 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3080 * libio/stdio.h: Update #endif comments.
3081 [__USE_MISC]: Remove redundant conditionals.
3082 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3083 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3084 * math/math.h: Update #else and #endif comments.
3085 [__USE_MISC]: Remove redundant conditionals.
3086 * misc/sys/uio.h: Update #endif comments.
3087 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3088 * posix/glob.h [__USE_MISC]: Likewise.
3089 * posix/sys/types.h: Update #endif comments.
3090 [__USE_MISC]: Remove redundant conditionals.
3091 * posix/sys/wait.h: Update #endif comments.
3092 [__USE_MISC]: Remove redundant conditionals.
3093 * posix/unistd.h: Update #endif comments.
3094 [__USE_MISC]: Remove redundant conditionals.
3095 * pwd/pwd.h [__USE_GNU]: Likewise.
3096 [__USE_MISC]: Likewise.
3097 * resolv/netdb.h [__USE_GNU]: Likewise.
3098 * signal/signal.h: Update #endif comments.
3099 [__USE_MISC]: Remove redundant conditionals.
3100 * stdlib/stdlib.h: Update #else and #endif comments.
3101 [__USE_MISC]: Remove redundant conditionals.
3102 [__USE_GNU]: Likewise.
3103 * string/bits/string2.h [__USE_MISC]: Likewise.
3104 * string/string.h: Update #endif comments.
3105 [__USE_MISC]: Remove redundant conditionals.
3106 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3107 Likewise.
3108 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3109 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3110 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3111 Likewise.
3112 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3113 Likewise.
3114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3115 comments.
3116 [__USE_MISC]: Remove redundant conditionals.
3117 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3118 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3119 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3120 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3121 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3122 Likewise.
3123 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3124 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3125 Likewise.
3126 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3127 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3128 Likewise.
3129 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3130 Likewise.
3131 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3132 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3133 Likewise.
3134 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3135 Likewise.
3136 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3137 * sysdeps/x86/bits/string.h: Update #endif comments.
3138 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3139 conditionals.
3140 * time/sys/time.h: Update #endif comments.
3141 * time/time.h: Likewise.
3142 [__USE_MISC]: Remove redundant conditionals.
3143
3144 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3145
3146 [BZ #16600]
3147 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3148
3149 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3150
3151 * Versions.def (librt): Add GLIBC_2.17.
3152
3153 2014-02-21 Adam Conrad <adconrad@0c3.net>
3154
3155 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3156 synonym for _SYS_AUXV_H to allow direct inclusion.
3157 * sysdeps/sparc/bits/hwcap.h: Likewise.
3158 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3159 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3160 * sysdeps/sparc/sysdep.h: Likewise.
3161
3162 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3163
3164 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3165
3166 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3167
3168 * benchtests/bench-strrchr.c: Print length instead of position.
3169
3170 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #16611]
3173 * sysdeps/unix/sysv/linux/kernel-features.h
3174 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3175 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3176 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3177 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3178 Likewise.
3179 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3180 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3181 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3182 (__ASSUME_SENDMMSG): Define instead of using previous
3183 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3184 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3185 (__ASSUME_SENDMMSG_SYSCALL): Define.
3186 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3187 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3188 Likewise.
3189 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3190 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3191 Likewise.
3192 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3193 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3196 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3197 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3198 [__ASSUME_SENDMMSG]: Change conditionals to
3199 [__ASSUME_SENDMMSG_SOCKETCALL].
3200 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3201 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3202 Define.
3203 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3204 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3205 Likewise.
3206 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3207 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3208 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3209 [!__ASSUME_SENDMMSG]: Change conditional to
3210 [!__ASSUME_SENDMMSG_SOCKETCALL].
3211 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3212 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3213 Define.
3214
3215 [BZ #16610]
3216 * sysdeps/unix/sysv/linux/kernel-features.h
3217 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3218 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3219 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3220 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3221 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3222 [__i386__ || __sparc__]
3223 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3224 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3225 (__ASSUME_RECVMMSG): Define instead of using previous
3226 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3227 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3228 (__ASSUME_RECVMMSG_SYSCALL): Define.
3229 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3230 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3231 Likewise.
3232 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3233 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3234 Likewise.
3235 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3236 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3237 Likewise.
3238 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3239 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3240 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3241 [__ASSUME_RECVMMSG]: Change condition to
3242 [__ASSUME_RECVMMSG_SOCKETCALL].
3243 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3244 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3245 Define.
3246 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3247 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3248 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3249 Likewise.
3250 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3251 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3252 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3253 [!__ASSUME_RECVMMSG]: Change condition to
3254 [!__ASSUME_RECVMMSG_SOCKETCALL].
3255 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3256 (__ASSUME_RECVMMSG_SYSCALL): Define.
3257
3258 [BZ #16609]
3259 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3260 __powerpc__ || __s390__ || __sh__ || __sparc__]
3261 (__ASSUME_SOCKETCALL): Define.
3262 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3263 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3264 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3265 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3266 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3267 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3268 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3269 (__ASSUME_ACCEPT4): Define instead of using previous
3270 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3271 __powerpc__ || __sparc__ || __s390__)] condition.
3272 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3273 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3274 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3275 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3276 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3277 [!__ASSUME_ACCEPT4]: Change condition to
3278 [!__ASSUME_ACCEPT4_SOCKETCALL].
3279 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3280 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3281 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3282 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3283 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3284 __ASSUME_ACCEPT4_SYSCALL.
3285 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3286 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3287 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3288 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3289 __ASSUME_ACCEPT4_SYSCALL.
3290 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3291 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3292 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3293 [__ASSUME_ACCEPT4]: Change condition to
3294 [__ASSUME_ACCEPT4_SOCKETCALL].
3295 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3296 (__ASSUME_SOCKETCALL): Define.
3297 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3298 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3299 (__ASSUME_SOCKETCALL): Define.
3300 (__ASSUME_ACCEPT4): Remove.
3301 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3302 Define.
3303 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3304 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3305 Likewise.
3306 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3307 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3308
3309 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3310 macro.
3311 (HWCAP_ARM_LPAE): Likewise.
3312 (HWCAP_ARM_EVTSTRM): Likewise.
3313 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3314 Add vpfd32, lpae and evtstrm.
3315 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3316 Increase to 22.
3317
3318 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3319
3320 * math/auto-libm-test-in: Add tests of clog10.
3321 * math/auto-libm-test-out: Regenerated.
3322 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3323 * sysdeps/i386/fpu/libm-test-ulps: Update.
3324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3325
3326 2014-02-18 Andreas Schwab <schwab@suse.de>
3327
3328 [BZ #16574]
3329 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3330 Store non-zero if the second buffer was newly allocated.
3331 (send_dg): Likewise.
3332 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3333 to send_vc and send_dg.
3334 (res_nsend): Pass NULL for ansp2_malloced.
3335 * resolv/res_query.c (__libc_res_nquery): Add parameter
3336 answerp2_malloced and pass it down to __libc_res_nsend.
3337 (res_nquery): Pass additional NULL to __libc_res_nquery.
3338 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3339 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3340 second answer buffer if answerp2_malloced was set.
3341 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3342 (__libc_res_nquerydomain): Add parameter
3343 answerp2_malloced and pass it down to __libc_res_nquery.
3344 (res_nquerydomain): Pass additional NULL to
3345 __libc_res_nquerydomain.
3346 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3347 additional NULL to __libc_res_nsend and __libc_res_nquery.
3348 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3349 additional NULL to __libc_res_nsearch.
3350 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3351 parameter of __libc_res_nsearch to check for separately allocated
3352 second buffer.
3353 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3354 __libc_res_nquery.
3355 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3356 additional NULL to __libc_res_nquery.
3357 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3358 __libc_res_nsearch.
3359 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3360 * include/resolv.h: Update prototypes of __libc_res_nquery,
3361 __libc_res_nsearch, __libc_res_nsend.
3362
3363 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3364
3365 * math/auto-libm-test-in: Add tests of fma.
3366 * math/auto-libm-test-out: Regenerated.
3367 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3368 (fma_towardzero_test_data): Likewise.
3369 (fma_downward_test_data): Likewise.
3370 (fma_upward_test_data): Likewise.
3371 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3372 mpc_mode.
3373 (rounding_modes): Add values for new field.
3374 (func_calc_method): Add value mpfr_fff_f.
3375 (func_calc_desc): Add mpfr_fff_f union field.
3376 (test_function): Add field exact_args.
3377 (FUNC): Add macro argument EXACT_ARGS.
3378 (FUNC_mpfr_f_f): Update call to FUNC.
3379 (FUNC_mpfr_f_f): Likewise.
3380 (FUNC_mpfr_ff_f): Likewise.
3381 (FUNC_mpfr_if_f): Likewise.
3382 (FUNC_mpc_c_f): Likewise.
3383 (FUNC_mpc_c_c): Likewise.
3384 (test_functions): Add fma. Update calls to FUNC.
3385 (handle_input_arg): Add argument exact_args.
3386 (add_test): Update call to handle_input_arg.
3387 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3388 (output_for_one_input_case): Update call to calc_generic_results.
3389 Recalculate exact zero results in each rounding mode.
3390
3391 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3392 non-negative before setting low bit.
3393 * math/auto-libm-test-in: Mark one asin test possibly having
3394 spurious underflow.
3395 * math/auto-libm-test-out: Regenerated.
3396 * sysdeps/i386/fpu/libm-test-ulps: Update.
3397 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3398
3399 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3400
3401 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3402 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3403 ports/sysdeps/unix/sysv/linux/microblaze.
3404 * README: Add missing listing for microblaze*-*-linux-gnu.
3405
3406 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3407
3408 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3409 * sysdeps/unix/sysv/linux/ia64: Move directory from
3410 ports/sysdeps/unix/sysv/linux/ia64.
3411 * README: Update listing for ia64-*-linux-gnu.
3412
3413 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3414 Joseph Myers <joseph@codesourcery.com>
3415
3416 * Makeconfig (test-name): New variable.
3417 (evaluate-test): Likewise.
3418 * Makerules (do-test-clean): Remove .test-result files.
3419 (common-mostlyclean): Likewise.
3420 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3421 * scripts/evaluate-test.sh: New file.
3422
3423 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3424
3425 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3426 separate $(objpfx)tst-fopenloc-cmp.out and
3427 $(objpfx)tst-fopenloc-mem.out targets.
3428 (tests): Update dependencies.
3429 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3430 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3431 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3432 (tst-rxspencer-no-utf8-ARGS): New variable.
3433 (tst-rxspencer-no-utf8-ENV): Likewise.
3434 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3435 instead of $(objpfx)tst-rxspencer-mem.
3436 ($(objpfx)tst-rxspencer-mem): Change target to
3437 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3438 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3439 * posix/tst-rxspencer-no-utf8.c: New file.
3440
3441 * elf/Makefile ($(objpfx)order.out): Remove rule.
3442 [$(run-built-tests) = yes] (tests): Depend on
3443 $(objpfx)order-cmp.out.
3444 ($(objpfx)order-cmp.out): New rule.
3445 [$(run-built-tests) = yes] (tests): Depend on
3446 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3447 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3448 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3449 $(objpfx)tst-array5-static-cmp.out.
3450 ($(objpfx)tst-array1.out): Remove rule.
3451 ($(objpfx)tst-array1-cmp.out): New rule.
3452 ($(objpfx)tst-array1-static.out): Remove rule.
3453 ($(objpfx)tst-array1-static-cmp.out): New rule.
3454 ($(objpfx)tst-array2.out): Remove rule.
3455 ($(objpfx)tst-array2-cmp.out): New rule.
3456 ($(objpfx)tst-array3.out): Remove rule.
3457 ($(objpfx)tst-array3-cmp.out): New rule.
3458 ($(objpfx)tst-array4.out): Remove rule.
3459 ($(objpfx)tst-array4-cmp.out): New rule.
3460 ($(objpfx)tst-array5.out): Remove rule.
3461 ($(objpfx)tst-array5-cmp.out): New rule.
3462 ($(objpfx)tst-array5-static.out): Remove rule.
3463 ($(objpfx)tst-array5-static-cmp.out): New rule.
3464 [$(run-built-tests) = yes] (tests): Depend on
3465 $(objpfx)order2-cmp.out.
3466 ($(objpfx)order2.out): Remove rule.
3467 ($(objpfx)order2-cmp.out): New rule.
3468 ($(objpfx)tst-initorder.out): Remove rule.
3469 [$(run-built-tests) = yes] (tests): Depend on
3470 $(objpfx)tst-initorder-cmp.out.
3471 ($(objpfx)tst-initorder-cmp.out): New rule.
3472 ($(objpfx)tst-initorder2.out): Remove rule.
3473 [$(run-built-tests) = yes] (tests): Depend on
3474 $(objpfx)tst-initorder2-cmp.out.
3475 ($(objpfx)tst-initorder2-cmp.out): New rule.
3476 [$(run-built-tests) = yes] (tests): Depend on
3477 $(objpfx)tst-unused-dep-cmp.out.
3478 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3479 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3480 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3481 on $(objpfx)tst-setvbuf1-cmp.out.
3482 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3483 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3484 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3485 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3486 ($(objpfx)tst-svc.out): Remove rule.
3487 ($(objpfx)tst-svc-cmp.out): New rule.
3488
3489 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3490
3491 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3492 * ctype/ctype.h [__USE_MISC]: Likewise.
3493 * dirent/dirent.h [__USE_MISC]: Likewise.
3494 * grp/grp.h [__USE_MISC]: Likewise.
3495 * io/fcntl.h [__USE_MISC]: Likewise.
3496 * io/sys/stat.h [__USE_MISC]: Likewise.
3497 * libio/stdio.h [__USE_MISC]: Likewise.
3498 * posix/unistd.h [__USE_MISC]: Likewise.
3499 * pwd/pwd.h [__USE_MISC]: Likewise.
3500 * stdlib.h [__USE_MISC]: Likewise.
3501 * string/bits/string2.h [__USE_MISC]: Likewise.
3502 * string/string.h [__USE_MISC]: Likewise.
3503 * time/time.h [__USE_MISC]: Likewise.
3504
3505 2014-02-13 Andreas Schwab <schwab@suse.de>
3506
3507 [BZ #16574]
3508 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3509 second answer buffer if it was separately allocated.
3510
3511 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3512
3513 * sysdeps/mips/math-tests.h: Include <features.h>.
3514 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3515 (ROUNDING_TESTS_long_double): Do not define.
3516 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3517 (EXCEPTION_TESTS_long_double): Likewise.
3518 * sysdeps/mips/mips64/libm-test-ulps: Update.
3519
3520 * include/features.h (__USE_BSD): Remove macro definitions.
3521 (__USE_SVID): Likewise.
3522 (_BSD_SOURCE): Likewise.
3523 (_SVID_SOURCE): Likewise.
3524 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3525 from definition of _DEFAULT_SOURCE.
3526 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3527 [_DEFAULT_SOURCE].
3528 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3529 * bits/mman.h [__USE_BSD]: Likewise.
3530 * bits/termios.h [__USE_BSD]: Likewise.
3531 * bits/waitstatus.h [__USE_BSD]: Likewise.
3532 * ctype/ctype.h [__USE_SVID]: Likewise.
3533 * dirent/dirent.h [__USE_BSD]: Likewise.
3534 * grp/grp.h [__USE_SVID]: Likewise.
3535 [__USE_BSD]: Likewise.
3536 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3537 * io/fcntl.h [__USE_BSD]: Likewise.
3538 * io/ftw.h [__USE_BSD]: Likewise.
3539 * io/sys/stat.h [__USE_BSD]: Likewise.
3540 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3541 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3542 * libio/stdio.h [__USE_SVID]: Likewise.
3543 [__USE_BSD]: Likewise.
3544 * math/math.h [__USE_SVID]: Likewise.
3545 [__USE_BSD]: Likewise.
3546 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3547 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3548 * misc/search.h [__USE_SVID]: Likewise.
3549 * misc/sys/mman.h [__USE_BSD]: Likewise.
3550 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3551 * misc/sys/uio.h [__USE_BSD]: Likewise.
3552 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3553 * posix/glob.h [__USE_BSD]: Likewise.
3554 * posix/regex.h [__USE_BSD]: Likewise.
3555 * posix/sys/types.h [__USE_BSD]: Likewise.
3556 [__USE_SVID]: Likewise.
3557 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3558 * posix/sys/wait.h [__USE_BSD]: Likewise.
3559 [__USE_SVID]: Likewise.
3560 * posix/unistd.h [__USE_BSD]: Likewise.
3561 [__USE_SVID]: Likewise.
3562 * pwd/pwd.h [__USE_SVID]: Likewise.
3563 * resolv/netdb.h [__USE_BSD]: Likewise.
3564 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3565 * signal/signal.h [__USE_BSD]: Likewise.
3566 [__USE_SVID]: Likewise.
3567 * socket/sys/socket.h [__USE_BSD]: Likewise.
3568 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3569 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3570 [__USE_SVID]: Likewise.
3571 * string/bits/string2.h [__USE_BSD]: Likewise.
3572 [__USE_SVID]: Likewise.
3573 * string/bits/string3.h [__USE_BSD]: Likewise.
3574 * string/endian.h [__USE_BSD]: Likewise.
3575 * string/string.h [__USE_SVID]: Likewise.
3576 [__USE_BSD]: Likewise.
3577 * string/strings.h [__USE_BSD]: Likewise.
3578 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3579 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3580 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3581 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3582 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3583 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3584 Likewise.
3585 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3586 Likewise.
3587 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3588 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3589 Likewise.
3590 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3591 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3592 Likewise.
3593 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3594 Likewise.
3595 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3596 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3597 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3598 Likewise.
3599 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3600 Likewise.
3601 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3602 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3603 * termios/termios.h [__USE_BSD]: Likewise.
3604 * time/sys/time.h [__USE_BSD]: Likewise.
3605 * time/time.h [__USE_BSD]: Likewise.
3606 [__USE_SVID]: Likewise.
3607
3608 * Makefile (subdir_targets): Remove subdir_lint.out.
3609
3610 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3611 (do-tst-printf): Likewise.
3612 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3613 $(objpfx)tst-printf.out.
3614
3615 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3616
3617 * Makerules (check-abi-%): Change target to
3618 $(objpfx)check-abi-%.out.
3619 (check-abi target): Update dependencies.
3620 (check-abi-pattern variable): Redirect output of diff to $@.
3621 (check-abi variable): Likewise.
3622 * elf/Makefile (check-abi): Update dependencies.
3623
3624 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3625 unused.
3626 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3627 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3628 subnormal range.
3629 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3630 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3631 value has largest subnormal exponent.
3632 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3633 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3634 * sysdeps/aarch64/soft-fp/sfp-machine.h
3635 (_FP_TININESS_AFTER_ROUNDING): New macro.
3636 * sysdeps/alpha/soft-fp/sfp-machine.h
3637 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3638 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3639 Likewise.
3640 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3641 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3642 * sysdeps/mips/soft-fp/sfp-machine.h
3643 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3644 * sysdeps/powerpc/soft-fp/sfp-machine.h
3645 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3646 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3647 Likewise.
3648 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3649 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3650 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3651 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3652 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3653 Likewise.
3654
3655 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
3656
3657 [BZ #16545]
3658 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3659 model 1.
3660
3661 2014-02-12 Richard Henderson <rth@redhat.com>
3662
3663 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
3664 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3665 * sysdeps/unix/sysv/linux/alpha: Move directory from
3666 ports/sysdeps/unix/sysv/linux/alpha.
3667 * README: Update listing for alpha-*-linux-gnu.
3668
3669 2014-02-11 Joseph Myers <joseph@codesourcery.com>
3670
3671 * include/features.h: Update comment documenting feature test
3672 macros.
3673 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3674 _DEFAULT_SOURCE.
3675 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3676 (_SVID_SOURCE): Likewise.
3677 (_DEFAULT_SOURCE): Update description of default features.
3678 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3679 with _GNU_SOURCE.
3680 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3681 (S_ISVTX): Likewise.
3682 * manual/math.texi (Mathematical Constants): Likewise.
3683 * manual/signal.texi (Interrupted Primitives): Likewise.
3684 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3685 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3686 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3687 Don't refer to _SVID_SOURCE in warning text.
3688
3689 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3690
3691 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3692 already defined.
3693 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3694 * sysdeps/mips/dl-lookup.c: Remove.
3695 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3696
3697 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3698
3699 [BZ #16447]
3700 * math/auto-libm-test-in: Add testcase for expl.
3701 * math/auto-libm-test-out: Regenerate.
3702 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3703 calculation of unsafe.
3704 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3705
3706 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3707
3708 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3709 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3710 ports/sysdeps/unix/sysv/linux/aarch64.
3711 * README: Update listing for aarch64*-*-linux-gnu.
3712
3713 2014-02-11 Will Newton <will.newton@linaro.org>
3714
3715 * manual/probes.texi (Mathematical Function Probes): Use
3716 "triggered" instead of "hit".
3717
3718 2014-02-11 Will Newton <will.newton@linaro.org>
3719
3720 * manual/probes.texi (Internal Probes): Add documentation
3721 of setjmp, longjmp and longjmp_target probes.
3722
3723 2014-02-11 Will Newton <will.newton@linaro.org>
3724
3725 * include/stap-probe.h: Add comment about probe argument
3726 format.
3727
3728 2014-02-11 Will Newton <will.newton@linaro.org>
3729
3730 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3731 definition. (tr_where, tr_freehook, tr_mallochook,
3732 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3733
3734 2014-02-11 David S. Miller <davem@davemloft.net>
3735
3736 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3737 processing int_tests.
3738
3739 2014-02-10 Joseph Myers <joseph@codesourcery.com>
3740
3741 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3742 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3743 * sysdeps/unix/sysv/linux/mips: Move directory from
3744 ports/sysdeps/unix/sysv/linux/mips.
3745 * README: Update listing for mips-*-linux-gnu and
3746 mips64-*-linux-gnu.
3747
3748 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3749
3750 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3751 * sysdeps/unix/sysv/linux/m68k: Move directory from
3752 ports/sysdeps/unix/sysv/linux/m68k.
3753 * README: Update listing for m68k-*-linux-gnu.
3754
3755 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3756
3757 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3758 * sysdeps/unix/sysv/linux/generic: Move directory from
3759 ports/sysdeps/unix/sysv/linux/generic.
3760 * sysdeps/unix/sysv/linux/tile: Move directory from
3761 ports/sysdeps/unix/sysv/linux/tile.
3762 * README: Update listing for tile*-*-linux-gnu.
3763
3764 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
3765
3766 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3767 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3768 * catgets/open_catalog.c (__open_catalog): Likewise.
3769 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3770 * debug/confstr_chk.c: Likewise.
3771 * debug/fread_chk.c (__fread_chk): Likewise.
3772 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3773 * debug/getgroups_chk.c: Likewise.
3774 * debug/mbsnrtowcs_chk.c: Likewise.
3775 * debug/mbsrtowcs_chk.c: Likewise.
3776 * debug/mbstowcs_chk.c: Likewise.
3777 * debug/memcpy_chk.c: Likewise.
3778 * debug/memmove_chk.c: Likewise.
3779 * debug/mempcpy_chk.c: Likewise.
3780 * debug/memset_chk.c: Likewise.
3781 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3782 * debug/strcat_chk.c (__strcat_chk): Likewise.
3783 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3784 * debug/strncat_chk.c (__strncat_chk): Likewise.
3785 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3786 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3787 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3788 * debug/wcpncpy_chk.c: Likewise.
3789 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3790 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3791 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3792 * debug/wcsncpy_chk.c: Likewise.
3793 * debug/wcsnrtombs_chk.c: Likewise.
3794 * debug/wcsrtombs_chk.c: Likewise.
3795 * debug/wcstombs_chk.c: Likewise.
3796 * debug/wmemcpy_chk.c: Likewise.
3797 * debug/wmemmove_chk.c: Likewise.
3798 * debug/wmempcpy_chk.c: Likewise.
3799 * debug/wmemset_chk.c: Likewise.
3800 * dirent/scandirat.c (SCANDIRAT): Likewise.
3801 * dlfcn/dladdr1.c (dladdr1): Likewise.
3802 * dlfcn/dladdr.c (dladdr): Likewise.
3803 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3804 * dlfcn/dlerror.c (__dlerror): Likewise.
3805 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3806 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3807 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3808 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3809 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3810 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3811 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3812 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3813 Likewise.
3814 * elf/dl-conflict.c: Likewise.
3815 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3816 * elf/dl-dst.h: Likewise.
3817 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3818 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3819 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3820 * elf/dl-init.c (call_init, _dl_init): Likewise.
3821 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3822 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3823 _dl_map_object_from_fd, open_verify, open_path,
3824 _dl_map_object): Likewise.
3825 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3826 Likewise.
3827 * elf/dl-minimal.c (__libc_memalign): Likewise.
3828 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3829 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3830 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3831 * elf/dl-sym.c (do_sym): Likewise.
3832 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3833 _dl_tls_get_addr_soft): Likewise.
3834 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3835 * elf/dl-writev.h (_dl_writev): Likewise.
3836 * elf/ldconfig.c (search_dir): Likewise.
3837 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3838 dl_main): Likewise.
3839 * elf/setup-vdso.h (setup_vdso): Likewise.
3840 * grp/compat-initgroups.c (compat_call): Likewise.
3841 * grp/fgetgrent.c (fgetgrent): Likewise.
3842 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3843 * grp/putgrent.c (putgrent): Likewise.
3844 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3845 Likewise.
3846 * hurd/hurdinit.c: Likewise.
3847 * iconvdata/8bit-gap.c (struct): Likewise.
3848 * iconvdata/ansi_x3.110.c : Likewise.
3849 * iconvdata/big5.c : Likewise.
3850 * iconvdata/big5hkscs.c : Likewise.
3851 * iconvdata/cp1255.c: Likewise.
3852 * iconvdata/cp1258.c : Likewise.
3853 * iconvdata/cp932.c : Likewise.
3854 * iconvdata/euc-cn.c: Likewise.
3855 * iconvdata/euc-jisx0213.c : Likewise.
3856 * iconvdata/euc-jp.c: Likewise.
3857 * iconvdata/euc-jp-ms.c : Likewise.
3858 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3859 * iconvdata/gb18030.c : Likewise.
3860 * iconvdata/gbbig5.c (const): Likewise.
3861 * iconvdata/gbgbk.c: Likewise.
3862 * iconvdata/gbk.c : Likewise.
3863 * iconvdata/ibm1364.c : Likewise.
3864 * iconvdata/ibm930.c : Likewise.
3865 * iconvdata/ibm932.c: Likewise.
3866 * iconvdata/ibm933.c : Likewise.
3867 * iconvdata/ibm935.c : Likewise.
3868 * iconvdata/ibm937.c : Likewise.
3869 * iconvdata/ibm939.c : Likewise.
3870 * iconvdata/ibm943.c: Likewise.
3871 * iconvdata/iso_11548-1.c: Likewise.
3872 * iconvdata/iso-2022-cn.c : Likewise.
3873 * iconvdata/iso-2022-cn-ext.c : Likewise.
3874 * iconvdata/iso-2022-jp-3.c: Likewise.
3875 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3876 * iconvdata/iso-2022-kr.c : Likewise.
3877 * iconvdata/iso646.c (gconv_end): Likewise.
3878 * iconvdata/iso_6937-2.c : Likewise.
3879 * iconvdata/iso_6937.c : Likewise.
3880 * iconvdata/iso8859-1.c: Likewise.
3881 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3882 * iconvdata/shift_jisx0213.c : Likewise.
3883 * iconvdata/sjis.c : Likewise.
3884 * iconvdata/t.61.c : Likewise.
3885 * iconvdata/tcvn5712-1.c : Likewise.
3886 * iconvdata/tscii.c: Likewise.
3887 * iconvdata/uhc.c : Likewise.
3888 * iconvdata/unicode.c (gconv_end): Likewise.
3889 * iconvdata/utf-16.c (gconv_end): Likewise.
3890 * iconvdata/utf-32.c (gconv_end): Likewise.
3891 * iconvdata/utf-7.c (base64): Likewise.
3892 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3893 * iconv/gconv_close.c (__gconv_close): Likewise.
3894 * iconv/gconv_open.c (__gconv_open): Likewise.
3895 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3896 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3897 internal_ucs4le_loop_single, ucs4le_internal_loop,
3898 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3899 * iconv/iconv.c (iconv): Likewise.
3900 * iconv/iconv_close.c: Likewise.
3901 * iconv/loop.c (SINGLE): Likewise.
3902 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3903 * include/atomic.h: Likewise.
3904 * inet/inet6_option.c (option_alloc): Likewise.
3905 * intl/bindtextdom.c (set_binding_values): Likewise.
3906 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3907 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3908 * intl/localealias.c (read_alias_file): Likewise.
3909 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3910 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3911 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3912 * libio/fmemopen.c (fmemopen): Likewise.
3913 * libio/iofgets.c (_IO_fgets): Likewise.
3914 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3915 * libio/iofgetws.c (fgetws): Likewise.
3916 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3917 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3918 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3919 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3920 * locale/findlocale.c (_nl_find_locale): Likewise.
3921 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3922 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3923 Likewise.
3924 * locale/setlocale.c (setlocale): Likewise.
3925 * login/programs/pt_chown.c (main): Likewise.
3926 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3927 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3928 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3929 mmap, mmap64, mremap, munmap): Likewise.
3930 * math/e_exp2l.c: Likewise.
3931 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3932 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3933 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3934 * math/s_catan.c (__catan): Likewise.
3935 * math/s_catanf.c (__catanf): Likewise.
3936 * math/s_catanh.c (__catanh): Likewise.
3937 * math/s_catanhf.c (__catanhf): Likewise.
3938 * math/s_catanhl.c (__catanhl): Likewise.
3939 * math/s_catanl.c (__catanl): Likewise.
3940 * math/s_ccosh.c (__ccosh): Likewise.
3941 * math/s_ccoshf.c (__ccoshf): Likewise.
3942 * math/s_ccoshl.c (__ccoshl): Likewise.
3943 * math/s_cexp.c (__cexp): Likewise.
3944 * math/s_cexpf.c (__cexpf): Likewise.
3945 * math/s_cexpl.c (__cexpl): Likewise.
3946 * math/s_clog10.c (__clog10): Likewise.
3947 * math/s_clog10f.c (__clog10f): Likewise.
3948 * math/s_clog10l.c (__clog10l): Likewise.
3949 * math/s_clog.c (__clog): Likewise.
3950 * math/s_clogf.c (__clogf): Likewise.
3951 * math/s_clogl.c (__clogl): Likewise.
3952 * math/s_csin.c (__csin): Likewise.
3953 * math/s_csinf.c (__csinf): Likewise.
3954 * math/s_csinh.c (__csinh): Likewise.
3955 * math/s_csinhf.c (__csinhf): Likewise.
3956 * math/s_csinhl.c (__csinhl): Likewise.
3957 * math/s_csinl.c (__csinl): Likewise.
3958 * math/s_csqrt.c (__csqrt): Likewise.
3959 * math/s_csqrtf.c (__csqrtf): Likewise.
3960 * math/s_csqrtl.c (__csqrtl): Likewise.
3961 * math/s_ctan.c (__ctan): Likewise.
3962 * math/s_ctanf.c (__ctanf): Likewise.
3963 * math/s_ctanh.c (__ctanh): Likewise.
3964 * math/s_ctanhf.c (__ctanhf): Likewise.
3965 * math/s_ctanhl.c (__ctanhl): Likewise.
3966 * math/s_ctanl.c (__ctanl): Likewise.
3967 * math/w_pow.c: Likewise.
3968 * math/w_powf.c: Likewise.
3969 * math/w_powl.c: Likewise.
3970 * math/w_scalb.c (sysv_scalb): Likewise.
3971 * math/w_scalbf.c (sysv_scalbf): Likewise.
3972 * math/w_scalbl.c (sysv_scalbl): Likewise.
3973 * misc/error.c (error_tail): Likewise.
3974 * misc/pselect.c (__pselect): Likewise.
3975 * nis/nis_callback.c (__nis_create_callback): Likewise.
3976 * nis/nis_call.c (__nisfind_server): Likewise.
3977 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3978 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3979 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3980 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3981 * nis/nis_lookup.c (nis_lookup): Likewise.
3982 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3983 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3984 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3985 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3986 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3987 internal_getgrgid_r): Likewise.
3988 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3989 Likewise.
3990 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3991 internal_getpwuid_r): Likewise.
3992 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3993 internal_getspnam_r): Likewise.
3994 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3995 _nss_nis_getaliasbyname_r): Likewise.
3996 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3997 _nss_nis_getntohost_r): Likewise.
3998 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3999 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4000 Likewise.
4001 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4002 internal_nis_gethostent_r, internal_gethostbyname2_r,
4003 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4004 _nss_nis_gethostbyname4_r): Likewise.
4005 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4006 initgroups_netid): Likewise.
4007 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4008 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4009 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4010 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4011 _nss_nis_getprotobynumber_r): Likewise.
4012 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4013 _nss_nis_getsecretkey): Likewise.
4014 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4015 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4016 Likewise.
4017 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4018 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4019 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4020 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4021 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4022 _nss_nis_getspnam_r): Likewise.
4023 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4024 Likewise.
4025 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4026 _nss_nisplus_getntohost_r): Likewise.
4027 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4028 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4029 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4030 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4031 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4032 Likewise.
4033 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4034 _nss_nisplus_getnetbyaddr_r): Likewise.
4035 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4036 _nss_nisplus_getprotobynumber_r): Likewise.
4037 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4038 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4039 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4040 Likewise.
4041 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4042 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4043 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4044 _nss_nisplus_getspnam_r): Likewise.
4045 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4046 * nscd/aicache.c (addhstaiX): Likewise.
4047 * nscd/cache.c (cache_search, prune_cache): Likewise.
4048 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4049 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4050 * nscd/grpcache.c (addgrbyX): Likewise.
4051 * nscd/hstcache.c (addhstbyX): Likewise.
4052 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4053 * nscd/mem.c (gc, mempool_alloc): Likewise.
4054 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4055 Likewise.
4056 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4057 Likewise.
4058 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4059 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4060 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4061 Likewise.
4062 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4063 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4064 * nscd/nscd_helper.c (__readvall, open_socket,
4065 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4066 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4067 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4068 * nscd/pwdcache.c (addpwbyX): Likewise.
4069 * nscd/selinux.c (preserve_capabilities): Likewise.
4070 * nscd/servicescache.c (addservbyX): Likewise.
4071 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4072 * posix/fnmatch.c (fnmatch): Likewise.
4073 * posix/getopt.c (_getopt_internal_r): Likewise.
4074 * posix/glob.c (glob, glob_in_dir): Likewise.
4075 * posix/wordexp.c (exec_comm_child): Likewise.
4076 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4077 gaih_getanswer_slice): Likewise.
4078 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4079 * resolv/res_init.c: Likewise.
4080 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4081 * resolv/res_query.c (__libc_res_nquery): Likewise.
4082 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4083 Likewise.
4084 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4085 * stdio-common/perror.c (perror): Likewise.
4086 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4087 * stdio-common/tmpnam.c (tmpnam): Likewise.
4088 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4089 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4090 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4091 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4092 * stdlib/putenv.c (putenv): Likewise.
4093 * stdlib/setenv.c (__add_to_environ): Likewise.
4094 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4095 * stdlib/strtol_l.c (INTERNAL): Likewise.
4096 * string/memmem.c (memmem): Likewise.
4097 * string/strerror.c (strerror): Likewise.
4098 * string/strnlen.c (__strnlen): Likewise.
4099 * string/test-memmem.c (simple_memmem): Likewise.
4100 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4101 * sunrpc/pm_getport.c (__get_socket): Likewise.
4102 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4103 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4104 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4105 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4106 Likewise.
4107 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4108 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4109 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4110 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4111 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4112 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4113 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4114 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4115 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4116 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4117 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4118 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4120 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4121 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4122 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4123 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4124 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4125 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4126 Likewise.
4127 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4128 Likewise.
4129 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4130 Likewise.
4131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4132 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4133 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4134 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4135 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4136 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4137 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4140 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4141 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4145 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4146 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4147 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4148 Likewise.
4149 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4150 Likewise.
4151 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4152 Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4155 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4156 Likewise.
4157 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4158 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4159 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4160 * sysdeps/posix/sleep.c: Likewise.
4161 * sysdeps/posix/tempname.c: Likewise.
4162 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4163 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4164 Likewise.
4165 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4166 elf_machine_rela): Likewise.
4167 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4168 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4169 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4170 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4171 Likewise.
4172 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4173 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4174 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4175 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4176 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4177 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4178 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4179 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4180 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4181 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4182 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4183 elf_machine_lazy_rel): Likewise.
4184 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4185 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4186 elf_machine_lazy_rel): Likewise.
4187 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4188 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4189 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4190 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4191 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4192 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4193 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4195 Likewise.
4196 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4197 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4198 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4199 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4200 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4201 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4202 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4203 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4204 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4205 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4206 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4207 Likewise.
4208 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4209 (__posix_fallocate64_l64): Likewise.
4210 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4211 (posix_fallocate): Likewise.
4212 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4213 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4214 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4215 getifaddrs_internal): Likewise.
4216 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4217 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4218 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4219 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4220 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4221 (__posix_fallocate64_l64): Likewise.
4222 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4223 Likewise.
4224 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4225 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4226 Likewise.
4227 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4228 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4229 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4230 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4231 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4232 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4233 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4234 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4235 Likewise.
4236 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4237 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4238 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4239 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4240 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4241 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4242 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4243 Likewise.
4244 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4245 (posix_fallocate): Likewise.
4246 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4247 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4248 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4249 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4250 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4251 Likewise.
4252 * time/asctime.c (asctime_internal): Likewise.
4253 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4254 * time/tzset.c (__tzset_parse_tz): Likewise.
4255 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4256 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4257 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4258 * wcsmbs/wcsmbsload.h: Likewise.
4259
4260 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4261
4262 [BZ #15894]
4263 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4264
4265 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4266
4267 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4268 arena_get2): Remove THREAD_STATS conditionals.
4269 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4270 __malloc_stats, int): Likewise.
4271
4272 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4273
4274 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4275 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4276
4277 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4278
4279 * manual/setjmp.texi: Fix typos/grammar errors.
4280
4281 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4282
4283 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4284 Only return early when n is <= 0. Delete unused return statement.
4285
4286 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4287
4288 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4289 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4290 * debug/tst-longjmp_chk3.c: New file.
4291
4292 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4293
4294 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4295 (test_main): Replace code with set_fortify_handler call.
4296 * debug/test-strcpy_chk.c: Likewise.
4297 * debug/tst-chk1.c: Likewise.
4298 * debug/tst-longjmp_chk.c: Likewise.
4299 * test-skeleton.c: Include fcntl.h & paths.h
4300 (set_fortify_handler): Define.
4301
4302 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4303
4304 * debug/tst-longjmp_chk.c: Add header comment and include
4305 ../test-skeleton.c.
4306 (do_test): Mark static.
4307 (TEST_FUNCTION): Define.
4308
4309 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4310
4311 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4312 (IP_PMTUDISC_INTERFACE): Likewise.
4313 (IP_MULTICAST_IF): Likewise.
4314 (IP_MULTICAST_TTL): Likewise.
4315 (IP_MULTICAST_LOOP): Likewise.
4316 (IP_ADD_MEMBERSHIP): Likewise.
4317 (IP_DROP_MEMBERSHIP): Likewise.
4318 (IP_UNBLOCK_SOURCE): Likewise.
4319 (IP_BLOCK_SOURCE): Likewise.
4320 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4321 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4322 (IP_MSFILTER): Likewise.
4323 (MCAST_JOIN_GROUP): Likewise.
4324 (MCAST_BLOCK_SOURCE): Likewise.
4325 (MCAST_UNBLOCK_SOURCE): Likewise.
4326 (MCAST_LEAVE_GROUP): Likewise.
4327 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4328 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4329 (MCAST_MSFILTER): Likewise.
4330 (IP_MULTICAST_ALL): Likewise.
4331 (IP_UNICAST_IF): Likewise.
4332
4333 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4334
4335 * timezone/Makefile: Delete $(have-ksh) check.
4336 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4337 * timezone/tzselect.ksh: Add +x mode bits.
4338
4339 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4340
4341 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4342 (ANON_INODE_FS_MAGIC): Likewise.
4343 (BDEVFS_MAGIC): Likewise.
4344 (BINFMTFS_MAGIC): Likewise.
4345 (BTRFS_TEST_MAGIC): Likewise.
4346 (CRAMFS_MAGIC_WEND): Likewise.
4347 (DEBUGFS_MAGIC): Likewise.
4348 (ECRYPTFS_SUPER_MAGIC): Likewise.
4349 (EXT3_SUPER_MAGIC): Likewise.
4350 (EXT4_SUPER_MAGIC): Likewise.
4351 (FUTEXFS_SUPER_MAGIC): Likewise.
4352 (HOSTFS_SUPER_MAGIC): Likewise.
4353 (HUGETLBFS_MAGIC): Likewise.
4354 (MINIX3_SUPER_MAGIC): Likewise.
4355 (MTD_INODE_FS_MAGIC): Likewise.
4356 (NILFS_SUPER_MAGIC): Likewise.
4357 (OPENPROM_SUPER_MAGIC): Likewise.
4358 (PIPEFS_MAGIC): Likewise.
4359 (PSTOREFS_MAGIC): Likewise.
4360 (QNX6_SUPER_MAGIC): Likewise.
4361 (RAMFS_MAGIC): Likewise.
4362 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4363 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4364 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4365 (SECURITYFS_MAGIC): Likewise.
4366 (SELINUX_MAGIC): Likewise.
4367 (SMACK_MAGIC): Likewise.
4368 (SOCKFS_MAGIC): Likewise.
4369 (SQUASHFS_MAGIC): Likewise.
4370 (STACK_END_MAGIC): Likewise.
4371 (TMPFS_MAGIC): Likewise.
4372 (USBDEVICE_SUPER_MAGIC): Likewise.
4373 (V9FS_MAGIC): Likewise.
4374 (XENFS_SUPER_MAGIC): Likewise.
4375 (CRAMFS_MAGIC): Fix typo in comment.
4376 (EXT2_SUPER_MAGIC): Update comment.
4377 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4378
4379 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4380
4381 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4382 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4383 * sysdeps/unix/sysv/linux/arm: Move directory from
4384 ports/sysdeps/unix/sysv/linux/arm.
4385 * README: Update listing for arm-*-linux-gnueabi.
4386
4387 * README: Remove mention of am33.
4388
4389 2014-02-07 Roland McGrath <roland@hack.frob.com>
4390
4391 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4392 than the comma operator, to avoid "rhs of comma has no effect"
4393 compiler warnings.
4394 (__sigfillset, __sigandset, __sigorset): Likewise.
4395 * include/signal.h (__sigemptyset): Likewise.
4396 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4397
4398 2014-02-07 Allan McRae <allan@archlinux.org>
4399
4400 * version.h (RELEASE): Set to "development".
4401 (VERSION): Set to "2.19.90"
4402 * NEWS: Add 2.20 section.
4403
4404 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4405
4406 [BZ #16529]
4407 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4408
4409 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4410
4411 * manual/contrib.texi: Update entry for Carlos O'Donell,
4412 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4413
4414 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4415
4416 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4417
4418 * sysdeps/unix/sysv/linux/kernel-features.h
4419 [__LINUX_KERNEL_VERSION >= 0x020621]
4420 (__ASSUME_PROC_PID_TASK_COMM): Define.
4421
4422 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4423
4424 [BZ #16398]
4425 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4426 conversion when destination buffer does not have enough space.
4427 * libio/tst-ftell-partial-wide.c: New test case.
4428 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4429
4430 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4431 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4432 Leonard and Allan McRae.
4433
4434 2014-02-04 David S. Miller <davem@davemloft.net>
4435
4436 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4437 32-bit.
4438
4439 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4440
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4442 file
4443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4444 New file
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4446 file.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4448 file.
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4450 New file.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4452 file.
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4454 file.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4456 New file.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4458 New file.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4460 New file.
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4462 New file.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4464 New file.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4466 New file.
4467
4468 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4469
4470 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4471 * shlib-versions: Likewise.
4472
4473 2014-02-04 Roland McGrath <roland@hack.frob.com>
4474 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4475
4476 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4477 (abilist-pattern): New variable, set to %-le.abilist.
4478
4479 * Makerules (abilist-pattern): New variable.
4480 (vpath): Use $(abilist-pattern) in place of %.abilist.
4481 (check-abi-% pattern rule): Likewise.
4482 (check-abi, update-abi): Likewise.
4483
4484 2014-02-04 Eric Wong <normalperson@yhbt.net>
4485
4486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4487
4488 2014-02-04 Eric Wong <normalperson@yhbt.net>
4489
4490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4491
4492 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4493
4494 * manual/startup.texi: Add next, previous, and top entries for
4495 the `Program Arguments' and `Environment Variables' nodes.
4496
4497 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4498
4499 * manual/macros.texi: Add comments before MTASC-safety macros.
4500
4501 * manual/users.texi: Document MTASC-safety properties.
4502
4503 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4504 pthread_getspecific, pthread_setspecific): Format with
4505 @deftypefun, and add @safety note.
4506 * manual/signal.texi: Move comments that analyze the above
4507 functions to their home place.
4508
4509 2014-02-03 Allan McRae <allan@archlinux.org>
4510
4511 * po/sl.po: Update Slovenian translation from translation project.
4512
4513 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4514
4515 * manual/time.texi (timegm): Add missing blank after @c.
4516 Reported by Joseph Myers <joseph@codesourcery.com>.
4517
4518 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4519
4520 * manual/check-safety.sh: New.
4521 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4522
4523 * manual/terminal.texi: Document MTASC-safety properties.
4524
4525 * manual/filesys.texi: Document MTASC-safety properties.
4526
4527 * manual/errno.texi: Document MTASC-safety properties.
4528
4529 * manual/intro.texi: Document safety identifiers and
4530 conditionals.
4531
4532 * manual/string.texi (wcstok): Fix prototype.
4533 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4534
4535 * manual/time.texi: Document MTASC-safety properties.
4536
4537 * manual/string.texi: Document MTASC-safety properties.
4538
4539 * manual/threads.texi: Document MTASC-safety properties.
4540
4541 * manual/stdio.texi: Document MTASC-safety properties.
4542
4543 * manual/syslog.texi: Document MTASC-safety properties.
4544
4545 * manual/sysinfo.texi: Document MTASC-safety properties.
4546
4547 * manual/startup.texi: Document MTASC-safety properties.
4548
4549 * manual/socket.texi: Document MTASC-safety properties.
4550
4551 * manual/signal.texi: Document MTASC-safety properties.
4552
4553 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
4554
4555 * manual/setjmp.texi: Document MTASC-safety properties.
4556
4557 * manual/search.texi: Document MTASC-safety properties.
4558
4559 * manual/resource.texi: Document MTASC-safety properties.
4560
4561 * manual/process.texi: Document MTASC-safety properties.
4562
4563 * manual/platform.texi: Document MTASC-safety properties.
4564
4565 * manual/pipe.texi: Document MTASC-safety properties.
4566
4567 * manual/pattern.texi: Document MTASC-safety properties.
4568
4569 * manual/message.texi: Document MTASC-safety properties.
4570
4571 [BZ #12751]
4572 * manual/memory.texi: Document MTASC-safety properties.
4573
4574 * manual/math.texi: Document MTASC-safety properties.
4575
4576 * manual/locale.texi: Document MTASC-safety properties.
4577
4578 * manual/llio.texi: Document MTASC-safety properties.
4579
4580 * manual/libdl.texi: New.
4581
4582 * manual/lang.texi: Document MTASC-safety properties.
4583
4584 * manual/job.texi: Document MTASC-safety properties.
4585
4586 * manual/getopt.texi: Document MTASC-safety properties.
4587
4588 * manual/ctype.texi: Document MTASC-safety properties.
4589
4590 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4591
4592 [BZ #16046]
4593 * csu/libc-tls.c (static_map): Remove variable.
4594 (__libc_setup_tls): Use main executable's link map for TLS data.
4595 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4596 casing for LM_ID_BASE and GL(dl_nns).
4597 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4598 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4599 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4600 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4601 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4602 member.
4603 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4604 l_phnum members.
4605
4606 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
4607
4608 * manual/debug.texi: Document MTASC-safety properties.
4609
4610 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4611
4612 [BZ #16510]
4613 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4614 of __x86_64__ when disabling x87 inline functions.
4615
4616 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
4617
4618 * manual/charset.texi: Document MTASC-safety properties.
4619
4620 * manual/crypt.texi: Document MTASC-safety properties.
4621
4622 * manual/conf.texi: Document MTASC-safety properties.
4623
4624 * manual/arith.texi: Document MTASC-safety properties.
4625
4626 * manual/argp.texi: Document MTASC-safety properties.
4627
4628 * manual/macros.texi: Introduce macros to document multi
4629 thread, asynchronous signal and asynchronous cancellation
4630 safety properties.
4631 * manual/intro.texi: Introduce the properties themselves.
4632
4633 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4634
4635 * sysdeps/sh/sh4/Makefile: New file.
4636
4637 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4638
4639 * math/gen-libm-test.pl ($srcdir): New variable.
4640 ($auto_input): Use it.
4641
4642 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4643
4644 [BZ #16506]
4645 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4646 access beyond array bounds when parsing netgroups file.
4647
4648 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4649 the old buffer before realloc.
4650
4651 2014-01-27 Allan McRae <allan@archlinux.org>
4652
4653 * po/fr.po: Update French translation from translation project.
4654
4655 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4656
4657 * sysdeps/sh/libm-test-ulps: Regenerate.
4658
4659 2014-01-24 David S. Miller <davem@davemloft.net>
4660
4661 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4662
4663 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4664
4665 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4666 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4667
4668 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4669
4670 [BZ #16474]
4671 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4672 string pointers after reallocation.
4673
4674 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4675
4676 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4677 __SH4A__ instead of __SH_FPU_ANY__.
4678
4679 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4680
4681 * sysdeps/sh/fpu_control.h: New file.
4682 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4683 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4684 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4685 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4686 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4687 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4688 * sysdeps/sh/sys/ucontext.h: Remove.
4689 * sysdeps/sh/sys: Remove directory.
4690
4691 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4692
4693 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4694 s390/sys/ucontext.h.
4695 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4696 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4697
4698 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4699
4700 [BZ #15605]
4701 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4702
4703 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4704
4705 [BZ#16431]
4706 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4707 Adjust the vDSO correctly for internal calls.
4708 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4709
4710 2014-01-20 Allan McRae <allan@archlinux.org>
4711
4712 * po/ca.po: Update Catalan translation from translation project.
4713
4714 2014-01-16 Mike Frysinger <vapier@gentoo.org>
4715
4716 * sysdeps/s390/sotruss-lib.c: New file.
4717
4718 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4719
4720 [BZ#16430]
4721 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
4722 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4723 local calls issues by not having a PLT stub required for IFUNC calls.
4724 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4725
4726 2014-01-16 Joseph Myers <joseph@codesourcery.com>
4727
4728 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4729 * math/test-fpucw-static.c: Likewise.
4730
4731 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4732
4733 [BZ #16453]
4734 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4735
4736 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4737
4738 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4739 implementation for powerpc.
4740
4741 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
4742
4743 [BZ #14782]
4744 * sysdeps/posix/system.c (__libc_system): Do not enable
4745 asynchronous cancellation.
4746
4747 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4748
4749 [BZ #16427]
4750 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4751 handling only for numbers special also in the IEEE case.
4752
4753 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4754
4755 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4756
4757 2014-01-11 Allan McRae <allan@archlinux.org>
4758
4759 * po/bg.po: Update Bulgarian translation from translation project.
4760
4761 * po/de.po: Update German translation from translation project.
4762
4763 2014-01-10 Roland McGrath <roland@hack.frob.com>
4764
4765 * sysdeps/generic/gcc-compat.h: New file.
4766
4767 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4768
4769 * benchtests/asin-inputs: Correct slow inputs.
4770 * benchtests/acos-inputs: Likewise.
4771
4772 2014-01-10 Allan McRae <allan@archlinux.org>
4773
4774 * po:sv.po: Update Swedish translation from translation project.
4775
4776 * po/vi.po: Update Vietnamese translation from translation project.
4777
4778 * po/eo.po: Update Esperanto translation from translation project.
4779
4780 * po/cs.po: Update Czech translation from translation project.
4781
4782 * po/nl.po: Update Dutch translation from translation project.
4783
4784 * po/pl.po: Update Polish translation from translation project.
4785
4786 * po/ru.po: Update Russian translation from translation project.
4787
4788 * po/uk.po: Update Ukrainian translation from translation project.
4789
4790 2014-01-08 Brooks Moses <bmoses@google.com>
4791
4792 * elf/dl-load.c: Fix comment typo.
4793
4794 2014-01-08 Carlos O'Donell <carlos@redhat.com>
4795
4796 * po/header.pot: Rename to...
4797 * po/pot.header: ... this.
4798 * po/Makefile: Use pot.header.
4799
4800 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4801 Maxim Kuvyrkov <maxim@kugelworks.com>
4802
4803 [BZ #16394]
4804 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4805 SRC and DEST against LEN.
4806
4807 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4808
4809 [BZ #16414]
4810 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4811 implementation.
4812 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4813
4814 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4815
4816 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4817
4818 2014-01-08 Joseph Myers <joseph@codesourcery.com>
4819
4820 [BZ #16408]
4821 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4822 for large positive arguments.
4823
4824 2014-01-07 Joseph Myers <joseph@codesourcery.com>
4825
4826 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4827
4828 * math/auto-libm-test-in: Mark various tests with
4829 xfail-rounding:ldbl-128ibm.
4830 * math/auto-libm-test-out: Regenerated.
4831
4832 [BZ #16407]
4833 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4834 Increase overflow threshold.
4835
4836 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
4837
4838 [BZ #14286]
4839 * stdio-common/vfprintf.c: Check for integer overflow.
4840
4841 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4842
4843 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4844 the first argument and return value of __tls_get_addr_internal.
4845
4846 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4847
4848 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4849 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4850
4851 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4852
4853 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4854 * sysdeps/s390/rtld-global-offsets.sym: New file.
4855 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4856 GLIBC_2.19 symbol.
4857 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4858 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4860 ... this.
4861 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4862 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4863 ... this.
4864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4865 Regenerate.
4866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4867 Regenerate.
4868 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4869 halfs of GPRs for high_gprs contexts.
4870 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4871 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4872 field.
4873 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4874 uc_flags field.
4875 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4876 64 bit versions:
4877 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4878 for high GPRs (uc_high_gprs) and for future extensions
4879 (__reserved).
4880 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4881 for future extensions (__reserved).
4882 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4883 64 bit versions:
4884 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4885 SC_HIGHGPRS offset definition.
4886 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4887 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4888
4889 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4890
4891 * Versions.def: Add GLIBC_2.19 for libpthread.
4892 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4893 siglongjmp for libpthread with GLIBC_2.19 symver.
4894 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4895 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4896 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4897 * sysdeps/s390/__longjmp.c: New file.
4898 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4899 * sysdeps/s390/longjmp.c: New file.
4900 * sysdeps/s390/setjmp.S: New file.
4901 * sysdeps/s390/sigjmp.S: New file.
4902 * sysdeps/s390/v1-longjmp.c: New file.
4903 * sysdeps/s390/v1-setjmp.h: New file.
4904 * sysdeps/s390/v1-sigjmp.c: New file.
4905 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4906 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4907 GLIBC_2.19 version.
4908 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4909 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4910 versioned symbols for ____longjmp_chk.
4911 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4912 Likewise.
4913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4914 Regenerate.
4915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4916 Regenerate.
4917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4918 Regenerate.
4919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4920 Regenerate.
4921 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4922 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4923 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4924 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4925 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4926 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4927 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4928 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4929 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4930 * sysdeps/s390/rtld-__longjmp.c: New file.
4931 * sysdeps/s390/rtld-setjmp.S: New file.
4932
4933 2014-01-06 Joseph Myers <joseph@codesourcery.com>
4934
4935 [BZ #16400]
4936 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4937 Return -__logl (x) for small positive arguments without evaluating
4938 a polynomial.
4939
4940 2014-01-06 Mike Frysinger <vapier@gentoo.org>
4941
4942 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4943 Rename to ...
4944 (__ptrace_peeksiginfo_args): ... this.
4945 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4946 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4947 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4948
4949 2014-01-06 Allan McRae <allan@archlinux.org>
4950
4951 * inet/netinet/in.h: Fix typo in comment.
4952
4953 2014-01-05 Andreas Jaeger <aj@suse.de>
4954
4955 * sysdeps/i386/fpu/libm-test-ulps: Update.
4956
4957 2014-01-05 Allan McRae <allan@archlinux.org>
4958
4959 * po/libc.pot: Regenerated.
4960
4961 * malloc/memusagestat.c: Fix gettext call formatting.
4962
4963 2014-01-04 Sami Kerola <kerolasa@iki.fi>
4964
4965 * nscd/nscd.c: Improve usage() output.
4966
4967 2014-01-04 Mike Frysinger <vapier@gentoo.org>
4968
4969 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4970 * sysdeps/unix/sysv/linux/configure: Regenerated.
4971 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4972 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4973
4974 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4975
4976 [BZ #16390]
4977 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4978 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4979
4980 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4981
4982 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4983 extra tokens at end of #undef directive.
4984 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4985 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4986 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4987
4988 2014-01-03 Joseph Myers <joseph@codesourcery.com>
4989
4990 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4991
4992 * math/auto-libm-test-in: Mark various tests with
4993 xfail-rounding:ldbl-128ibm.
4994 * math/auto-libm-test-out: Regenerated.
4995
4996 2014-01-02 Joseph Myers <joseph@codesourcery.com>
4997
4998 [BZ #16386]
4999 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5000 numbers with subnormal high part when calculating exponent.
5001
5002 [BZ #16385]
5003 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5004 fabs.
5005
5006 [BZ #16384]
5007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5008 M_LN2l.
5009 (__ieee754_acoshl): Use __log1pl not __log1p.
5010
5011 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5012
5013 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5014 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5015 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5016 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5017 Convert to GNU style.
5018 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5019 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5020 memalign_check, __malloc_set_state): Likewise.
5021 * malloc/mallocbug.c (main): Likewise.
5022 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5023 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5024 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5025 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5026 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5027 * malloc/malloc.h: Likewise.
5028 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5029 memalignhook, reallochook, mabort): Likewise.
5030 * malloc/mcheck.h: Likewise.
5031 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5032 mmap64, mremap, munmap, dest): Likewise.
5033 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5034 * malloc/morecore.c (__default_morecore): Likewise.
5035 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5036 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5037 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5038 print_and_abort): Likewise.
5039 * malloc/obstack.h: Likewise.
5040 * malloc/set-freeres.c (__libc_freeres): Likewise.
5041 * malloc/tst-mallocstate.c (main): Likewise.
5042 * malloc/tst-mtrace.c (main): Likewise.
5043 * malloc/tst-realloc.c (do_test): Likewise.
5044
5045 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5046
5047 [BZ #16366]
5048 * nscd/netgroupcache.c (do_notfound): New function.
5049 (addgetnetgrentX): Use it.
5050
5051 [BZ # 16365]
5052 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5053 NSS_STATUS_NOTFOUND.
5054
5055 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5056
5057 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5059
5060 2014-01-01 Allan McRae <allan@archlinux.org>
5061
5062 * scripts/update-copyrights: Update configure input file suffix.
5063
5064 * NEWS: Update copyright year.
5065 * catgets/gencat.c: Likewise.
5066 * csu/version.c: Likewise.
5067 * debug/catchsegv.sh: Likewise.
5068 * debug/pcprofiledump.c: Likewise.
5069 * debug/xtrace.sh: Likewise.
5070 * elf/ldconfig.c: Likewise.
5071 * elf/ldd.bash.in: Likewise.
5072 * elf/pldd.c: Likewise.
5073 * elf/sotruss.ksh: Likewise.
5074 * elf/sprof.c: Likewise.
5075 * iconv/iconv_prog.c: Likewise.
5076 * iconv/iconvconfig.c: Likewise.
5077 * locale/programs/locale.c: Likewise.
5078 * locale/programs/localedef.c: Likewise.
5079 * login/programs/pt_chown.c: Likewise.
5080 * malloc/memusage.sh: Likewise.
5081 * malloc/memusagestat.c: Likewise.
5082 * malloc/mtrace.pl: Likewise.
5083 * manual/libc.texinfo: Likewise.
5084 * nscd/nscd.c: Likewise.
5085 * nss/getent.c: Likewise.
5086 * nss/makedb.c: Likewise.
5087 * posix/getconf.c: Likewise.
5088 * scripts/test-installation.pl: Likewise.
5089
5090 * All files with FSF copyright notices: Update copyright dates
5091 using scripts/update-copyrights.
5092 * intl/plural.c: Regenerated.
5093 * locale/programs/charmap-kw.h: Likewise.
5094 * locale/programs/locfile-kw.h: Likewise.
5095
5096 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5097
5098 * sysdeps/unix/sysv/linux/configure: Regenerated.
5099 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5100 the linux/fanotify.h header.
5101 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5102 HAVE_LINUX_FANOTIFY_H is defined.
5103
5104 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5105
5106 * benchtests/cos-inputs: New inputs.
5107 * benchtests/sin-inputs: Likewise.
5108
5109 * benchtests/atan-inputs: New inputs. Fix name of multiple
5110 precision fallback inputs.
5111
5112 * benchtests/atanh-inputs: New inputs.
5113 * benchtests/tanh-inputs: Likewise.
5114
5115 * benchtests/acosh-inputs: New inputs.
5116 * benchtests/asinh-inputs: Likewise.
5117
5118 * benchtests/cosh-inputs: New inputs.
5119 * benchtests/sinh-inputs: Likewise.
5120
5121 * benchtests/acos-inputs: Add more inputs.
5122 * benchtests/asin-inputs: Likewise.
5123
5124 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5125
5126 [BZ #16375]
5127 * manual/arith.texi: Fix spelling.
5128 * manual/charset.texi: Likewise.
5129 * manual/errno.texi: Likewise.
5130 * manual/filesys.texi: Likewise.
5131 * manual/lang.texi: Likewise.
5132 * manual/llio.texi: Likewise.
5133 * manual/locale.texi: Likewise.
5134 * manual/message.texi: Likewise.
5135 * manual/resource.texi: Likewise.
5136 * manual/search.texi: Likewise.
5137 * manual/setjmp.texi: Likewise.
5138 * manual/stdio.texi: Likewise.
5139 * manual/string.texi: Likewise.
5140 * manual/sysinfo.texi: Likewise.
5141 * manual/time.texi: Likewise.
5142
5143 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5144
5145 * po/sl.po: New file.
5146
5147 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5148
5149 * .gitignore: Add core/.gdbinit/.gdb_history.
5150
5151 2013-12-27 Allan McRae <allan@archlinux.org>
5152
5153 [BZ #16369]
5154 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5155 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5156
5157 2013-12-24 Brooks Moses <bmoses@google.com>
5158
5159 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5160 all compilers that claim C++98 compliance, not just GCC.
5161 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5162 Likewise.
5163
5164 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5165
5166 * NEWS: Restore accidentally deleted bug-fix entries.
5167
5168 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5169 Ondřej Bílka <neleai@seznam.cz>
5170
5171 [BZ #15073]
5172 * malloc/malloc.c (_int_free): Perform sanity check only if we
5173 have_lock.
5174
5175 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5176
5177 [BZ #12986]
5178 * manual/stdio.texi (String Input Conversions): Clarify that character
5179 classes are not supported.
5180
5181 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5182
5183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5184
5185 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5186
5187 [BZ #16337]
5188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5189 Calculate results for small negative arguments directly rather
5190 than using reflection formula with special underflow handling.
5191
5192 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5193 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5194 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5195 (fchflags): Likewise.
5196 (revoke): Likewise.
5197 (setlogin): Likewise.
5198 (sigaltstack): Likewise.
5199 (wait4): Likewise.
5200 (sigblock): Remove.
5201 (sigsetmask): Likewise.
5202 (wait3): Likewise.
5203 (waitpid): Likewise.
5204 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5205 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5206 file.
5207 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5208 * sysdeps/unix/bsd/Makefile: ... here.
5209 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5210 * sysdeps/unix/bsd/Versions: ... here.
5211 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5212 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5213 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5214 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5215 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5216 * sysdeps/unix/bsd/sigblock.c: ... here.
5217 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5218 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5219 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5220 * sysdeps/unix/bsd/sigvec.c: ... here.
5221 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5222 * sysdeps/unix/bsd/tcdrain.c: ... here.
5223 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5224 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5225 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5226 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5227 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5228 * sysdeps/unix/bsd/wait.c: ... here.
5229 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5230 * sysdeps/unix/bsd/wait3.c: ... here.
5231 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5232 * sysdeps/unix/bsd/waitpid.c: ... here.
5233
5234 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5235
5236 [BZ #16356]
5237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5238 round-to-nearest for [!USE_AS_EXPM1L].
5239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5240 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5241 more tests of exp and exp10. Expect some exp10 tests to miss
5242 exceptions or fail in directed rounding modes.
5243 * math/auto-libm-test-out: Regenerated.
5244 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5245 (exp10_test_tonearest): New function.
5246 (exp10_towardzero_test_data): New array.
5247 (exp10_test_towardzero): New function.
5248 (exp10_downward_test_data): New array.
5249 (exp10_test_downward): New function.
5250 (exp10_upward_test_data): New array.
5251 (exp10_test_upward): New function.
5252 (main): Call the new functions.
5253 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5255
5256 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5257
5258 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5259 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5260 * math/auto-libm-test-out: Regenerated.
5261 * math/libm-test.inc (acosh_test_data): Add more tests.
5262 (atanh_test_data): Likewise.
5263 (ceil_test_data): Likewise.
5264 (copysign_test_data): Likewise.
5265 * sysdeps/i386/fpu/libm-test-ulps: Update.
5266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5267
5268 * timezone/checktab.awk: Update from tzcode 2013i.
5269 * timezone/private.h: Likewise.
5270 * timezone/scheck.c: Likewise.
5271 * timezone/tzfile.h: Likewise.
5272 * timezone/tzselect.ksh: Likewise.
5273 * timezone/zdump.c: Likewise.
5274 * timezone/zic.c: Likewise.
5275
5276 * math/auto-libm-test-in: Add tests of cpow.
5277 * math/auto-libm-test-out: Regenerated.
5278 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5279 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5280 mpc_cc_c.
5281 (func_calc_desc): Add mpc_cc_c union field.
5282 (test_functions): Add cpow.
5283 (special_fill_2pi): New function.
5284 (special_real_inputs): Add 2pi.
5285 (calc_generic_results): Handle mpc_cc_c.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update.
5287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5288
5289 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5290 csqrt, ctan and ctanh.
5291 * math/auto-libm-test-out: Regenerated.
5292 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5293 (TEST_COND_x86): Likewise.
5294 (ccos_test_data): Use AUTO_TESTS_c_c.
5295 (ccosh_test_data): Likewise.
5296 (cexp_test_data): Likewise.
5297 (clog_test_data): Likewise.
5298 (csqrt_test_data): Likewise.
5299 (ctan_test_data): Likewise.
5300 (ctan_tonearest_test_data): Likewise.
5301 (ctan_towardzero_test_data): Likewise.
5302 (ctan_downward_test_data): Likewise.
5303 (ctan_upward_test_data): Likewise.
5304 (ctanh_test_data): Likewise.
5305 (ctanh_tonearest_test_data): Likewise.
5306 (ctanh_towardzero_test_data): Likewise.
5307 (ctanh_downward_test_data): Likewise.
5308 (ctanh_upward_test_data): Likewise.
5309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5310 mpc_c_c.
5311 (func_calc_desc): Add mpc_c_c union field.
5312 (FUNC_mpc_c_c): New macro.
5313 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5314 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5315 ctanh.
5316 (special_fill_min_subnorm_p120): New function.
5317 (special_real_inputs): Add min_subnorm_p120.
5318 (calc_generic_results): Handle mpc_c_c.
5319 * sysdeps/i386/fpu/libm-test-ulps: Update.
5320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5321
5322 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5323
5324 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5325 do_sin_slow): New functions.
5326 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5327 cslow2, csloww1, csloww2): Use the new functions.
5328
5329 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5330 Use M to change sign of result instead of X. Assume X is
5331 positive.
5332 (csloww1): Likewise.
5333 (__sin): Adjust.
5334 (__cos): Adjust.
5335
5336 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5337 arguments A and DA.
5338 (__sin): Adjust.
5339 (__cos): Likewise.
5340
5341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5342 (__cos): Likewise.
5343 (sloww1): Don't adjust sign of DX.
5344 (csloww1): Likewise.
5345 (sloww2): Use X directly and don't adjust sign of DX.
5346 (csloww2): Likewise.
5347
5348 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5349
5350 * math/auto-libm-test-in: Add tests of cabs and carg.
5351 * math/auto-libm-test-out: Regenerated.
5352 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5353 (carg_test_data): Likewise.
5354 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5355 mpc_c_f.
5356 (func_calc_desc): Add mpc_c_f union field.
5357 (test_functions): Add cabs and carg.
5358 (calc_generic_results): Handle mpc_c_f.
5359
5360 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5361 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5362 as a macro and a compat symbol.
5363 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5364 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5365 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5366 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5367 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5368 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5369 not use .hidden.
5370 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5371 Likewise.
5372 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5373 Likewise.
5374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5375 Likewise.
5376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5377 Likewise.
5378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5379 Likewise.
5380 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5381 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5382 from GLIBC_2.3.2.
5383
5384 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5385
5386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5387
5388 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5389
5390 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5391 trailing whitespace removed.
5392 * scripts/config.guess: Update to version 2013-11-29.
5393 * scripts/config.sub: Update to version 2013-10-01.
5394
5395 * math/auto-libm-test-in: Add tests of sincos.
5396 * math/auto-libm-test-out: Regenerated.
5397 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5399 mpfr_f_11.
5400 (func_calc_desc): Add mpfr_f_11 union field.
5401 (test_functions): Add sincos.
5402 (calc_generic_results): Handle mpfr_f_11.
5403 * sysdeps/i386/fpu/libm-test-ulps: Update.
5404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5405
5406 2013-12-19 Andreas Schwab <schwab@suse.de>
5407
5408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5409 CALL_MCOUNT.
5410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5411 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5412 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5413
5414 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5415
5416 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5417 * sysdeps/i386/fpu/libm-test-ulps: Update.
5418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5419
5420 [BZ #16293]
5421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5422 round-to-nearest mode when using frndint.
5423 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5424 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5426 Likewise.
5427 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5428 sinh test to fail.
5429 * math/auto-libm-test-out: Regenerated.
5430 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5431 (TEST_COND_x86): Likewise.
5432 (expm1_tonearest_test_data): New array.
5433 (expm1_test_tonearest): New function.
5434 (expm1_towardzero_test_data): New array.
5435 (expm1_test_towardzero): New function.
5436 (expm1_downward_test_data): New array.
5437 (expm1_test_downward): New function.
5438 (expm1_upward_test_data): New array.
5439 (expm1_test_upward): New function.
5440 (main): Run the new test functions.
5441 * sysdeps/i386/fpu/libm-test-ulps: Update.
5442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5443
5444 * include/features.h: Update comment documenting feature test
5445 macros. Mention _DEFAULT_SOURCE in comment.
5446 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5447 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5448 _BSD_SOURCE and _SVID_SOURCE.
5449 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5450 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5451 !_SVID_SOURCE]: Likewise.
5452 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5453 (__USE_POSIX_IMPLICITLY): Define.
5454 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5455 (_POSIX_SOURCE): Undefine and redefine.
5456 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5457 (_POSIX_C_SOURCE): Likewise.
5458 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5459 (Feature Test Macros): Update documentation of default features.
5460
5461 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5462
5463 * benchtests/Makefile: Add bench-strtok.
5464 * benchtests/bench-strtok.c: New file: strtok benchtest.
5465
5466 2013-12-19 Allan McRae <allan@archlinux.org>
5467
5468 * manual/install.texi: Suppress menu for plain text output.
5469 * INSTALL: Regenerated.
5470
5471 2013-12-18 Brooks Moses <bmoses@google.com>
5472
5473 [BZ #15846]
5474 * misc/getauxval.c: Include errno.h.
5475 (__getauxval): Set errno to ENOENT if the requested type is not
5476 found.
5477 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5478 don't declare with __attribute_const__.
5479 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5480 * manual/startup.texi: Document that getauxval sets errno.
5481
5482 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5483
5484 * math/auto-libm-test-in: Add tests of jn and yn.
5485 * math/auto-libm-test-out: Regenerated.
5486 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5487 (yn_test_data): Likewise.
5488 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5489 mpfr_if_f.
5490 (func_calc_desc): Add mpfr_if_f union field.
5491 (FUNC_mpfr_if_f): New macro.
5492 (test_functions): Add jn and yn.
5493 (calc_generic_results): Assert type of second input for
5494 mpfr_ff_f. Handle mpfr_if_f.
5495 (output_for_one_input_case): Disable all checking for arguments
5496 fitting floating-point types in case of an integer argument.
5497 * sysdeps/i386/fpu/libm-test-ulps: Update.
5498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5499
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5501 Don't expect fegetround reference in libm.so.
5502
5503 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5504
5505 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5506 $(config-cflags-nofma).
5507
5508 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5509
5510 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5511 * math/auto-libm-test-out: Regenerated.
5512
5513 [BZ #16338]
5514 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5515 to determine exponent and adjust argument to have exponent of -1.
5516 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5517 log2.
5518 * math/auto-libm-test-out: Regenerated.
5519 * sysdeps/i386/fpu/libm-test-ulps: Update.
5520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5521
5522 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5523
5524 * manual/probes.texi: Remove cases when per-thread arenas are
5525 disabled.
5526
5527 2013-12-18 Andreas Schwab <schwab@suse.de>
5528
5529 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5530 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5531 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5532 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5533 * sysdeps/i386/i686/multiarch/Makefile: Update.
5534 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5535
5536 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5537
5538 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5539 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5540
5541 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5542
5543 [BZ #15968]
5544 Support TZ transition times < 00:00:00.
5545 This is needed for version-3 tz-format files; it supports time
5546 stamps past 2037 for America/Godthab (the only entry in the tz
5547 database for which this change is relevant).
5548 * manual/time.texi (TZ Variable): Document transition times
5549 from -167:59:59 through -00:00:01.
5550 * time/tzset.c (tz_rule): Time of day is now signed.
5551 (__tzset_parse_tz): Parse negative time of day.
5552
5553 Document TZ transition times >= 25:00:00.
5554 * manual/time.texi (TZ Variable): Document transition times from
5555 25:00:00 through 167:59:59. These are already supported, and this
5556 support will help with version-3 tz-format files.
5557
5558 * manual/time.texi (TZ Variable): Modernize North America example
5559 to reflect current (i.e., 2007-and-later) daylight saving rules.
5560
5561 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5562
5563 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5564
5565 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5566 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5569 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5570 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5571 * sysdeps/unix/bsd/clock.c: Likewise.
5572 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5573 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5574 * sysdeps/unix/bsd/init-posix.c: Likewise.
5575 * sysdeps/unix/bsd/poll.c: Likewise.
5576 * sysdeps/unix/bsd/ptsname.c: Likewise.
5577 * sysdeps/unix/bsd/seekdir.c: Likewise.
5578 * sysdeps/unix/bsd/setegid.c: Likewise.
5579 * sysdeps/unix/bsd/seteuid.c: Likewise.
5580 * sysdeps/unix/bsd/setgid.c: Likewise.
5581 * sysdeps/unix/bsd/setrgid.c: Likewise.
5582 * sysdeps/unix/bsd/setruid.c: Likewise.
5583 * sysdeps/unix/bsd/setsid.c: Likewise.
5584 * sysdeps/unix/bsd/setuid.c: Likewise.
5585 * sysdeps/unix/bsd/sigaction.c: Likewise.
5586 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5587 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5588 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5589 * sysdeps/unix/bsd/telldir.c: Likewise.
5590 * sysdeps/unix/bsd/times.c: Likewise.
5591 * sysdeps/unix/bsd/usleep.c: Likewise.
5592
5593 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5594 ($(objpfx)libbsd-compat.a): Remove rule.
5595
5596 * include/features.h (__FAVOR_BSD): Do not define.
5597 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5598 features conflicting with POSIX.
5599 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5600 (_BSD_SOURCE): Remove description of not being a subset of other
5601 feature test macros.
5602 * manual/job.texi (getpgrp): Do not document BSD version.
5603 (getpgid): Do not document by reference to BSD getpgrp.
5604 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5605 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5606 * signal/signal.h [__FAVOR_BSD]: Likewise.
5607 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5608 instead of making contents conditional on [__FAVOR_BSD].
5609 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5610
5611 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5612
5613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5614
5615 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5616
5617 [BZ #16314]
5618 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5619 values below 2**-450, not 2**-500.
5620 * math/auto-libm-test-in: Don't allow spurious underflow from
5621 hypot.
5622 * math/auto-libm-test-out: Regenerated.
5623
5624 [BZ #16316]
5625 [BZ #16330]
5626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5627 values of ha and hb and sort them after adjusting subnormal
5628 arguments.
5629 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5630 Likewise.
5631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5632 values of ea and eb and sort them after adjusting subnormal
5633 arguments.
5634 * math/auto-libm-test-in: Do not expect some hypot tests of
5635 subnormals to fail. Add more hypot tests.
5636 * math/auto-libm-test-out: Regenerated.
5637
5638 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5639
5640 [BZ #13304]
5641 * sysdeps/sh/s_fma.c: New file.
5642 * sysdeps/sh/s_fmaf.c: New file.
5643 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5644 version.
5645 * sysdeps/sh/Implies: Add sh/soft-fp.
5646
5647 2013-12-16 Roland McGrath <roland@hack.frob.com>
5648
5649 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5650 level of indirection to members `objname', `errstring', `malloced'.
5651 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5652 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5653 it as the __longjmp argument (just pass 1 instead).
5654 (_dl_catch_error): Initialize C with argument pointers and address of
5655 volatile local ERRCODE rather than copying values out of C at return.
5656
5657 2013-12-16 Joseph Myers <joseph@codesourcery.com>
5658
5659 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5660 * math/auto-libm-test-out: Regenerated.
5661 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5662 (hypot_test_data): Likewise.
5663 (pow_test_data): Likewise.
5664 (pow_tonearest_test_data): Likewise.
5665 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5666 mpfr_ff_f.
5667 (func_calc_desc): Add mpfr_ff_f union field.
5668 (FUNC_mpfr_ff_f): New macro.
5669 (test_functions): Add atan2, hypot and pow.
5670 (special_fill_min): New function.
5671 (special_fill_minus_min): Likewise.
5672 (special_fill_min_subnorm): Likewise.
5673 (special_fill_minus_min_subnorm): Likewise.
5674 (special_real_inputs): Add min, -min, min_subnorm and
5675 -min_subnorm.
5676 (calc_generic_results): Handle mpfr_ff_f.
5677 * sysdeps/i386/fpu/libm-test-ulps: Update.
5678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5679
5680 2013-12-16 Will Newton <will.newton@linaro.org>
5681
5682 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5683 (Aligned Memory Blocks): Add documentation for aligned_alloc
5684 and suggest it as an alternative to posix_memalign.
5685 (Hooks for Malloc): Document __memalign_hook is also called
5686 for aligned_alloc. (Summary of Malloc): Add summary for
5687 aligned alloc. Document __memalign_hook is also called
5688 for aligned_alloc.
5689
5690 2013-12-16 Will Newton <will.newton@linaro.org>
5691
5692 * manual/memory.texi (Malloc Examples): Clarify default
5693 alignment documentation. Suggest posix_memalign rather
5694 than memalign or valloc.
5695 (Aligned Memory Blocks): Remove suggestion to use memalign
5696 or valloc. Remove obsolete comment about BSD.
5697 Document memalign errno values and mark the function obsolete.
5698 Document posix_memalign returned error codes. Mark valloc
5699 as obsolete. (Hooks for Malloc): __memalign_hook is also
5700 called for posix_memalign and valloc.
5701 (Summary of Malloc): Add posix_memalign to function summary.
5702 __memalign_hook is also called for posix_memalign and valloc.
5703
5704 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
5706 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5707 TAYLOR_SIN.
5708 (__sin): Adjust.
5709 (__cos): Likewise.
5710 (sloww): Use mynumber union. Expand ternary operator into
5711 if-else statements.
5712 (cslow): use mynumber union.
5713
5714 2013-12-16 Allan McRae <allan@archlinux.org>
5715
5716 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5717 * configure: Regenerated.
5718
5719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5720
5721 [BZ #14120]
5722 * configure.ac: Added --enable-maintainer-mode. Check for
5723 autoconf when enabled.
5724 * configure: Regenerated.
5725
5726 * nscd/nscd.service: New file.
5727 * nscd/nscd.tmpfiles: New file.
5728
5729 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
5730
5731 [BZ #12100]
5732 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5733 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5734 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5735 (strstr): Add __strstr_sse2_unaligned ifunc.
5736 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5737 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5738 (strcasestr): Remove __strcasestr_sse42 ifunc.
5739 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5742
5743 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5744
5745 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5746 * sysdeps/sh/bits/fenv.h: ... here.
5747 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5748
5749 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750
5751 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5752
5753 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754
5755 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5756 hypotf multiarch implementations.
5757 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5758 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5760 multiarch hypot for PPC64.
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5763 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5764 multiarch hypotf for PPC64.
5765
5766 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5767
5768 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5769 modff multiarch implementations.
5770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5773 multiarch modf for PPC64.
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5777 multiarch modff for PPC64.
5778
5779 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5782 and logl multiarch implementations.
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5786 multiarch logb for PPC64.
5787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5790 multiarch logb for PPC64.
5791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5794 multiarch logb for PPC64.
5795
5796 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5799 isinff multiarch implementation.
5800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5801 file.
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5804 multiarch isinf for PPC64.
5805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5806 file.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5808 multiarch isinff for PPC64.
5809
5810 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5811
5812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5813 finitef multiarch implementation.
5814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5815 file.
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5818 multiarch finite for PPC64.
5819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5820 file.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5822 multiarch finitef for PPC64.
5823
5824 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5825
5826 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5827 lrint multiarch implementation.
5828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5829 file.
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5832 multiarch llrint for PPC64.
5833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5834 multiarch lrint for PPC64.
5835
5836 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5837
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5839 copysignf multiarch implementation.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5841 file.
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5843 file.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5845 multiarch copysign for PPC64.
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5847 multiarch copysignf for PPC64.
5848
5849 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5850
5851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5852 multiarch implementation.
5853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5854 file.
5855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5856 file.
5857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5858 file.
5859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5860 file.
5861 multiarch llround for PPC64.
5862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5863 multiarch trunc for PPC64.
5864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5865 multiarch truncf for PPC64.
5866
5867 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5868
5869 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5870 multiarch implementation.
5871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5872 file.
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5874 file.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5876 file.
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5878 file.
5879 multiarch llround for PPC64.
5880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5881 multiarch round for PPC64.
5882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5883 multiarch roundf for PPC64.
5884
5885 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5886
5887 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5888 multiarch implementation.
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5890 file.
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5892 file.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5894 file.
5895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5896 file.
5897 multiarch llround for PPC64.
5898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5899 multiarch floor for PPC64.
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5901 multiarch floorf for PPC64.
5902
5903 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5904
5905 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5906 multiarch implementation.
5907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5908 file.
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5910 file.
5911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5912 file.
5913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5914 file.
5915 multiarch llround for PPC64.
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5917 multiarch ceil for PPC64.
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5919 multiarch ceilf for PPC64.
5920
5921 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5922
5923 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5924 multiarch implementation.
5925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5926 file.
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5928 file.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5930 file.
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5932 multiarch llround for PPC64.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5934 multiarch lround for PPC64.
5935
5936 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5937
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5939 multiarch implementation.
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5943 file.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5947 multiarch isnan for PPC64.
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5949 multiarch isnanf for PPC64.
5950
5951 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952
5953 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5954 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5955 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5956 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5957 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5959
5960 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5961
5962 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5963 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5964 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5965 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5966
5967 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5968
5969 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5970 multiarch implementations.
5971 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5972 (__libc_ifunc_impl_list): Likewise.
5973 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5974 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5975 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5976 multiarch stpcpy for PPC64.
5977
5978 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5979
5980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5981 multiarch implementations.
5982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5983 (__libc_ifunc_impl_list): Likewise.
5984 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5985 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5986 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5987 multiarch strcpy for PPC64.
5988
5989 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990
5991 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5992 redefine function name.
5993 (_wordcopy_fwd_dest_aligned): Likewise.
5994 (_wordcopy_bwd_aligned): Likewise.
5995 (_wordcopy_bwd_dest_aligned): Likewise.
5996 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5997 multiarch implementations.
5998 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5999 (__libc_ifunc_impl_list): Likewise.
6000 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6001 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6002 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6003 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6004 multiarch wcscpy for PPC64.
6005
6006 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007
6008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6009 multiarch implementations.
6010 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6011 (__libc_ifunc_impl_list): Likewise.
6012 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6013 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6014 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6015 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6016 multiarch wcscpy for PPC64.
6017
6018 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6019
6020 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6021 multiarch implementations.
6022 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6023 (__libc_ifunc_impl_list): Likewise.
6024 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6025 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6026 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6027 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6028 multiarch wcsrchr for PPC64.
6029
6030 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6031
6032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6033 multiarch implementations.
6034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6035 (__libc_ifunc_impl_list): Likewise.
6036 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6037 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6038 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6039 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6040 multiarch wcschr for PPC64.
6041
6042 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6043
6044 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6045 multiarch implementations.
6046 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6047 (__libc_ifunc_impl_list): Likewise.
6048 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6049 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6050 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6051 multiarch strchrnul for PPC64.
6052
6053 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6054
6055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6056 implementations.
6057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6058 (__libc_ifunc_impl_list): Likewise.
6059 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6060 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6061 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6062 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6063 strchr for PPC64.
6064
6065 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6068 implementations.
6069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6070 (__libc_ifunc_impl_list): Likewise.
6071 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6072 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6073 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6074 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6075 strncmp for PPC64.
6076
6077 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6078
6079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6080 multiarch implementations.
6081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6082 (__libc_ifunc_impl_list): Likewise.
6083 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6084 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6085 strncasecmp for PPC64.
6086 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6087 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6088 multiarch strncasecmp_l for PPC64.
6089
6090 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6091
6092 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6093 multiarch implementations.
6094 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6095 (__libc_ifunc_impl_list): Likewise.
6096 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6097 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6098 multiarch strcasecmp for PPC64.
6099 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6100 file.
6101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6102 multiarch strcasecmp_l for PPC64.
6103
6104 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6105
6106 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6107 implementations.
6108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6109 (__libc_ifunc_impl_list): Likewise.
6110 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6111 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6112 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6113 strnlen for PPC64.
6114
6115 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6116
6117 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6118 implementations.
6119 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6120 (__libc_ifunc_impl_list): Likewise.
6121 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6122 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6123 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6124 strlen for PPC64.
6125
6126 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6127
6128 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6129 implementations.
6130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6131 (__libc_ifunc_impl_list): Likewise.
6132 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6133 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6134 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6135 rawmemrchr for PPC64.
6136
6137 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6138
6139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6140 implementation.
6141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6142 (__libc_ifunc_impl_list): Likewise.
6143 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6144 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6145 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6146 memrchr for PPC64.
6147
6148 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6149
6150 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6151 implementation.
6152 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6153 (__libc_ifunc_impl_list): Likewise.
6154 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6155 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6156 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6157 memchr for PPC64.
6158
6159 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6160
6161 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6162 implementation.
6163 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6164 (__libc_ifunc_impl_list): Likewise.
6165 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6166 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6167 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6168 mempcpy for PPC64.
6169
6170 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6171
6172 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6173 avoid cretion of __bzero symbol.
6174 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6175 Likewise.
6176 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6177 Likewise.
6178 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6179 Likewise.
6180 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6181 multiarch implementations.
6182 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6183 (__libc_ifunc_impl_list): Likewise.
6184 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6185 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6186 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6187 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6188 bzero for PPC32.
6189 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6191 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6192 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6193 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6194 memset for PPC64.
6195 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6196
6197 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6198
6199 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6200 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6201 implementations.
6202 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6203 (__libc_ifunc_impl_list): Likewise.
6204 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6205 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6206 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6207 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6208 memcmp for PPC64.
6209
6210 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6211
6212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6213 multiarch for POWER/PPC64.
6214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6215 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6219 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6222 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6223 memcpy for PPC64.
6224
6225 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6226
6227 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6228 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6229 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6230 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6231 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6232 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6233 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6234 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6235 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6236 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6237 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6238 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6239 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6240 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6241 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6249
6250 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6251
6252 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6253
6254 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6255
6256 * benchtests/Makefile (bench): Add exp2 and log2.
6257 (LDLIBS-bench-exp2): Add -lm.
6258 (LDLIBS-bench-log2): Likewise.
6259 * benchtests/exp2-inputs: New inputs file.
6260 * benchtests/log2-inputs: New inputs file.
6261 * benchtests/log-inputs: Add new inputs.
6262 * benchtests/tan-inputs: Likewise.
6263
6264 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6265
6266 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6267 definition...
6268 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6269 csloww1, csloww2): ... from here.
6270
6271 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6272 instead of structures.
6273 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6274 (POLYNOMIAL): Likewise.
6275 (TAYLOR_SLOW): Likewise.
6276 (__sin): Likewise.
6277 (__cos): Likewise.
6278 (slow1): Likewise.
6279 (slow2): Likewise.
6280 (sloww): Likewise.
6281 (sloww1); Likewise.
6282 (sloww2): Likewise.
6283 (bsloww1): Likewise.
6284 (bsloww2): Likewise.
6285 (cslow2): Likewise.
6286 (csloww): Likewise.
6287 (csloww1): Likewise.
6288 (csloww2): Likewise.
6289
6290 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6291
6292 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6293 (__malloc_assert, __libc_realloc, __libc_calloc,
6294 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6295 memcpy and memset.
6296 * malloc/hooks.c (realloc_check): Likewise.
6297
6298 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6299
6300 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6301 * malloc/arena.c: Remove PER_THREAD conditional.
6302 [!PER_THREAD]: Remove code.
6303 (ptmalloc_unlock_all2): Likewise.
6304 (ptmalloc_init): Likewise.
6305 (_int_new_arena): Likewise.
6306 (arena_get2): Likewise.
6307 * malloc/hooks.c (__malloc_get_state): Likewise.
6308 (__malloc_set_state): Likewise.
6309 * malloc/malloc.c: Likewise.
6310 (struct malloc_state): Likewise.
6311 (struct malloc_par): Likewise.
6312 (__libc_realloc): Likewise.
6313 (__libc_mallopt): Likewise.
6314
6315 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6316
6317 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6318
6319 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6320
6321 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6322 macro to a function. Check for zero perturb_byte.
6323 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6324
6325 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6326
6327 * malloc/malloc.c: (force_reg): Remove.
6328 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6329 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6330 force_reg by atomic_forced_read.
6331 * malloc/arena.c (ptmalloc_init): Likewise.
6332 * malloc/hooks.c (top_check): Likewise.
6333
6334 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6335
6336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6337
6338 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6339
6340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6341
6342 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6343
6344 * math/auto-libm-test-in: Add tests of lgamma.
6345 * math/auto-libm-test-out: Regenerated.
6346 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6347 (M_LOG_2_SQRT_PIl): Likewise.
6348 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6349 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6350 mpfr_f_f1.
6351 (func_calc_desc): Add mpfr_f_f1 union field.
6352 (ARGS1): New macro.
6353 (ARGS2): Likewise.
6354 (ARGS3): Likewise.
6355 (ARGS4): Likewise.
6356 (RET1): Likewise.
6357 (RET2): Likewise.
6358 (CALC): Likewise.
6359 (FUNC): Likewise.
6360 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6361 (test_functions): Add lgamma.
6362 (calc_generic_results): Handle mpfr_f_f1.
6363 * sysdeps/i386/fpu/libm-test-ulps: Update.
6364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6365
6366 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6367
6368 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6369 __mpn_add_n for PowerPC64/POWER7.
6370 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6371 __mpn_sub_n for PowerPC64/POWER7.
6372
6373 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6374
6375 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6376 __mpn_addmul_1 for PowerPC64.
6377 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6378 __mpn_submul_1 for PowerPC64.
6379 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6380 for PowerPC64.
6381 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6382 for PowerPC64.
6383
6384 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6385
6386 [BZ #15089]
6387 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6388
6389 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6390
6391 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6392
6393 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6394
6395 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6396 add multiarch folders.
6397 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6398 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6399 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6400 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6401 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6402 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6403 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6404 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6405 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6406 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6407 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6414
6415 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6416
6417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6418 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6420 New file.
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6422 New file.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6424 multiarch __ieee754_hypot for PowerPC32.
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6426 New file.
6427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6428 New file.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6430 multiarch __ieee754_hypotf for PowerPC32.
6431
6432 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6433
6434 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6435 long_double_symbol only if __logbl is defined.
6436 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6437 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6438 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6439 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6441 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6442 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6443 path for implementation.
6444 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6445 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6447 logb, and logbl multiarch implementations for PowerPC32.
6448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6449 file.
6450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6451 file.
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6453 multiarch logb for PowerPC32.
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6455 file.
6456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6457 file.
6458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6459 multiarch logbf for PowerPC32.
6460 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6462 file.
6463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6464 multiarch logbl implementation for PowerPC32.
6465
6466 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6469 and modff multiarch implementations.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6471 New file.
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6473 New file.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6475 multiarch modf for PowerPC32.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6477 New file.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6479 New file.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6481 multiarch modff for PowerPC32.
6482
6483 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6484
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6486 and lrintf multiarch implementations.
6487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6488 New file.
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6490 New file.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6492 multiarch lrint for PowerPC32.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6494 file: multiarch lrintf for PowerPC32.
6495
6496 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6497
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6499 and lroundf multiarch implementations.
6500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6501 New file.
6502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6503 New file.
6504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6505 New file.
6506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6507 multiarch lround for PowerPC32.
6508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6509 file: multiarch lroundf for PowerPC32.
6510
6511 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6512
6513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6514 copysign and copysignf multiarch implementations.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6516 New file.
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6518 New file.
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6520 file: multiarch copysign for PowerPC32.
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6522 file: multiarch copysignf for PowerPC32.
6523
6524 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6525
6526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6527 and truncf multiarch implementations.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6529 New file.
6530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6531 file.
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6533 multiarch trunc for PowerPC32.
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6535 New file.
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6537 New file.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6539 multiarch truncf for PowerPC32.
6540
6541 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6544 and roundf multiarch implementations.
6545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6546 New file.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6548 file.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6550 multiarch round for PowerPC32.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6552 New file.
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6554 New file.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6556 multiarch roundf for PowerPC32.
6557
6558 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6561 and floorf multiarch implementations.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6563 New file.
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6565 file.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6567 multiarch floor for PowerPC32.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6569 New file.
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6571 New file.
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6573 multiarch floorf for PowerPC32.
6574
6575 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6576
6577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6578 and ceilf multiarch implementations.
6579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6580 New file.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6582 file.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6584 multiarch ceil for PowerPC32.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6586 New file.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6588 file.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6590 multiarch ceilf for PowerPC32.
6591
6592 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6593
6594 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6595 is defined.
6596 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6597 FINITEF is defined.
6598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6599 and finitef multiarch implementations.
6600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6601 New file.
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6603 file.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6605 multiarch finite for PowerPC32.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6607 New file.
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6609 file: multiarch finitef for PowerPC32.
6610
6611 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6612
6613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6614 and isinff multiarch implementations.
6615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6616 file.
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6618 file.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6620 multiarch isinf for PowerPC32.
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6622 New file.
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6624 multiarch isinff for PowerPC32.
6625
6626 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6627
6628 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6629 alias when __isnan is defined.
6630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6631 and isnanf multiarch implementations.
6632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6633 file.
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6635 file.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6637 file.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6639 file.
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6641 multiarch isnan for PowerPC32.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6643 New file.
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6645 New file.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6647 multiarch isnanf for PowerPC32.
6648
6649 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6650
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6652 and sqrtf multiarch implementations.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6654 file.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6656 file.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6658 multiarch sqrt for PowerPC32.
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6660 file.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6662 file.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6664 multiarch sqrtf for PowerPC32.
6665
6666 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6667
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6669 and llroundf multiarch implementations.
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6671 New file.
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6673 New file.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6675 New file.
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6677 file: multiarch llround for PowerPC32.
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6679 file: multiarch llroundf for PowerPC32.
6680
6681 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6682
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6684 multiarch PowerPC32 fpu implementations.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6686 New file.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6688 New file.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6690 multiarch llrint for PowerPC32.
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6692 New file.
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6694 New file.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6696 file.
6697
6698 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6699
6700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6701
6702 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6703
6704 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6705 file.
6706 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6707 file.
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6709 file.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6711 multiarch wordcopy for PPC32.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6713 wordcopy objects.
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6715 (__libc_ifunc_impl_list): Likewise.
6716 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6717 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6718 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6719 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6720 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6721 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6722
6723 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6724
6725 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6727 file.
6728 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6729 file.
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6731 file.
6732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6733 multiarch wcscpy for PPC32.
6734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6735 multiarch objects.
6736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6737 (__libc_ifunc_impl_list): Likewise.
6738 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6739 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6740 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6741 sysdeps/powerpc/power6/wcscpy.c.
6742
6743 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6744
6745 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6746 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6747 file.
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6749 file.
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6751 file.
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6753 multiarch wcsrchr for PPC32.
6754 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6755 multiarch objects.
6756 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6757 (__libc_ifunc_impl_list): Likewise.
6758 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6759 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6760 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6761 sysdeps/powerpc/power6/wcsrchr.c.
6762
6763 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6764
6765 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6766 file.
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6768 file.
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6770 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6771 multiarch wcschr for PPc32.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6773 multiarch objects.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6775 (__libc_ifunc_impl_list): Likewise.
6776 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6777 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6778 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6779 sysdeps/powerpc/power6/wcschr.c.
6780
6781 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6782
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6784 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6785 file.
6786 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6787 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6788 file: multiarch strchr for PPC32.
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6790 multiarch objects.
6791 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6792 (__libc_ifunc_impl_list): Likewise.
6793
6794 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6795
6796 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6797 name.
6798 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6799 file.
6800 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6801 file.
6802 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6803 multiarch strchrnul for PPC32.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6805 multiarch objects.
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6807 (__libc_ifunc_impl_list): Likewise.
6808
6809 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6810
6811 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6812 file.
6813 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6814 multiarch strncasecmp for PPC32.
6815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6816 file.
6817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6818 multiarch strncasecmp_l for PPC32.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6820 strncasecmp multiarch objects.
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6822 (__libc_ifunc_impl_list): Likewise.
6823
6824 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6825
6826 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6827 file.
6828 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6829 multiarch strncasecmp for PPC32.
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6831 New file.
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6833 multiarch strcasecmp_l for PPC32.
6834 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6835 multiarch objects.
6836 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6837 (__libc_ifunc_impl_list): Likewise.
6838
6839 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6840
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6842 file.
6843 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6844 file.
6845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6846 multiarch strncmp for PPC32.
6847 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6848 multiarch objects.
6849 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6850 (__libc_ifunc_impl_list): Likewise.
6851
6852 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6853
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6855 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6856 file.
6857 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6858 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6859 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6860 multiarch objects.
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6862 (__libc_ifunc_impl_list): Likewise.
6863
6864 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865
6866 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6867 file.
6868 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6869 file.
6870 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6871 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6872 multiarch objects.
6873 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6874 (__libc_ifunc_impl_list): Likewise.
6875
6876 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6877
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6879 file.
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6881 file.
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6883 multiarch rawmemchr for PPC32.
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6885 multiarch objects.
6886 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6887 (__libc_ifunc_impl_list): Likewise.
6888
6889 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6890
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6892 file.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6894 file.
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6896 file: memrchr multiarch for PPC32.
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6898 multiarch objects.
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6900 (__libc_ifunc_impl_list): Likewise.
6901
6902 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6903
6904 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6906 file.
6907 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6909 multiarch memchr for PPC32.
6910 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6911 multiarch objects.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6913 (__libc_ifunc_impl_list): Likewise.
6914
6915 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6916
6917 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6919 file.
6920 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6921 file.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6923 file: multiarch mempcpy for PPC32.
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6925 multiarch objects.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6927 (__libc_ifunc_impl_list): Likewise.
6928
6929 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6930
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6932 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6935 multiarch bzero for PPC32.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6937 file.
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6939 file.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6941 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6942 file: multiarch memset for PPC32.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6945 memset multiarch objects.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6947 (__libc_ifunc_impl_list): Likewise.
6948
6949 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6952 file.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6955 memcmp for PPC32.
6956 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6958 multiarch objects.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6960 (__libc_ifunc_impl_list): Likewise.
6961
6962 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6963
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6967 file.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6969 file.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6971 file.
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6973 multiarch memcpy for PPC32.
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6975 multiarch objects.
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6977 (__libc_ifunc_impl_list): Likewise.
6978
6979 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6980
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6982 support multiarch for POWER/PPC32.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6984 Likewise.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6987 Implies file to make multiarch folder appers before the fpu and
6988 default folder for power4 configuration.
6989
6990 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6991
6992 * scripts/bench.pl: Append volatile keyword to type.
6993
6994 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6995
6996 * sysdeps/sh/sotruss-lib.c: New file.
6997 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6998
6999 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7000
7001 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7002
7003 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7004
7005 [BZ #6810]
7006 * math/w_tgamma.c: Include <errno.h>.
7007 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7008 * math/w_tgammaf.c: Include <errno.h>.
7009 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7010 * math/w_tgammal.c: Include <errno.h>.
7011 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7012 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7013 underflow. Add more tgamma tests.
7014 * math/auto-libm-test-out: Regenerated.
7015 * sysdeps/i386/fpu/libm-test-ulps: Update.
7016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7017
7018 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7019 sin, sinh, tan, tanh, tgamma, y0 and y1.
7020 * math/auto-libm-test-out: Regenerated.
7021 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7022 (TEST_COND_x86): Likewise.
7023 (M_E2l): Remove macro.
7024 (M_E3l): Likewise.
7025 (M_2_SQRT_PIl): Likewise.
7026 (M_SQRT_PIl): Likewise.
7027 (M_1_DIV_El): Likewise.
7028 (log_test_data): Use AUTO_TESTS_f_f.
7029 (log10_test_data): Likewise.
7030 (log1p_test_data): Likewise.
7031 (log2_test_data): Likewise.
7032 (sin_test_data): Likewise.
7033 (sin_tonearest_test_data): Likewise.
7034 (sin_towardzero_test_data): Likewise.
7035 (sin_downward_test_data): Likewise.
7036 (sin_upward_test_data): Likewise.
7037 (sinh_test_data): Likewise.
7038 (sinh_tonearest_test_data): Likewise.
7039 (sinh_towardzero_test_data): Likewise.
7040 (sinh_downward_test_data): Likewise.
7041 (sinh_upward_test_data): Likewise.
7042 (tan_test_data): Likewise.
7043 (tan_tonearest_test_data): Likewise.
7044 (tan_towardzero_test_data): Likewise.
7045 (tan_downward_test_data): Likewise.
7046 (tan_upward_test_data): Likewise.
7047 (tanh_test_data): Likewise.
7048 (tgamma_test_data): Likewise.
7049 (y0_test_data): Likewise.
7050 (y1_test_data): Likewise.
7051 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7052 (special_real_inputs): Add pi/4.
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055
7056 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7057
7058 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7059 "longjmp_target" static probes.
7060 (__longjmp): Rename to __longjmp_symbol.
7061 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7062 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7063 on which longjmp to generate.
7064 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7065 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7066 probe.
7067 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7068 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7069 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7070 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7071 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7072 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7074 __longjmp_symbol based on which __longjmp to generate.
7075 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7076 probe.
7077 (setjmp): Rename to setjmp_symbol.
7078 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7079 (_setjmp): Rename to _setjmp_symbol.
7080 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7081 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7082 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7083 which setjmp to generate.
7084 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7085 "longjmp_target" static probes.
7086
7087 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7088
7089 * benchtests/README: Add note about output arguments.
7090 * benchtests/bench-sincos.c: Remove file.
7091 * benchtests/sincos-inputs: New file.
7092 * scripts/bench.pl: Identify output arguments and define
7093 static variables for them.
7094
7095 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7096
7097 [BZ #15941]
7098 * Makefile (INSTALL): Add install-plain.texi as the primary
7099 dependency.
7100 * manual/install-plain.texi: New file.
7101 * manual/install.texi: Include node directive only for
7102 non-plaintext output.
7103
7104 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7105
7106 * stdlib/longlong.h: Update from GCC.
7107
7108 [BZ #6807]
7109 [BZ #15901]
7110 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7111 * math/w_j0f.c (y0f): Likewise.
7112 * math/w_j0l.c (__y0l): Likewise.
7113 * math/w_j1.c (y1): Likewise.
7114 * math/w_j1f.c (y1f): Likewise.
7115 * math/w_j1l.c (__y1l): Likewise
7116 * math/w_jn.c (yn): Likewise.
7117 * math/w_jnf.c (ynf): Likewise.
7118 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7119 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7120 value for Bessel function domain errors outside _SVID_ mode.
7121 Adjust sign of return value for yn (negative integer, 0).
7122 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7123 by zero in return for negative x and set sign appropriately for
7124 negative n.
7125 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7126 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7127 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7128 expectations in error cases.
7129 (y1_test_data): Likewise.
7130 (yn_test_data): Likewise.
7131 * sysdeps/i386/fpu/libm-test-ulps: Update.
7132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7133
7134 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7135
7136 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7137 "64" to "64-v1". Add "64-v2".
7138 (abi-64-options): Rename to ...
7139 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7140 (abi-64-condition): Rename to ...
7141 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7142 (abi-64-ld-soname): Rename to ...
7143 (abi-64-v1-ld-soname): ... this.
7144 (abi-64-v2-options): Define.
7145 (abi-64-v2-condition): Likewise.
7146 (abi-64-v2-ld-soname): Likewise.
7147 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7148 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7152
7153 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7154 Alan Modra <amodra@gmail.com>
7155
7156 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7157 New versions for use with the ELFv2 ABI.
7158 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7159 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7160 declaration.
7161 (struct La_ppc64v2_retval): Likewise.
7162 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7163 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7164 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7165 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7166 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7167 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7168 Do not save or restore CR.
7169 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7170 (_dl_profile_resolve): Do no save or restore CR. Support extended
7171 return values for ELFv2 ABI. Fix location of FPR return registers.
7172 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7173 updated values for _CALL_ELF == 2.
7174 (La_regs, La_retval, int_retval): Likewise.
7175
7176 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7177
7178 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7179 (FRAME_MIN_SIZE_PARM): Likewise.
7180 (FRAME_BACKCHAIN): Likewise.
7181 (FRAME_CR_SAVE): Likewise.
7182 (FRAME_LR_SAVE): Likewise.
7183 (FRAME_TOC_SAVE): Likewise.
7184 (FRAME_PARM_SAVE): Likewise.
7185 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7186 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7187 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7188 (call_mcount_parm_offset): New macro.
7189 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7190 (PROF): Use symbolic stack frame offsets.
7191 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7192 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7193 Redefine in terms of FRAME_MIN_SIZE.
7194 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7195 (_dl_profile_resolve): Likewise. Update comment.
7196 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7197 symbols stack frame offsets.
7198 (__sigsetjmp): Likewise.
7199 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7200 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7201 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7202 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7203
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7205 (FRAME_BACKCHAIN): Remove.
7206 (FRAME_CR_SAVE): Likewise.
7207 (FRAME_LR_SAVE): Likewise.
7208 (FRAME_COMPILER_DW): Likewise.
7209 (FRAME_LINKER_DW): Likewise.
7210 (FRAME_TOC_SAVE): Likewise.
7211 (FRAME_PARM_SAVE): Likewise.
7212 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7213 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7214 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7216 (CHECK_SP): Use symbolic stack frame offsets.
7217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7218 zone" instead of caller's parameter save area for temp storage.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7220 Likewise. Also, use symbolic stack frame offsets.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7222 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7223 our own stack frame instead of the caller's.
7224 (__socket): Use symbolic stack frame offsets.
7225
7226 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7227 Alan Modra <amodra@gmail.com>
7228
7229 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7230 Define.
7231 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7232 PPC64_LOCAL_ENTRY_OFFSET): Define.
7233 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7234 New function.
7235 (elf_machine_fixup_plt): Call it.
7236 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7237 reloc arguments.
7238 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7239 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7240 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7241 r2 before calling target.
7242
7243 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7244 Alan Modra <amodra@gmail.com>
7245
7246 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7247 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7248 versions of macros to support ELFv2 ABI.
7249 (LOCALENTRY): New macro.
7250 (ENTRY, EALIGN): Use it.
7251 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7252 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7253 fall through into ENTRY entry point.
7254 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7255 Only define if _CALL_ELF != 2.
7256
7257 (elf_machine_matches_host): Verify ABI version matches.
7258 (RTLD_START): Use LOCALENTRY.
7259 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7260 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7261 (PLT_ENTRY_WORDS): New macro.
7262 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7263 (elf_machine_runtime_setup): Support ELFv2 ABI.
7264 (elf_machine_fixup_plt): Likewise.
7265 (elf_machine_plt_conflict): Likewise.
7266 (resolve_ifunc): Likewise.
7267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7268 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7269 Likewise.
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7271 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7273 (makecontext): Support ELFv2 ABI.
7274 * elf/elf.h (EF_PPC64_ABI): Define.
7275
7276 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7277
7278 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7279 New assembler macro.
7280 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7281 [ASSEMBLER] (ENTRY): ... but instead here ...
7282 [ASSEMBLER] (EALIGN): ... and here.
7283 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7284 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7285 [!ASSEMBLER] (ENTRY_2): Use it.
7286 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7287 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7288 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7289 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7290 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7292 Use PPC64_LOAD_FUNCPTR.
7293
7294 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7295
7296 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7297
7298 2013-12-04 Alan Modra <amodra@gmail.com>
7299
7300 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7301 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7302 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7303 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7304
7305 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7306 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7307 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7308 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7309 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7310 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7311
7312 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7313
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7315 (__makecontext): Fix incorrect CFI when backtracing out of
7316 context created via makecontext.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7318 (__setcontext): Fix incorrect CFI during switch to new context.
7319 (__novec_setcontext): Likewise.
7320
7321 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7322
7323 [BZ #4772]
7324 * time/strptime_l.c (__strptime_internal): Allow modifiers
7325 in strptime.
7326 * time/tst-strptime.c (day_tests): Add testcase.
7327
7328
7329 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7330
7331 * scripts/bench.pl: Skip over blank lines.
7332
7333 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7334
7335 [BZ #926]
7336 * manual/time.texi (Calendar Time): Clarify what timezone functions
7337 use.
7338
7339 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7340
7341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7342
7343 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7344
7345 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7346 implementation.
7347 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7348 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7349 * debug/memset_chk.c (__memset_chk): Likewise.
7350 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7351 * debug/strncpy_chk.c: Likewise.
7352
7353 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7354
7355 [BZ #15268]
7356 [BZ #15425]
7357 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7358 (__ieee754_exp): For possibly underflowing results, check size of
7359 result and force underflow exception if required.
7360 * math/auto-libm-test-in: Add more tests of exp.
7361 * math/auto-libm-test-out: Regenerated.
7362 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7364
7365 [BZ #16283]
7366 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7367 * math/w_exp2f.c (__exp2f): Likewise.
7368 * math/w_exp2l.c (__exp2l): Likewise.
7369 * math/auto-libm-test-in: Do not allow missing errno on exp2
7370 underflow.
7371 * math/auto-libm-test-out: Regenerated.
7372
7373 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7374
7375 [BZ #16274]
7376 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7377 handle filename validation.
7378 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7379 (do_open): Delete.
7380
7381 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7382
7383 [BZ #6786]
7384 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7385 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7386 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7387 <float.h>.
7388 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7389 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7390 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7392 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7393 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7394 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7395 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7396 Add more erfc tests.
7397 * math/auto-libm-test-out: Regenerated.
7398 * sysdeps/i386/fpu/libm-test-ulps: Update.
7399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7400
7401 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7402 exp2, expm1, j0 and j1.
7403 * math/auto-libm-test-out: Regenerated.
7404 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7405 (erfc_test_data): Likewise.
7406 (exp_test_data): Likewise.
7407 (exp_tonearest_test_data): Likewise.
7408 (exp_towardzero_test_data): Likewise.
7409 (exp_downward_test_data): Likewise.
7410 (exp_upward_test_data): Likewise.
7411 (exp10_test_data): Likewise.
7412 (exp2_test_data): Likewise.
7413 (expm1_test_data): Likewise.
7414 (j0_test_data): Likewise.
7415 (j1_test_data): Likewise.
7416 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7417 (input_flag_type): Add flag_xfail_rounding.
7418 (input_flags): Add xfail-rounding.
7419 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7420 (output_for_one_input_case): Handle flag_xfail_rounding.
7421 * sysdeps/i386/fpu/libm-test-ulps: Update.
7422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7423
7424 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7425
7426 [BZ #16289]
7427 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7428 division by 0.
7429
7430 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7431
7432 [BZ #16195]
7433 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7434 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7435 (STAP_PROBE0): New macro.
7436 (STAP_PROBE1): Likewise.
7437 (STAP_PROBE2): Likewise.
7438 (STAP_PROBE3): Likewise.
7439 (STAP_PROBE4): Likewise.
7440
7441 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7442
7443 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7444
7445 2013-12-02 Steve Ellcey <sellcey@mips.com>
7446
7447 * benchtests/Makefile (bench): Add sqrt.
7448 (LDLIBS-bench-sqrt): New.
7449 * benchtests/sqrt-input: New.
7450
7451 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7452
7453 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7454 (GAIH_EAI): Likewise.
7455 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7456 (gaih_inet): Likewise.
7457 (getaddrinfo): Don't use GAIH_EAI.
7458
7459 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7460 (struct gaih): Remove definition.
7461
7462 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7463
7464 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7465 Use HERRNOP directly.
7466
7467 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7468
7469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7470
7471 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7472
7473 * math/gen-auto-libm-tests.c (test_functions): Add more
7474 single-argument functions.
7475 (special_fill_pi_2): New function.
7476 (special_fill_minus_pi_2): Likewise.
7477 (special_fill_pi_6): Likewise.
7478 (special_fill_minus_pi_6): Likewise.
7479 (special_fill_pi_3): Likewise.
7480 (special_fill_2pi_3): Likewise.
7481 (special_fill_e): Likewise.
7482 (special_fill_1_e): Likewise.
7483 (special_fill_e_minus_1): Likewise.
7484 (special_real_inputs): Add more special inputs.
7485 (output_for_one_input_case): Do not require ERANGE on underflow to
7486 zero if round-to-nearest result does not underflow to zero, unless
7487 exact results required.
7488 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7489 atan, atanh, cbrt, cos and cosh.
7490 * math/auto-libm-test-out: Regenerated.
7491 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7492 (acos_tonearest_test_data): Likewise.
7493 (acos_towardzero_test_data): Likewise.
7494 (acos_downward_test_data): Likewise.
7495 (acos_upward_test_data): Likewise.
7496 (acosh_test_data): Likewise.
7497 (asin_test_data): Likewise.
7498 (asin_tonearest_test_data): Likewise.
7499 (asin_towardzero_test_data): Likewise.
7500 (asin_upward_test_data): Likewise.
7501 (asinh_test_data): Likewise.
7502 (atan_test_data): Likewise.
7503 (atanh_test_data): Likewise.
7504 (cbrt_test_data): Likewise.
7505 (cos_test_data): Likewise.
7506 (cos_tonearest_test_data): Likewise.
7507 (cos_towardzero_test_data): Likewise.
7508 (cos_downward_test_data): Likewise.
7509 (cos_upward_test_data): Likewise.
7510 (cosh_test_data): Likewise.
7511 (cosh_tonearest_test_data): Likewise.
7512 (cosh_towardzero_test_data): Likewise.
7513 (cosh_downward_test_data): Likewise.
7514 (cosh_upward_test_data): Likewise.
7515 * sysdeps/i386/fpu/libm-test-ulps: Update.
7516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7517
7518 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7519
7520 [BZ #6787]
7521 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7522 * math/w_exp10f.c (__exp10f): Likewise.
7523 * math/w_exp10l.c (__exp10l): Likewise.
7524 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7525 errno settings in existing tests.
7526
7527 [BZ #14032]
7528 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7529 precision control set to double precision.
7530 * sysdeps/i386/fpu/w_sqrt.c: New file.
7531 * math/auto-libm-test-in: Add more tests.
7532 * math/auto-libm-test-out: Update.
7533
7534 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7535 (sqrt_test_tonearest): New function.
7536 (sqrt_towardzero_test_data): New variable.
7537 (sqrt_test_towardzero): New function.
7538 (sqrt_downward_test_data): New variable.
7539 (sqrt_test_downward): New function.
7540 (sqrt_upward_test_data): New variable.
7541 (sqrt_test_upward): New function.
7542 (main): Call the new functions.
7543
7544 * math/gen-auto-libm-tests.c: New file.
7545 * math/auto-libm-test-in: Likewise.
7546 * math/auto-libm-test-out: New generated file.
7547 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7548 variables.
7549 (%beautify): Add generated representations of zero.
7550 (top level): Set $auto_input and call parse_auto_input.
7551 (beautify): Remove trailing "f" from hex float constants.
7552 (parse_args): Handle XFAIL_TEST.
7553 (convert_condition): New function.
7554 (or_value): Likewise.
7555 (or_cond_value): Likewise.
7556 (generate_testfile): Handle AUTO_TESTS_* lines.
7557 (parse_auto_input): New function.
7558 * math/libm-test.inc (XFAIL_TEST): New macro.
7559 (ERRNO_UNCHANGED): Update value.
7560 (ERRNO_EDOM): Likewise.
7561 (ERRNO_ERANGE): Likewise.
7562 (IGNORE_RESULT): Likewise.
7563 (TEST_COND_flt_32): New macro.
7564 (TEST_COND_dbl_64): Likewise.
7565 (TEST_COND_ldbl_96_intel): Likewise.
7566 (TEST_COND_ldbl_96_m68k): Likewise.
7567 (TEST_COND_ldbl_128): Likewise.
7568 (TEST_COND_ldbl_128ibm): Likewise.
7569 (TEST_COND_long32): Likewise.
7570 (TEST_COND_long64): Likewise.
7571 (TEST_COND_before_rounding): Likewise.
7572 (TEST_COND_after_rounding): Likewise.
7573 (enable_test): Handle XFAIL_TEST flag.
7574 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7575 with finite results.
7576 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7577 auto-libm-test-out.
7578
7579 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7580 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7581
7582 [BZ #16214]
7583 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7584 __tls_get_addr_internal instead of __tls_get_offset in order to
7585 avoid GOT pointer dependency. Make rtld export
7586 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7587 __tls_get_addr since we are a __tls_get_offset platform.
7588 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7589 GOT pointer being set up before.
7590 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7591
7592 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7593
7594 * manual/math.texi (Errors in Math Functions): Document accuracy
7595 goals.
7596
7597 [BZ #15004]
7598 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7599 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7600 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7601 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7602 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7603 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7614
7615 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7616 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7617 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7618 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7619 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7620 Likewise.
7621 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7622 Likewise.
7623 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7624 Likewise.
7625 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7626 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7627 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7628 atomic-feupdateenv and flt-rounds.
7629 * sysdeps/powerpc/nofpu/Versions (libc): Add
7630 __atomic_feholdexcept, __atomic_feclearexcept,
7631 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7632 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7633 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7634 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7635 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7636 here.
7637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7638 Update.
7639
7640 * manual/arith.texi (FP Exceptions): Document that exceptions may
7641 not be raised when matherr is used.
7642 (Math Error Reporting): Document overflow in directed rounding
7643 modes. Document that errno may not be set when finite values are
7644 returned on overflow. Document intent to set errno on underflow
7645 only for underflow to zero.
7646
7647 [BZ #16271]
7648 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7649 round-to-nearest then adjust result for other rounding modes.
7650 * include/fenv.h (fegetround): Use libm_hidden_proto.
7651 * math/fegetround.c (fegetround): Use libm_hidden_def.
7652 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7653 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7654 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7655 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7656 Likewise.
7657 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7658 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7659 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7660 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7661
7662 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7663
7664 [BZ #16077]
7665 * nss/Versions (libnss_files): Add
7666 _nss_files_gethostbyname3_r.
7667 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7668 New function.
7669 (HOST_DB_LOOKUP): Remove macro.
7670 (_nss_files_gethostbyname_r): Implement function without the
7671 HOST_DB_LOOKUP macro.
7672 (_nss_files_gethostbyname2_r): Likewise.
7673
7674 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7675
7676 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7677
7678 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7679
7680 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7681 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7682 warning.
7683
7684 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7685
7686 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7687 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7688 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7689 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7690 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7691 __fe_nomask_env_priv and attribute_hidden.
7692 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7693 (libc_feupdateenv_test_ppc): Likewise.
7694 (libc_feresetround_ppc): Likewise.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7696 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7697 compat_symbol macro.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7699 (__fe_nomask_env): Likewise.
7700 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7701
7702 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7703
7704 * string/Makefile: Remove ifunc tests.
7705 * string/test-string.h: Define TEST_IFUNC.
7706 * string/test-bcopy-ifunc.c: Remove.
7707 * string/test-bzero-ifunc.c: Likewise.
7708 * string/test-memccpy-ifunc.c: Likewise.
7709 * string/test-memchr-ifunc.c: Likewise.
7710 * string/test-memcmp-ifunc.c: Likewise.
7711 * string/test-memcpy-ifunc.c: Likewise.
7712 * string/test-memmem-ifunc.c: Likewise.
7713 * string/test-memmove-ifunc.c: Likewise.
7714 * string/test-mempcpy-ifunc.c: Likewise.
7715 * string/test-memrchr-ifunc.c: Likewise.
7716 * string/test-memset-ifunc.c: Likewise.
7717 * string/test-rawmemchr-ifunc.c: Likewise.
7718 * string/test-stpcpy-ifunc.c: Likewise.
7719 * string/test-stpncpy-ifunc.c: Likewise.
7720 * string/test-strcasecmp-ifunc.c: Likewise.
7721 * string/test-strcasestr-ifunc.c: Likewise.
7722 * string/test-strcat-ifunc.c: Likewise.
7723 * string/test-strchr-ifunc.c: Likewise.
7724 * string/test-strchrnul-ifunc.c: Likewise.
7725 * string/test-strcmp-ifunc.c: Likewise.
7726 * string/test-strcpy-ifunc.c: Likewise.
7727 * string/test-strcspn-ifunc.c: Likewise.
7728 * string/test-strlen-ifunc.c: Likewise.
7729 * string/test-strncasecmp-ifunc.c: Likewise.
7730 * string/test-strncat-ifunc.c: Likewise.
7731 * string/test-strncmp-ifunc.c: Likewise.
7732 * string/test-strncpy-ifunc.c: Likewise.
7733 * string/test-strnlen-ifunc.c: Likewise.
7734 * string/test-strpbrk-ifunc.c: Likewise.
7735 * string/test-strrchr-ifunc.c: Likewise.
7736 * string/test-strspn-ifunc.c: Likewise.
7737 * string/test-strstr-ifunc.c: Likewise.
7738
7739 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7740
7741 * benchtests/Makefile: Remove ifunc tests.
7742 * benchtests/bench-string.h: Define TEST_IFUNC.
7743 * benchtests/bench-bcopy-ifunc.c: Remove.
7744 * benchtests/bench-bzero-ifunc.c: Likewise.
7745 * benchtests/bench-memccpy-ifunc.c: Likewise.
7746 * benchtests/bench-memchr-ifunc.c: Likewise.
7747 * benchtests/bench-memcmp-ifunc.c: Likewise.
7748 * benchtests/bench-memcpy-ifunc.c: Likewise.
7749 * benchtests/bench-memmem-ifunc.c: Likewise.
7750 * benchtests/bench-memmove-ifunc.c: Likewise.
7751 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7752 * benchtests/bench-memrchr-ifunc.c: Likewise.
7753 * benchtests/bench-memset-ifunc.c: Likewise.
7754 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7755 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7756 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7757 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7758 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7759 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7760 * benchtests/bench-strcat-ifunc.c: Likewise.
7761 * benchtests/bench-strchr-ifunc.c: Likewise.
7762 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7763 * benchtests/bench-strcmp-ifunc.c: Likewise.
7764 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7765 * benchtests/bench-strcpy-ifunc.c: Likewise.
7766 * benchtests/bench-strcspn-ifunc.c: Likewise.
7767 * benchtests/bench-strlen-ifunc.c: Likewise.
7768 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7769 * benchtests/bench-strncat-ifunc.c: Likewise.
7770 * benchtests/bench-strncmp-ifunc.c: Likewise.
7771 * benchtests/bench-strncpy-ifunc.c: Likewise.
7772 * benchtests/bench-strnlen-ifunc.c: Likewise.
7773 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7774 * benchtests/bench-strrchr-ifunc.c: Likewise.
7775 * benchtests/bench-strsep-ifunc.c: Likewise.
7776 * benchtests/bench-strspn-ifunc.c: Likewise.
7777 * benchtests/bench-strstr-ifunc.c: Likewise.
7778
7779 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7780
7781 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7782
7783 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
7784
7785 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7786 * rt/aio.h: Likewise.
7787 * sysdeps/gnu/bits/utmp.h: Likewise.
7788 * sysdeps/gnu/bits/utmpx.h: Likewise.
7789 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7790 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7791 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7792 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7793 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7794 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7795 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7796 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7797 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7799 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7800 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7804 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7805 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7806 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7807 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7808 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7809 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7811 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7812 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7813 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7815 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7816 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7819 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7824 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7825 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7826 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7827 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7828 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7829 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7830 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7831
7832 2013-11-25 Carlos O'Donell <carlos@redhat.com>
7833
7834 [BZ #16245]
7835 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7836 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7837
7838 2013-11-25 Joseph Myers <joseph@codesourcery.com>
7839
7840 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7841 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7842 Likewise.
7843
7844 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7845
7846 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7847 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7848 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7849 (__fesetround): Remove define.
7850 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7851 rounding and exceptions handling.
7852 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7853 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7854 (__fe_nomask_env): Likewise.
7855 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7856 __fegetround instead of fegetround.
7857 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7859
7860 2013-11-21 Roland McGrath <roland@hack.frob.com>
7861
7862 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7863 it's there.
7864
7865 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7866
7867 2013-11-21 Meador Inge <meadori@codesourcery.com>
7868
7869 [BZ #11157]
7870 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7871 (encrypt_r): Likewise.
7872 * malloc/obstack.h (obstack_free): Likewise.
7873 * posix/unistd.h (encrypt): Likewise.
7874
7875 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7876
7877 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7878 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7879 DL_CALL_DT_FINI() that call the functions directly.
7880 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7881 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7882 * elf/dl-fini.c: Likewise.
7883
7884 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
7885
7886 * malloc/hooks.c (memalign_check): Add alignment rounding.
7887 * malloc/malloc.c (_mid_memalign): New function.
7888 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7889 Implement by calling _mid_memalign.
7890 * manual/probes.texi (Memory Allocation Probes): Remove
7891 memory_valloc_retry and memory_pvalloc_retry.
7892
7893 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7894
7895 * locale/programs/locarchive.c (open_archive): Add const
7896 qualifier to ARCHIVEFNAME and copy default fname to
7897 DEFAULT_FNAME.
7898
7899 [BZ #15601]
7900 * libio/tst-widetext.input: Rename Oriya to Odia.
7901 * locale/iso-639.def: Likewise.
7902
7903 * manual/probes.texi (Mathematical Function Probes): Add
7904 documentation for sin, cos, asin and acos probes.
7905 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7906 (__sin32): Add slowasin probe.
7907 (__cos32): Add slowacos probe.
7908 (__mpsin): Add slowsin probe.
7909 (__mpcos): Add slowcos probe.
7910
7911 2013-11-19 Joseph Myers <joseph@codesourcery.com>
7912
7913 [BZ #15483]
7914 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7915 thread-local __sim_exceptions_thread and global
7916 __sim_exceptions_global.
7917 (__sim_disabled_exceptions): Change to thread-local
7918 __sim_disabled_exceptions_thread and global
7919 __sim_disabled_exceptions_global.
7920 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7921 and global __sim_round_mode_global.
7922 (__simulate_exceptions): Use thread-local floating-point state and
7923 set global state from it as needed.
7924 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7925 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7926 __sim_round_mode_thread.
7927 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7928 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7929 and global __sim_exceptions_global.
7930 (__sim_disabled_exceptions): Change to thread-local
7931 __sim_disabled_exceptions_thread and global
7932 __sim_disabled_exceptions_global.
7933 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7934 and global __sim_round_mode_global.
7935 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7936 (SIM_SET_GLOBAL): Likewise.
7937 * sysdeps/powerpc/soft-fp/sfp-machine.h
7938 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7939 __sim_round_mode_thread.
7940 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7941 __sim_disabled_exceptions_thread.
7942 (__sim_exceptions): Change to __sim_exceptions_thread.
7943 (__sim_disabled_exceptions): Change to
7944 __sim_disabled_exceptions_thread.
7945 (__sim_round_mode): Change to __sim_round_mode_thread.
7946 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7947 thread-local floating-point state and set global state from it as
7948 needed.
7949 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7950 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7951 (__sim_disabled_exceptions): Remove extern declaration.
7952 (feenableexcept): Use thread-local floating-point state and set
7953 global state from it as needed.
7954 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7955 extern declaration.
7956 (__sim_disabled_exceptions): Likewise.
7957 (__sim_round_mode): Likewise.
7958 (__fegetenv): Use thread-local floating-point state.
7959 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7960 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7961 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7962 floating-point state and set global state from it as needed.
7963 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7964 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7965 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7966 Likewise.
7967 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7968 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7969 Likewise.
7970 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7971 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7972 Use __sim_round_mode_thread.
7973 * math/test-fenv-tls.c: New file.
7974 * math/Makefile (tests): Add test-fenv-tls.
7975 ($(objpfx)test-fenv-tls): Depend on
7976 $(common-objpfx)nptl/libpthread.so.
7977
7978 2013-11-19 Andreas Schwab <schwab@suse.de>
7979
7980 * locale/programs/locale.c (show_info): Decode wordarray elements.
7981 * locale/categories.def (LC_MONETARY): Add element for
7982 _NL_MONETARY_CRNCYSTR.
7983 * locale/C-monetary.c (conversion_rate): New variable.
7984 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7985 element.
7986
7987 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7988
7989 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7990 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7991
7992 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7993
7994 * elf/Makefile (tst-auxv): New test.
7995 * elf/tst-auxv.c: New
7996 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7997
7998 2013-11-18 Joseph Myers <joseph@codesourcery.com>
7999
8000 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8001 (hidden_proto): Caller changed.
8002 (hidden_tls_proto): New macro.
8003 (libc_hidden_tls_proto): Likewise.
8004 (rtld_hidden_tls_proto): Likewise.
8005 (libm_hidden_tls_proto): Likewise.
8006 (libresolv_hidden_tls_proto): Likewise.
8007 (librt_hidden_tls_proto): Likewise.
8008 (libdl_hidden_tls_proto): Likewise.
8009 (libnss_files_hidden_tls_proto): Likewise.
8010 (libnsl_hidden_tls_proto): Likewise.
8011 (libnss_nisplus_hidden_tls_proto): Likewise.
8012 (libutil_hidden_tls_proto): Likewise.
8013
8014 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8015
8016 [BZ #10253]
8017 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8018 (decompose_rpath): Defer expansion to fillin_rpath.
8019 (_dl_init_paths): Pass linkmap to fillin_rpath.
8020
8021 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8022
8023 * benchtests/Makefile: Add strsep.
8024 * benchtests/bench-strsep.c: New file: strsep benchtest.
8025 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8026
8027 2013-11-18 Andreas Schwab <schwab@suse.de>
8028
8029 * locale/programs/locale.c (show_info) [case byte]: Check for
8030 '\377' instead of '\177'.
8031 * locale/C-monetary.c (not_available): Always use "\377".
8032 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8033 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8034 detect unavailable sign_posn locale elements.
8035 * locale/localeconv.c (__localeconv): For grouping and
8036 mon_grouping handle "\177" and "\377" like no grouping.
8037 (INT_ELEM): New macro. Use it to set all numeric members.
8038 * locale/programs/ld-monetary.c (monetary_read)
8039 <tok_mon_grouping>: Normalize single -1 to the empty string.
8040 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8041 Likewise.
8042
8043 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8044
8045 [BZ #16055]
8046 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8047 when we match (nil).
8048 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8049
8050 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8051
8052 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8053 (NO_TEST_INLINE): Update value.
8054 (ERRNO_UNCHANGED): Likewise.
8055 (ERRNO_EDOM): Likewise.
8056 (ERRNO_ERANGE): Likewise.
8057 (IGNORE_RESULT): Likewise.
8058 (check_float_internal): Check signs of NaN results if
8059 TEST_NAN_SIGN used.
8060 (check_complex): Pass TEST_NAN_SIGN flag through to second
8061 check_float_internal call.
8062 (copysign_test_data): Add tests with quiet NaNs as second
8063 argument. Use TEST_NAN_SIGN.
8064 (fabs_test_data): Add test of negative quiet NaN argument. Use
8065 TEST_NAN_SIGN.
8066 (signbit_test_data): Add tests of quiet NaN argument.
8067 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8068
8069 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8070 $ignore_result.
8071 (parse_args): Handle function results specified as IGNORE.
8072 * math/libm-test.inc (IGNORE_RESULT): New macro.
8073 (check_float_internal): Do not check numerical result if flag
8074 IGNORE_RESULT set.
8075 (check_complex): Pass through IGNORE_RESULT to second
8076 check_float_internal call.
8077 (check_int): Do not check numerical result if flag IGNORE_RESULT
8078 set.
8079 (check_long): Likewise.
8080 (check_bool): Likewise.
8081 (check_longlong): Likewise.
8082 (lrint_test_data): Add tests of infinite and NaN arguments.
8083 (lrint_tonearest_test_data): Likewise.
8084 (lrint_towardzero_test_data): Likewise.
8085 (lrint_downward_test_data): Likewise.
8086 (lrint_upward_test_data): Likewise.
8087 (llrint_test_data): Likewise.
8088 (llrint_tonearest_test_data): Likewise.
8089 (llrint_towardzero_test_data): Likewise.
8090 (llrint_downward_test_data): Likewise.
8091 (llrint_upward_test_data): Likewise.
8092 (lround_test_data): Likewise.
8093 (llround_test_data): Likewise.
8094
8095 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8096 (ERRNO_UNCHANGED): Update value.
8097 (ERRNO_EDOM): Likewise.
8098 (ERRNO_ERANGE): Likewise.
8099 (NO_TEST_INLINE_FLOAT): New macro.
8100 (NO_TEST_INLINE_DOUBLE): Likewise.
8101 (enable_test): New function.
8102 (RUN_TEST_f_f): Check enable_test before running test.
8103 (RUN_TEST_2_f): Likewise.
8104 (RUN_TEST_fff_f): Likewise.
8105 (RUN_TEST_c_f): Likewise.
8106 (RUN_TEST_f_f1): Likewise.
8107 (RUN_TEST_fF_f1): Likewise.
8108 (RUN_TEST_fI_f1): Likewise.
8109 (RUN_TEST_ffI_f1): Likewise.
8110 (RUN_TEST_c_c): Likewise.
8111 (RUN_TEST_cc_c): Likewise.
8112 (RUN_TEST_f_i): Likewise.
8113 (RUN_TEST_f_i_tg): Likewise.
8114 (RUN_TEST_ff_i_tg): Likewise.
8115 (RUN_TEST_f_b): Likewise.
8116 (RUN_TEST_f_b_tg): Likewise.
8117 (RUN_TEST_f_l): Likewise.
8118 (RUN_TEST_f_L): Likewise.
8119 (RUN_TEST_fFF_11): Likewise.
8120 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8121 conditionals.
8122 (cosh_test_data): Likewise.
8123 (exp_test_data): Likewise.
8124 (expm1_test_data): Likewise.
8125 (hypot_test_data): Likewise.
8126 (pow_test_data): Likewise.
8127 (sinh_test_data): Likewise.
8128 (tanh_test_data): Likewise.
8129 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8130 flags argument.
8131
8132 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8133 tests with quiet NaN input and output.
8134 (acosh_test_data): Likewise.
8135 (asin_test_data): Likewise.
8136 (asinh_test_data): Likewise.
8137 (atan_test_data): Likewise.
8138 (atanh_test_data): Likewise.
8139 (atan2_test_data): Likewise.
8140 (cbrt_test_data): Likewise.
8141 (cos_test_data): Likewise.
8142 (cosh_test_data): Likewise.
8143 (erf_test_data): Likewise.
8144 (erfc_test_data): Likewise.
8145 (exp_test_data): Likewise.
8146 (exp10_test_data): Likewise.
8147 (exp2_test_data): Likewise.
8148 (expm1_test_data): Likewise.
8149 (hypot_test_data): Likewise.
8150 (j0_test_data): Likewise.
8151 (j1_test_data): Likewise.
8152 (jn_test_data): Likewise.
8153 (lgamma_test_data): Likewise.
8154 (log_test_data): Likewise.
8155 (log10_test_data): Likewise.
8156 (log1p_test_data): Likewise.
8157 (log2_test_data): Likewise.
8158 (pow_test_data): Likewise.
8159 (scalb_test_data): Likewise.
8160 (sin_test_data): Likewise.
8161 (sincos_test_data): Likewise.
8162 (sinh_test_data): Likewise.
8163 (tan_test_data): Likewise.
8164 (tanh_test_data): Likewise.
8165 (tgamma_test_data): Likewise.
8166 (y0_test_data): Likewise.
8167 (y1_test_data): Likewise.
8168 (yn_test_data): Likewise.
8169
8170 [BZ #16167]
8171 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8172 argument being NaN and avoid computations with second argument in
8173 that case.
8174 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8175 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8176 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8177
8178 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8179
8180 * locale/iso-639.def: Add Chitwani Tharu (the).
8181
8182 2013-11-14 Andreas Schwab <schwab@suse.de>
8183
8184 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8185 word instead of empty string.
8186
8187 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8188
8189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8190 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8192 (__fe_nomask_env): Likewise.
8193
8194 2013-11-13 Steve Ellcey <sellcey@mips.com>
8195
8196 * benchtests/bench-timing.h: Include time.h.
8197
8198 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8199
8200 [BZ #15997]
8201 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8202 to 3.4.0 for x32.
8203 * sysdeps/unix/sysv/linux/configure: Regenerated.
8204
8205 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8206
8207 [BZ #16151]
8208 * stdlib/strtod_l.c (round_and_return): Do not consider
8209 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8210 exponent one less than half the least subnormal exponent.
8211 * stdlib/test-strtod-round-data: Add more tests.
8212 * stdlib/tst-strtod-round.c (tests): Regenerated.
8213
8214 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8215
8216 [BZ #14143]
8217 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8218 (__fe_mask_env): Likewise.
8219 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8220 libm_hidden_proto and add function prototype.
8221 (__fe_mask_env): Add function prototype.
8222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8223 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8225 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8227 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8228
8229 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8230
8231 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8232 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8233
8234 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8235
8236 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8237 of htab_find_slot().
8238
8239 2013-11-11 David S. Miller <davem@davemloft.net>
8240
8241 [BZ #16150]
8242 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8243 symbol in the non-vis3 case in static builds.
8244 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8245 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8246 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8247 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8248
8249 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8250
8251 [BZ #387]
8252 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8253 it is empty.
8254
8255 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8256
8257 * benchtests/Makefile: Add bench-strtod.
8258 * benchtests/bench-strtod.c: New file: strtod benchtest
8259
8260 2013-11-11 Andreas Schwab <schwab@suse.de>
8261
8262 [BZ #16153]
8263 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8264 terminating NUL in key length.
8265
8266 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8267
8268 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8269 Add artificial ODP entry for vDSO symbol for PPC64.
8270 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8271 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8272
8273 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8274
8275 [BZ #15374]
8276 * nss/getent.c (services_keys): Recognize services starting with digit.
8277
8278 2013-11-06 David S. Miller <davem@davemloft.net>
8279
8280 [BZ #15985]
8281 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8282 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8283
8284 2013-11-06 Will Newton <will.newton@linaro.org>
8285
8286 * manual/memory.texi (Malloc Examples): Remove register
8287 keyword from examples.
8288
8289 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8290
8291 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8292
8293 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8294
8295 [BZ #6981]
8296 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8297 depending on [__GCC_IEC_559 > 0].
8298 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8299 depending on [__GCC_IEC_559_COMPLEX > 0].
8300
8301 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8302
8303 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8304 to iso-639.def.
8305
8306 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8307
8308 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8309
8310 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8311
8312 [BZ #16112]
8313 * malloc/malloc (malloc_info): Do not handle first bin as
8314 special case.
8315
8316 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8317
8318 * locale/iso-639.def: Add Central Nahuatl (nhn).
8319
8320 2013-11-01 Bruno Haible <bruno@clisp.org>
8321
8322 [BZ #7003]
8323 * manual/math.texi (BSD Random): Specify range upper bound as
8324 in POSIX.
8325
8326 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8327
8328 * locale/iso-639.def: Add Meadow Mari (mhr).
8329
8330 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8331
8332 [BZ #14752], [BZ #15763]
8333 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8334 Validate name.
8335 * rt/tst_shm.c: Add test for escaping directory.
8336
8337 2013-10-31 Andreas Schwab <schwab@suse.de>
8338
8339 [BZ #15917]
8340 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8341 followed by 'x' as part of digit sequence.
8342 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8343
8344 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8345
8346 [BZ #16037]
8347 * configure.ac: allow GNU Make 4.0 and greater.
8348 * configure: Regenerated.
8349
8350 2013-10-30 Will Newton <will.newton@linaro.org>
8351
8352 [BZ #16038]
8353 * malloc/hooks.c (memalign_check): Limit alignment to the
8354 maximum representable power of two.
8355 * malloc/malloc.c (__libc_memalign): Likewise.
8356 * malloc/tst-memalign.c (do_test): Add test for very
8357 large alignment values.
8358 * malloc/tst-posix_memalign.c (do_test): Likewise.
8359
8360 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8361
8362 [BZ #11087]
8363 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8364 (munmap_chunk): Likewise.
8365 (mremap_chunk): Likewise.
8366
8367 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8368
8369 [BZ #15799]
8370 * stdlib/div.c (div): Remove obsolete code.
8371 * stdlib/ldiv.c (ldiv): Likewise.
8372 * stdlib/lldiv.c (lldiv): Likewise.
8373
8374 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8375
8376 [BZ #16071]
8377 * nss/nss_files/files-XXX.c (get_contents_ret): New
8378 enumerator.
8379 (get_contents): New function.
8380 (internal_getent): Use it. Expand size of LINEBUFLEN.
8381
8382 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8383
8384 * configure.in: Moved to ...
8385 * configure.ac: ... here. Change reference to configure.in
8386 to configure.ac.
8387 * sysdeps/arm/preconfigure.ac: ... here.
8388 configure.in to configure.ac.
8389 * sysdeps/gnu/configure.in: Moved to ...
8390 * sysdeps/gnu/configure.ac: ... here.
8391 * sysdeps/i386/configure.in: Moved to ...
8392 * sysdeps/i386/configure.ac: ... here.
8393 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8394 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8395 * sysdeps/mach/configure.in: Moved to ...
8396 * sysdeps/mach/configure.ac: ... here.
8397 * sysdeps/mach/hurd/configure.in: Moved to ...
8398 * sysdeps/mach/hurd/configure.ac: ... here.
8399 * sysdeps/powerpc/configure.in: Moved to ...
8400 * sysdeps/powerpc/configure.ac: ... here.
8401 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8402 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8403 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8404 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8405 * sysdeps/s390/s390-32/configure.in: Moved to ...
8406 * sysdeps/s390/s390-32/configure.ac: ... here.
8407 * sysdeps/s390/s390-64/configure.in: Moved to ...
8408 * sysdeps/s390/s390-64/configure.ac: ... here.
8409 * sysdeps/sh/configure.in: Moved to ...
8410 * sysdeps/sh/configure.ac: ... here.
8411 * sysdeps/sparc/configure.in: Moved to ...
8412 * sysdeps/sparc/configure.ac: ... here.
8413 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8414 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8415 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8416 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8417 * sysdeps/x86_64/configure.in: Moved to ...
8418 * sysdeps/x86_64/configure.ac: ... here.
8419 * sysdeps/x86_64/preconfigure.in: Moved to ...
8420 * sysdeps/x86_64/preconfigure.ac: ... here.
8421 * aclocal.m4: Change reference to configure.in to configure.ac.
8422 * config.h.in: Likewise.
8423 * manual/install.texi: Likewise.
8424 * manual/maint.texi: Likewise.
8425 * Makefile: Likewise.
8426 * malloc/Makefile: Likewise.
8427 * nscd/Makefile: Likewise.
8428 * Makeconfig: Change reference to configure.in and
8429 preconfigure.in to configure.ac and preconfigure.ac
8430 respectively.
8431 * INSTALL: Regenerated.
8432 * configure: Likewise.
8433 * sysdeps/gnu/configure: Likewise.
8434 * sysdeps/i386/configure: Likewise.
8435 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8436 * sysdeps/mach/configure: Likewise.
8437 * sysdeps/mach/hurd/configure: Likewise.
8438 * sysdeps/powerpc/configure: Likewise.
8439 * sysdeps/powerpc/powerpc32/configure: Likewise.
8440 * sysdeps/powerpc/powerpc64/configure: Likewise.
8441 * sysdeps/s390/s390-32/configure: Likewise.
8442 * sysdeps/s390/s390-64/configure: Likewise.
8443 * sysdeps/sh/configure: Likewise.
8444 * sysdeps/sparc/configure: Likewise.
8445 * sysdeps/unix/sysv/linux/configure: Likewise.
8446 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8447 * sysdeps/x86_64/configure: Likewise.
8448 * sysdeps/x86_64/preconfigure: Likewise.
8449
8450 2013-10-29 Andreas Schwab <schwab@suse.de>
8451
8452 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8453
8454 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8455
8456 * benchtests/pow-inputs: Add new inputs.
8457
8458 * benchtests/exp-inputs: Add new inputs.
8459
8460 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8461 conditional check for return value.
8462 (__cos32): Likewise.
8463
8464 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8465
8466 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8467 to provide a boost for large inputs with word alignment.
8468 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8469 implementation based on optimized PPC64 strcpy.
8470 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8471 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8472 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8473 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8474
8475 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8476
8477 [BZ #2801]
8478 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8479
8480 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8481
8482 [BZ #14876]
8483 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8484 * time/tst-strptime.c (day_tests): Add testcase.
8485
8486 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8487
8488 [BZ #14029]
8489 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8490
8491 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8492
8493 [BZ #16074]
8494 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8495 MAP_FAILED on error.
8496
8497 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8498
8499 [BZ #16072]
8500 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8501 heap for large requests.
8502
8503 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8504
8505 [BZ #9954]
8506 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8507 result if the result has no associated interface.
8508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8509 interface for all 127.X.Y.Z addresses.
8510
8511 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8512
8513 * locale/iso-639.def: Add Ligurian (lij)
8514
8515 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8516
8517 [BZ #15825]
8518 * sunrpc/rpc_main.c: Document rpcgen -5.
8519
8520 2013-10-19 Michael Stahl <mstahl@redhat.com>
8521
8522 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8523
8524 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8525
8526 [BZ #10278]
8527 * posix/glob.c: Match only directories when trailing slash is present.
8528 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8529 (main): Add testcase.
8530
8531 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8532
8533 [BZ #15670]
8534 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8535
8536 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8537
8538 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8539 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8540 AUTH_DES and cindex for FIPS 140-2.
8541 (DES Encryption): Add cindex FIPS 46-3.
8542
8543 * locale/locarchive.h (struct locarhandle): Add fname.
8544 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8545 if an optional argument was specified to --list-archive,
8546 otherwise NULL.
8547 * locale/programs/locarchive.c (show_archive_content): Take new
8548 argument fname and pass it via ah.fname to open_archive.
8549 * locale/programs/localedef.h: Update decl.
8550 (open_archive): If AH->fname is non-null, open that file
8551 rather than the default file name, and don't ignore ENOENT.
8552 (create_archive): Set AH.fname to NULL.
8553 (delete_locales_from_archive): Likewise.
8554 (add_locales_to_archive): Likewise.
8555 * locale/programs/locfile.c (write_all_categories): Likewise.
8556
8557 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8558 Aldy Hernandez <aldyh@redhat.com>
8559
8560 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8561 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8562 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8563 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8564 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8565 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8567 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8568 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8571 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8572 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8573 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8574 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8575 Likewise.
8576 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8577 Likewise.
8578 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8579 Likewise.
8580 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8581 Likewise.
8582 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8583 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8584 Likewise.
8585 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8586 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8587 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8588 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8589 Likewise.
8590 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8591 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8592 * sysdeps/powerpc/preconfigure: Likewise.
8593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8594 Likewise.
8595 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8596 Replace contents of file by #include of <fenv_libc.h>.
8597 * sysdeps/powerpc/soft-fp/sfp-machine.h
8598 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8599 and <sys/prctl.h>.
8600 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8601 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8602 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8606 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8613 Allow copysignl PLT reference to be missing.
8614
8615 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8616 Joseph Myers <joseph@codesourcery.com
8617
8618 [BZ #15948]
8619 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8620 single character.
8621 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8622
8623 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8624
8625 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8626 * elf/tst-tls1.c: Likewise.
8627 * elf/tst-tls10.h: Likewise.
8628 * elf/tst-tls14.c: Likewise.
8629 * elf/tst-tls2.c: Likewise.
8630 * elf/tst-tls3.c: Likewise.
8631 * elf/tst-tls4.c: Likewise.
8632 * elf/tst-tls5.c: Likewise.
8633 * elf/tst-tls6.c: Likewise.
8634 * elf/tst-tls7.c: Likewise.
8635 * elf/tst-tls8.c: Likewise.
8636 * elf/tst-tls9.c: Likewise.
8637 * elf/tst-tlsmod1.c: Likewise.
8638 * elf/tst-tlsmod13.c: Likewise.
8639 * elf/tst-tlsmod13a.c: Likewise.
8640 * elf/tst-tlsmod14a.c: Likewise.
8641 * elf/tst-tlsmod16a.c: Likewise.
8642 * elf/tst-tlsmod16b.c: Likewise.
8643 * elf/tst-tlsmod2.c: Likewise.
8644 * elf/tst-tlsmod3.c: Likewise.
8645 * elf/tst-tlsmod4.c: Likewise.
8646 * elf/tst-tlsmod5.c: Likewise.
8647 * elf/tst-tlsmod6.c: Likewise.
8648
8649 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8650
8651 [BZ #12486]
8652 * malloc/malloc.c: remove checks for statistics.
8653
8654 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8655
8656 [BZ #15277]
8657 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8658 * inet/tst-network.c: Add testcase.
8659
8660 2013-10-17 Andreas Schwab <schwab@suse.de>
8661
8662 [BZ #15218]
8663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8664 to determine canonical name.
8665
8666 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8667
8668 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8669 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8692 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8693 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8726
8727 2013-10-17 Joseph Myers <joseph@codesourcery.com>
8728
8729 [BZ #16041]
8730 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8731 make result into a quiet NaN.
8732
8733 2013-10-16 Joseph Myers <joseph@codesourcery.com>
8734
8735 * soft-fp/adddf3.c: Fix horizontal whitespace.
8736 * soft-fp/addsf3.c: Likewise.
8737 * soft-fp/addtf3.c: Likewise.
8738 * soft-fp/divdf3.c: Likewise.
8739 * soft-fp/divsf3.c: Likewise.
8740 * soft-fp/divtf3.c: Likewise.
8741 * soft-fp/double.h: Likewise.
8742 * soft-fp/eqdf2.c: Likewise.
8743 * soft-fp/eqsf2.c: Likewise.
8744 * soft-fp/eqtf2.c: Likewise.
8745 * soft-fp/extenddftf2.c: Likewise.
8746 * soft-fp/extended.h: Likewise.
8747 * soft-fp/extendsfdf2.c: Likewise.
8748 * soft-fp/extendsftf2.c: Likewise.
8749 * soft-fp/extendxftf2.c: Likewise.
8750 * soft-fp/fixdfdi.c: Likewise.
8751 * soft-fp/fixdfsi.c: Likewise.
8752 * soft-fp/fixdfti.c: Likewise.
8753 * soft-fp/fixsfdi.c: Likewise.
8754 * soft-fp/fixsfsi.c: Likewise.
8755 * soft-fp/fixsfti.c: Likewise.
8756 * soft-fp/fixtfdi.c: Likewise.
8757 * soft-fp/fixtfsi.c: Likewise.
8758 * soft-fp/fixtfti.c: Likewise.
8759 * soft-fp/fixunsdfdi.c: Likewise.
8760 * soft-fp/fixunsdfsi.c: Likewise.
8761 * soft-fp/fixunsdfti.c: Likewise.
8762 * soft-fp/fixunssfdi.c: Likewise.
8763 * soft-fp/fixunssfsi.c: Likewise.
8764 * soft-fp/fixunssfti.c: Likewise.
8765 * soft-fp/fixunstfdi.c: Likewise.
8766 * soft-fp/fixunstfsi.c: Likewise.
8767 * soft-fp/fixunstfti.c: Likewise.
8768 * soft-fp/floatdidf.c: Likewise.
8769 * soft-fp/floatdisf.c: Likewise.
8770 * soft-fp/floatditf.c: Likewise.
8771 * soft-fp/floatsidf.c: Likewise.
8772 * soft-fp/floatsisf.c: Likewise.
8773 * soft-fp/floatsitf.c: Likewise.
8774 * soft-fp/floattidf.c: Likewise.
8775 * soft-fp/floattisf.c: Likewise.
8776 * soft-fp/floattitf.c: Likewise.
8777 * soft-fp/floatundidf.c: Likewise.
8778 * soft-fp/floatundisf.c: Likewise.
8779 * soft-fp/floatunditf.c: Likewise.
8780 * soft-fp/floatunsidf.c: Likewise.
8781 * soft-fp/floatunsisf.c: Likewise.
8782 * soft-fp/floatunsitf.c: Likewise.
8783 * soft-fp/floatuntidf.c: Likewise.
8784 * soft-fp/floatuntisf.c: Likewise.
8785 * soft-fp/floatuntitf.c: Likewise.
8786 * soft-fp/fmadf4.c: Likewise.
8787 * soft-fp/fmasf4.c: Likewise.
8788 * soft-fp/fmatf4.c: Likewise.
8789 * soft-fp/gedf2.c: Likewise.
8790 * soft-fp/gesf2.c: Likewise.
8791 * soft-fp/getf2.c: Likewise.
8792 * soft-fp/ledf2.c: Likewise.
8793 * soft-fp/lesf2.c: Likewise.
8794 * soft-fp/letf2.c: Likewise.
8795 * soft-fp/muldf3.c: Likewise.
8796 * soft-fp/mulsf3.c: Likewise.
8797 * soft-fp/multf3.c: Likewise.
8798 * soft-fp/negdf2.c: Likewise.
8799 * soft-fp/negsf2.c: Likewise.
8800 * soft-fp/negtf2.c: Likewise.
8801 * soft-fp/op-1.h: Likewise.
8802 * soft-fp/op-2.h: Likewise.
8803 * soft-fp/op-4.h: Likewise.
8804 * soft-fp/op-8.h: Likewise.
8805 * soft-fp/op-common.h: Likewise.
8806 * soft-fp/quad.h: Likewise.
8807 * soft-fp/single.h: Likewise.
8808 * soft-fp/soft-fp.h: Likewise.
8809 * soft-fp/sqrtdf2.c: Likewise.
8810 * soft-fp/sqrtsf2.c: Likewise.
8811 * soft-fp/sqrttf2.c: Likewise.
8812 * soft-fp/subdf3.c: Likewise.
8813 * soft-fp/subsf3.c: Likewise.
8814 * soft-fp/subtf3.c: Likewise.
8815 * soft-fp/truncdfsf2.c: Likewise.
8816 * soft-fp/trunctfdf2.c: Likewise.
8817 * soft-fp/trunctfsf2.c: Likewise.
8818 * soft-fp/trunctfxf2.c: Likewise.
8819 * soft-fp/unorddf2.c: Likewise.
8820 * soft-fp/unordsf2.c: Likewise.
8821 * soft-fp/unordtf2.c: Likewise.
8822
8823 2013-10-15 Joseph Myers <joseph@codesourcery.com>
8824
8825 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8826 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8827
8828 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
8829
8830 * elf/dl-libc.c: Clear initfini list after freeing.
8831
8832 2013-10-14 Joseph Myers <joseph@codesourcery.com>
8833
8834 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8835 * soft-fp/addsf3.c: Likewise.
8836 * soft-fp/addtf3.c: Likewise.
8837 * soft-fp/divdf3.c: Likewise.
8838 * soft-fp/divsf3.c: Likewise.
8839 * soft-fp/divtf3.c: Likewise.
8840 * soft-fp/double.h: Likewise.
8841 * soft-fp/eqdf2.c: Likewise.
8842 * soft-fp/eqsf2.c: Likewise.
8843 * soft-fp/eqtf2.c: Likewise.
8844 * soft-fp/extenddftf2.c: Likewise.
8845 * soft-fp/extended.h: Likewise.
8846 * soft-fp/extendsfdf2.c: Likewise.
8847 * soft-fp/extendsftf2.c: Likewise.
8848 * soft-fp/extendxftf2.c: Likewise.
8849 * soft-fp/fixdfdi.c: Likewise.
8850 * soft-fp/fixdfsi.c: Likewise.
8851 * soft-fp/fixdfti.c: Likewise.
8852 * soft-fp/fixsfdi.c: Likewise.
8853 * soft-fp/fixsfsi.c: Likewise.
8854 * soft-fp/fixsfti.c: Likewise.
8855 * soft-fp/fixtfdi.c: Likewise.
8856 * soft-fp/fixtfsi.c: Likewise.
8857 * soft-fp/fixtfti.c: Likewise.
8858 * soft-fp/fixunsdfdi.c: Likewise.
8859 * soft-fp/fixunsdfsi.c: Likewise.
8860 * soft-fp/fixunsdfti.c: Likewise.
8861 * soft-fp/fixunssfdi.c: Likewise.
8862 * soft-fp/fixunssfsi.c: Likewise.
8863 * soft-fp/fixunssfti.c: Likewise.
8864 * soft-fp/fixunstfdi.c: Likewise.
8865 * soft-fp/fixunstfsi.c: Likewise.
8866 * soft-fp/fixunstfti.c: Likewise.
8867 * soft-fp/floatdidf.c: Likewise.
8868 * soft-fp/floatdisf.c: Likewise.
8869 * soft-fp/floatditf.c: Likewise.
8870 * soft-fp/floatsidf.c: Likewise.
8871 * soft-fp/floatsisf.c: Likewise.
8872 * soft-fp/floatsitf.c: Likewise.
8873 * soft-fp/floattidf.c: Likewise.
8874 * soft-fp/floattisf.c: Likewise.
8875 * soft-fp/floattitf.c: Likewise.
8876 * soft-fp/floatundidf.c: Likewise.
8877 * soft-fp/floatundisf.c: Likewise.
8878 * soft-fp/floatunsidf.c: Likewise.
8879 * soft-fp/floatunsisf.c: Likewise.
8880 * soft-fp/floatuntidf.c: Likewise.
8881 * soft-fp/floatuntisf.c: Likewise.
8882 * soft-fp/floatuntitf.c: Likewise.
8883 * soft-fp/fmadf4.c: Likewise.
8884 * soft-fp/fmasf4.c: Likewise.
8885 * soft-fp/fmatf4.c: Likewise.
8886 * soft-fp/gedf2.c: Likewise.
8887 * soft-fp/gesf2.c: Likewise.
8888 * soft-fp/getf2.c: Likewise.
8889 * soft-fp/ledf2.c: Likewise.
8890 * soft-fp/lesf2.c: Likewise.
8891 * soft-fp/letf2.c: Likewise.
8892 * soft-fp/muldf3.c: Likewise.
8893 * soft-fp/mulsf3.c: Likewise.
8894 * soft-fp/multf3.c: Likewise.
8895 * soft-fp/negdf2.c: Likewise.
8896 * soft-fp/negsf2.c: Likewise.
8897 * soft-fp/negtf2.c: Likewise.
8898 * soft-fp/op-1.h: Likewise.
8899 * soft-fp/op-2.h: Likewise.
8900 * soft-fp/op-4.h: Likewise.
8901 * soft-fp/op-8.h: Likewise.
8902 * soft-fp/op-common.h: Likewise.
8903 * soft-fp/quad.h: Likewise.
8904 * soft-fp/single.h: Likewise.
8905 * soft-fp/soft-fp.h: Likewise.
8906 * soft-fp/sqrtdf2.c: Likewise.
8907 * soft-fp/sqrtsf2.c: Likewise.
8908 * soft-fp/sqrttf2.c: Likewise.
8909 * soft-fp/subdf3.c: Likewise.
8910 * soft-fp/subsf3.c: Likewise.
8911 * soft-fp/subtf3.c: Likewise.
8912 * soft-fp/truncdfsf2.c: Likewise.
8913 * soft-fp/trunctfdf2.c: Likewise.
8914 * soft-fp/trunctfsf2.c: Likewise.
8915 * soft-fp/trunctfxf2.c: Likewise.
8916 * soft-fp/unorddf2.c: Likewise.
8917 * soft-fp/unordsf2.c: Likewise.
8918 * soft-fp/unordtf2.c: Likewise.
8919
8920 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
8921
8922 [BZ #15672]
8923 * misc/error.c (error_tail): Fix possible buffer overflow.
8924
8925 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8926
8927 [BZ #13028]
8928 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8929 address.
8930
8931 2013-10-14 P. J. McDermott <pj@pehjota.net>
8932
8933 [BZ #832]
8934 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8935 testing pipefail option.
8936
8937 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8938
8939 * soft-fp/double.h: Indent preprocessor directives inside #if.
8940 * soft-fp/extended.h: Likewise.
8941 * soft-fp/op-2.h: Likewise.
8942 * soft-fp/op-4.h: Likewise.
8943 * soft-fp/op-common.h: Likewise.
8944 * soft-fp/quad.h: Likewise.
8945 * soft-fp/single.h: Likewise.
8946 * soft-fp/soft-fp.h: Likewise.
8947
8948 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8949
8950 * iconv/iconv_prog.c: Fix typos.
8951 * stdio-common/psiginfo-data.h: Likewise.
8952
8953 2013-10-12 Reuben Thomas <rrt@sc3d.org>
8954
8955 [BZ #15764]
8956 * locale/setlocale.c: Fix typo.
8957
8958 2013-10-12 Joseph Myers <joseph@codesourcery.com>
8959
8960 [BZ #16036]
8961 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8962 signaling NaN arguments.
8963 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8964 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8965
8966 [BZ #14910]
8967 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8968 unordered operands.
8969 * soft-fp/gesf2.c (__gesf2): Likewise.
8970 * soft-fp/getf2.c (__getf2): Likewise.
8971 * soft-fp/ledf2.c (__ledf2): Likewise.
8972 * soft-fp/lesf2.c (__lesf2): Likewise.
8973 * soft-fp/letf2.c (__letf2): Likewise.
8974
8975 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8976 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8977 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8978 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8979 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8980 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8981 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8982 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8983 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8984 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8985 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8986 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8987 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8988 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8989 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8990 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8991 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8992 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8993 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8994 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8995 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8996 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8997 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8998 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8999 * soft-fp/floattidf.c (__floattidf): Likewise.
9000 * soft-fp/floattisf.c (__floattisf): Likewise.
9001 * soft-fp/floattitf.c (__floattitf): Likewise.
9002 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9003 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9004 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9005 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9006 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9007 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9008 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9009 * soft-fp/gesf2.c (__gesf2): Likewise.
9010 * soft-fp/getf2.c (__getf2): Likewise.
9011 * soft-fp/ledf2.c (__ledf2): Likewise.
9012 * soft-fp/lesf2.c (__lesf2): Likewise.
9013 * soft-fp/letf2.c (__letf2): Likewise.
9014
9015 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9016 Undefine and redefine.
9017 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9018 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9019 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9020 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9021 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9022 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9023 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9024 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9025 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9026 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9027 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9028 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9029 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9030 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9031 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9032
9033 [BZ #16032]
9034 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9035 without decrementing exponent if mantissa >= that for the
9036 denominator, not >.
9037 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9038 denominator, not >. Decrement exponent in < case instead of
9039 incrementing in >= case.
9040 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9041 without decrementing exponent if mantissa >= that for the
9042 denominator, not >.
9043
9044 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9045 computing saturated result for unsigned overflow.
9046
9047 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9048 Jeff Law <law@redhat.com>
9049
9050 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9051 (atan2Mp): Add systemtap probe marker.
9052 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9053 (__ieee754_log): Add systemtap probe marker.
9054 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9055 (atanMp): Add systemtap probe marker.
9056 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9057 (tanMp): Add systemtap probe marker.
9058 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9059 (__slowexp): Add systemtap probe marker.
9060 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9061 (__slowpow): Add systemtap probe marker.
9062 * manual/probes.texi: Document probes.
9063
9064 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9065
9066 [BZ #15362]
9067 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9068 written.
9069 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9070 written.
9071 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9072 written to buffer but not flushed.
9073 * libio/iofwrite_u.c: Likewise.
9074 * libio/iopadn.c: Return bytes returned even if EOF was
9075 encountered.
9076 * libio/iowpadn.c: Likewise.
9077 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9078 if _IO_padn does not write the whole buffer.
9079 [!COMPILE_WPRINTF] (PAD): Likewise.
9080
9081 2013-10-10 David S. Miller <davem@davemloft.net>
9082
9083 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9084 directory block.
9085
9086 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9087
9088 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9089 instead of FSF address.
9090 * soft-fp/fixdfti.c: Likewise.
9091 * soft-fp/fixsfti.c: Likewise.
9092 * soft-fp/fixtfti.c: Likewise.
9093 * soft-fp/fixunsdfti.c: Likewise.
9094 * soft-fp/fixunssfti.c: Likewise.
9095 * soft-fp/fixunstfti.c: Likewise.
9096 * soft-fp/floattidf.c: Likewise.
9097 * soft-fp/floattisf.c: Likewise.
9098 * soft-fp/floattitf.c: Likewise.
9099 * soft-fp/floatuntidf.c: Likewise.
9100 * soft-fp/floatuntisf.c: Likewise.
9101 * soft-fp/floatuntitf.c: Likewise.
9102 * soft-fp/trunctfxf2.c: Likewise.
9103
9104 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9105 * soft-fp/fixdfti.c: Likewise.
9106 * soft-fp/fixsfti.c: Likewise.
9107 * soft-fp/fixtfti.c: Likewise.
9108 * soft-fp/fixunsdfti.c: Likewise.
9109 * soft-fp/fixunssfti.c: Likewise.
9110 * soft-fp/fixunstfti.c: Likewise.
9111 * soft-fp/floattidf.c: Likewise.
9112 * soft-fp/floattisf.c: Likewise.
9113 * soft-fp/floattitf.c: Likewise.
9114 * soft-fp/floatuntidf.c: Likewise.
9115 * soft-fp/floatuntisf.c: Likewise.
9116 * soft-fp/floatuntitf.c: Likewise.
9117 * soft-fp/trunctfxf2.c: Likewise.
9118
9119 2013-10-10 David S. Miller <davem@davemloft.net>
9120
9121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9122
9123 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9124
9125 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9126 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9127 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9128 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9129 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9130 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9131 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9132
9133 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9134 for NaNs before doing comparisons on argument.
9135 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9136 Likewise.
9137
9138 2013-10-10 Will Newton <will.newton@linaro.org>
9139
9140 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9141 passed to _int_memalign does not overflow.
9142
9143 2013-10-10 Torvald Riegel <triegel@redhat.com>
9144
9145 * scripts/bench.pl: Add include-sources directive.
9146 * benchtests/README: Update documentation.
9147
9148 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9149
9150 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9151 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9152 instead of FP_INIT_ROUNDMODE.
9153 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9154 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9155
9156 [BZ #16034]
9157 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9158 copy class of input value.
9159 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9160 not handle exceptions.
9161 * soft-fp/negsf2.c (__negsf2): Likewise.
9162 * soft-fp/negtf2.c (__negtf2): Likewise.
9163 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9164
9165 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9166
9167 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9168 semicolon. From Linux kernel.
9169
9170 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9171
9172 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9173
9174 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9175
9176 [BZ #156]
9177 * manual/socket.texi: Added statement about buffer
9178 for gethostbyname2_r.
9179
9180 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9181
9182 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9183 Use .p2align directive instead, throughout.
9184 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9185 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9186 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9187 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9188 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9189 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9190 * sysdeps/x86_64/strchr.S: Likewise.
9191 * sysdeps/x86_64/strrchr.S: Likewise.
9192
9193 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9194
9195 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9196
9197 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9198
9199 * sysdeps/generic/math_private.h (__mpsin1): Remove
9200 declaration.
9201 (__mpcos1): Likewise.
9202 (__mpsin): New argument __range_reduce.
9203 (__mpcos): Likewise.
9204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9205 (slow): Use __mpsin and __mpcos.
9206 (slow1): Likewise.
9207 (slow2): Likewise.
9208 (sloww): Likewise.
9209 (sloww1): Likewise.
9210 (sloww2): Likewise.
9211 (bsloww): Likewise.
9212 (bsloww1): Likewise.
9213 (bsloww2): Likewise.
9214 (cslow2): Likewise.
9215 (csloww): Likewise.
9216 (csloww1): Likewise.
9217 (csloww2): Likewise.
9218 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9219 range_reduce. Merge in __mpsin1.
9220 (__mpcos): Likewise.
9221 (__mpsin1): Remove.
9222 (__mpcos1): Likewise.
9223
9224 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9225
9226 * locale/loadlocale.c (_nl_intern_locale_data): Use
9227 LOCFILE_ALIGNED_P.
9228 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9229 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9230 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9231 obstack data is appropriately aligned.
9232 (obstack_int32_grow_fast): Likewise.
9233 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9234 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9235 (add_locale_uint32_array): Likewise.
9236
9237 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9238
9239 * benchtests/Makefile: Remove ARGLIST and RET variables.
9240 ($(objpfx)bench-%.c): Pass only function name to the script.
9241 * benchtests/README: Update documentation.
9242 * benchtests/acos-inputs: Add new directives.
9243 * benchtests/acosh-inputs: Likewise.
9244 * benchtests/asin-inputs: Likewise.
9245 * benchtests/asinh-inputs: Likewise.
9246 * benchtests/atan-inputs: Likewise.
9247 * benchtests/atanh-inputs: Likewise.
9248 * benchtests/cos-inputs: Likewise.
9249 * benchtests/cosh-inputs: Likewise.
9250 * benchtests/exp-inputs: Likewise.
9251 * benchtests/log-inputs: Likewise.
9252 * benchtests/pow-inputs: Likewise.
9253 * benchtests/rint-inputs: Likewise.
9254 * benchtests/sin-inputs: Likewise.
9255 * benchtests/sinh-inputs: Likewise.
9256 * benchtests/tan-inputs: Likewise.
9257 * benchtests/tanh-inputs: Likewise.
9258 * scripts/bench.pl: Add support for new directives.
9259
9260 2013-10-07 Alan Modra <amodra@gmail.com>
9261
9262 * README: Fix careless merge.
9263
9264 2013-10-05 Alan Modra <amodra@gmail.com>
9265
9266 * NEWS: Mention powerpc64le support and bugs fixed.
9267 * README: Both big-endian and little-endian powerpc64 supported.
9268
9269 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9270
9271 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9272 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9273 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9274 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9275
9276 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9277
9278 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9279 match prototype.
9280
9281 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9282
9283 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9284 Move -mhard-float appending from
9285 ports/sysdeps/powerpc/powerpc32/Makefile.
9286 [$(with-fp) = yes] (ASFLAGS): Likewise.
9287 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9288 * sysdeps/powerpc/nofpu: Move directory from
9289 ports/sysdeps/powerpc/nofpu.
9290 * sysdeps/powerpc/soft-fp: Move directory from
9291 ports/sysdeps/powerpc/soft-fp.
9292 * sysdeps/powerpc/powerpc32/405: Move directory from
9293 ports/sysdeps/powerpc/powerpc32/405.
9294 * sysdeps/powerpc/powerpc32/440: Move directory from
9295 ports/sysdeps/powerpc/powerpc32/440.
9296 * sysdeps/powerpc/powerpc32/464: Move directory from
9297 ports/sysdeps/powerpc/powerpc32/464.
9298 * sysdeps/powerpc/powerpc32/476: Move directory from
9299 ports/sysdeps/powerpc/powerpc32/476.
9300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9301 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9303 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9305 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9307 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9309 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9310 * README: Update for powerpc-*-linux-gnu software floating point
9311 support in libc.
9312
9313 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9314 case to powerpc/powerpc32*.
9315 * sysdeps/unix/sysv/linux/configure: Regenerated.
9316
9317 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9318 (_FPU_MASK_OM): Define as 0x04.
9319 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9320 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9321 0x00c10080.
9322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9323 0x0000003c.
9324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9325
9326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9327 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9328 getcontext_e500.
9329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9330 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9331 setcontext_e500.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9333 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9334 and setcontext_e500.
9335
9336 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9337
9338 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9339
9340 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9341
9342 * manual/threads.texi (Default Thread Attributes): Fix typo.
9343
9344 2013-10-04 Will Newton <will.newton@linaro.org>
9345
9346 * malloc/Makefile: Add tst-memalign.
9347 * malloc/tst-memalign.c: New file.
9348
9349 * malloc/tst-posix_memalign.c: Add comments.
9350 (do_test): Add comments and call free on all potentially
9351 allocated pointers. Add space after cast.
9352
9353 * malloc/tst-pvalloc.c: Add comments.
9354 (do_test): Add comments and call free on all potentially
9355 allocated pointers. Remove duplicate check for NULL pointer.
9356 Add space after cast.
9357
9358 * malloc/tst-valloc.c: Add comments.
9359 (do_test): Add comments and call free on all potentially
9360 allocated pointers. Remove duplicate check for NULL pointer.
9361 Add space after cast.
9362
9363 2013-10-04 Alan Modra <amodra@gmail.com>
9364
9365 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9366 Use stdint types in rather than __attribute__((mode())).
9367 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9368
9369 2013-10-04 Alan Modra <amodra@gmail.com>
9370
9371 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9372 Correct handling of unaligned relocs for little-endian.
9373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9374
9375 2013-10-04 Alan Modra <amodra@gmail.com>
9376
9377 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9378 * configure: Regenerate.
9379 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9380 * shlib-versions: Likewise.
9381
9382 2013-10-04 Alan Modra <amodra@gmail.com>
9383
9384 * string/tester.c (test_memrchr): Increment reported test cycle.
9385
9386 2013-10-04 Alan Modra <amodra@gmail.com>
9387
9388 * string/test-memcpy.c (do_one_test): When reporting errors, print
9389 string address and don't overrun end of string.
9390
9391 2013-10-04 Alan Modra <amodra@gmail.com>
9392
9393 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9394 insrdi. Make better use of reg selection to speed exit slightly.
9395 Schedule entry path a little better. Remove useless "are we done"
9396 checks on entry to main loop. Handle wrapping around zero address.
9397 Correct main loop count. Handle single left-over word from main
9398 loop inline rather than by using loop_small. Remove extra word
9399 case in loop_small caused by wrong loop count. Add little-endian
9400 support.
9401 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9402 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9403 cache hint.
9404 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9405 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9406 support. Avoid rlwimi.
9407 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9408
9409 2013-10-04 Alan Modra <amodra@gmail.com>
9410
9411 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9412 insrdi. Formatting.
9413 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9414 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9415 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9416 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9417 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9418 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9419
9420 2013-10-04 Alan Modra <amodra@gmail.com>
9421
9422 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9423 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9424 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9426 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9427 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9428 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9429 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9430 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9431 use of regs. Use power7 mtocrf. Tidy function tails.
9432
9433 2013-10-04 Alan Modra <amodra@gmail.com>
9434
9435 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9436 Formatting. Consistently use rXXX register defines or rN defines.
9437 Use early exit labels that avoid restoring unused non-volatile regs.
9438 Make cr field use more consistent with rWORDn compares. Rename
9439 regs used as shift registers for unaligned loop, using rN defines
9440 for short lifetime/multiple use regs.
9441 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9442 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9443 addi 1,1,64 to pop stack frame. Simplify return value code.
9444 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9445
9446 2013-10-04 Alan Modra <amodra@gmail.com>
9447
9448 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9449 support. Correct typos, formatting. Optimize tail. Use insrdi
9450 rather than rlwimi.
9451 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9452 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9453 little-endian support. Correct typos.
9454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9455 rather than rlwimi.
9456 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9457 in loop and entry code to keep "and." results.
9458 (strchr): Add little-endian support. Comment. Move cntlzd
9459 earlier in tail.
9460 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9461
9462 2013-10-04 Alan Modra <amodra@gmail.com>
9463
9464 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9465 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9466 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9467 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9468
9469 2013-10-04 Alan Modra <amodra@gmail.com>
9470
9471 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9472 (rTMP): Define as r11.
9473 (strcmp): Add little-endian support. Optimise tail.
9474 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9475 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9476 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9477 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9478 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9479 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9481
9482 2013-10-04 Alan Modra <amodra@gmail.com>
9483
9484 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9485 little-endian support. Remove unnecessary "are we done" tests.
9486 Handle "s" wrapping around zero and extremely large "size".
9487 Correct main loop count. Handle single left-over word from main
9488 loop inline rather than by using small_loop. Correct comments.
9489 Delete "zero" tail, use "end_max" instead.
9490 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9491
9492 2013-10-04 Alan Modra <amodra@gmail.com>
9493
9494 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9495 support. Don't branch over align.
9496 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9497 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9498 support. Rearrange tmp reg use to suit. Comment.
9499 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9500
9501 2013-10-04 Alan Modra <amodra@gmail.com>
9502
9503 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9504
9505 2013-10-04 Alan Modra <amodra@gmail.com>
9506
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9508 conditional form of branch and link when obtaining pc.
9509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9510
9511 2013-10-04 Alan Modra <amodra@gmail.com>
9512
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9514 HIWORD/LOWORD.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9517
9518 2013-10-04 Alan Modra <amodra@gmail.com>
9519
9520 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9521 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9522 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9523 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9524 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9525 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9526 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9527 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9528 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9529 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9530
9531 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9532 Alistair Popple <alistair@ozlabs.au.ibm.com>
9533 Alan Modra <amodra@gmail.com>
9534
9535 [BZ #15723]
9536 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9537 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9538 _dl_hwcap access for little-endian.
9539 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9540 destroy vmx regs when saving unaligned.
9541 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9542 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9543 destroy vmx regs when saving unaligned.
9544
9545 2013-10-04 Alan Modra <amodra@gmail.com>
9546
9547 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9548 Don't use a union to pack hi/low value.
9549
9550 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9551
9552 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9553 for little-endian.
9554 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9555 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9556 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9557 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9558 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9559
9560 2013-10-04 Alan Modra <amodra@gmail.com>
9561
9562 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9563 constants to usual value for .cst8 section, and remove redundant
9564 high address load.
9565 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9566 constant for 0x1p52. Load little-endian words of double from
9567 correct stack offsets.
9568
9569 2013-10-04 Alan Modra <amodra@gmail.com>
9570
9571 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9572 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9573 words of double from correct stack offsets.
9574 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9575 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9576 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9578 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9580 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9581 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9582 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9584 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9586 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9589 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9590 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9591
9592 2013-10-04 Alan Modra <amodra@gmail.com>
9593
9594 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9595 64-bit int/double union.
9596 (_FPU_SETCW): Likewise.
9597 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9598 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9599
9600 2013-10-04 Alan Modra <amodra@gmail.com>
9601
9602 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9603 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9604
9605 2013-10-04 Alan Modra <amodra@gmail.com>
9606
9607 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9608 use vector int constants.
9609 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9610
9611 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9612
9613 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9614 array with long long.
9615 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9616 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9617 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9618 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9619 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9620 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9621 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9622 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9623 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9624 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9625 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9626 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9627 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9628
9629 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9630
9631 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9632 (__signbit): Likewise. Correct for little-endian.
9633 (__signbitl): Call __signbit.
9634 (lrint): Correct for little-endian.
9635 (lrintf): Call lrint.
9636
9637 2013-10-04 Alan Modra <amodra@gmail.com>
9638
9639 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9640 union 32-bit int array member with 64-bit int array.
9641 (t515, tm256): Double rather than long double.
9642 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9643
9644 2013-10-04 Alan Modra <amodra@gmail.com>
9645
9646 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9647 Delete.
9648 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9650 version of math_ldbl.h.
9651
9652 2013-10-04 Alan Modra <amodra@gmail.com>
9653
9654 [BZ #15734], [BZ #15735]
9655 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9656 all uses of ieee875 long double macros and unions. Simplify test
9657 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9658 ldbl_extract_mantissa value for ix,iy exponents. Properly
9659 normalize after ldbl_extract_mantissa, and don't add hidden bit
9660 already handled. Don't treat low word of ieee854 mantissa like
9661 low word of IBM long double and mask off bit when testing for
9662 zero.
9663 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9664 all uses of ieee875 long double macros and unions. Simplify tests
9665 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9666 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9667 two1022, instead use their values. Recognise that tests for large
9668 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9669 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9670 Rewrite all uses of ieee875 long double macros and unions. Simplify
9671 test for 0.0L and nan. Correct negation.
9672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9673 ieee875 long double macros and unions. Correct output for large
9674 magnitude x. Correct absolute value calculation.
9675 (__erfcl): Likewise.
9676 * math/libm-test.inc: Add tests for errors discovered in IBM long
9677 double versions of fmodl, remainderl, erfl and erfcl.
9678
9679 2013-10-04 Alan Modra <amodra@gmail.com>
9680
9681 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9682 all uses of ieee854 long double macros and unions. Simplify tests
9683 for long doubles that are fully specified by the high double.
9684 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9685 Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9687 Remove dead code too.
9688 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9689 (__ieee754_ynl): Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9693 Remove dead code too.
9694 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9697 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9698 Simplify.
9699 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9700 Simplify.
9701 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9704 Comment on variable precision.
9705 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9707 Likewise.
9708 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9709 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9712 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9713
9714 2013-10-04 Alan Modra <amodra@gmail.com>
9715
9716 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9717 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9718 all uses of ieee854 long double macros and unions.
9719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9725 Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9729 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9732 Simplify sign and nan test too.
9733 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9736 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9737 Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9740 Likewise.
9741 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9746 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9747
9748 2013-10-04 Alan Modra <amodra@gmail.com>
9749
9750 * stdio-common/printf_size.c (__printf_size): Don't use
9751 union ieee854_long_double in fpnum union.
9752 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9753 signbit macro to retrieve sign from long double.
9754 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9755 retrieve sign from long double.
9756 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9757 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9758 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9759 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9760 * math/test-misc.c (main): Don't use union ieee854_long_double.
9761
9762 2013-10-04 Alan Modra <amodra@gmail.com>
9763
9764 [BZ #15680]
9765 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9767 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9768 calculation. Remove unnecessary test for denormal exponent.
9769 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9770 Correct handling of denormals. Avoid undefined shift behaviour.
9771 Correct normalisation of low mantissa when low double is denormal.
9772 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9773 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9774 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9775 Correct normalisation of low mantissa. Test for overflow of high
9776 mantissa and normalise.
9777 (ldbl_nearbyint): Use more readable constant for two52.
9778 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9779 (__mpn_construct_long_double): Fix test for overflow of high
9780 mantissa and correct normalisation. Avoid undefined shift.
9781
9782 2013-10-04 Alan Modra <amodra@gmail.com>
9783
9784 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9785 (union ibm_extended_long_double): Define as an array of ieee754_double.
9786 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9787 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9788 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9789 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9793 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9797
9798 2013-10-03 Joseph Myers <joseph@codesourcery.com>
9799
9800 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9801 page size instead of calling getpagesize.
9802
9803 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9804 (LOCFILE_ALIGN_MASK): Likewise.
9805 (LOCFILE_ALIGN_UP): Likewise.
9806 (LOCFILE_ALIGNED_P): Likewise.
9807 * locale/programs/ld-collate.c (collate_output): Use the new
9808 macros instead of __alignof__ (int32_t).
9809 * locale/weight.h (findidx): Likewise.
9810
9811 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
9812
9813 [BZ #431]
9814 * manual/string.texi: Fix strncat and wcsncat.
9815
9816 2013-10-03 Brooks Moses <bmoses@google.com>
9817
9818 [BZ #15915]
9819 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9820 * Makerules: ...here, and adjust associated comments.
9821
9822 2013-10-02 Will Newton <will.newton@linaro.org>
9823
9824 * malloc/Makefile: Add tst-pvalloc.
9825 * malloc/tst-pvalloc.c: New file.
9826
9827 2013-10-02 Will Newton <will.newton@linaro.org>
9828
9829 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9830 improve test coverage.
9831
9832 2013-10-02 Will Newton <will.newton@linaro.org>
9833
9834 * malloc/Makefile: Add tst-posix_memalign.
9835 * malloc/tst-posix_memalign.c: New file.
9836
9837 2013-10-01 Eric Blake <eblake@redhat.com>
9838
9839 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9840 Use __THROWNL rather than __THROW on static functions.
9841
9842 2013-09-30 Petr Machata <pmachata@redhat.com>
9843
9844 * elf/elf.h (R_AARCH64_ABS16): New macro.
9845 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9846 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9847 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9848 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9849 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9850 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9851 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9852 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9853 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9854 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9855 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9856 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9857 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9858 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9859 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9860 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9861 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9862 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9863 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9864 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9865 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9866 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9867 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9868 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9869 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9870 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9871 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9872 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9873 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9874 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9875 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9876 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9877 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9878 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9879 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9880 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9881 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9882 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9883 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9884 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9885 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9886 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9887 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9888 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9889 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9890 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9891 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9892 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9893 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9894 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9895 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9896 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9897 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9898 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9899 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9900 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9901 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9902 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9903 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9904 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9905 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9906 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9907 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9908 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9909 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9910 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9911 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9912 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9913 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9914 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9915 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9916 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9917 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9918 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9919 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9920 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9921 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9922 (R_AARCH64_TLSDESC_LDR): Likewise.
9923 (R_AARCH64_TLSDESC_ADD): Likewise.
9924 (R_AARCH64_TLSDESC_CALL): Likewise.
9925
9926 2013-09-30 Andreas Schwab <schwab@suse.de>
9927
9928 [BZ #15048]
9929 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9930 the nss database lookup.
9931 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9933
9934 2013-09-28 Mike Frysinger <vapier@gentoo.org>
9935
9936 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9937
9938 2013-09-28 P. J. McDermott <pj@pehjota.net>
9939
9940 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9941 ${Bash-specific parameter/pattern/string} parameter expansion.
9942 * sysdeps/unix/make-syscalls.sh: Likewise.
9943
9944 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9945
9946 * sysdeps/sh/stackguard-macros.h: New file.
9947
9948 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
9949
9950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9951 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9952 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9953 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9954 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9955 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9956
9957 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9958
9959 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9960 Fix thread ID register.
9961
9962 2013-09-25 Joseph Myers <joseph@codesourcery.com>
9963
9964 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9965 [POSIX || UNIX98]: Require rather than permitting all symbols from
9966 <time.h>.
9967 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9968 element of struct sched_param.
9969 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9970 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9971 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9972 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9973 constant.
9974
9975 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9976
9977 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9978 argument calculation.
9979
9980 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9981
9982 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9983 Expect macro.
9984 [POSIX] (pthread_attr_t): Do not require type.
9985 [POSIX] (pthread_cond_t): Likewise.
9986 [POSIX] (pthread_condattr_t): Likewise.
9987 [POSIX] (pthread_key_t): Likewise.
9988 [POSIX] (pthread_mutex_t): Likewise.
9989 [POSIX] (pthread_mutexattr_t): Likewise.
9990 [POSIX] (pthread_once_t): Likewise.
9991 [POSIX] (pthread_t): Likewise.
9992 [POSIX-based standards] (pthread_atfork): Expect function.
9993
9994 2013-09-24 Joseph Myers <joseph@codesourcery.com>
9995 Richard Sandiford <richard@codesourcery.com>
9996
9997 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9998 (swap_endianness_p): New extern variable.
9999 (set_big_endian): New inline function.
10000 (maybe_swap_uint32): Likewise.
10001 (maybe_swap_uint32_array): Likewise.
10002 (maybe_swap_uint32_obstack): Likewise.
10003 * locale/programs/locfile.c: Include <stdbool.h>.
10004 (swap_endianness_p): New variable.
10005 (add_locale_uint32): Call maybe_swap_uint32.
10006 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10007 (write_locale_data): Call maybe_swap_uint32_array.
10008 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10009 maybe_swap_uint32.
10010 (obstack_int32_grow_fast): Likewise.
10011 (output_weightwc): Call maybe_swap_uint32_obstack.
10012 (collate_output): Likewise.
10013 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10014 (OPT_LITTLE_ENDIAN): Likewise.
10015 (options): Add --little-endian and --big-endian options.
10016 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10017 * locale/programs/locarchive.c: Include "locfile.h".
10018 (GET): New macro.
10019 (SET): Likewise.
10020 (INC): Likewise.
10021 (create_archive): Use the new macros to access fields of
10022 structures directly mapped from or written to locale archives.
10023 (oldlocrecentcmp): Likewise.
10024 (enlarge_archive): Likewise.
10025 (insert_name): Likewise.
10026 (add_alias): Likewise.
10027 (add_locale): Likewise.
10028 (delete_locales_from_archive): Likewise.
10029 (show_archive_content): Likewise.
10030 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10031 locale data.
10032
10033 2013-09-24 Roland McGrath <roland@hack.frob.com>
10034
10035 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10036 http://www.gnu.org/doc/freemanuals.texi.
10037 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10038
10039 2013-09-24 Will Newton <will.newton@linaro.org>
10040
10041 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10042 macro.
10043
10044 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10045
10046 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10047 unsigned char.
10048
10049 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10050
10051 * manual/threads.texi (POSIX Threads): Fix a typo.
10052
10053 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10054
10055 [BZ #14547]
10056 * string/tst-strcoll-overflow.c: New test case.
10057 * string/Makefile (xtests): Add tst-strcoll-overflow.
10058 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10059 cache if string sizes may cause integer overflow.
10060
10061 [BZ #14547]
10062 * string/strcoll_l.c (coll_seq): New members rule, idx,
10063 save_idx and back_us.
10064 (get_next_seq_nocache): New function.
10065 (do_compare_nocache): New function.
10066 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10067 when malloc fails.
10068
10069 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10070
10071 [BZ #15754]
10072 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10073 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10074 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10075
10076 [BZ #15754]
10077 * elf/Makefile (tests): Add tst-ptrguard1.
10078 (tests-static): Add tst-ptrguard1-static.
10079 (tst-ptrguard1-ARGS): Define.
10080 (tst-ptrguard1-static-ARGS): Define.
10081 * elf/tst-ptrguard1.c: New file.
10082 * elf/tst-ptrguard1-static.c: New file.
10083 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10084 * sysdeps/i386/stackguard-macros.h: Likewise.
10085 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10086 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10087 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10088 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10089 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10090 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10091
10092 2013-09-23 Hector Marco <hecmargi@upv.es>
10093 Ismael Ripoll <iripoll@disca.upv.es>
10094 Carlos O'Donell <carlos@redhat.com>
10095
10096 [BZ #15754]
10097 * sysdeps/generic/stackguard-macros.h: Define
10098 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10099 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10100 Define __pointer_chk_guard_local.
10101 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10102 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10103
10104 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10105
10106 [BZ #15859]
10107 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10108
10109 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10110
10111 * include/string.h (__ffs): Declare as hidden.
10112 * string/ffs.c (__ffs): Define as hidden.
10113 * sysdeps/i386/ffs.c (__ffs): Likewise.
10114 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10115 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10116 * sysdeps/s390/ffs.c (__ffs): Likewise.
10117 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10118
10119 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10120
10121 * NEWS: Mention malloc probes.
10122
10123 * malloc/arena.c (new_heap): New memory_heap_new probe.
10124 (grow_heap): New memory_heap_more probe.
10125 (shrink_heap): New memory_heap_less probe.
10126 (heap_trim): New memory_heap_free probe.
10127 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10128 (systrim): New memory_sbrk_less probe.
10129 * manual/probes.texi: Document them.
10130
10131 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10132 * manual/probes.texi: Document it.
10133
10134 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10135 (__libc_realloc): Add memory_realloc_retry probe.
10136 (__libc_memalign): Add memory_memalign_retry probe.
10137 (__libc_valloc): Add memory_valloc_retry probe.
10138 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10139 (__libc_calloc): Add memory_calloc_retry probe.
10140 * manual/probes.texi: Document them.
10141
10142 * malloc/arena.c (get_free_list): Add probe
10143 memory_arena_reuse_free_list.
10144 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10145 and memory_arena_reuse.
10146 (arena_get2) [!PER_THREAD]: Likewise.
10147 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10148 memory_arena_reuse_realloc.
10149 * manual/probes.texi: Document them.
10150
10151 * malloc/malloc.c (__libc_free): Add
10152 memory_mallopt_free_dyn_thresholds probe.
10153 (__libc_mallopt): Add multiple memory_mallopt probes.
10154 * manual/probes.texi: Document them.
10155
10156 * malloc/malloc.c: Include stap-probe.h.
10157 (__libc_mallopt): Add memory_mallopt probe.
10158 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10159 * manual/probes.texi: New.
10160 * manual/Makefile (chapters): Add probes.
10161 * manual/threads.texi: Set next node.
10162
10163 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10164
10165 [BZ #15963, #13985]
10166 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10167 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10168 Add `Chinese' to `nan' entry name.
10169
10170 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10171
10172 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10173 (POLYNOMIAL): Likewise.
10174 (TAYLOR_SINCOS): Likewise.
10175 (TAYLOR_SLOW): Likewise.
10176 (__sin): Use TAYLOR_SINCOS.
10177 (__cos): Likewise.
10178 (slow): Use TAYLOR_SLOW.
10179 (sloww): Likewise.
10180 (bsloww): Likewise.
10181 (csloww): Likewise.
10182
10183 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10184
10185 * stdlib/strtod_l.c: Fix buffer overrun.
10186
10187 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10188
10189 * benchtests/Makefile (bench): Add sincos.
10190 * benchtests/bench-sincos.c: New file.
10191
10192 * math/libm-test.inc (cos_test_data): New test inputs.
10193 (sin_test_data): Likewise.
10194
10195 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10196 macro.
10197 (__sin): Use it.
10198 (__cos): Likewise.
10199 (slow1): Likewise.
10200 (slow2): Likewise.
10201 (sloww1): Likewise.
10202 (sloww2): Likewise.
10203 (bsloww1): Likewise.
10204 (bsloww2): Likewise.
10205 (cslow2): Likewise.
10206 (csloww1): Likewise.
10207 (csloww2): Likewise.
10208
10209 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10210 function.
10211 (__sin): Use it.
10212 (__cos): Likewise.
10213
10214 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10215 gotos.
10216 (__cos): Likewise.
10217
10218 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10219
10220 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10221 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10222 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10223 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10224 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10225 * elf/cache.c (print_entry): Handle the new cache flags.
10226
10227 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10228 Aldy Hernandez <aldyh@redhat.com>
10229
10230 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10231 Change condition to [_SOFT_FLOAT].
10232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10233 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10244 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10247 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10248 declaration.
10249
10250 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10251
10252 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10253 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10254 (__longjmp): Use LOAD_GP to load saved GPRs.
10255 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10256 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10257 (__sigsetjmp): Use SAVE_GP to save GPRs.
10258
10259 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10260 Do not append -msoft-float.
10261 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10262
10263 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10264
10265 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10266
10267 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10268
10269 [BZ #15966]
10270 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10271 (_FPU_GETCW): Use initial "__" on variable and field names but not
10272 on macro parameter name.
10273 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10274 parentheses around reference to macro parameter.
10275
10276 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10277
10278 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10279 prototype.
10280 (ctype_startup): Use uint32_t in cast and sizeof for
10281 ctype->charnames.
10282
10283 2013-09-11 Jia Liu <proljc@gmail.com>
10284
10285 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10286 __daddr_t_defined.
10287 [__FreeBSD__]: Likewise.
10288
10289 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10290
10291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10292 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10293 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10294 (strchr): Remove __strchr_sse42 ifunc selection.
10295 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10296 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10297
10298 2013-09-11 Will Newton <will.newton@linaro.org>
10299
10300 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10301 parameter to RES. Remove hardcoded 1000 value.
10302 * benchtests/bench-skeleton.c (main): Pass RES parameter
10303 to TIMING_INIT and multiply result by 1000.
10304
10305 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10306
10307 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10308
10309 2013-09-11 Andreas Schwab <schwab@suse.de>
10310
10311 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10312 if not defined.
10313 (O_TMPFILE) [__USE_GNU]: Define.
10314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10315 Define.
10316
10317 2013-09-11 Will Newton <will.newton@linaro.org>
10318
10319 [BZ #15857]
10320 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10321 does not overflow.
10322
10323 2013-09-11 Will Newton <will.newton@linaro.org>
10324
10325 [BZ #15856]
10326 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10327 does not overflow.
10328
10329 2013-09-11 Will Newton <will.newton@linaro.org>
10330
10331 [BZ #15855]
10332 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10333 does not overflow.
10334
10335 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10336
10337 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10338 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10339 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10340 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10341 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10342
10343 2013-09-10 Allan McRae <allan@archlinux.org>
10344
10345 [BZ #15748]
10346 * manual/arith.texi (Parsing of Floats): Clarify
10347 cross-reference.
10348
10349 [BZ #15849]
10350 * manual/install.texi (Running make install): Mention
10351 --enable-pt-chown.
10352 * INSTALL: Regenerated.
10353
10354 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10355
10356 * csu/init-first.c (_init): Remove the !SHARED condition around
10357 FPU control word initialization.
10358 * elf/dl-support.c (_dl_fpu_control): New variable.
10359 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10360 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10361 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10362 * math/test-fpucw-static.c: New file.
10363 * math/test-fpucw-ieee.c: New file.
10364 * math/test-fpucw-ieee-static.c: New file.
10365 * math/Makefile (tests): Add `test-fpucw-ieee' and
10366 `$(tests-static)'.
10367 (tests-static): New variable.
10368 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10369 dependency to...
10370 [($(build-shared),yes)]
10371 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10372 ... this.
10373 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10374 New dependency.
10375
10376 2013-09-09 Allan McRae <allan@archlinux.org>
10377
10378 [BZ #15939]
10379 * manual/string.texi (Collation Functions): Fix typo in
10380 strcoll example.
10381 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10382
10383 [BZ #15893]
10384 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10385
10386 [BZ #15892]
10387 * libio/memstream.c (open_memstream): Fix memory leak.
10388 * libio/wmemstream.c (open_wmemstream): Likewise.
10389
10390 [BZ #15895]
10391 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10392
10393 2013-09-09 Will Newton <will.newton@linaro.org>
10394
10395 * malloc/Makefile: Add tst-realloc to tests.
10396 * malloc/tst-realloc.c: New file.
10397
10398 2013-09-09 Allan McRae <allan@archlinux.org>
10399
10400 [BZ #15844]
10401 * COPYING: Update from GNU website to fix FSF address.
10402 * COPYING.LIB: Likewise.
10403
10404 2013-09-06 David S. Miller <davem@davemloft.net>
10405
10406 * po/zh_TW.po: Update Chinese (traditional) translation from
10407 translation project.
10408
10409 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10410 Joseph Myers <joseph@codesourcery.com>
10411
10412 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10413 "localeinfo.h".
10414 (obstack_chunk_alloc): New macro.
10415 (obstack_chunk_free): Likewise.
10416 (record_offset): New function.
10417 (init_locale_data): Likewise.
10418 (align_locale_data): Likewise.
10419 (add_locale_empty): Likewise.
10420 (add_locale_raw_data): Likewise.
10421 (add_locale_raw_obstack): Likewise.
10422 (add_locale_string): Likewise.
10423 (add_locale_wstring): Likewise.
10424 (add_locale_uint32): Likewise.
10425 (add_locale_uint32_array): Likewise.
10426 (add_locale_char): Likewise.
10427 (start_locale_structure): Likewise.
10428 (end_locale_structure): Likewise.
10429 (start_locale_prelude): Likewise.
10430 (end_locale_prelude): Likewise.
10431 (write_locale_data): Take locale_file structure rather than an
10432 iovec.
10433 * locale/programs/locfile.h: Include "obstack.h".
10434 (struct locale_file): Change to store locale file contents instead
10435 of header.
10436 (init_locale_data): New prototype.
10437 (align_locale_data): Likewise.
10438 (add_locale_empty): Likewise.
10439 (add_locale_raw_data): Likewise.
10440 (add_locale_raw_obstack): Likewise.
10441 (add_locale_string): Likewise.
10442 (add_locale_wstring): Likewise.
10443 (add_locale_uint32): Likewise.
10444 (add_locale_uint32_array): Likewise.
10445 (add_locale_char): Likewise.
10446 (start_locale_structure): Likewise.
10447 (end_locale_structure): Likewise.
10448 (start_locale_prelude): Likewise.
10449 (end_locale_prelude): Likewise.
10450 (write_locale_data): Update prototype.
10451 * locale/programs/3level.h (struct TABLE): Remove result field.
10452 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10453 Use new locale_file interface.
10454 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10455 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10456 * locale/programs/ld-address.c (address_output): Use new
10457 locale_file interface.
10458 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10459 NO_ADD_LOCALE.
10460 (collate_finish): Don't call collseq_table_finalize.
10461 (collate_output): Use new locale_file interface.
10462 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10463 in file.
10464 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10465 (TABLE): Move defines earlier in file.
10466 (ELEMENT): Likewise.
10467 (DEFAULT): Likewise.
10468 (wctrans_table_add): Move macro and inline function earlier in
10469 file.
10470 (struct wctype_table): Move type earlier in file.
10471 (add_locale_wctype_table): New static prototype.
10472 (struct locale_ctype_t): Use logical types instead of struct iovec
10473 pointers for members.
10474 (ctype_output): Use new locale_file interface.
10475 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10476 new locale_file interface.
10477 (allocate_arrays): Update for use of new locale_file interface.
10478 * locale/programs/ld-identification.c (identification_output): Use
10479 new locale_file interface.
10480 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10481 * locale/programs/ld-messages.c (messages_output): Likewise.
10482 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10483 * locale/programs/ld-name.c (name_output): Likewise.
10484 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10485 * locale/programs/ld-paper.c (paper_output): Likewise.
10486 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10487 * locale/programs/ld-time.c (time_output): Likewise.
10488
10489 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10490
10491 * benchtests/Makefile: Add memrchr benchmark.
10492 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10493 benchmark as memrchr.
10494 * benchtests/bench-memrchr-ifunc.c: New file.
10495 * benchtests/bench-memrchr.c: New file.
10496
10497 2013-09-06 Will Newton <will.newton@linaro.org>
10498
10499 * benchtests/Makefile (string-bench): Add memcpy.
10500
10501 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10502 Cong Wang <amwang@redhat.com>
10503
10504 [BZ #15850]
10505 * sysdeps/unix/sysv/linux/bits/in.h
10506 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10507 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10508 before __USE_KERNEL_IPV6_DEFS uses.
10509 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10510 IPPROTO_BEETPH.
10511 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10512 sockaddr_in6, or ipv6_mreq.
10513
10514 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10515
10516 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10517 memory access for final bytes in some large inputs.
10518 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10519
10520 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10521
10522 * string/test-memrchr.c: New file.
10523 * string/test-memrchr-ifunc.c: New file.
10524 * string/Makefile: Add new memrchr testcase.
10525
10526 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10527
10528 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10529 fanotify_init returns EPERM.
10530
10531 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10532
10533 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10534 errors.
10535 (top level): Treat second token from macro or constant entries for
10536 allowed headers as allowed.
10537 * include/complex.h: Condition internal declarations on
10538 [!_ISOMAC].
10539 * include/fenv.h: Condition include of <stdbool.h> and internal
10540 declarations on [!_ISOMAC].
10541
10542 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10543
10544 [BZ #15923]
10545 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10546
10547 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10548
10549 * configure.in (--enable-versioning): Remove configure option.
10550 (libc_cv_asm_symver_directive): Remove configure test.
10551 (libc_cv_ld_version_script_option): Likewise.
10552 (VERSIONING): Remove variable and AC_SUBST.
10553 (DO_VERSIONING): Remove AC_DEFINE.
10554 * configure: Regenerated.
10555 * config.h.in (DO_VERSIONING): Remove macro.
10556 * Makerules [$(versioning) = yes]: Change conditionals to
10557 [$(build-shared) = yes].
10558 * config.make.in (versioning): Remove variable.
10559 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10560 [$(build-shared) = yes].
10561 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10562 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10563 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10564 [$(build-shared) = yes].
10565 * extra-lib.mk [$(versioning) = yes]: Likewise.
10566 * hurd/Makefile [$(versioning) = yes]: Likewise.
10567 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10568 [SHARED].
10569 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10570 [SHARED].
10571 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10572 [SHARED && !NO_HIDDEN].
10573 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10574 [SHARED].
10575 [SHARED && DO_VERSIONING]: Likewise..
10576 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10577 [$(build-shared) = yes].
10578 * manual/install.texi (--disable-versioning): Remove
10579 documentation.
10580 * INSTALL: Regenerated.
10581 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10582 to [SHARED].
10583 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10584 [$(build-shared) = yes].
10585 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10586 * sysdeps/i386/i686/multiarch/strstr-c.c
10587 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10588 [SHARED && !NO_HIDDEN].
10589 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10590 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10591 * sysdeps/powerpc/powerpc32/dl-machine.c
10592 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10593 * sysdeps/powerpc/powerpc32/sysdep.h
10594 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10595 to [SHARED && PIC && !NO_HIDDEN].
10596 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10597 conditional to [SHARED].
10598
10599 2013-09-04 Will Newton <will.newton@linaro.org>
10600
10601 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10602 * benchtests/bench-string.h: Include bench-timing.h instead
10603 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10604 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10605 call to HP_TIMING_DIFF_INIT.
10606 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10607 instead of hp-timing.h macros.
10608 * benchtests/bench-memchr.c: Likewise.
10609 * benchtests/bench-memcmp.c: Likewise.
10610 * benchtests/bench-memcpy.c: Likewise.
10611 * benchtests/bench-memmem.c: Likewise.
10612 * benchtests/bench-memmove.c: Likewise.
10613 * benchtests/bench-memset.c: Likewise.
10614 * benchtests/bench-rawmemchr.c: Likewise.
10615 * benchtests/bench-strcasecmp.c: Likewise.
10616 * benchtests/bench-strcasestr.c: Likewise.
10617 * benchtests/bench-strcat.c: Likewise.
10618 * benchtests/bench-strchr.c: Likewise.
10619 * benchtests/bench-strcmp.c: Likewise.
10620 * benchtests/bench-strcpy.c: Likewise.
10621 * benchtests/bench-strcpy_chk.c: Likewise.
10622 * benchtests/bench-strlen.c: Likewise.
10623 * benchtests/bench-strncasecmp.c: Likewise.
10624 * benchtests/bench-strncat.c: Likewise.
10625 * benchtests/bench-strncmp.c: Likewise.
10626 * benchtests/bench-strncpy.c: Likewise.
10627 * benchtests/bench-strnlen.c: Likewise.
10628 * benchtests/bench-strpbrk.c: Likewise.
10629 * benchtests/bench-strrchr.c: Likewise.
10630 * benchtests/bench-strspn.c: Likewise.
10631 * benchtests/bench-strstr.c: Likewise.
10632
10633 2013-09-04 Will Newton <will.newton@linaro.org>
10634
10635 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10636
10637 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10638
10639 [BZ #15427]
10640 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10641 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10642 * math/libm-test.inc (lgamma_test_data): Add more tests.
10643 * sysdeps/i386/fpu/libm-test-ulps: Update.
10644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10645
10646 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10647
10648 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10649 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10650 Add ifunc.
10651 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10652 Add strcmp-sse2-unaligned
10653 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10654
10655 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10656
10657 * Versions.def (libc): Add GLIBC_2.19.
10658
10659 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10660
10661 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10662 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10663
10664 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10665
10666 [BZ #14155]
10667 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10668 intermediate calculations in recurrence.
10669 (__ieee754_ynf): Likewise.
10670 * math/libm-test.inc (jn_test_data): Do not allow spurious
10671 underflow exception. Add more tests.
10672 (yn_test_data): Add more tests.
10673 * sysdeps/i386/fpu/libm-test-ulps: Update.
10674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10675
10676 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10677
10678 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10679
10680 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10681
10682 * csu/init-first.c: Fix then/than typos.
10683 * locale/programs/ld-collate.c: Likewise.
10684 * locale/programs/linereader.h: Likewise.
10685 * manual/charset.texi: Likewise.
10686 * manual/filesys.texi: Likewise.
10687 * manual/stdio.texi: Likewise.
10688 * manual/string.texi: Likewise.
10689 * stdlib/fmtmsg.c: Likewise.
10690 * sysdeps/i386/stpncpy.S: Likewise.
10691 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10692 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10693 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10694 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10695
10696 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10697
10698 * elf/dl-open.c: Fix typos.
10699 * iconvdata/gbbig5.c: Likewise.
10700 * iconvdata/iso-2022-jp.c: Likewise.
10701 * iconv/gconv_int.h: Likewise.
10702 * iconv/loop.c: Likewise.
10703 * nis/rpcsvc/nis.h: Likewise.
10704 * resolv/ns_name.c: Likewise.
10705 * stdio-common/vfscanf.c: Likewise.
10706 * streams/stropts.h: Likewise.
10707 * sunrpc/rpc_thread.c: Likewise.
10708 * sysdeps/i386/strpbrk.S: Likewise.
10709 * sysdeps/ieee754/k_standard.c: Likewise.
10710 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10712 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10713 * sysdeps/mach/hurd/profil.c: Likewise.
10714 * sysdeps/s390/dl-procinfo.h: Likewise.
10715 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10716 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10717 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10718 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10719 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10720
10721 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10722
10723 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10725
10726 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10727
10728 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10729 aix specific files.
10730 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10731 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10732 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10733 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10734 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10736 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10737 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10738
10739 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10740 Roland McGrath <roland@hack.frob.com>
10741
10742 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10743 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10744
10745 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10746
10747 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10748 __executable_start symbol instead of _start.
10749
10750 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10751
10752 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10753 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10754 Move macros to...
10755 * sysdeps/gnu/ldsodefs.h: ... this new file.
10756
10757 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10758 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10759 instead of ELFOSABI_LINUX.
10760
10761 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
10762 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10763 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10764 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10765 Likewise.
10766 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10767 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10768 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10769 Likewise.
10770 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10771 (ibm_extended_long_double): Add ieee_nan member.
10772 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10773 (do_test): New function.
10774
10775 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10776 TEST_TRUNC.
10777 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10778 functions, renamed from truncdfsf_test, trunctfsf_test,
10779 trunctfdf_test.
10780 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10781 functions.
10782 (do_test): Run all these.
10783
10784 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
10785
10786 * argp/argp-help.c: Fix typos.
10787 * argp/argp-parse.c: Likewise.
10788 * debug/backtracesyms.c: Likewise.
10789 * elf/elf.h: Likewise.
10790 * malloc/malloc.c: Likewise.
10791 * nis/nis_print.c: Likewise.
10792 * resolv/res_comp.c: Likewise.
10793 * stdlib/stdlib.h: Likewise.
10794 * sunrpc/clnt_tcp.c: Likewise.
10795 * sunrpc/clnt_udp.c: Likewise.
10796 * sunrpc/clnt_unix.c: Likewise.
10797 * sysdeps/unix/bsd/ptsname.c: Likewise.
10798 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10799 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
10800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10801 Likewise.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10803 Likewise.
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10805 Likewise.
10806 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10807
10808 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10809
10810 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10812
10813 2013-08-27 Mike Frysinger <vapier@gentoo.org>
10814
10815 [BZ #15897]
10816 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10817 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10818 ($(objpfx)bug-dl-leaf): New rule.
10819 ($(objpfx)bug-dl-leaf.so): Likewise.
10820 ($(objpfx)bug-dl-leaf.out): Likewise.
10821 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10822 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10823 * dlfcn/bug-dl-leaf.c: New test.
10824 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10825 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10826 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10827 (dlclose): Likewise.
10828 (dlmopen): Likewise.
10829
10830 2013-08-27 Roland McGrath <roland@hack.frob.com>
10831
10832 * include/netdb.h [!_ISOMAC]:
10833 Don't include <tls.h>.
10834 (h_errno, __libc_h_errno): Move declaration and macros out of
10835 [_LIBC_REENTRANT].
10836
10837 * include/resolv.h [_RESOLV_H_]:
10838 Don't include <tls.h>.
10839 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10840 * resolv/res_libc.c: Don't include <tls.h>.
10841 (_res): Use __attribute__ ((nocommon)) in place of
10842 __attribute__ ((section (".bss"))).
10843
10844 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10845 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10846
10847 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10848
10849 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10850 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10851
10852 * resolv/res_mkquery.c: Include <sys/time.h>.
10853
10854 * inet/ifreq.c: Moved to ...
10855 * sysdeps/unix/ifreq.c: ... here.
10856 * inet/ifreq.c: New file, true stub version.
10857
10858 * socket/sa_len.c: New file.
10859 * socket/Makefile (aux): Add it.
10860 * sysdeps/unix/sysv/linux/Makefile
10861 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10862 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10863 and #include <socket/sa_len.c>.
10864 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10865 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10866
10867 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10868 * bits/socket.h: ... here.
10869
10870 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10871 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10872 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10873
10874 2013-08-27 Andreas Schwab <schwab@suse.de>
10875
10876 [BZ #15736]
10877 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10878 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10879 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10880 * string/test-strcasecmp.c (test_main): Run tests in several
10881 locales.
10882 * string/test-strncasecmp.c (test_main): Likewise.
10883
10884 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10885 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10886 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10888 (__strncasecmp_ssse3) [PIC]: Likewise.
10889
10890 2013-08-26 Roland McGrath <roland@hack.frob.com>
10891
10892 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10893
10894 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10895 instead of explicitly declaring xdecrypt.
10896 * nis/nss_nis/nis-publickey.c: Likewise.
10897
10898 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10899
10900 [BZ #15890]
10901 * nscd/aicache.c: Include res_hconf.h.
10902 (addhstaiX): Initialize res_hconf.
10903
10904 2013-08-26 Andreas Schwab <schwab@suse.de>
10905
10906 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10907 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10908
10909 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10910
10911 * nscd/aicache.c (addhstaiX): Fix indentation.
10912
10913 2013-08-25 Mike Frysinger <vapier@gentoo.org>
10914
10915 * configure.ac: Quote $build_pt_chown test.
10916 * configure: Regenerated.
10917
10918 2013-08-23 Joseph Myers <joseph@codesourcery.com>
10919
10920 [BZ #15532]
10921 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10922 * math/s_cexpf.c (__cexpf): Likewise.
10923 * math/s_cexpl.c (__cexpl): Likewise.
10924 * math/libm-test.inc (cexp_test_data): Correct expected return
10925 value for NaN + i0. Add another test.
10926
10927 2013-08-22 David S. Miller <davem@davemloft.net>
10928
10929 * po/ca.po: Update Catalan translation from translation project.
10930 * po/uk.po: Add Ukrainian translations from translation project.
10931
10932 2013-08-21 Joseph Myers <joseph@codesourcery.com>
10933
10934 [BZ #15797]
10935 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10936 is infinite, not alongside NaN test.
10937 * math/s_fdimf.c (__fdimf): Likewise.
10938 * math/s_fdiml.c (__fdiml): Likewise.
10939 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10940 errno is unchanged.
10941
10942 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
10943
10944 * argp/argp-help.c: Fix typos.
10945 * crypt/speeds.c: Likewise.
10946 * csu/check_fds.c: Likewise.
10947 * elf/dl-load.c: Likewise.
10948 * elf/dl-open.c: Likewise.
10949 * elf/reldep3.c: Likewise.
10950 * elf/reldep.c: Likewise.
10951 * elf/sprof.c: Likewise.
10952 * iconv/iconv_charmap.c: Likewise.
10953 * iconv/skeleton.c: Likewise.
10954 * iconv/strtab.c: Likewise.
10955 * io/lockf64.c: Likewise.
10956 * libio/libioP.h: Likewise.
10957 * resolv/gai_notify.c: Likewise.
10958 * resolv/ns_name.c: Likewise.
10959 * resolv/ns_samedomain.c: Likewise.
10960 * resolv/res_send.c: Likewise.
10961 * stdlib/random.c: Likewise.
10962 * sunrpc/rpc/xdr.h: Likewise.
10963 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10964 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10965 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10966 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10967 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10968 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10969 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10970 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10971 * sysdeps/mach/hurd/check_fds.c: Likewise.
10972 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10973 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10974 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10975 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10976 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10977 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10978 * sysdeps/pthread/aio_notify.c: Likewise.
10979 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10980 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10981 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10982 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10983 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10984
10985 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10986
10987 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10988 version if bit_Slow_SSE4_2 is set.
10989 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10990 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10991
10992 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10993
10994 [BZ #15867]
10995 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10996 trampoline stack frame information.
10997 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10998 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10999 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11000 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11001 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11002 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11003 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11004 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11005 sa_flags value.
11006 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11007 interrupting a syscall and set with option SA_SIGINFO.
11008
11009 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11010
11011 [BZ #15531]
11012 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11013 argument is infinite.
11014 * math/s_cprojf.c (__cprojf): Likewise.
11015 * math/s_cprojl.c (__cprojl): Likewise.
11016 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11017 * math/libm-test.inc (cproj_test_data): Add more tests.
11018
11019 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11020
11021 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11022 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11023 size. Use __ffs to determine corresponding shift.
11024
11025 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11026 Roland McGrath <roland@hack.frob.com>
11027
11028 * Makefile (INSTALL): Remove trailing blank lines from output of
11029 makeinfo.
11030
11031 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11032
11033 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11034 Align 32 bit compat elf_greg to 8 bytes.
11035
11036 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11037
11038 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11039
11040 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11041
11042 * string/strcoll_l.c (coll_seq): New structure.
11043 (get_next_seq_cached): New function.
11044 (get_next_seq): New function.
11045 (do_compare): New function.
11046 (STRCOLL): Use GNU style definition. Simplify implementation
11047 by using get_next_seq, get_next_seq_cached and do_compare.
11048
11049 2013-08-16 Florian Weimer <fweimer@redhat.com>
11050
11051 [BZ #14699]
11052 CVE-2013-4237
11053 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11054 member.
11055 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11056 member.
11057 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11058 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11059 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11060 conditional.
11061 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11062 GETDENTS_64BIT_ALIGNED.
11063 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11064 * manual/filesys.texi (Reading/Closing Directory): Document
11065 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11066 strongly.
11067 * manual/conf.texi (Limits for Files): Add portability note to
11068 NAME_MAX, PATH_MAX.
11069 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11070
11071 2013-08-13 Andreas Schwab <schwab@suse.de>
11072
11073 [BZ #15749]
11074 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11075 of fabs.
11076 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11077 LDBL_MAX_EXP >= 16384]: Add tests for it.
11078
11079 2013-08-12 David S. Miller <davem@davemloft.net>
11080
11081 * version.h (RELEASE): Set to "development".
11082 (VERSION): Set to "2.18.90".
11083 * NEWS: Add 2.19 section.
11084
11085 2013-08-03 David S. Miller <davem@davemloft.net>
11086
11087 * po/ko.po: Update Korean translation from translation project.
11088
11089 2013-08-01 David S. Miller <davem@davemloft.net>
11090
11091 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11092 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11093 Bilka.
11094
11095 2013-07-30 David S. Miller <davem@davemloft.net>
11096
11097 * po/fr.po: Update French translation from translation project.
11098
11099 2013-07-28 David S. Miller <davem@davemloft.net>
11100
11101 * po/cs.po: Update Czech translation from translation project.
11102
11103 * po/sv.po: Update Swedish translation from translation project.
11104
11105 2013-07-27 David S. Miller <davem@davemloft.net>
11106
11107 * po/eo.po: Update Esperanto translation from translation project.
11108
11109 * po/vi.po: Update Vietnamese translation from translation project.
11110
11111 * po/de.po: Update German translation from translation project.
11112
11113 2013-07-26 David S. Miller <davem@davemloft.net>
11114
11115 * po/bg.po: Update Bulgarian translation from translation project.
11116
11117 * po/nl.po: Update Dutch translation from translation project.
11118 * po/pl.po: Update Polish translation from translation project.
11119 * po/ru.po: Update Russian translation from translation project.
11120
11121 2013-07-24 David S. Miller <davem@davemloft.net>
11122
11123 * po/libc.pot: Update.
11124
11125 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11126
11127 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11128 variable page size.
11129 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11130 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11131 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11132
11133 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11134
11135 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11136
11137 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11138 Andreas Schwab <schwab@suse.de>
11139 Roland McGrath <roland@hack.frob.com>
11140 Joseph Myers <joseph@codesourcery.com>
11141 Carlos O'Donell <carlos@redhat.com>
11142
11143 [BZ #15755]
11144 * config.h.in: Define HAVE_PT_CHOWN.
11145 * config.make.in (build-pt-chown): New variable.
11146 * configure.in (--enable-pt_chown): New configure option.
11147 * configure: Regenerate.
11148 * login/Makefile: Include Makeconfig. Build pt_chown only if
11149 build-pt-chown is enabled.
11150 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11151 pt_chown to fix pty ownership.
11152 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11153 CLOSE_ALL_FDS.
11154 * manual/install.texi (Configuring and compiling): Mention
11155 --enable-pt_chown. Add @findex for grantpt.
11156 * INSTALL: Regenerate.
11157
11158 2013-07-20 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11161 difference between 32-bit and 64-bit.
11162
11163 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11164
11165 [BZ #15711]
11166 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11167 Avoid system header dependency with -ffreestanding.
11168 ($(objpfx)bits/syscall%d): Likewise.
11169
11170 2013-07-13 David S. Miller <davem@davemloft.net>
11171
11172 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11173 underflows from atanl/atan2l due to bug 15319.
11174 (casinh_test_data): Likewise.
11175
11176 2013-07-07 David S. Miller <davem@davemloft.net>
11177
11178 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11179
11180 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11181
11182 * sysdeps/i386/fpu/libm-test-ulps: Update.
11183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11184
11185 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11186
11187 * configure.in (--enable-lock-elision): Fix message text.
11188 * INSTALL: Regenerate.
11189 * configure: Regenerate.
11190
11191 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11192
11193 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11194
11195 2013-07-03 Andreas Jaeger <aj@suse.de>
11196
11197 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11198 define.
11199 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11200 (ptrace_peeksiginfo_args): Add.
11201 (__ptrace_peeksiginfo_flags): Add.
11202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11203 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11204 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11205
11206 2013-07-03 Allan McRae <allan@archlinux.org>
11207
11208 * sysdeps/i386/fpu/libm-test-ulps: Update.
11209
11210 2013-07-02 David S. Miller <davem@davemloft.net>
11211
11212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11213
11214 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11215
11216 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11217
11218 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11219
11220 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11222
11223 2013-07-02 Andi Kleen <ak@linux.intel.com>
11224
11225 * config.h.in (ENABLE_LOCK_ELISION): Add.
11226 * configure.in (--enable-lock-elision): Add option.
11227 * manual/install.texi: Document --enable lock elision.
11228 * configure: Regenerate
11229 * INSTALL: Regenerate.
11230
11231 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11232
11233 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11234 SSE4.2 strcasecmp for libc.a.
11235 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11236
11237 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11238
11239 [BZ #13304]
11240 * soft-fp/op-common.h (_FP_FMA): New macro.
11241 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11242 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11243 (_FP_MUL_MEAT_1_imm): ... here.
11244 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11245 (_FP_MUL_MEAT_1_wide): ... here.
11246 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11247 (_FP_MUL_MEAT_1_hard): ... here.
11248 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11249 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11250 (_FP_MUL_MEAT_2_wide): ... here.
11251 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11252 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11253 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11254 (_FP_MUL_MEAT_2_gmp): ... here.
11255 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11256 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11257 (_FP_MUL_MEAT_4_wide): ... here.
11258 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11259 (_FP_MUL_MEAT_4_gmp): ... here.
11260 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11261 (_FP_WFRACBITS_DW_S): Likewise.
11262 (_FP_WFRACXBITS_DW_S): Likewise.
11263 (_FP_HIGHBIT_DW_S): Likewise.
11264 (FP_FMA_S): Likewise.
11265 (_FP_FRAC_HIGH_DW_S): Likewise.
11266 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11267 (_FP_WFRACBITS_DW_D): Likewise.
11268 (_FP_WFRACXBITS_DW_D): Likewise.
11269 (_FP_HIGHBIT_DW_D): Likewise.
11270 (FP_FMA_D): Likewise.
11271 (_FP_FRAC_HIGH_DW_D): Likewise.
11272 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11273 (_FP_WFRACBITS_DW_E): Likewise.
11274 (_FP_WFRACXBITS_DW_E): Likewise.
11275 (_FP_HIGHBIT_DW_E): Likewise.
11276 (FP_FMA_E): Likewise.
11277 (_FP_FRAC_HIGH_DW_E): Likewise.
11278 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11279 (_FP_WFRACBITS_DW_Q): Likewise.
11280 (_FP_WFRACXBITS_DW_Q): Likewise.
11281 (_FP_HIGHBIT_DW_Q): Likewise.
11282 (FP_FMA_Q): Likewise.
11283 (_FP_FRAC_HIGH_DW_Q): Likewise.
11284 * soft-fp/fmasf4.c: New file.
11285 * soft-fp/fmadf4.c: Likewise.
11286 * soft-fp/fmatf4.c: Likewise.
11287
11288 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11289
11290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11291 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11292 Silvermont.
11293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11294 macro.
11295 (index_Slow_SSE4_2): Likewise.
11296 (index_Prefer_PMINUB_for_stringop): Likewise.
11297 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11298 bit_Slow_SSE4_2 is set.
11299 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11300 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11301
11302 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11303
11304 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11305 rtld_global._dl_hwcap2.
11306 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11307 POWER8.
11308 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11309 POWER8 feature descriptions defined in _dl_hwcap2.
11310 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11311 string handling for POWER8 feature bits.
11312 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11313 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11314 _dl_powerpc_cap_flags.
11315 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11316 * sysdeps/powerpc/rtld-global-offsets.sym
11317 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11318 _dl_hwcap2 in the rtld_global_ro structure.
11319
11320 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11321
11322 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11323 hardware capabilities in support of AT_HWCAP2.
11324 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11325 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11326 GLRO(dl_hwcap2).
11327 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11328 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11329 explicitly the unknown a_type display mechanism is used.
11330 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11331 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11332 struct member.
11333 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11334 to macro prototype for AT_HWCAP2 support.
11335 * sysdeps/i386/dl-procinfo.h: Likewise.
11336 * sysdeps/s390/dl-procinfo.h: Likewise.
11337 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11338 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11339 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11340 return -1 for unknown a_type display fallback.
11341 * sysdeps/sparc/dl-procinfo.h: Likewise.
11342 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11343 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11344
11345 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11346
11347 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11348 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11349
11350 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11351
11352 [BZ #12492]
11353 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11354 mprotect making __stack_prot writable.
11355
11356 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11357 Joseph Myers <joseph@codesourcery.com>
11358
11359 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11360 as being properly aligned.
11361
11362 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11363
11364 * dlfcn/modstatic5.c: New file.
11365 * dlfcn/tststatic5.c: New file.
11366 * dlfcn/Makefile (tests): Add tststatic5.
11367 (tests-static): Likewise.
11368 (modules-names): Add modstatic5.
11369 (tststatic5-ENV): New variable.
11370 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11371
11372 [BZ #15022]
11373 * elf/dl-support.c (_dl_main_map): New variable.
11374 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11375 (_dl_nns, _dl_load_adds): Set to 1.
11376 (_dl_initial_searchlist): Refer to _dl_main_map.
11377 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11378 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11379 call to _dl_get_origin.
11380 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11381 around call_map.
11382 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11383 * dlfcn/modstatic3.c: New file.
11384 * dlfcn/tststatic3.c: New file.
11385 * dlfcn/tststatic4.c: New file.
11386 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11387 (tests-static): Likewise.
11388 (modules-names): Add modstatic3.
11389 (tststatic3-ENV, tststatic4-ENV): New variables.
11390 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11391 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11392
11393 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11394
11395 * configure.in (CC): Require GCC version 4.4 or later.
11396 * configure: Regenerated.
11397 * manual/install.texi (Tools for Compilation): Update GCC version
11398 requirement.
11399 * INSTALL: Regenerated.
11400
11401 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11402
11403 [BZ #15674]
11404 * string/test-memcmp.c (check2): New.
11405 (main): Call check2.
11406
11407 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11408
11409 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11410
11411 [BZ #15022]
11412 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11413 over to...
11414 (dl_open_worker) [!SHARED]: ... here.
11415
11416 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11417
11418 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11419
11420 2013-06-25 Richard Henderson <rth@redhat.com>
11421
11422 * locale/programs/locarchive.c: Include <libc-internal.h>
11423
11424 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11425
11426 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11427 trailing whitespace removed.
11428
11429 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11430
11431 [BZ #10283]
11432 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11433 * locale/programs/locarchive.c: Include libc-mmap.h.
11434 (prepare_address_space): Take two new outputs (the mmap base and len).
11435 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11436 values.
11437 (create_archive): Declare new mmap base and len values for
11438 prepare_address_space, and store the result in ah.
11439 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11440 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11441 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11442 Declare new mmap base and len values for
11443 prepare_address_space, and store the result in new_ah.
11444 (open_archive): Declare new mmap base and len values for
11445 prepare_address_space, and store the result in ah.
11446 (close_archive): If ah->mmap_base is not NULL, use that and
11447 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11448 * sysdeps/generic/libc-mmap.h: New file.
11449
11450 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11451
11452 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11453 (ALIGN_UP): Likewise.
11454 (PTR_ALIGN_DOWN): Likewise.
11455 (PTR_ALIGN_UP): Likewise.
11456
11457 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11458
11459 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11460 entry mapped to PPC_PLATFORM_POWER8.
11461 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11462 POWER8.
11463 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11464 (_dl_string_platform): Add case for exporting platform position for
11465 POWER8.
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11467 search path to sysdeps/powerpc/powerpc32/power8 directory.
11468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11469 search path to sysdeps/powerpc/powerpc64/power8 directory.
11470 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11471 power7 directories.
11472 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11473 power7 directories.
11474
11475 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11476
11477 * INSTALL: Regenerate.
11478
11479 * nscd/connections.c (nscd_init): Fix comment.
11480
11481 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11482
11483 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11484
11485 [BZ #15667]
11486 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11487 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11488
11489 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11490
11491 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11492 DL_DST_REQ_STATIC.
11493 (DL_DST_REQ_STATIC): Remove macro.
11494
11495 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11496
11497 [BZ #7006]
11498 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11499 with a shift of 0 bits.
11500
11501 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11502
11503 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11504 $(tststatic-ENV).
11505
11506 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11507
11508 [BZ #15655]
11509 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11510
11511 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11512
11513 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11514 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11515 accepts -fno-tree-loop-distribute-patterns.
11516 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11517 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11518 recursive call.
11519 * string/memset.c (memset): Likewise.
11520 * string/test-memmove.c (simple_memmove): Disable loop transformation
11521 to library calls.
11522 * string/test-memset.c (simple_memset): Likewise.
11523 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11524 * benchtests/bench-memset.c (simple_memset): Likewise.
11525 * configure: Regenerated.
11526
11527 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11528
11529 * math/test-misc.c (main): Ignore fesetround failure when failures
11530 of subsequent rounding tests would be ignored.
11531
11532 [BZ #15654]
11533 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11534 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11535 * math/fegetenv.c (__fegetenv): Return 0.
11536 * math/fegetexcept.c (fegetexcept): Return 0.
11537 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11538 FE_TONEAREST.
11539 * math/feholdexcpt.c (feholdexcept): Return 0.
11540 * math/fesetenv.c (__fesetenv): Return 0.
11541 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11542 argument FE_TONEAREST.
11543 * math/feupdateenv.c (__feupdateenv): Return 0.
11544 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11545
11546 2013-06-18 Roland McGrath <roland@hack.frob.com>
11547
11548 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11549 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11550 ($(objpfx)rtld-%.os rules): Use them.
11551
11552 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11553
11554 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11555 fields.
11556
11557 2013-06-17 Roland McGrath <roland@hack.frob.com>
11558
11559 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11560 length of target pattern, then descending length of dependency pattern.
11561 * configure.in (AWK): Require gawk 3.1.2 or newer.
11562 * manual/install.texi (Tools for Compilation): Say that we do.
11563 * configure: Regenerated.
11564
11565 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11566 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11567 * scripts/sysd-rules.awk: ... this new script.
11568 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11569 than a glob-style pattern.
11570
11571 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11572
11573 * math/test-misc.c (main): Do not treat incorrectly rounded
11574 conversions as failure unless ROUNDING_TESTS passes.
11575
11576 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11577
11578 [BZ #15631]
11579 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11580 restore exception state around main square root computation, then
11581 check for inexactness explicitly.
11582
11583 * math/libm-test.inc (fma_test_data): Add another test.
11584
11585 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11586
11587 * manual/threads.texi (Non-POSIX Extensions): New document
11588 node. Document pthread_getattr_default_np and
11589 pthread_setattr_default_np.
11590
11591 * Versions.def (libpthread): Add GLIBC_2.18.
11592 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11594 Likewise.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11596 Likewise.
11597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11598 Likewise.
11599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11602 Likewise.
11603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11606 Likewise.
11607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11608 Likewise.
11609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11610 Likewise.
11611
11612 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11613
11614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11615 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11616
11617 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11618 H.J. Lu <hjl.tools@gmail.com>
11619
11620 [BZ #15627]
11621 * sysdeps/x86_64/rtld-memset.c: Remove file.
11622 * sysdeps/x86_64/rtld-memset.S: New file.
11623
11624 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11625
11626 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11627 (test_in_one_mode): Take arguments for whether the rounding mode
11628 is supported for each floating-point type.
11629 (do_test): Pass new arguments to test_in_one_mode using
11630 ROUNDING_TESTS.
11631
11632 2013-06-13 Roland McGrath <roland@hack.frob.com>
11633
11634 * posix/tst-waitid.c (do_test): Distinguish different instances of
11635 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11636 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11637 before entering the kernel for waitpid.
11638
11639 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11640
11641 * NEWS: Fix note on clock function precision. Text by Roland
11642 McGrath.
11643
11644 2013-06-13 Roland McGrath <roland@hack.frob.com>
11645
11646 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11647 it into place only when and if the sanity check passes.
11648
11649 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11650
11651 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11652 output for whether conversion result is exact. Take argument
11653 indicating whether type is IBM long double.
11654 (round_for_all): Change need_exact field to ibm_ld.
11655 * stdlib/tst-strtod-round.c (struct exactness): New type.
11656 (struct test): Change bool ld_ok field to struct exactness exact.
11657 (TEST): Update all definitions for change to field.
11658 (tests): Regenerate array contents.
11659 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11660 field value. Check for IBM long double here.
11661 (do_test): Update calls to test_in_one_mode.
11662
11663 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11664
11665 [BZ #12515]
11666 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11667 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11668
11669 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11670
11671 [BZ #15605]
11672 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11673 generated by the compiler on loop optimizations.
11674 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11675 general definitions.
11676
11677 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11678
11679 * math/bug-nextafter.c: Include <math-tests.h>.
11680 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11681 the relevant type.
11682 * math/bug-nexttoward.c: Include <math-tests.h>.
11683 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11684 the relevant type.
11685 * math/test-misc.c: Include <math-tests.h>.
11686 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11687 the relevant type.
11688
11689 2013-06-12 Andreas Jaeger <aj@suse.de>
11690
11691 * po/ia.po: Update Interlingua translation from translation
11692 project.
11693
11694 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11695
11696 * include/fenv.h: Include stdbool.h.
11697 (struct rm_ctx): New structure.
11698 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11699 Define macro.
11700 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11701 (SET_RESTORE_ROUNDF): Likewise.
11702 (SET_RESTORE_ROUNDL): Likewise.
11703 (SET_RESTORE_ROUND_NOEX): Likewise.
11704 (SET_RESTORE_ROUND_NOEXF): Likewise.
11705 (SET_RESTORE_ROUND_NOEXL): Likewise.
11706 (SET_RESTORE_ROUND_53BIT): Likewise.
11707 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11708 (libc_feresetround_noexf_ctx): Likewise.
11709 (libc_feresetround_noexl_ctx): Likewise.
11710 (libc_feholdsetround_53bit_ctx): Likewise.
11711 (libc_feresetround_53bit_ctx): Likewise.
11712 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11713 (libc_feholdexcept_setround_sse_ctx): New function.
11714 (libc_fesetenv_sse_ctx): Likewise.
11715 (libc_feupdateenv_sse_ctx): Likewise.
11716 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11717 (libc_feholdexcept_setround_387_ctx): Likewise.
11718 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11719 (libc_feholdsetround_387_prec_ctx): Likewise.
11720 (libc_feholdsetround_387_ctx): Likewise.
11721 (libc_feholdsetround_387_53bit_ctx): Likewise.
11722 (libc_feholdsetround_sse_ctx): Likewise.
11723 (libc_feresetround_sse_ctx): Likewise.
11724 (libc_feresetround_387_ctx): Likewise.
11725 (libc_feupdateenv_387_ctx): Likewise.
11726 (libc_feholdexcept_setroundf_ctx): Define macro.
11727 (libc_fesetenvf_ctx): Likewise.
11728 (libc_feupdateenvf_ctx): Likewise.
11729 (libc_feholdsetroundf_ctx): Likewise.
11730 (libc_feresetroundf_ctx): Likewise.
11731 (libc_feholdexcept_setround_ctx): Likewise.
11732 (libc_fesetenv_ctx): Likewise.
11733 (libc_feupdateenv_ctx): Likewise.
11734 (libc_feholdsetround_ctx): Likewise.
11735 (libc_feresetround_ctx): Likewise.
11736 (libc_feholdexcept_setroundl_ctx): Likewise.
11737 (libc_feupdateenvl_ctx): Likewise.
11738 (libc_feholdsetroundl_ctx): Likewise.
11739 (libc_feresetroundl_ctx): Likewise.
11740 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11741 (libc_feresetround_53bit_ctx): Likewise.
11742
11743 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11744
11745 * locale/iso-639.def: Convert to UTF-8.
11746
11747 2013-06-11 Joseph Myers <joseph@codesourcery.com>
11748
11749 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11750 (EXCEPTION_TESTS_double): Likewise.
11751 (EXCEPTION_TESTS_long_double): Likewise.
11752 (EXCEPTION_TESTS): Likewise.
11753 * math/libm-test.inc (test_exceptions): Only test exceptions if
11754 EXCEPTION_TESTS (FLOAT).
11755
11756 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11757
11758 * benchtests/Makefile (string-bench): Add strcpy_chk and
11759 stpcpy_chk.
11760 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11761 * benchtests/bench-stpcpy_chk.c: New file.
11762 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11763 * benchtests/bench-strcpy_chk.c: New file.
11764 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11765 code.
11766 (do_test): Likewise.
11767
11768 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11769
11770 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11771 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11772 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11773 with tabs where appropriate.
11774 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11775 dl-procinfo.h.
11776 [PPC_PLATFORM_PPC440]: Likewise.
11777 [PPC_PLATFORM_PPC464]: Likewise.
11778 [PPC_PLATFORM_PPC476]: Likewise.
11779 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11780 ppc464, and ppc476 platform strings merging from ports/
11781 dl-procinfo.h.
11782
11783 2013-06-11 Andreas Schwab <schwab@suse.de>
11784
11785 [BZ #14991]
11786 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11787 (from_ucs4_idx): Regenerate.
11788 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11789 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11790 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11791 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11792 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11793 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11794 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11795 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11796 from FROM_LOOP and TO_LOOP specific macros.
11797 (BODY): Handle combining characters.
11798 * iconvdata/BIG5HKSCS.irreversible: Update.
11799 * iconvdata/BIG5HKSCS.precomposed: New file.
11800 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11801 characters.
11802 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11803
11804 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11805
11806 * include/sys/time.h: Fix indentation and add copyright header.
11807
11808 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11809 (do_test): Likewise.
11810 * string/test-memchr.c (do_one_test): Likewise.
11811 (do_test): Likewise.
11812 * string/test-memcmp.c (do_one_test): Likewise.
11813 (do_test): Likewise.
11814 * string/test-memcpy.c (do_one_test): Likewise.
11815 (do_test): Likewise.
11816 * string/test-memmem.c (do_one_test): Likewise.
11817 (do_test): Likewise.
11818 (do_random_tests): Likewise.
11819 * string/test-memmove.c (do_one_test): Likewise.
11820 (do_test): Likewise.
11821 * string/test-memset.c (do_one_test): Likewise.
11822 (do_test): Likewise.
11823 * string/test-rawmemchr.c (do_one_test): Likewise.
11824 (do_test): Likewise.
11825 * string/test-strcasecmp.c (do_one_test): Likewise.
11826 (do_test): Likewise.
11827 * string/test-strcasestr.c (do_one_test): Likewise.
11828 (do_test): Likewise.
11829 * string/test-strcat.c (do_one_test): Likewise.
11830 (do_test): Likewise.
11831 * string/test-strchr.c (do_one_test): Likewise.
11832 (do_test): Likewise.
11833 * string/test-strcmp.c (do_one_test): Likewise.
11834 (do_test): Likewise.
11835 * string/test-strcpy.c (do_one_test): Likewise.
11836 (do_test): Likewise.
11837 * string/test-string.h: Likewise.
11838 (test_init): Likewise.
11839 * string/test-strlen.c (do_one_test): Likewise.
11840 (do_test): Likewise.
11841 * string/test-strncasecmp.c (do_one_test): Likewise.
11842 (do_test): Likewise.
11843 * string/test-strncat.c (do_one_test): Likewise.
11844 (do_test): Likewise.
11845 * string/test-strncmp.c (do_one_test): Likewise.
11846 (do_test_limit): Likewise.
11847 (do_test): Likewise.
11848 * string/test-strncpy.c (do_one_test): Likewise.
11849 (do_test): Likewise.
11850 * string/test-strnlen.c (do_one_test): Likewise.
11851 (do_test): Likewise.
11852 * string/test-strpbrk.c (do_one_test): Likewise.
11853 (do_test): Likewise.
11854 * string/test-strrchr.c (do_one_test): Likewise.
11855 (do_test): Likewise.
11856 * string/test-strspn.c (do_one_test): Likewise.
11857 (do_test): Likewise.
11858 * string/test-strstr.c (do_one_test): Likewise.
11859 (do_test): Likewise.
11860
11861 * benchtests/Makefile (string-bench): Add string benchmarks.
11862 * benchtests/bench-bcopy-ifunc.c: New file.
11863 * benchtests/bench-bcopy.c: New file.
11864 * benchtests/bench-bzero-ifunc.c: New file.
11865 * benchtests/bench-bzero.c: New file.
11866 * benchtests/bench-memccpy-ifunc.c: New file.
11867 * benchtests/bench-memccpy.c: New file.
11868 * benchtests/bench-memchr-ifunc.c: New file.
11869 * benchtests/bench-memchr.c: New file.
11870 * benchtests/bench-memcmp-ifunc.c: New file.
11871 * benchtests/bench-memcmp.c: New file.
11872 * benchtests/bench-memmem-ifunc.c: New file.
11873 * benchtests/bench-memmem.c: New file.
11874 * benchtests/bench-memmove-ifunc.c: New file.
11875 * benchtests/bench-memmove.c: New file.
11876 * benchtests/bench-mempcpy-ifunc.c: New file.
11877 * benchtests/bench-mempcpy.c: New file.
11878 * benchtests/bench-memset-ifunc.c: New file.
11879 * benchtests/bench-memset.c: New file.
11880 * benchtests/bench-rawmemchr-ifunc.c: New file.
11881 * benchtests/bench-rawmemchr.c: New file.
11882 * benchtests/bench-stpcpy-ifunc.c: New file.
11883 * benchtests/bench-stpcpy.c: New file.
11884 * benchtests/bench-stpncpy-ifunc.c: New file.
11885 * benchtests/bench-stpncpy.c: New file.
11886 * benchtests/bench-strcasecmp-ifunc.c: New file.
11887 * benchtests/bench-strcasecmp.c: New file.
11888 * benchtests/bench-strcasestr-ifunc.c: New file.
11889 * benchtests/bench-strcasestr.c: New file.
11890 * benchtests/bench-strcat-ifunc.c: New file.
11891 * benchtests/bench-strcat.c: New file.
11892 * benchtests/bench-strchr-ifunc.c: New file.
11893 * benchtests/bench-strchr.c: New file.
11894 * benchtests/bench-strchrnul-ifunc.c: New file.
11895 * benchtests/bench-strchrnul.c: New file.
11896 * benchtests/bench-strcmp-ifunc.c: New file.
11897 * benchtests/bench-strcmp.c: New file.
11898 * benchtests/bench-strcpy-ifunc.c: New file.
11899 * benchtests/bench-strcpy.c: New file.
11900 * benchtests/bench-strcspn-ifunc.c: New file.
11901 * benchtests/bench-strcspn.c: New file.
11902 * benchtests/bench-strlen-ifunc.c: New file.
11903 * benchtests/bench-strlen.c: New file.
11904 * benchtests/bench-strncasecmp-ifunc.c: New file.
11905 * benchtests/bench-strncasecmp.c: New file.
11906 * benchtests/bench-strncat-ifunc.c: New file.
11907 * benchtests/bench-strncat.c: New file.
11908 * benchtests/bench-strncmp-ifunc.c: New file.
11909 * benchtests/bench-strncmp.c: New file.
11910 * benchtests/bench-strncpy-ifunc.c: New file.
11911 * benchtests/bench-strncpy.c: New file.
11912 * benchtests/bench-strnlen-ifunc.c: New file.
11913 * benchtests/bench-strnlen.c: New file.
11914 * benchtests/bench-strpbrk-ifunc.c: New file.
11915 * benchtests/bench-strpbrk.c: New file.
11916 * benchtests/bench-strrchr-ifunc.c: New file.
11917 * benchtests/bench-strrchr.c: New file.
11918 * benchtests/bench-strspn-ifunc.c: New file.
11919 * benchtests/bench-strspn.c: New file.
11920 * benchtests/bench-strstr-ifunc.c: New file.
11921 * benchtests/bench-strstr.c: New file.
11922
11923 * benchtests/Makefile: Disable parallel execution of targets.
11924 (string-bench): Add memcpy.
11925 (benchset): New variable to store a list of benchmark sets.
11926 (bench-func): Renamed from bench.
11927 (bench-set): New target.
11928 (bench): Depend on bench-func and bench-set.
11929 * benchtests/README: Add section on benchmark sets.
11930 * benchtests/bench-memcpy-ifunc.c: New file.
11931 * benchtests/bench-memcpy.c: New file.
11932 * benchtests/bench-string.h: New file.
11933
11934 2013-06-11 Andreas Schwab <schwab@suse.de>
11935
11936 [BZ #15577]
11937 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11938 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11939 values in the triple.
11940 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11941 terminator in the group key.
11942
11943 2013-06-11 Andreas Jaeger <aj@suse.de>
11944
11945 * po/zh_TW.po: Update Chinese (traditional) translation from
11946 translation project.
11947
11948 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11949
11950 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11951 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11952 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11953 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11954 (clock_getcpuclockid): Likewise.
11955 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11956 Add weak_alias and libc_hidden_def.
11957 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11958 * rt/clock_gettime.c (clock_gettime): Rename to
11959 __clock_gettime. Add weak_alias and libc_hidden_def.
11960 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11961 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11962 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11963 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11964 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11965 Likewise.
11966 * rt/clock_settime.c (clock_settime): Rename to
11967 __clock_settime. Add weak_alias and libc_hidden_def.
11968 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11969
11970 2013-06-10 Joseph Myers <joseph@codesourcery.com>
11971
11972 * mach/err_boot.sub: Remove trailing whitespace.
11973 * mach/err_ipc.sub: Likewise.
11974 * mach/err_mach.sub: Likewise.
11975
11976 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11977 (ROUNDING_TESTS_double): Likewise.
11978 (ROUNDING_TESTS_long_double): Likewise.
11979 (ROUNDING_TESTS): Likewise.
11980 * math/libm-test.inc: Include <math-tests.h>.
11981 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11982 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11983 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11984 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11985
11986 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11987
11988 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11989 of assigning.
11990
11991 2013-06-08 Joseph Myers <joseph@codesourcery.com>
11992
11993 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11994 otherwise empty TRANS lines.
11995 * sysdeps/gnu/errlist.c: Regenerated.
11996
11997 * catgets/gencat.c (error_print): Use (void) in function
11998 definition.
11999 * crypt/crypt_util.c (__init_des): Likewise.
12000 * crypt/speeds.c (Stop): Likewise.
12001 (main): Likewise.
12002 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12003 * inet/ruserpass.c (token): Likewise.
12004 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12005 * intl/localealias.c (extend_alias_table): Likewise.
12006 * intl/plural-exp.c (init_germanic_plural): Likewise.
12007 * libio/fcloseall.c (__fcloseall): Likewise.
12008 * libio/genops.c (_IO_flush_all): Likewise.
12009 (_IO_flush_all_linebuffered): Likewise.
12010 (_IO_cleanup): Likewise.
12011 (_IO_iter_begin): Likewise.
12012 (_IO_iter_end): Likewise.
12013 (_IO_list_lock): Likewise.
12014 (_IO_list_unlock): Likewise.
12015 (_IO_list_resetlock): Likewise.
12016 * libio/getchar.c (getchar): Likewise.
12017 * libio/getchar_u.c (getchar_unlocked): Likewise.
12018 * libio/getwchar.c (getwchar): Likewise.
12019 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12020 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12021 * login/getpt.c (__getpt): Likewise.
12022 * login/tst-utmp.c (main): Likewise.
12023 * malloc/hooks.c (__malloc_check_init): Likewise.
12024 * malloc/malloc.c (__malloc_stats): Likewise.
12025 * malloc/mtrace.c (tr_break): Likewise.
12026 (mtrace): Likewise.
12027 (muntrace): Likewise.
12028 * misc/fstab.c (endfsent): Likewise.
12029 * misc/getclktck.c (__getclktck): Likewise.
12030 * misc/getdtsz.c (__getdtablesize): Likewise.
12031 * misc/gethostid.c (gethostid): Likewise.
12032 * misc/getpagesize.c (__getpagesize): Likewise.
12033 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12034 (__get_nprocs): Likewise.
12035 (__get_phys_pages): Likewise.
12036 (__get_avphys_pages): Likewise.
12037 * misc/getttyent.c (getttyent): Likewise.
12038 (setttyent): Likewise.
12039 (endttyent): Likewise.
12040 * misc/getusershell.c (getusershell): Likewise.
12041 (endusershell): Likewise.
12042 (setusershell): Likewise.
12043 (initshells): Likewise.
12044 * misc/hsearch.c (__hdestroy): Likewise.
12045 * misc/sync.c (sync): Likewise.
12046 * misc/syslog.c (closelog_internal): Likewise.
12047 (closelog): Likewise.
12048 * misc/ttyslot.c (ttyslot): Likewise.
12049 * misc/vhangup.c (vhangup): Likewise.
12050 * posix/fork.c (__fork): Likewise.
12051 * posix/getegid.c (__getegid): Likewise.
12052 * posix/geteuid.c (__geteuid): Likewise.
12053 * posix/getgid.c (__getgid): Likewise.
12054 * posix/getpid.c (__getpid): Likewise.
12055 * posix/getppid.c (__getppid): Likewise.
12056 * posix/getuid.c (__getuid): Likewise.
12057 * posix/pause.c (pause): Likewise.
12058 * posix/setpgrp.c (setpgrp): Likewise.
12059 * posix/setsid.c (__setsid): Likewise.
12060 * posix/test-vfork.c (noop): Likewise.
12061 * resolv/gethnamaddr.c (_endhtent): Likewise.
12062 (_gethtent): Likewise.
12063 (ht_endhostent): Likewise.
12064 (gethostent): Likewise.
12065 (dns_service): Likewise.
12066 * stdlib/drand48.c (drand48): Likewise.
12067 * stdlib/lrand48.c (lrand48): Likewise.
12068 * stdlib/mrand48.c (mrand48): Likewise.
12069 * stdlib/rand.c (rand): Likewise.
12070 * stdlib/random.c (__random): Likewise.
12071 * stdlib/setenv.c (clearenv): Likewise.
12072 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12073 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12074 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12075 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12076 (__get_nprocs): Likewise.
12077 (__get_phys_pages): Likewise.
12078 (__get_avphys_pages): Likewise.
12079 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12080 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12081 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12082 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12083 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12084 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12085 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12086 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12087 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12088 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12089 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12090 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12091 * sysdeps/posix/clock.c (clock): Likewise.
12092 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12093 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12094 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12095 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12096 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12097 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12098 (__get_nprocs_conf): Likewise.
12099 (__get_phys_pages): Likewise.
12100 (__get_avphys_pages): Likewise.
12101 * time/clock.c (clock): Likewise.
12102 * time/tzset.c (__tzname_max): Likewise.
12103
12104 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12105
12106 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12107 (__bswap_32): Do not use "register".
12108 * crypt/crypt.c (_ufc_doit_r): Likewise.
12109 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12110 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12111 * gmon/gmon.c (__monstartup): Likewise.
12112 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12113 * hurd/hurdmalloc.c (more_memory): Likewise.
12114 (malloc): Likewise.
12115 (free): Likewise.
12116 (realloc): Likewise.
12117 (malloc_fork_prepare): Likewise.
12118 (malloc_fork_parent): Likewise.
12119 (malloc_fork_child): Likewise.
12120 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12121 (_svcauth_des): Likewise.
12122 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12123 * inet/inet_net.c (inet_network): Likewise.
12124 * inet/inet_netof.c (inet_netof): Likewise.
12125 * inet/rcmd.c (__validuser2_sa): Likewise.
12126 * io/fts.c (fts_open): Likewise.
12127 (fts_load): Likewise.
12128 (fts_close): Likewise.
12129 (fts_read): Likewise.
12130 (fts_children): Likewise.
12131 (fts_build): Likewise.
12132 (fts_stat): Likewise.
12133 (fts_sort): Likewise.
12134 (fts_alloc): Likewise.
12135 (fts_lfree): Likewise.
12136 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12137 (_IO_file_xsgetn): Likewise.
12138 (_IO_file_xsgetn_mmap): Likewise.
12139 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12140 (_IO_cookie_write): Likewise.
12141 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12142 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12143 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12144 * malloc/obstack.c (_obstack_begin): Likewise.
12145 (_obstack_begin_1): Likewise.
12146 (_obstack_newchunk): Likewise.
12147 (_obstack_allocated_p): Likewise.
12148 (obstack_free): Likewise.
12149 (_obstack_memory_used): Likewise.
12150 * misc/getttyent.c (getttynam): Likewise.
12151 (getttyent): Likewise.
12152 (skip): Likewise.
12153 (value): Likewise.
12154 * misc/getusershell.c (initshells): Likewise.
12155 * misc/syslog.c (__vsyslog_chk): Likewise.
12156 * misc/ttyslot.c (ttyslot): Likewise.
12157 * nis/nis_hash.c (__nis_hash): Likewise.
12158 * posix/fnmatch_loop.c (FCT): Likewise.
12159 * posix/getconf.c (print_all): Likewise.
12160 (main): Likewise.
12161 * posix/getopt.c (exchange): Likewise.
12162 * posix/glob.c (globfree): Likewise.
12163 (prefix_array): Likewise.
12164 (__glob_pattern_type): Likewise.
12165 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12166 (NS_GET32): Likewise.
12167 (NS_PUT16): Likewise.
12168 (NS_PUT32): Likewise.
12169 * resolv/gethnamaddr.c (getanswer): Likewise.
12170 (gethostbyname2): Likewise.
12171 (gethostbyaddr): Likewise.
12172 (_gethtent): Likewise.
12173 (_gethtbyname2): Likewise.
12174 (_gethtbyaddr): Likewise.
12175 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12176 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12177 * resolv/res_init.c (__res_vinit): Likewise.
12178 (net_mask): Likewise.
12179 * resolv/res_mkquery.c (outchar): Likewise.
12180 (PRINT): Likewise.
12181 * stdio-common/printf_fp.c (outchar): Likewise.
12182 (PRINT): Likewise.
12183 * stdio-common/printf_fphex.c (outchar): Likewise.
12184 (PRINT): Likewise.
12185 * stdio-common/printf_size.c (outchar): Likewise.
12186 (PRINT): Likewise.
12187 * stdio-common/test_rdwr.c (main): Likewise.
12188 * stdio-common/tfformat.c (matches): Likewise.
12189 * stdio-common/vfprintf.c (outchar): Likewise.
12190 (printf_unknown): Likewise.
12191 (buffered_vfprintf): Likewise.
12192 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12193 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12194 (ReadFile): Likewise.
12195 * stdlib/qsort.c (SWAP): Likewise.
12196 (_quicksort): Likewise.
12197 * stdlib/setenv.c (__add_to_environ): Likewise.
12198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12199 * stdlib/strtol_l.c (__strtol_l): Likewise.
12200 * stdlib/tst-strtod.c (main): Likewise.
12201 * stdlib/tst-strtol.c (main): Likewise.
12202 * stdlib/tst-strtoll.c (main): Likewise.
12203 * string/bits/string2.h (__strcmp_cc): Likewise.
12204 (__strcmp_cg): Likewise.
12205 (__strcspn_c1): Likewise.
12206 (__strcspn_c2): Likewise.
12207 (__strcspn_c3): Likewise.
12208 (__strspn_c1): Likewise.
12209 (__strspn_c2): Likewise.
12210 (__strspn_c3): Likewise.
12211 (__strsep_1c): Likewise.
12212 (__strsep_2c): Likewise.
12213 (__strsep_3c): Likewise.
12214 * string/memccpy.c (__memccpy): Likewise.
12215 * string/stpcpy.c (__stpcpy): Likewise.
12216 * string/strcmp.c (strcmp): Likewise.
12217 * string/strrchr.c (strrchr): Likewise.
12218 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12219 Likewise.
12220 * sysdeps/mach/hurd/getcwd.c
12221 (_hurd_canonicalize_directory_name_internal): Likewise.
12222 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12223 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12224 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12225 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12226 Likewise, in both definitions.
12227 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12228 definitions.
12229 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12230 64] (__bswap_64): Likewise.
12231 * time/test_time.c (main): Likewise.
12232 * time/tzfile.c (__tzfile_read): Likewise.
12233 (__tzfile_compute): Likewise.
12234 * time/tzset.c (__tzset_parse_tz): Likewise.
12235 (tzset_internal): Likewise.
12236 (compute_change): Likewise.
12237 * wcsmbs/wcscat.c (__wcscat): Likewise.
12238 * wcsmbs/wcschr.c (wcschr): Likewise.
12239 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12240 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12241 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12242 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12243 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12244 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12245 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12246 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12247 * wcsmbs/wmemset.c (wmemset): Likewise.
12248
12249 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12250
12251 * scripts/config.guess: Update to version 2013-05-16.
12252 * scripts/config.sub: Update to version 2013-04-24.
12253 * scripts/install-sh: Update to version 2011-11-20.07.
12254 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12255 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12256
12257 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12258
12259 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12260 * elf/sln.c: Likewise.
12261 * hurd/hurd/ioctl.h: Likewise.
12262 * hurd/hurdmalloc.c: Likewise.
12263 * hurd/xattr.c: Likewise.
12264 * include/shlib-compat.h: Likewise.
12265 * inet/ruserpass.c: Likewise.
12266 * libio/iofgets_u.c: Likewise.
12267 * libio/iofgetws_u.c: Likewise.
12268 * locale/programs/ld-identification.c: Likewise.
12269 * locale/programs/ld-time.c: Likewise.
12270 * mach/msg-destroy.c: Likewise.
12271 * nss/nss_files/files-netgrp.c: Likewise.
12272 * resolv/res_data.c: Likewise.
12273 * soft-fp/op-1.h: Likewise.
12274 * soft-fp/op-2.h: Likewise.
12275 * soft-fp/op-4.h: Likewise.
12276 * soft-fp/op-common.h: Likewise.
12277 * stdio-common/printf_fphex.c: Likewise.
12278 * stdlib/strtod_l.c: Likewise.
12279 * sunrpc/rpc/clnt.h: Likewise.
12280 * sysdeps/generic/framestate.c: Likewise.
12281 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12282 * sysdeps/i386/bsd-setjmp.S: Likewise.
12283 * sysdeps/i386/__longjmp.S: Likewise.
12284 * sysdeps/i386/setjmp.S: Likewise.
12285 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12286 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12287 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12303 * sysdeps/ieee754/support.c: Likewise.
12304 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12305 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12306 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12307 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12308 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12309 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12310 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12311 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12312 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12313 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12314 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12315 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12316 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12317 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12318 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12319 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12320 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12322
12323 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12324
12325 * posix/transbug.c: Remove executable mode.
12326
12327 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12328
12329 * crypt/speeds.c: Remove trailing whitespace.
12330 * dlfcn/default.c: Likewise.
12331 * elf/ifuncdep2.c: Likewise.
12332 * elf/ifuncmain1.c: Likewise.
12333 * elf/ifuncmain1vis.c: Likewise.
12334 * elf/testobj.h: Likewise.
12335 * elf/tst-stackguard1.c: Likewise.
12336 * gmon/sys/gmon.h: Likewise.
12337 * hurd/hurdmsg.c: Likewise.
12338 * hurd/new-fd.c: Likewise.
12339 * hurd/ports-get.c: Likewise.
12340 * iconvdata/ibm1008_420.c: Likewise.
12341 * inet/tst-getni1.c: Likewise.
12342 * inet/tst-getni2.c: Likewise.
12343 * libio/ioungetc.c: Likewise.
12344 * libio/wfiledoalloc.c: Likewise.
12345 * manual/libm-err-tab.pl: Likewise.
12346 * math/w_dremf.c: Likewise.
12347 * misc/ftruncate.c: Likewise.
12348 * posix/bug-glob2.c: Likewise.
12349 * posix/tst-pcre.c: Likewise.
12350 * posix/wait4.c: Likewise.
12351 * resolv/README: Likewise.
12352 * resolv/res_debug.h: Likewise.
12353 * resolv/tst-inet_ntop.c: Likewise.
12354 * setjmp/bug269-setjmp.c: Likewise.
12355 * soft-fp/extended.h: Likewise.
12356 * soft-fp/op-1.h: Likewise.
12357 * soft-fp/op-2.h: Likewise.
12358 * soft-fp/op-4.h: Likewise.
12359 * soft-fp/op-8.h: Likewise.
12360 * soft-fp/testit.c: Likewise.
12361 * stdio-common/bug16.c: Likewise.
12362 * stdlib/random.c: Likewise.
12363 * sunrpc/rpcsvc/rquota.x: Likewise.
12364 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12365 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12366 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12367 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12368 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12369 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12370 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12371 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12372 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12373 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12374 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12375 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12376 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12377 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12378 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12393 * sysdeps/ieee754/s_lib_version.c: Likewise.
12394 * sysdeps/mach/hurd/check_fds.c: Likewise.
12395 * sysdeps/mach/hurd/getsockname.c: Likewise.
12396 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12397 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12398 * sysdeps/powerpc/bits/link.h: Likewise.
12399 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12400 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12401 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12402 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12403 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12404 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12405 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12406 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12407 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12408 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12409 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12410 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12411 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12412 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12413 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12414 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12416 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12417 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12418 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12420 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12421 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12422 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12423 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12424 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12425 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12426 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12427 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12428 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12429 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12433 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12434 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12436 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12437 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12439 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12443 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12444 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12446 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12447 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12448 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12449 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12455 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12457 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12458 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12459 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12460 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12461 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12462 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12463 * sysdeps/powerpc/sysdep.h: Likewise.
12464 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12465 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12466 * sysdeps/sh/dl-trampoline.S: Likewise.
12467 * sysdeps/sh/memset.S: Likewise.
12468 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12469 * sysdeps/sh/strlen.S: Likewise.
12470 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12471 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12472 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12473 * sysdeps/sparc/sparc32/rem.S: Likewise.
12474 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12475 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12476 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12477 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12478 * sysdeps/sparc/sparc32/urem.S: Likewise.
12479 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12480 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12481 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12482 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12483 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12484 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12485 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12486 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12487 * sysdeps/unix/bsd/times.c: Likewise.
12488 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12489 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12493 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12495 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12496 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12497 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12498 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12499 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12500 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12502 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12503 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12504 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12505 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12506 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12507 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12508 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12509 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12510 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12511 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12512 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12513 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12514 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12515 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12516 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12517 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12518 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12519 * sysdeps/x86_64/strcspn.S: Likewise.
12520
12521 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12522
12523 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12524 generated file. Regenerate properly from gen-translit.pl.
12525 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12526 locale/C-translit.h.
12527
12528 2013-06-05 Andreas Schwab <schwab@suse.de>
12529
12530 [BZ #15100]
12531 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12532 week as 6 instead of -1.
12533 * time/tst-strptime.c (day_tests): Add test case.
12534
12535 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12536
12537 * sysdeps/generic/math_private.h
12538 (libc_feholdexcept_setround_53bit): Replace with
12539 libc_feholdsetround_53bit.
12540 (libc_feupdateenv_53bit): Replace with
12541 libc_feresetround_53bit.
12542 (SET_RESTORE_ROUND_53BIT): Adjust.
12543
12544 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12545
12546 * string/test-strchrnul.c: Add copyright header.
12547
12548 * posix/tst-getaddrinfo4.c: Increase test timeout.
12549
12550 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12551
12552 [BZ #15536]
12553 * math/libm-test.inc (MAX_EXP): Remove
12554 (MIN_EXP): Define.
12555 (ulp): Use MIN_EXP - MANT_DIG.
12556 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12557
12558 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12559
12560 * po/be.po: Revert last change.
12561 * po/zh_CN.po: Likewise.
12562 * po/header.pot: Likewise.
12563
12564 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12565
12566 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12567 link-libc-deps to empty as target-specific variable.
12568 * Makerules (link-libc-args): New variable.
12569 (libc-for-link): Likewise.
12570 (link-libc-deps): Likewise.
12571 (lib%.so): Depend on $(link-libc-deps). Link with
12572 $(link-libc-args).
12573 (build-module): Link with $(link-libc-args).
12574 (build-module-asneeded): Likewise.
12575 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12576 list of objects.
12577 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12578 target-specific variable.
12579 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12580 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12581 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12582 libc.
12583 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12584 libc and ld.so.
12585 ($(objpfx)libpcprofile.so): Likewise.
12586 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12587 libc_nonshared.a.
12588 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12589 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12590 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12591 $(link-libc-deps).
12592 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12593 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12594 * login/Makefile ($(objpfx)libutil.so): Likewise.
12595 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12596 * math/Makefile ($(objpfx)libm.so): Likewise.
12597 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12598 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12599 variable instead of depending directly on libc.
12600 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12601 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12602 $(link-libc-deps).
12603 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12604 libc.
12605 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12606 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12607 ($(objpfx)libanl.so): Likewise.
12608 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12609 ld.so.
12610 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12611 $(link-libc-deps).
12612 * sysdeps/i386/fpu/Makefile: Remove file.
12613 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12614 ($(objpfx)libm.so): Remove dependency on ld.so.
12615
12616 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12617
12618 [BZ # 15553]
12619 * nis/yp_xdr.c (XDRMAXNAME): Define.
12620 (XDRMAXRECORD): Define.
12621 (xdr_domainname): Use XDRMAXNAME.
12622 (xdr_mapname): Likewise.
12623 (xdr_peername): Likewise.
12624 (xdr_keydat): Use XDRMAXRECORD.
12625 (xdr_valdat): Likewise.
12626
12627 2013-05-30 Jeff Law <law@redhat.com>
12628
12629 [BZ #14256]
12630 * manual/errno.texi (ESTALE): Update to account for more than
12631 just NFS file systems.
12632 * sysdeps/gnu/errlist.c: Regenerated.
12633
12634 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12635
12636 [BZ #15465]
12637 * elf/Makefile (tests): Add tst-null-argv.
12638 (modules-names): Add tst-null-argv-lib.
12639 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12640 (tst-null-argv-ENV): Set environment for tst-null-argv.
12641 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12642 (RTLD_PROGNAME): New macro.
12643 * elf/tst-null-argv.c: New test case.
12644 * elf/tst-null-argv-lib.c: Library for test case.
12645 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12646 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12647 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12648 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12649 * elf/dl-init.c (call_init): Likewise.
12650 (_dl_init): Likewise.
12651 * elf/dl-load.c (print_search_path): Likewise.
12652 (_dl_map_object): Likewise.
12653 * elf/dl-lookup.c (do_lookup_x): Likewise.
12654 (add_dependency): Likewise.
12655 (_dl_lookup_symbol_x): Likewise.
12656 (_dl_debug_bindings): Likewise.
12657 * elf/dl-open.c (_dl_show_scope): Likewise.
12658 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12659 * elf/dl-version.c (match_symbol): Likewise.
12660 (_dl_check_map_versions): Likewise.
12661 * elf/rtld.c (dl_main): Likewise.
12662 (print_unresolved): Use RTLD_PROGNAME.
12663 (print_missing_version): Likewise.
12664 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12665 (elf_machine_rela): Likewise.
12666 * sysdeps/powerpc/powerpc32/dl-machine.c
12667 (__process_machine_rela): Likewise.
12668 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12669 Likewise.
12670 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12671 Likewise.
12672 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12673 Likewise.
12674 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12675 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12676 Likewise.
12677 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12678 Likewise.
12679 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12680
12681 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12682
12683 * po/be.po: Add descriptive title.
12684 * po/zh_CN.po: Likewise.
12685 * po/header.pot: Likewise.
12686
12687 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12688
12689 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12690 error message.
12691 (enlarge_archive): Likewise.
12692
12693 2013-05-28 Ben North <ben@redfrontdoor.org>
12694
12695 * manual/arith.texi (frexp): It is the magnitude of the return
12696 value which lies in [0.5, 1), not the return value itself.
12697
12698 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12699
12700 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12701
12702 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12703
12704 * stdio-common/bug26.c (main): Correct fscanf template.
12705
12706 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12707 declare _dl_skip_args.
12708
12709 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12710 Don't declare.
12711
12712 * manual/platform.texi: Add missing @end deftypefun.
12713
12714 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12715
12716 [BZ #15529]
12717 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12718 bit of mantissa of 2^16382.
12719 * math/libm-test.inc (hypot_test_data): Add more tests.
12720
12721 * math/libm-test.inc: Add drem and pow10 to list of tested
12722 functions.
12723 (pow10_test): New function.
12724 (drem_test): Likewise.
12725 (drem_test_tonearest): Likewise.
12726 (drem_test_towardzero): Likewise.
12727 (drem_test_downward): Likewise.
12728 (drem_test_upward): Likewise.
12729 (main): Call the new functions.
12730
12731 * math/libm-test.inc (finite_test_data): Remove.
12732 (finite_test): Run tests from isfinite_test_data.
12733 (gamma_test_data): Remove.
12734 (gamma_test): Run tests from lgamma_test_data.
12735 * sysdeps/i386/fpu/libm-test-ulps: Update.
12736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12737
12738 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12739
12740 * manual/platform.texi: Add PowerPC PPR function set documentation.
12741 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12742 implementation.
12743
12744 2013-05-24 Carlos O'Donell <carlos@redhat.com>
12745
12746 * math/libm-test.inc (MAX_EXP): Define.
12747 (ULPDIFF): Define.
12748 (ulp): New function.
12749 (check_float_internal): Use ULPDIFF.
12750 (cpow_test): Disable failing test.
12751 (check_ulp): Test ulp() implemetnation.
12752 (main): Call check_ulp before starting tests.
12753
12754 2013-05-24 Joseph Myers <joseph@codesourcery.com>
12755
12756 * math/gen-libm-test.pl (generate_testfile): Do not handle
12757 START_DATA and END_DATA.
12758 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12759 END_DATA.
12760 (acos_tonearest_test_data): Likewise.
12761 (acos_towardzero_test_data): Likewise.
12762 (acos_downward_test_data): Likewise.
12763 (acos_upward_test_data): Likewise.
12764 (acosh_test_data): Likewise.
12765 (asin_test_data): Likewise.
12766 (asin_tonearest_test_data): Likewise.
12767 (asin_towardzero_test_data): Likewise.
12768 (asin_downward_test_data): Likewise.
12769 (asin_upward_test_data): Likewise.
12770 (asinh_test_data): Likewise.
12771 (atan_test_data): Likewise.
12772 (atanh_test_data): Likewise.
12773 (atan2_test_data): Likewise.
12774 (cabs_test_data): Likewise.
12775 (cacos_test_data): Likewise.
12776 (cacosh_test_data): Likewise.
12777 (carg_test_data): Likewise.
12778 (casin_test_data): Likewise.
12779 (casinh_test_data): Likewise.
12780 (catan_test_data): Likewise.
12781 (catanh_test_data): Likewise.
12782 (cbrt_test_data): Likewise.
12783 (ccos_test_data): Likewise.
12784 (ccosh_test_data): Likewise.
12785 (ceil_test_data): Likewise.
12786 (cexp_test_data): Likewise.
12787 (cimag_test_data): Likewise.
12788 (clog_test_data): Likewise.
12789 (clog10_test_data): Likewise.
12790 (conj_test_data): Likewise.
12791 (copysign_test_data): Likewise.
12792 (cos_test_data): Likewise.
12793 (cos_tonearest_test_data): Likewise.
12794 (cos_towardzero_test_data): Likewise.
12795 (cos_downward_test_data): Likewise.
12796 (cos_upward_test_data): Likewise.
12797 (cosh_test_data): Likewise.
12798 (cosh_tonearest_test_data): Likewise.
12799 (cosh_towardzero_test_data): Likewise.
12800 (cosh_downward_test_data): Likewise.
12801 (cosh_upward_test_data): Likewise.
12802 (cpow_test_data): Likewise.
12803 (cproj_test_data): Likewise.
12804 (creal_test_data): Likewise.
12805 (csin_test_data): Likewise.
12806 (csinh_test_data): Likewise.
12807 (csqrt_test_data): Likewise.
12808 (ctan_test_data): Likewise.
12809 (ctan_tonearest_test_data): Likewise.
12810 (ctan_towardzero_test_data): Likewise.
12811 (ctan_downward_test_data): Likewise.
12812 (ctan_upward_test_data): Likewise.
12813 (ctanh_test_data): Likewise.
12814 (ctanh_tonearest_test_data): Likewise.
12815 (ctanh_towardzero_test_data): Likewise.
12816 (ctanh_downward_test_data): Likewise.
12817 (ctanh_upward_test_data): Likewise.
12818 (erf_test_data): Likewise.
12819 (erfc_test_data): Likewise.
12820 (exp_test_data): Likewise.
12821 (exp_tonearest_test_data): Likewise.
12822 (exp_towardzero_test_data): Likewise.
12823 (exp_downward_test_data): Likewise.
12824 (exp_upward_test_data): Likewise.
12825 (exp10_test_data): Likewise.
12826 (exp2_test_data): Likewise.
12827 (expm1_test_data): Likewise.
12828 (fabs_test_data): Likewise.
12829 (fdim_test_data): Likewise.
12830 (finite_test_data): Likewise.
12831 (floor_test_data): Likewise.
12832 (fma_test_data): Likewise.
12833 (fma_towardzero_test_data): Likewise.
12834 (fma_downward_test_data): Likewise.
12835 (fma_upward_test_data): Likewise.
12836 (fmax_test_data): Likewise.
12837 (fmin_test_data): Likewise.
12838 (fmod_test_data): Likewise.
12839 (fpclassify_test_data): Likewise.
12840 (frexp_test_data): Likewise.
12841 (gamma_test_data): Likewise.
12842 (hypot_test_data): Likewise.
12843 (ilogb_test_data): Likewise.
12844 (isfinite_test_data): Likewise.
12845 (isgreater_test_data): Likewise.
12846 (isgreaterequal_test_data): Likewise.
12847 (isinf_test_data): Likewise.
12848 (isless_test_data): Likewise.
12849 (islessequal_test_data): Likewise.
12850 (islessgreater_test_data): Likewise.
12851 (isnan_test_data): Likewise.
12852 (isnormal_test_data): Likewise.
12853 (issignaling_test_data): Likewise.
12854 (isunordered_test_data): Likewise.
12855 (j0_test_data): Likewise.
12856 (j1_test_data): Likewise.
12857 (jn_test_data): Likewise.
12858 (ldexp_test_data): Likewise.
12859 (lgamma_test_data): Likewise.
12860 (lrint_test_data): Likewise.
12861 (lrint_tonearest_test_data): Likewise.
12862 (lrint_towardzero_test_data): Likewise.
12863 (lrint_downward_test_data): Likewise.
12864 (lrint_upward_test_data): Likewise.
12865 (llrint_test_data): Likewise.
12866 (llrint_tonearest_test_data): Likewise.
12867 (llrint_towardzero_test_data): Likewise.
12868 (llrint_downward_test_data): Likewise.
12869 (llrint_upward_test_data): Likewise.
12870 (log_test_data): Likewise.
12871 (log10_test_data): Likewise.
12872 (log1p_test_data): Likewise.
12873 (log2_test_data): Likewise.
12874 (logb_test_data): Likewise.
12875 (logb_downward_test_data): Likewise.
12876 (lround_test_data): Likewise.
12877 (llround_test_data): Likewise.
12878 (modf_test_data): Likewise.
12879 (nearbyint_test_data): Likewise.
12880 (nextafter_test_data): Likewise.
12881 (nexttoward_test_data): Likewise.
12882 (pow_test_data): Likewise.
12883 (pow_tonearest_test_data): Likewise.
12884 (pow_towardzero_test_data): Likewise.
12885 (pow_downward_test_data): Likewise.
12886 (pow_upward_test_data): Likewise.
12887 (remainder_test_data): Likewise.
12888 (remainder_tonearest_test_data): Likewise.
12889 (remainder_towardzero_test_data): Likewise.
12890 (remainder_downward_test_data): Likewise.
12891 (remainder_upward_test_data): Likewise.
12892 (remquo_test_data): Likewise.
12893 (rint_test_data): Likewise.
12894 (rint_tonearest_test_data): Likewise.
12895 (rint_towardzero_test_data): Likewise.
12896 (rint_downward_test_data): Likewise.
12897 (rint_upward_test_data): Likewise.
12898 (round_test_data): Likewise.
12899 (scalb_test_data): Likewise.
12900 (scalbn_test_data): Likewise.
12901 (scalbln_test_data): Likewise.
12902 (signbit_test_data): Likewise.
12903 (sin_test_data): Likewise.
12904 (sin_tonearest_test_data): Likewise.
12905 (sin_towardzero_test_data): Likewise.
12906 (sin_downward_test_data): Likewise.
12907 (sin_upward_test_data): Likewise.
12908 (sincos_test_data): Likewise.
12909 (sinh_test_data): Likewise.
12910 (sinh_tonearest_test_data): Likewise.
12911 (sinh_towardzero_test_data): Likewise.
12912 (sinh_downward_test_data): Likewise.
12913 (sinh_upward_test_data): Likewise.
12914 (sqrt_test_data): Likewise.
12915 (tan_test_data): Likewise.
12916 (tan_tonearest_test_data): Likewise.
12917 (tan_towardzero_test_data): Likewise.
12918 (tan_downward_test_data): Likewise.
12919 (tan_upward_test_data): Likewise.
12920 (tanh_test_data): Likewise.
12921 (tgamma_test_data): Likewise.
12922 (trunc_test_data): Likewise.
12923 (y0_test_data): Likewise.
12924 (y1_test_data): Likewise.
12925 (yn_test_data): Likewise.
12926 (significand_test_data): Likewise.
12927
12928 * math/gen-libm-test.pl (@functions): Remove variable.
12929 (generate_testfile): Don't handle START and END lines.
12930 * math/libm-test.inc (START): New macro.
12931 (END): Likewise.
12932 (END_COMPLEX): Likewise.
12933 (acos_test): Use END macro without arguments.
12934 (acos_test_tonearest): Likewise.
12935 (acos_test_towardzero): Likewise.
12936 (acos_test_downward): Likewise.
12937 (acos_test_upward): Likewise.
12938 (acosh_test): Likewise.
12939 (asin_test): Likewise.
12940 (asin_test_tonearest): Likewise.
12941 (asin_test_towardzero): Likewise.
12942 (asin_test_downward): Likewise.
12943 (asin_test_upward): Likewise.
12944 (asinh_test): Likewise.
12945 (atan_test): Likewise.
12946 (atanh_test): Likewise.
12947 (atan2_test): Likewise.
12948 (cabs_test): Likewise.
12949 (cacos_test): Use END_COMPLEX macro without arguments.
12950 (cacosh_test): Likewise.
12951 (carg_test): Use END macro without arguments.
12952 (casin_test): Use END_COMPLEX macro without arguments.
12953 (casinh_test): Likewise.
12954 (catan_test): Likewise.
12955 (catanh_test): Likewise.
12956 (cbrt_test): Use END macro without arguments.
12957 (ccos_test): Use END_COMPLEX macro without arguments.
12958 (ccosh_test): Likewise.
12959 (ceil_test): Use END macro without arguments.
12960 (cexp_test): Use END_COMPLEX macro without arguments.
12961 (cimag_test): Use END macro without arguments.
12962 (clog_test): Use END_COMPLEX macro without arguments.
12963 (clog10_test): Likewise.
12964 (conj_test): Likewise.
12965 (copysign_test): Use END macro without arguments.
12966 (cos_test): Likewise.
12967 (cos_test_tonearest): Likewise.
12968 (cos_test_towardzero): Likewise.
12969 (cos_test_downward): Likewise.
12970 (cos_test_upward): Likewise.
12971 (cosh_test): Likewise.
12972 (cosh_test_tonearest): Likewise.
12973 (cosh_test_towardzero): Likewise.
12974 (cosh_test_downward): Likewise.
12975 (cosh_test_upward): Likewise.
12976 (cpow_test): Use END_COMPLEX macro without arguments.
12977 (cproj_test): Likewise.
12978 (creal_test): Use END macro without arguments.
12979 (csin_test): Use END_COMPLEX macro without arguments.
12980 (csinh_test): Likewise.
12981 (csqrt_test): Likewise.
12982 (ctan_test): Likewise.
12983 (ctan_test_tonearest): Likewise.
12984 (ctan_test_towardzero): Likewise.
12985 (ctan_test_downward): Likewise.
12986 (ctan_test_upward): Likewise.
12987 (ctanh_test): Likewise.
12988 (ctanh_test_tonearest): Likewise.
12989 (ctanh_test_towardzero): Likewise.
12990 (ctanh_test_downward): Likewise.
12991 (ctanh_test_upward): Likewise.
12992 (erf_test): Use END macro without arguments.
12993 (erfc_test): Likewise.
12994 (exp_test): Likewise.
12995 (exp_test_tonearest): Likewise.
12996 (exp_test_towardzero): Likewise.
12997 (exp_test_downward): Likewise.
12998 (exp_test_upward): Likewise.
12999 (exp10_test): Likewise.
13000 (exp2_test): Likewise.
13001 (expm1_test): Likewise.
13002 (fabs_test): Likewise.
13003 (fdim_test): Likewise.
13004 (finite_test): Likewise.
13005 (floor_test): Likewise.
13006 (fma_test): Likewise.
13007 (fma_test_towardzero): Likewise.
13008 (fma_test_downward): Likewise.
13009 (fma_test_upward): Likewise.
13010 (fmax_test): Likewise.
13011 (fmin_test): Likewise.
13012 (fmod_test): Likewise.
13013 (fpclassify_test): Likewise.
13014 (frexp_test): Likewise.
13015 (gamma_test): Likewise.
13016 (hypot_test): Likewise.
13017 (ilogb_test): Likewise.
13018 (isfinite_test): Likewise.
13019 (isgreater_test): Likewise.
13020 (isgreaterequal_test): Likewise.
13021 (isinf_test): Likewise.
13022 (isless_test): Likewise.
13023 (islessequal_test): Likewise.
13024 (islessgreater_test): Likewise.
13025 (isnan_test): Likewise.
13026 (isnormal_test): Likewise.
13027 (issignaling_test): Likewise.
13028 (isunordered_test): Likewise.
13029 (j0_test): Likewise.
13030 (j1_test): Likewise.
13031 (jn_test): Likewise.
13032 (ldexp_test): Likewise.
13033 (lgamma_test): Likewise.
13034 (lrint_test): Likewise.
13035 (lrint_test_tonearest): Likewise.
13036 (lrint_test_towardzero): Likewise.
13037 (lrint_test_downward): Likewise.
13038 (lrint_test_upward): Likewise.
13039 (llrint_test): Likewise.
13040 (llrint_test_tonearest): Likewise.
13041 (llrint_test_towardzero): Likewise.
13042 (llrint_test_downward): Likewise.
13043 (llrint_test_upward): Likewise.
13044 (log_test): Likewise.
13045 (log10_test): Likewise.
13046 (log1p_test): Likewise.
13047 (log2_test): Likewise.
13048 (logb_test): Likewise.
13049 (logb_test_downward): Likewise.
13050 (lround_test): Likewise.
13051 (llround_test): Likewise.
13052 (modf_test): Likewise.
13053 (nearbyint_test): Likewise.
13054 (nextafter_test): Likewise.
13055 (nexttoward_test): Likewise.
13056 (pow_test): Likewise.
13057 (pow_test_tonearest): Likewise.
13058 (pow_test_towardzero): Likewise.
13059 (pow_test_downward): Likewise.
13060 (pow_test_upward): Likewise.
13061 (remainder_test): Likewise.
13062 (remainder_test_tonearest): Likewise.
13063 (remainder_test_towardzero): Likewise.
13064 (remainder_test_downward): Likewise.
13065 (remainder_test_upward): Likewise.
13066 (remquo_test): Likewise.
13067 (rint_test): Likewise.
13068 (rint_test_tonearest): Likewise.
13069 (rint_test_towardzero): Likewise.
13070 (rint_test_downward): Likewise.
13071 (rint_test_upward): Likewise.
13072 (round_test): Likewise.
13073 (scalb_test): Likewise.
13074 (scalbn_test): Likewise.
13075 (scalbln_test): Likewise.
13076 (signbit_test): Likewise.
13077 (sin_test): Likewise.
13078 (sin_test_tonearest): Likewise.
13079 (sin_test_towardzero): Likewise.
13080 (sin_test_downward): Likewise.
13081 (sin_test_upward): Likewise.
13082 (sincos_test): Likewise.
13083 (sinh_test): Likewise.
13084 (sinh_test_tonearest): Likewise.
13085 (sinh_test_towardzero): Likewise.
13086 (sinh_test_downward): Likewise.
13087 (sinh_test_upward): Likewise.
13088 (sqrt_test): Likewise.
13089 (tan_test): Likewise.
13090 (tan_test_tonearest): Likewise.
13091 (tan_test_towardzero): Likewise.
13092 (tan_test_downward): Likewise.
13093 (tan_test_upward): Likewise.
13094 (tanh_test): Likewise.
13095 (tgamma_test): Likewise.
13096 (trunc_test): Likewise.
13097 (y0_test): Likewise.
13098 (y1_test): Likewise.
13099 (yn_test): Likewise.
13100 (significand_test): Likewise.
13101
13102 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13103
13104 [BZ #15381]
13105 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13106
13107 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13108
13109 [BZ #14894]
13110 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13111 __ppc_mdoio and __ppc_mdoom.
13112 * manual/platform.texi: Document new functions __ppc_yield,
13113 __ppc_mdoio and __ppc_mdoom.
13114
13115 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13116
13117 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13118 (main): Mention "tls" pseudo-hwcap is legacy.
13119 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13120
13121 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13122
13123 * math/gen-libm-test.pl (parse_args): Output only string of
13124 arguments as text for test name, not full call or descriptions of
13125 tests for extra outputs.
13126 (generate_testfile): Do not pass function name to parse_args.
13127 Generate this_func variable from START.
13128 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13129 field to arg_str.
13130 (struct test_ff_f_data): Likewise.
13131 (test_ff_f_data_nexttoward): Likewise.
13132 (struct test_fi_f_data): Likewise.
13133 (struct test_fl_f_data): Likewise.
13134 (struct test_if_f_data): Likewise.
13135 (struct test_fff_f_data): Likewise.
13136 (struct test_c_f_data): Likewise.
13137 (struct test_f_f1_data): Likewise. Remove field extra_name.
13138 (struct test_fF_f1_data): Likewise.
13139 (struct test_ffI_f1_data): Likewise.
13140 (struct test_c_c_data): Rename test_name field to arg_str.
13141 (struct test_cc_c_data): Likewise.
13142 (struct test_f_i_data): Likewise.
13143 (struct test_ff_i_data): Likewise.
13144 (struct test_f_l_data): Likewise.
13145 (struct test_f_L_data): Likewise.
13146 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13147 and extra2_name.
13148 (COMMON_TEST_SETUP): New macro.
13149 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13150 (COMMON_TEST_CLEANUP): Likewise.
13151 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13152 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13153 macros.
13154 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13155 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13156 macros.
13157 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13158 (RUN_TEST_fff_f): Take argument string. Call new setup and
13159 cleanup macros.
13160 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13161 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13162 macros.
13163 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13164 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13165 macros.
13166 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13167 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13168 cleanup macros.
13169 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13170 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13171 cleanup macros.
13172 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13173 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13174 cleanup macros.
13175 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13176 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13177 macros.
13178 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13179 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13180 macros.
13181 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13182 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13183 macros.
13184 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13185 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13186 cleanup macros.
13187 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13188 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13189 cleanup macros.
13190 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13191 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13192 macros.
13193 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13194 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13195 cleanup macros.
13196 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13197 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13198 macros.
13199 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13200 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13201 macros.
13202 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13203 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13204 cleanup macros.
13205 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13206
13207 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13208
13209 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13210 to _sifields.sigfault.
13211 (si_addr_lsb): Define new macro.
13212 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13213 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13214 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13215
13216 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13217
13218 [BZ #15441]
13219 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13220 returns -1.
13221 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13222 null return -1.
13223 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13224 loading the domain.
13225
13226 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13227
13228 * math/gen-libm-test.pl (parse_args): Do not include expected
13229 result in test name.
13230 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13231 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13232 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13233 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13234 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13236
13237 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13238
13239 * benchtests/Makefile: Sort function entries.
13240
13241 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13242 tanh, asinh, acosh, atanh.
13243 * benchtests/acos-inputs: New file.
13244 * benchtests/acosh-inputs: New file.
13245 * benchtests/asin-inputs: New file.
13246 * benchtests/asinh-inputs: New file.
13247 * benchtests/atanh-inputs: New file.
13248 * benchtests/cosh-inputs: New file.
13249 * benchtests/log-inputs: New file.
13250 * benchtests/sinh-inputs: New file.
13251 * benchtests/tanh-inputs: New file.
13252
13253 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13254
13255 [BZ #15339]
13256 * posix/tst-getaddrinfo4.c: New test.
13257 * posix/Makefile (tests): Add it.
13258
13259 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13260
13261 [BZ #15339]
13262 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13263 when no services were used.
13264 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13265 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13266
13267 2013-05-21 Andreas Schwab <schwab@suse.de>
13268
13269 [BZ #15014]
13270 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13271 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13272 successful.
13273 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13274 redundant variable declarations and reallocation of buffer when
13275 parsing as IPv6 address. Always set NSS status when called from
13276 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13277 buffer too small. Correct computation of needed size.
13278 * nss/Makefile (tests): Add test-digits-dots.
13279 * nss/test-digits-dots.c: New test.
13280
13281 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13282
13283 * benchtests/Makefile: Remove instructions for adding
13284 benchmark tests.
13285 * benchtests/README: New file to explain how to execute and
13286 enhance the benchmark tests.
13287
13288 2013-05-21 Andreas Schwab <schwab@suse.de>
13289
13290 [BZ #15493]
13291 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13292 * setjmp/tst-sigsetjmp.c: New test.
13293
13294 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13295
13296 * sysdeps/x86_64/memset.S (memset): New implementation.
13297 (__bzero): Likewise.
13298 (__memset_tail): New function.
13299
13300 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13301
13302 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13303 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13304 __memcpy_sse2_unaligned ifunc selection.
13305 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13306 Add memcpy-sse2-unaligned.S.
13307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13308 Add: __memcpy_sse2_unaligned.
13309
13310 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13311
13312 [BZ #15490]
13313 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13314 math_force_eval before restoring floating-point envrionment.
13315 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13317 Likewise.
13318 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13319 <math_private.h>.
13320 (__nearbyintl): Use math_force_eval before restoring
13321 floating-point environment.
13322 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13323
13324 * math/gen-libm-test.pl (special_functions): Remove.
13325 (parse_args): Don't handle TEST_extra. Handle functions with no
13326 return value.
13327 * math/libm-test.inc (struct test_sincos_data): Replace with
13328 struct test_fFF_11_data.
13329 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13330 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13331 (sincos_test_data): Change element type to struct
13332 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13333 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13334 RUN_TEST_LOOP_sincos.
13335 * math/README.libm-test: Don't mention special handling of
13336 individual functions.
13337 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13338 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13339 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13340 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13341 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13343
13344 * math/gen-libm-test.pl (get_variable): Remove function.
13345 (parse_args): Don't show pointer parameters to call in test
13346 names. Use "extra output N" in test names for extra outputs
13347 rather than naming variables.
13348
13349 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13350
13351 [BZ #15488]
13352 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13353 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13354 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13355 double tests.
13356 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13357 disable.
13358 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13359 check_long_double.
13360
13361 * math/gen-libm-test.pl (@tests): Remove variable.
13362 ($count): Likewise.
13363 (new_test): Remove function.
13364 (show_exceptions): New function.
13365 (special_functions): Use show_exceptions instead of new_test.
13366 (parse_args): Likewise.
13367 (generate_testfile): Pass only function name in generated call to
13368 print_max_error or print_complex_max_error.
13369 (get_ulps): Do not handle complex tests specially.
13370 (output_test): Rename to ...
13371 (get_all_ulps_for_test): ... this. Return a string rather than
13372 printing to a file. Require ulps to be present.
13373 (output_ulps): Generate arrays rather than #defines.
13374 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13375 (struct ulp_data): New type.
13376 (BUILD_COMPLEX_ULP): Remove macro.
13377 (compare_ulp_data): New function.
13378 (find_ulps): Likewise.
13379 (find_test_ulps): Likewise.
13380 (find_function_ulps): Likewise.
13381 (find_complex_function_ulps): Likewise.
13382 (print_max_error): Determine allowed ulps using
13383 find_function_ulps.
13384 (print_complex_max_error): Determine allowed ulps using
13385 find_complex_function_ulps.
13386 (check_float_internal): Determine max ulps using find_test_ulps.
13387 (check_float): Do not take max_ulp parameter. Update call to
13388 check_float_internal.
13389 (check_complex): Likewise.
13390 (check_int): Do not take max_ulp parameter.
13391 (check_long): Likewise.
13392 (check_bool): Likewise.
13393 (check_longlong): Likewise.
13394 (struct test_f_f_data): Remove max_ulp field.
13395 (struct test_ff_f_data): Likewise.
13396 (struct test_ff_f_data_nexttoward): Likewise.
13397 (struct test_fi_f_data): Likewise.
13398 (struct test_fl_f_data): Likewise.
13399 (struct test_if_f_data): Likewise.
13400 (struct test_fff_f_data): Likewise.
13401 (struct test_c_f_data): Likewise.
13402 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13403 (struct test_fF_f1_data): Likewise.
13404 (struct test_ffI_f1_data): Likewise.
13405 (struct test_c_c_data): Remove max_ulp field.
13406 (struct test_cc_c_data): Likewise.
13407 (struct test_f_i_data): Likewise.
13408 (struct test_ff_i_data): Likewise.
13409 (struct test_f_l_data): Likewise.
13410 (struct test_f_L_data): Likewise.
13411 (struct test_sincos_data): Likewise.
13412 (RUN_TEST_f_f): Do not handle ulps.
13413 (RUN_TEST_LOOP_f_f): Likewise.
13414 (RUN_TEST_2_f): Likewise.
13415 (RUN_TEST_LOOP_2_f): Likewise.
13416 (RUN_TEST_fff_f): Likewise.
13417 (RUN_TEST_LOOP_fff_f): Likewise.
13418 (RUN_TEST_c_f): Likewise.
13419 (RUN_TEST_LOOP_c_f): Likewise.
13420 (RUN_TEST_f_f1): Likewise.
13421 (RUN_TEST_LOOP_f_f1): Likewise.
13422 (RUN_TEST_fF_f1): Likewise.
13423 (RUN_TEST_LOOP_fF_f1): Likewise.
13424 (RUN_TEST_fI_f1): Likewise.
13425 (RUN_TEST_LOOP_fI_f1): Likewise.
13426 (RUN_TEST_ffI_f1): Likewise.
13427 (RUN_TEST_LOOP_ffI_f1): Likewise.
13428 (RUN_TEST_c_c): Likewise.
13429 (RUN_TEST_LOOP_c_c): Likewise.
13430 (RUN_TEST_cc_c): Likewise.
13431 (RUN_TEST_LOOP_cc_c): Likewise.
13432 (RUN_TEST_f_i): Likewise.
13433 (RUN_TEST_LOOP_f_i): Likewise.
13434 (RUN_TEST_f_i_tg): Likewise.
13435 (RUN_TEST_LOOP_f_i_tg): Likewise.
13436 (RUN_TEST_ff_i_tg): Likewise.
13437 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13438 (RUN_TEST_f_b): Likewise.
13439 (RUN_TEST_LOOP_f_b): Likewise.
13440 (RUN_TEST_f_b_tg): Likewise.
13441 (RUN_TEST_LOOP_f_b_tg): Likewise.
13442 (RUN_TEST_f_l): Likewise.
13443 (RUN_TEST_LOOP_f_l): Likewise.
13444 (RUN_TEST_f_L): Likewise.
13445 (RUN_TEST_LOOP_f_L): Likewise.
13446 (RUN_TEST_sincos): Likewise.
13447 (RUN_TEST_LOOP_sincos): Likewise.
13448
13449 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13450
13451 [BZ #15480]
13452 [BZ #15485]
13453 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13454 main case of finite arguments, set rounding mode to FE_TONEAREST
13455 and discard exceptions.
13456 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13457 exceptions.
13458 (remainder_tonearest_test_data): New variable.
13459 (remainder_test_tonearest): New function.
13460 (remainder_towardzero_test_data): New variable.
13461 (remainder_test_towardzero): New function.
13462 (remainder_downward_test_data): New variable.
13463 (remainder_test_downward): New function.
13464 (remainder_upward_test_data): New variable.
13465 (remainder_test_upward): New function.
13466 (main): Call the new test functions.
13467
13468 * math/libm-test.inc (struct test_f_f1_data): Remove field
13469 extra_init.
13470 (struct test_fF_f1_data): Likewise.
13471 (struct test_ffI_f1_data): Likewise.
13472 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13473 based on value of EXTRA_EXPECTED.
13474 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13475 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13476 EXTRA_VAR based on value of EXTRA_EXPECTED.
13477 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13478 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13479 EXTRA_VAR based on value of EXTRA_EXPECTED.
13480 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13481 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13482 EXTRA_VAR based on value of EXTRA_EXPECTED.
13483 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13484 * math/gen-libm-test.pl (parse_args): Don't output initializers
13485 for extra output values.
13486
13487 * math/libm-test.inc (check_int): Expect result to be exactly
13488 equal to expected value and do not handle ulps.
13489 (check_long): Likewise.
13490 (check_longlong): Likewise.
13491
13492 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13493 exceptions.
13494 (cimag_test_data): Likewise.
13495 (conj_test_data): Likewise.
13496 (copysign_test_data): Likewise.
13497 (cproj_test_data): Likewise.
13498 (creal_test_data): Likewise.
13499 (fabs_test_data): Likewise.
13500 (fdim_test_data): Likewise.
13501 (finite_test_data): Likewise.
13502 (floor_test_data): Likewise.
13503 (fmax_test_data): Likewise.
13504 (fmin_test_data): Likewise.
13505 (fmod_test_data): Likewise.
13506 (fpclassify_test_data): Likewise.
13507 (frexp_test_data): Likewise.
13508 (ilogb_test_data): Likewise.
13509 (isfinite_test_data): Likewise.
13510 (isgreater_test_data): Likewise.
13511 (isgreaterequal_test_data): Likewise.
13512 (isinf_test_data): Likewise.
13513 (isless_test_data): Likewise.
13514 (islessequal_test_data): Likewise.
13515 (islessgreater_test_data): Likewise.
13516 (isnan_test_data): Likewise.
13517 (isnormal_test_data): Likewise.
13518 (issignaling_test_data): Likewise.
13519 (isunordered_test_data): Likewise.
13520 (ldexp_test_data): Likewise.
13521 (lrint_test_data): Likewise.
13522 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13523 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13524 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13525 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13526 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13527 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13528 test input.
13529 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13530 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13531 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13532 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13533 that test input.
13534 (lrint_downward_test_data): Test for "inexact" exceptions.
13535 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13536 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13537 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13538 test input.
13539 (lrint_upward_test_data): Test for "inexact" exceptions.
13540 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13541 test input.
13542 (llrint_test_data): Test for "inexact" exceptions.
13543 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13544 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13545 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13546 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13547 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13548 (llrint_downward_test_data): Test for "inexact" exceptions.
13549 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13550 (llrint_upward_test_data): Test for "inexact" exceptions.
13551 (logb_test_data): Likewise.
13552 (logb_downward_test_data): Likewise.
13553 (nextafter_test_data): Likewise.
13554 (nexttoward_test_data): Likewise.
13555 (remainder_test_data): Likewise.
13556 (remquo_test_data): Likewise.
13557 (scalbn_test_data): Likewise.
13558 (scalbln_test_data): Likewise.
13559 (signbit_test_data): Likewise.
13560 (sqrt_test_data): Likewise.
13561 (significand_test_data): Likewise.
13562
13563 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13564
13565 [BZ #15424]
13566 * benchtests/bench-modf.c (struct args): Mark arg0 as
13567 volatile.
13568 * scripts/bench.pl: Mark members of struct args as volatile.
13569
13570 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13571
13572 [BZ # 15497]
13573 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13574 negative infinity on POWER6 or lower.
13575 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13576
13577 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13578
13579 [BZ #15442]
13580 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13581 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13582 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13583 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13584 (_FP_SETQNAN): New macro.
13585 (_FP_SETQNAN_SEMIRAW): Likewise.
13586 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13587 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13588 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13589 (FP_EXTEND): Use _FP_FRAC_SNANP.
13590 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13591 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13592 into account.
13593 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13594 New macro.
13595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13596 Likewise.
13597
13598 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13599
13600 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13601 with DIVIDE_BY_ZERO_EXCEPTION.
13602 (gamma_test_data): Likewise.
13603 (lgamma_test_data): Likewise.
13604 (log_test_data): Likewise.
13605 (log10_test_data): Likewise.
13606 (log2_test_data): Likewise.
13607 (tgamma_test_data): Likewise.
13608
13609 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13610 (acos_test_tonearest): Likewise.
13611 (acos_test_towardzero): Likewise.
13612 (acos_test_downward): Likewise.
13613 (acos_test_upward): Likewise.
13614 (acosh_test): Likewise.
13615 (asin_test): Likewise.
13616 (asin_test_tonearest): Likewise.
13617 (asin_test_towardzero): Likewise.
13618 (asin_test_downward): Likewise.
13619 (asin_test_upward): Likewise.
13620 (asinh_test): Likewise.
13621 (atan_test): Likewise.
13622 (atanh_test): Likewise.
13623 (atan2_test): Likewise.
13624 (cabs_test): Likewise.
13625 (cacos_test): Likewise.
13626 (cacosh_test): Likewise.
13627 (casin_test): Likewise.
13628 (casinh_test): Likewise.
13629 (catan_test): Likewise.
13630 (catanh_test): Likewise.
13631 (cbrt_test): Likewise.
13632 (ccos_test): Likewise.
13633 (ccosh_test): Likewise.
13634 (cexp_test): Likewise.
13635 (clog_test): Likewise.
13636 (clog10_test): Likewise.
13637 (cos_test): Likewise.
13638 (cos_test_tonearest): Likewise.
13639 (cos_test_towardzero): Likewise.
13640 (cos_test_downward): Likewise.
13641 (cos_test_upward): Likewise.
13642 (cosh_test): Likewise.
13643 (cosh_test_tonearest): Likewise.
13644 (cosh_test_towardzero): Likewise.
13645 (cosh_test_downward): Likewise.
13646 (cosh_test_upward): Likewise.
13647 (cpow_test): Likewise.
13648 (csin_test): Likewise.
13649 (csinh_test): Likewise.
13650 (csqrt_test): Likewise.
13651 (ctan_test): Likewise.
13652 (ctan_test_tonearest): Likewise.
13653 (ctan_test_towardzero): Likewise.
13654 (ctan_test_downward): Likewise.
13655 (ctan_test_upward): Likewise.
13656 (ctanh_test): Likewise.
13657 (ctanh_test_tonearest): Likewise.
13658 (ctanh_test_towardzero): Likewise.
13659 (ctanh_test_downward): Likewise.
13660 (ctanh_test_upward): Likewise.
13661 (erf_test): Likewise.
13662 (erfc_test): Likewise.
13663 (exp_test): Likewise.
13664 (exp_test_tonearest): Likewise.
13665 (exp_test_towardzero): Likewise.
13666 (exp_test_downward): Likewise.
13667 (exp_test_upward): Likewise.
13668 (exp10_test): Likewise.
13669 (exp2_test): Likewise.
13670 (expm1_test): Likewise.
13671 (fmod_test): Likewise.
13672 (gamma_test): Likewise.
13673 (hypot_test): Likewise.
13674 (j0_test): Likewise.
13675 (j1_test): Likewise.
13676 (jn_test): Likewise.
13677 (lgamma_test): Likewise.
13678 (log_test): Likewise.
13679 (log10_test): Likewise.
13680 (log1p_test): Likewise.
13681 (log2_test): Likewise.
13682 (logb_test_downward): Likewise.
13683 (pow_test): Likewise.
13684 (pow_test_tonearest): Likewise.
13685 (pow_test_towardzero): Likewise.
13686 (pow_test_downward): Likewise.
13687 (pow_test_upward): Likewise.
13688 (remainder_test): Likewise.
13689 (remquo_test): Likewise.
13690 (sin_test): Likewise.
13691 (sin_test_tonearest): Likewise.
13692 (sin_test_towardzero): Likewise.
13693 (sin_test_downward): Likewise.
13694 (sin_test_upward): Likewise.
13695 (sincos_test): Likewise.
13696 (sinh_test): Likewise.
13697 (sinh_test_tonearest): Likewise.
13698 (sinh_test_towardzero): Likewise.
13699 (sinh_test_downward): Likewise.
13700 (sinh_test_upward): Likewise.
13701 (sqrt_test): Likewise.
13702 (tan_test): Likewise.
13703 (tan_test_tonearest): Likewise.
13704 (tan_test_towardzero): Likewise.
13705 (tan_test_downward): Likewise.
13706 (tan_test_upward): Likewise.
13707 (tanh_test): Likewise.
13708 (tgamma_test): Likewise.
13709 (y0_test): Likewise.
13710 (y1_test): Likewise.
13711 (yn_test): Likewise.
13712
13713 * math/gen-libm-test.pl (adjust_arg): Remove function.
13714 (special_function): Remove argument $in_func. Only handle
13715 generating output for tables of tests, not inside functions.
13716 (parse_args): Likewise.
13717 (generate_testfile): Remove variable $in_func. Update call to
13718 parse_args.
13719 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13720 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13721 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13722 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13723 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13724 (MAX_VALUE_INIT): Rename macro to max_value.
13725 (MIN_VALUE_INIT): Rename macro to min_value.
13726 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13727 (plus_zero): Remove variable.
13728 (minus_zero): Likewise.
13729 (plus_infty): Likewise.
13730 (minus_infty): Likewise.
13731 (qnan_value): Likewise.
13732 (max_value): Likewise.
13733 (min_value): Likewise.
13734 (min_subnorm_value): Likewise.
13735
13736 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13737
13738 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13739 uint64_t or uint32_t usage.
13740 * crypt/sha256-block.c: Likewise.
13741 * crypt/sha256-crypt.c: Likewise.
13742 * crypt/sha256.c: Likewise.
13743 * crypt/sha512-block.c: Likewise.
13744 * crypt/sha512-crypt.c: Likewise.
13745 * crypt/sha512.c: Likewise.
13746 * debug/backtrace-tst.c: Likewise.
13747 * debug/pcprofiledump.c: Likewise.
13748 * elf/cache.c: Likewise.
13749 * elf/dl-cache.c: Likewise.
13750 * elf/dl-misc.c: Likewise.
13751 * elf/dl-profile.c: Likewise.
13752 * elf/dl-support.c: Likewise.
13753 * elf/ldconfig.c: Likewise.
13754 * elf/sprof.c: Likewise.
13755 * iconv/dummy-repertoire.c: Likewise.
13756 * iconv/iconv_charmap.c: Likewise.
13757 * iconv/skeleton.c: Likewise.
13758 * iconvdata/8bit-generic.c: Likewise.
13759 * iconvdata/cp737.h: Likewise.
13760 * iconvdata/cp775.h: Likewise.
13761 * iconvdata/ibm1008.h: Likewise.
13762 * iconvdata/ibm1025.h: Likewise.
13763 * iconvdata/ibm1046.h: Likewise.
13764 * iconvdata/ibm1097.h: Likewise.
13765 * iconvdata/ibm1112.h: Likewise.
13766 * iconvdata/ibm1122.h: Likewise.
13767 * iconvdata/ibm1123.h: Likewise.
13768 * iconvdata/ibm1124.h: Likewise.
13769 * iconvdata/ibm1129.h: Likewise.
13770 * iconvdata/ibm1130.h: Likewise.
13771 * iconvdata/ibm1132.h: Likewise.
13772 * iconvdata/ibm1133.h: Likewise.
13773 * iconvdata/ibm1137.h: Likewise.
13774 * iconvdata/ibm1140.h: Likewise.
13775 * iconvdata/ibm1141.h: Likewise.
13776 * iconvdata/ibm1142.h: Likewise.
13777 * iconvdata/ibm1143.h: Likewise.
13778 * iconvdata/ibm1144.h: Likewise.
13779 * iconvdata/ibm1145.h: Likewise.
13780 * iconvdata/ibm1146.h: Likewise.
13781 * iconvdata/ibm1147.h: Likewise.
13782 * iconvdata/ibm1148.h: Likewise.
13783 * iconvdata/ibm1149.h: Likewise.
13784 * iconvdata/ibm1153.h: Likewise.
13785 * iconvdata/ibm1154.h: Likewise.
13786 * iconvdata/ibm1155.h: Likewise.
13787 * iconvdata/ibm1156.h: Likewise.
13788 * iconvdata/ibm1157.h: Likewise.
13789 * iconvdata/ibm1158.h: Likewise.
13790 * iconvdata/ibm1160.h: Likewise.
13791 * iconvdata/ibm1161.h: Likewise.
13792 * iconvdata/ibm1162.h: Likewise.
13793 * iconvdata/ibm1163.h: Likewise.
13794 * iconvdata/ibm1164.h: Likewise.
13795 * iconvdata/ibm1166.h: Likewise.
13796 * iconvdata/ibm1167.h: Likewise.
13797 * iconvdata/ibm12712.h: Likewise.
13798 * iconvdata/ibm1390.h: Likewise.
13799 * iconvdata/ibm1399.h: Likewise.
13800 * iconvdata/ibm16804.h: Likewise.
13801 * iconvdata/ibm4517.h: Likewise.
13802 * iconvdata/ibm4899.h: Likewise.
13803 * iconvdata/ibm4909.h: Likewise.
13804 * iconvdata/ibm4971.h: Likewise.
13805 * iconvdata/ibm5347.h: Likewise.
13806 * iconvdata/ibm803.h: Likewise.
13807 * iconvdata/ibm856.h: Likewise.
13808 * iconvdata/ibm901.h: Likewise.
13809 * iconvdata/ibm902.h: Likewise.
13810 * iconvdata/ibm9030.h: Likewise.
13811 * iconvdata/ibm9066.h: Likewise.
13812 * iconvdata/ibm921.h: Likewise.
13813 * iconvdata/ibm922.h: Likewise.
13814 * iconvdata/ibm9448.h: Likewise.
13815 * iconvdata/isiri-3342.h: Likewise.
13816 * iconvdata/jis0201.h: Likewise.
13817 * include/link.h: Likewise.
13818 * include/netdb.h: Likewise.
13819 * inet/check_native.c: Likewise.
13820 * inet/check_pf.c: Likewise.
13821 * inet/getipv4sourcefilter.c: Likewise.
13822 * inet/getnameinfo.c: Likewise.
13823 * inet/getsourcefilter.c: Likewise.
13824 * inet/htonl.c: Likewise.
13825 * inet/setipv4sourcefilter.c: Likewise.
13826 * inet/setsourcefilter.c: Likewise.
13827 * inet/test-inet6_opt.c: Likewise.
13828 * inet/tst-network.c: Likewise.
13829 * locale/C-collate.c: Likewise.
13830 * locale/C-ctype.c: Likewise.
13831 * locale/C-time.c: Likewise.
13832 * locale/C-translit.h: Likewise.
13833 * locale/loadarchive.c: Likewise.
13834 * locale/programs/3level.h: Likewise.
13835 * locale/programs/charmap.c: Likewise.
13836 * locale/programs/charmap.h: Likewise.
13837 * locale/programs/ld-address.c: Likewise.
13838 * locale/programs/ld-collate.c: Likewise.
13839 * locale/programs/ld-ctype.c: Likewise.
13840 * locale/programs/ld-identification.c: Likewise.
13841 * locale/programs/ld-measurement.c: Likewise.
13842 * locale/programs/ld-messages.c: Likewise.
13843 * locale/programs/ld-monetary.c: Likewise.
13844 * locale/programs/ld-name.c: Likewise.
13845 * locale/programs/ld-numeric.c: Likewise.
13846 * locale/programs/ld-paper.c: Likewise.
13847 * locale/programs/ld-telephone.c: Likewise.
13848 * locale/programs/ld-time.c: Likewise.
13849 * locale/programs/linereader.c: Likewise.
13850 * locale/programs/locale.c: Likewise.
13851 * locale/programs/locarchive.c: Likewise.
13852 * locale/programs/locfile.h: Likewise.
13853 * locale/programs/repertoire.c: Likewise.
13854 * locale/programs/simple-hash.c: Likewise.
13855 * locale/programs/simple-hash.h: Likewise.
13856 * malloc/memusage.c: Likewise.
13857 * malloc/memusagestat.c: Likewise.
13858 * nis/nis_defaults.c: Likewise.
13859 * nis/nis_hash.c: Likewise.
13860 * nis/nis_print.c: Likewise.
13861 * nis/nis_xdr.c: Likewise.
13862 * nscd/connections.c: Likewise.
13863 * nscd/hstcache.c: Likewise.
13864 * nscd/nscd_gethst_r.c: Likewise.
13865 * nscd/nscd_getserv_r.c: Likewise.
13866 * nscd/nscd_helper.c: Likewise.
13867 * nscd/servicescache.c: Likewise.
13868 * nss/makedb.c: Likewise.
13869 * nss/nss_db/db-XXX.c: Likewise.
13870 * nss/nss_db/db-initgroups.c: Likewise.
13871 * nss/nss_db/db-netgrp.c: Likewise.
13872 * nss/nss_files/files-network.c: Likewise.
13873 * nss/nss_files/files-parse.c: Likewise.
13874 * posix/bug-regex5.c: Likewise.
13875 * posix/fnmatch_loop.c: Likewise.
13876 * posix/regcomp.c: Likewise.
13877 * posix/regexec.c: Likewise.
13878 * posix/tst-rfc3484-2.c: Likewise.
13879 * posix/tst-rfc3484-3.c: Likewise.
13880 * posix/tst-rfc3484.c: Likewise.
13881 * resolv/nss_dns/dns-canon.c: Likewise.
13882 * resolv/nss_dns/dns-network.c: Likewise.
13883 * resolv/res_init.c: Likewise.
13884 * resolv/res_mkquery.c: Likewise.
13885 * resolv/tst-aton.c: Likewise.
13886 * stdlib/cxa_atexit.c: Likewise.
13887 * stdlib/cxa_finalize.c: Likewise.
13888 * stdlib/gen-fpioconst.c: Likewise.
13889 * stdlib/strtol_l.c: Likewise.
13890 * string/tst-endian.c: Likewise.
13891 * sunrpc/auth_des.c: Likewise.
13892 * sunrpc/clnt_udp.c: Likewise.
13893 * sunrpc/rtime.c: Likewise.
13894 * sunrpc/svcauth_des.c: Likewise.
13895 * sunrpc/xdr.c: Likewise.
13896 * sunrpc/xdr_intXX_t.c: Likewise.
13897 * sunrpc/xdr_rec.c: Likewise.
13898 * sysdeps/generic/ldconfig.h: Likewise.
13899 * sysdeps/generic/ldsodefs.h: Likewise.
13900 * sysdeps/generic/memusage.h: Likewise.
13901 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13902 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13903 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13904 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13908 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13910 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13911 * sysdeps/posix/getaddrinfo.c: Likewise.
13912 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13913 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13914 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13915 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13916 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13917 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13918 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13919 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13920 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13921 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13922 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13923 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13924 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13925 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13926 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13927 * sysdeps/x86_64/dl-tls.h: Likewise.
13928 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13929 * time/alt_digit.c: Likewise.
13930 * time/era.c: Likewise.
13931 * wcsmbs/tst-c16c32-1.c: Likewise.
13932
13933 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13934
13935 * math/libm-test.inc (struct test_sincos_data): New type.
13936 (RUN_TEST_LOOP_sincos): New macro.
13937 (sincos_test_data): New variable.
13938 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13939
13940 2013-05-16 Richard Henderson <rth@redhat.com>
13941
13942 * math/atest-exp2.c (LIMB64): New macro.
13943 (CONSTSZ): New macro.
13944 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13945 (hexdig): Move ...
13946 (print_mpn_fp): ... to function scope.
13947 (read_mpn_hex): Remove.
13948 (get_log2): Remove.
13949 (exp2_mpn): Use mp_log2.
13950 (main): Use mp_exp1.
13951
13952 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13953
13954 * math/libm-test.inc: Remove comment about not testing "inexact"
13955 exceptions.
13956 (INEXACT_EXCEPTION): New macro.
13957 (NO_INEXACT_EXCEPTION): Likewise.
13958 (INVALID_EXCEPTION_OK): Update value.
13959 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13960 (OVERFLOW_EXCEPTION_OK): Likewise.
13961 (UNDERFLOW_EXCEPTION_OK): Likewise.
13962 (IGNORE_ZERO_INF_SIGN): Likewise.
13963 (ERRNO_UNCHANGED): Likewise.
13964 (ERRNO_EDOM): Likewise.
13965 (ERRNO_ERANGE): Likewise.
13966 (test_exceptions): Handle testing "inexact" exceptions.
13967 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13968 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13969 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13970 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13971 INEXACT_EXCEPTION.
13972 (rint_towardzero_test_data): Likewise.
13973 (rint_downward_test_data): Likewise.
13974 (rint_upward_test_data): Likewise.
13975
13976 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13977 with OVERFLOW_EXCEPTION.
13978 (exp10_test_data): Likewise.
13979 (exp2_test_data): Likewise.
13980 (expm1_test_data): Likewise.
13981 (lgamma_test_data): Likewise.
13982 (pow_test_data): Likewise.
13983 (tgamma_test_data): Likewise.
13984 (yn_test_data): Remove duplicate test of overflow.
13985
13986 * math/libm-test.inc (struct test_cc_c_data): New type.
13987 (RUN_TEST_LOOP_cc_c): New macro.
13988 (cpow_test_data): New variable.
13989 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13990
13991 * math/libm-test.inc (struct test_f_L_data): New type.
13992 (RUN_TEST_LOOP_f_L): New macro.
13993 (llrint_test_data): New variable.
13994 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13995 (llrint_tonearest_test_data): New variable.
13996 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13997 (llrint_towardzero_test_data): New variable.
13998 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13999 (llrint_downward_test_data): New variable.
14000 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14001 (llrint_upward_test_data): New variable.
14002 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14003 (llround_test_data): New variable.
14004 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14005
14006 2013-05-13 Peter Collingbourne <pcc@google.com>
14007
14008 * math/atest-exp2.c (get_log2): Remove const attribute.
14009
14010 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14011
14012 * math/libm-test.inc (struct test_f_l_data): New type.
14013 (RUN_TEST_LOOP_f_l): New macro.
14014 (lrint_test_data): New variable.
14015 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14016 (lrint_tonearest_test_data): New variable.
14017 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14018 (lrint_towardzero_test_data): New variable.
14019 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14020 (lrint_downward_test_data): New variable.
14021 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14022 (lrint_upward_test_data): New variable.
14023 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14024 (lround_test_data): New variable.
14025 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14026
14027 2013-05-15 Peter Collingbourne <pcc@google.com>
14028
14029 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14030 (EXTRACT_WORDS64) Use where appropriate.
14031 (INSERT_WORDS64) Likewise.
14032
14033 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14034 constraints with x constraints.
14035 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14036
14037 * malloc/obstack.c (_obstack_compat): Add initializer.
14038
14039 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14040
14041 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14042 si_trapno and add si_addr_lsb to _sifields.sigfault.
14043 (si_trapno): Remove macro.
14044 (si_addr_lsb): Define new macro.
14045 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14046
14047 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14048
14049 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14050 instead of TEST_f_l.
14051 (llrint_test_tonearest): Likewise.
14052 (llrint_test_towardzero): Likewise.
14053 (llrint_test_downward): Likewise.
14054 (llrint_test_upward): Likewise.
14055 (llround_test): Likewise.
14056
14057 * math/libm-test.inc (struct test_f_i_data): Add comment.
14058 (RUN_TEST_LOOP_f_b): New macro.
14059 (RUN_TEST_LOOP_f_b_tg): Likewise.
14060 (finite_test_data): New variable.
14061 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14062 (isfinite_test_data): New variable.
14063 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14064 (isinf_test_data): New variable.
14065 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14066 (isnan_test_data): New variable.
14067 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14068 (isnormal_test_data): New variable.
14069 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14070 (issignaling_test_data): New variable.
14071 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14072 (signbit_test_data): New variable.
14073 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14074
14075 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14076 with INVALID_EXCEPTION.
14077 (acosh_test_data): Likewise.
14078 (asin_test_data): Likewise.
14079 (atanh_test_data): Likewise.
14080 (fmod_test_data): Likewise.
14081 (log_test_data): Likewise.
14082 (log10_test_data): Likewise.
14083 (log2_test_data): Likewise.
14084 (pow_test_data): Likewise.
14085 (sqrt_test_data): Likewise.
14086 (y0_test_data): Likewise.
14087 (y1_test_data): Likewise.
14088 (yn_test_data): Likewise.
14089
14090 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14091 function contents.
14092
14093 * math/libm-test.inc (struct test_ff_i_data): New type.
14094 (RUN_TEST_LOOP_ff_i_tg): New macro.
14095 (isgreater_test_data): New variable.
14096 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14097 (isgreaterequal_test_data): New variable.
14098 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14099 (isless_test_data): New variable.
14100 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14101 (islessequal_test_data): New variable.
14102 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14103 (islessgreater_test_data): New variable.
14104 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14105 (isunordered_test_data): New variable.
14106 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14107
14108 2013-05-14 David S. Miller <davem@davemloft.net>
14109
14110 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14111
14112 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14113
14114 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14115
14116 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14117 extra_test to int.
14118 (struct test_f_i_data): Change type of max_ulp to int.
14119
14120 * math/libm-test.inc (test_ffI_f1_data): New type.
14121 (RUN_TEST_LOOP_ffI_f1): New macro.
14122 (remquo_test_data): New variable.
14123 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14124
14125 * setjmp/tst-setjmp-fp.c: New file.
14126 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14127 (link-libm): New variable.
14128 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14129
14130 * math/libm-test.inc (struct test_f_i_data): New type.
14131 (RUN_TEST_LOOP_f_i): New macro.
14132 (RUN_TEST_LOOP_f_i_tg): Likewise.
14133 (fpclassify_test_data): New variable.
14134 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14135 (ilogb_test_data): New variable.
14136 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14137
14138 * math/libm-test.inc (scalbln_test): Correct function name in END
14139 call.
14140
14141 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14142 (RUN_TEST_LOOP_fI_f1): New macro.
14143 (frexp_test_data): New variable.
14144 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14145
14146 * math/libm-test.inc (struct test_fF_f1_data): New type.
14147 (RUN_TEST_LOOP_fF_f1): New macro.
14148 (modf_test_data): New variable.
14149 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14150
14151 * math/libm-test.inc (struct test_f_f1_data): New type.
14152 (RUN_TEST_LOOP_f_f1): New macro.
14153 (gamma_test_data): New variable.
14154 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14155 (lgamma_test_data): New variable.
14156 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14157
14158 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14159
14160 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14161 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14162 (main): Comment "tls" pseudo-hwcap.
14163
14164 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14165
14166 * math/libm-test.inc (struct test_fl_f_data): New type.
14167 (RUN_TEST_LOOP_fl_f): New variable.
14168 (scalbln_test_data): New variable.
14169 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14170
14171 * math/libm-test.inc (struct test_fi_f_data): New type.
14172 (RUN_TEST_LOOP_fi_f): New macro.
14173 (ldexp_test_data): New variable.
14174 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14175 (scalbn_test_data): New variable.
14176 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14177
14178 * math/libm-test.inc (struct test_c_f_data): New type.
14179 (RUN_TEST_LOOP_c_f): New macro.
14180 (cabs_test_data): New variable.
14181 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14182 (carg_test_data): New variable.
14183 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14184 (cimag_test_data): New variable.
14185 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14186 (creal_test_data): New variable.
14187 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14188
14189 * math/libm-test.inc (struct test_if_f_data): New type.
14190 (RUN_TEST_LOOP_if_f): New macro.
14191 (jn_test_data): New variable.
14192 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14193 (yn_test_data): New variable.
14194 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14195
14196 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14197
14198 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14199
14200 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14201 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14202
14203 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14204
14205 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14206 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14207 (bench-deps): Add bench-timing.h.
14208 * benchtests-bench-skeleton.c: Include bench-timing.h.
14209 (main): Use TIMING_* macros instead of clock_gettime.
14210 * benchtests/bench-timing.h: New file.
14211
14212 [BZ #14582]
14213 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14214 Renamed from _LIB_VERSION.
14215 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14216
14217 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14218
14219 * math/libm-test.inc (struct test_fff_f_data): New type.
14220 (RUN_TEST_LOOP_fff_f): New macro.
14221 (fma_test_data): New variable.
14222 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14223 (fma_towardzero_test_data): New variable.
14224 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14225 (fma_downward_test_data): New variable.
14226 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14227 (fma_upward_test_data): New variable.
14228 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14229
14230 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14231 (struct test_c_c_data): New type.
14232 (RUN_TEST_LOOP_c_c): New macro.
14233 (cacos_test_data): New variable.
14234 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14235 (cacosh_test_data): New variable.
14236 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14237 (casin_test_data): New variable.
14238 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14239 (casinh_test_data): New variable.
14240 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14241 (catan_test_data): New variable.
14242 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14243 (catanh_test_data): New variable.
14244 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14245 (ccos_test_data): New variable.
14246 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14247 (ccosh_test_data): New variable.
14248 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14249 (cexp_test_data): New variable.
14250 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14251 (clog_test_data): New variable.
14252 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14253 (clog10_test_data): New variable.
14254 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14255 (conj_test_data): New variable.
14256 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14257 (cproj_test_data): New variable.
14258 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14259 (csin_test_data): New variable.
14260 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14261 (csinh_test_data): New variable.
14262 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14263 (csqrt_test_data): New variable.
14264 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14265 (ctan_test_data): New variable.
14266 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14267 (ctan_tonearest_test_data): New variable.
14268 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14269 (ctan_towardzero_test_data): New variable.
14270 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14271 (ctan_downward_test_data): New variable.
14272 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14273 (ctan_upward_test_data): New variable.
14274 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14275 (ctanh_test_data): New variable.
14276 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14277 (ctanh_tonearest_test_data): New variable.
14278 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14279 (ctanh_towardzero_test_data): New variable.
14280 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14281 (ctanh_downward_test_data): New variable.
14282 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14283 (ctanh_upward_test_data): New variable.
14284 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14285 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14286 of BUILD_COMPLEX.
14287
14288 * math/libm-test.inc (struct test_ff_f_data): New type.
14289 (struct test_ff_f_data_nexttoward): Likewise.
14290 (RUN_TEST_LOOP_2_f): New macro.
14291 (RUN_TEST_LOOP_ff_f): Likewise.
14292 (atan2_test_data): New variable.
14293 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14294 (copysign_test_data): New variable.
14295 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14296 (fdim_test_data): New variable.
14297 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14298 (fmax_test_data): New variable.
14299 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14300 (fmin_test_data): New variable.
14301 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14302 (fmod_test_data): New variable.
14303 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14304 (hypot_test_data): New variable.
14305 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14306 (nextafter_test_data): New variable.
14307 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14308 (nexttoward_test_data): New variable.
14309 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14310 (pow_test_data): New variable.
14311 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14312 (pow_tonearest_test_data): New variable.
14313 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14314 (pow_towardzero_test_data): New variable.
14315 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14316 (pow_downward_test_data): New variable.
14317 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14318 (pow_upward_test_data): New variable.
14319 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14320 (remainder_test_data): New variable.
14321 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14322 (scalb_test_data): New variable.
14323 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14324 * sysdeps/i386/fpu/libm-test-ulps: Update.
14325
14326 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14327
14328 * math/libm-test.inc (fma_test): Use max_value instead of local
14329 variable fltmax.
14330 (nextafter_test): Likewise.
14331
14332 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14333 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14334 (acos_downward_test_data): New variable.
14335 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14336 (acos_upward_test_data): New variable.
14337 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14338 (acosh_test_data): New variable.
14339 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14340 (asin_test_data): New variable.
14341 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14342 (asin_tonearest_test_data): New variable.
14343 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14344 (asin_towardzero_test_data): New variable.
14345 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14346 (asin_downward_test_data): New variable.
14347 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14348 (asin_upward_test_data): New variable.
14349 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14350 (asinh_test_data): New variable.
14351 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14352 (atan_test_data): New variable.
14353 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14354 (atanh_test_data): New variable.
14355 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14356 (cbrt_test_data): New variable.
14357 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14358 (ceil_test_data): New variable.
14359 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14360 (cos_test_data): New variable.
14361 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14362 (cos_tonearest_test_data): New variable.
14363 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14364 (cos_towardzero_test_data): New variable.
14365 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14366 (cos_downward_test_data): New variable.
14367 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14368 (cos_upward_test_data): New variable.
14369 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14370 (cosh_test_data): New variable.
14371 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14372 (cosh_tonearest_test_data): New variable.
14373 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14374 (cosh_towardzero_test_data): New variable.
14375 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14376 (cosh_downward_test_data): New variable.
14377 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14378 (cosh_upward_test_data): New variable.
14379 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14380 (erf_test_data): New variable.
14381 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14382 (erfc_test_data): New variable.
14383 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14384 (exp_test_data): New variable.
14385 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14386 (exp_tonearest_test_data): New variable.
14387 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14388 (exp_towardzero_test_data): New variable.
14389 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14390 (exp_downward_test_data): New variable.
14391 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14392 (exp_upward_test_data): New variable.
14393 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14394 (exp10_test_data): New variable.
14395 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14396 (exp2_test_data): New variable.
14397 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14398 (expm1_test_data): New variable.
14399 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14400 (fabs_test_data): New variable.
14401 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14402 (floor_test_data): New variable.
14403 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14404 (j0_test_data): New variable.
14405 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14406 (j1_test_data): New variable.
14407 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14408 (log_test_data): New variable.
14409 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14410 (log10_test_data): New variable.
14411 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14412 (log1p_test_data): New variable.
14413 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14414 (log2_test_data): New variable.
14415 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14416 (logb_test_data): New variable.
14417 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14418 (logb_downward_test_data): New variable.
14419 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14420 (nearbyint_test_data): New variable.
14421 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14422 (rint_test_data): New variable.
14423 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14424 (rint_tonearest_test_data): New variable.
14425 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14426 (rint_towardzero_test_data): New variable.
14427 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14428 (rint_downward_test_data): New variable.
14429 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14430 (rint_upward_test_data): New variable.
14431 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14432 (round_test_data): New variable.
14433 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14434 (sin_test_data): New variable.
14435 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14436 (sin_tonearest_test_data): New variable.
14437 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14438 (sin_towardzero_test_data): New variable.
14439 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14440 (sin_downward_test_data): New variable.
14441 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14442 (sin_upward_test_data): New variable.
14443 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14444 (sinh_test_data): New variable.
14445 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14446 (sinh_tonearest_test_data): New variable.
14447 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14448 (sinh_towardzero_test_data): New variable.
14449 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14450 (sinh_downward_test_data): New variable.
14451 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14452 (sinh_upward_test_data): New variable.
14453 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14454 (sqrt_test_data): New variable.
14455 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14456 (tan_test_data): New variable.
14457 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14458 (tan_tonearest_test_data): New variable.
14459 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14460 (tan_towardzero_test_data): New variable.
14461 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14462 (tan_downward_test_data): New variable.
14463 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14464 (tan_upward_test_data): New variable.
14465 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14466 (tanh_test_data): New variable.
14467 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14468 (tgamma_test_data): New variable.
14469 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14470 (trunc_test_data): New variable.
14471 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14472 (y0_test_data): New variable.
14473 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14474 (y1_test_data): New variable.
14475 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14476 (significand_test_data): New variable.
14477 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14478
14479 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14480
14481 [BZ #12387]
14482 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14483
14484 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14485
14486 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14487
14488 2013-05-10 Andreas Jaeger <aj@suse.de>
14489
14490 [BZ #15448]
14491 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14492 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14493
14494 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14495
14496 * math/gen-libm-test.pl (adjust_arg): New function.
14497 (special_functions): Handle generating output in both functions
14498 and arrays.
14499 (parse_args): Likewise.
14500 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14501 $in_func argument to parse_args.
14502 * math/libm-test.inc (struct test_f_f_data): New type.
14503 (IF_ROUND_INIT_): New macro.
14504 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14505 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14506 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14507 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14508 (ROUND_RESTORE_): Likewise.
14509 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14510 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14511 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14512 (ROUND_RESTORE_FE_UPWARD): Likewise.
14513 (RUN_TEST_LOOP_f_f): New macro.
14514 (acos_test_data): New variable.
14515 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14516 (acos_tonearest_test_data): New variable.
14517 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14518
14519 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14520
14521 * benchtests/bench-skeleton.c (startup): Fix coding style.
14522
14523 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14524
14525 [BZ #6809]
14526 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14527 negative infinity argument.
14528 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14529 negative infinity argument.
14530 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14531 negative infinity argument.
14532 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14533 domain errors.
14534
14535 2013-05-10 Florian Weimer <fweimer@redhat.com>
14536
14537 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14538 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14539 * iconv/iconv_prog.c (main): Likewise.
14540 * locale/programs/charmap-dir.c (charmap_readdir)
14541 (fopen_uncompressed): Likewise.
14542 * locale/programs/locfile.c (siblings_uncached)
14543 (write_locale_data): Use lstat64 instead of lstat.
14544 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14545 stat.
14546
14547 2013-05-10 Andreas Jaeger <aj@suse.de>
14548
14549 [BZ #15395]
14550 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14551 localization.
14552 Include <locale.h>.
14553
14554 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14555
14556 * elf/dl-close.c (_dl_close_worker): Add comments.
14557
14558 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14559
14560 [BZ #15359]
14561 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14562 high part of pi/2.
14563 (__ieee754_rem_pio2l): Update comments.
14564
14565 [BZ #15429]
14566 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14567 high part of pi/2.
14568 (__ieee754_rem_pio2l): Update comments.
14569
14570 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14571 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14572
14573 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14574 M_PI_4l.
14575
14576 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14577 (M_PI_34_LOG10El): Likewise.
14578 (M_PI2_LOG10El): Likewise.
14579 (M_PI4_LOG10El): Likewise.
14580 (M_PI_LOG10El): Likewise.
14581
14582 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14583
14584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14585
14586 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14587
14588 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14589 (MINUS_ZERO_INIT): Likewise.
14590 (PLUS_INFTY_INIT): Likewise.
14591 (MINUS_INFTY_INIT): Likewise.
14592 (QNAN_VALUE_INIT): Likewise.
14593 (MAX_VALUE_INIT): Likewise.
14594 (MIN_VALUE_INIT): Likewise.
14595 (MIN_SUBNORM_VALUE_INIT): Likewise.
14596 (plus_zero): Initialize with PLUS_ZERO_INIT.
14597 (minus_zero): Initialize with MINUS_ZERO_INIT.
14598 (plus_infty): Initialize with PLUS_INFTY_INIT.
14599 (minus_infty): Initialize with MINUS_INFTY_INIT.
14600 (qnan_value): Initialize with QNAN_VALUE_INIT.
14601 (max_value): Initialize with MAX_VALUE_INIT.
14602 (min_value): Initialize with MIN_VALUE_INIT.
14603 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14604
14605 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14606 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14607 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14608 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14609
14610 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14611 (RUN_TEST_2_f): Likewise.
14612 (RUN_TEST_ff_f): Likewise.
14613 (RUN_TEST_fi_f): Likewise.
14614 (RUN_TEST_fl_f): Likewise.
14615 (RUN_TEST_fff_f): Likewise.
14616 (RUN_TEST_c_f): Likewise.
14617 (RUN_TEST_f_f1): Likewise.
14618 (RUN_TEST_fF_f1): Likewise.
14619 (RUN_TEST_fI_f1): Likewise.
14620 (RUN_TEST_ffI_f1): Likewise.
14621 (RUN_TEST_c_c): Likewise.
14622 (RUN_TEST_cc_c): Likewise.
14623 (RUN_TEST_f_i): Likewise.
14624 (RUN_TEST_f_i_tg): Likewise.
14625 (RUN_TEST_ff_i_tg): Likewise.
14626 (RUN_TEST_f_b): Likewise.
14627 (RUN_TEST_f_b_tg): Likewise.
14628 (RUN_TEST_f_l): Likewise.
14629 (RUN_TEST_f_L): Likewise.
14630 (RUN_TEST_sincos): Likewise.
14631 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14632 whether to show exceptions. Do not include ");\n" in return
14633 value.
14634 (special_functions): Output call to RUN_TEST_sincos instead of
14635 check_float calls. Update calls to new_test.
14636 (parse_args): Output call to single RUN_TEST_* macro instead of
14637 check_* calls and other assignments. Update calls to new_test.
14638
14639 [BZ #2546]
14640 [BZ #2560]
14641 [BZ #5159]
14642 [BZ #15426]
14643 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14644 input to result for tgamma overflow.
14645 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14646 (gamma_coeff): New variable.
14647 (NCOEFF): New macro.
14648 (gamma_positive): New function.
14649 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14650 underflow here. Use gamma_positive instead of exp (lgamma) for
14651 other arguments.
14652 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14653 (gamma_coeff): New variable.
14654 (NCOEFF): New macro.
14655 (gammaf_positive): New function.
14656 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14657 underflow here. Use gamma_positive instead of exp (lgamma) for
14658 other arguments.
14659 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14660 (gamma_coeff): New variable.
14661 (NCOEFF): New macro.
14662 (gammal_positive): New function.
14663 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14664 underflow here. Use gamma_positive instead of exp (lgamma) for
14665 other arguments.
14666 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14667 (gamma_coeff): New variable.
14668 (NCOEFF): New macro.
14669 (gammal_positive): New function.
14670 (__ieee754_gammal_r): Handle positive infinity, overflow and
14671 underflow here. Handle NaN the same as positive infinity. Remove
14672 check x < 0xffffffff for negative integers. Use gamma_positive
14673 instead of exp (lgamma) for other arguments.
14674 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14675 (gamma_coeff): New variable.
14676 (NCOEFF): New macro.
14677 (gammal_positive): New function.
14678 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14679 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14680 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14683 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14684 * sysdeps/generic/math_private.h (__gamma_productf): New
14685 prototype.
14686 (__gamma_product): Likewise.
14687 (__gamma_productl): Likewise.
14688 * math/Makefile (libm-calls): Add gamma_product.
14689 * math/libm-test.inc (tgamma_test): Add more tests.
14690 * sysdeps/i386/fpu/libm-test-ulps: Update.
14691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14692
14693 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14694
14695 * benchtests/bench-skeleton.c (main): Preheat CPU.
14696
14697 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14698
14699 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14700
14701 2013-05-07 Roland McGrath <roland@hack.frob.com>
14702
14703 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14704 and _dl_skip_args_internal.
14705
14706 2013-05-07 Carlos O'Donell <carlos@redhat.com>
14707
14708 * manual/message.texi (Message Translation): Talk about users.
14709 Message to key mapping impacts design.
14710
14711 2013-05-06 Roland McGrath <roland@hack.frob.com>
14712
14713 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14714
14715 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14716
14717 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14718 * sysdeps/wordsize-64/glob64.c: ... here.
14719
14720 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14721 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14722 New macros.
14723
14724 * debug/getlogin_r_chk.c: Moved to ...
14725 * login/getlogin_r_chk.c: ... here.
14726 * debug/Makefile (routines): Move getlogin_r_chk to ...
14727 * login/Makefile (routines): ... here.
14728 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14729 * login/Versions (libc: GLIBC_2.4): ... here.
14730
14731 * io/poll.c (__poll): Renamed from poll.
14732 Add libc_hidden_def.
14733 (poll): Define as weak alias.
14734
14735 * debug/ptsname_r_chk.c: Moved to ...
14736 * login/ptsname_r_chk.c: ... here.
14737 * debug/Makefile (routines): Move ptsname_r_chk to ...
14738 * login/Makefile (routines): ... here.
14739 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14740 * login/Versions (libc: GLIBC_2.4): ... here.
14741
14742 * posix/getlogin.c: Moved to ...
14743 * login/getlogin.c: ... here.
14744 * posix/getlogin_r.c: Moved to ...
14745 * login/getlogin_r.c: ... here.
14746 * posix/getlogin_r.c: Moved to ...
14747 * login/getlogin_r.c: ... here.
14748 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14749 * login/Makefile (routines): ... here.
14750 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14751 * login/Versions (libc: GLIBC_2.0): ... here.
14752
14753 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14754 (setrlimit): Define as weak alias.
14755
14756 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14757 Call __ names for open, ftruncate, and close.
14758 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14759 (truncate): Define as weak alias.
14760
14761 2013-05-06 Joseph Myers <joseph@codesourcery.com>
14762
14763 * math/gen-libm-test.pl (parse_args): Initialize x before each
14764 test of frexp, modf and remquo.
14765
14766 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14767 test signgam value.
14768
14769 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14770
14771 [BZ #15418]
14772 [BZ #15419]
14773 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14774 internal tests.
14775 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14776
14777 2013-05-06 Roland McGrath <roland@hack.frob.com>
14778
14779 * elf/dl-writev.h: New file.
14780 * elf/dl-misc.c: Include it.
14781 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14782 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14783
14784 2013-05-04 Joseph Myers <joseph@codesourcery.com>
14785
14786 * math/libm-test.inc (noXFails): Remove variable.
14787 (noXPasses): Likewise.
14788 (BUILD_COMPLEX_INT): Remove macro.
14789 (print_screen): Remove xfail argument.
14790 (print_screen_max_error): Likewise.
14791 (update_stats): Likewise.
14792 (print_max_error): Likewise. Update calls to other affected
14793 functions.
14794 (print_complex_max_error): Likewise.
14795 (test_single_exception): Update calls to print_screen.
14796 (test_single_errno): Likewise.
14797 (check_float_internal): Remove xfail argument. Update calls to
14798 other affected functions.
14799 (check_float): Likewise.
14800 (check_complex): Likewise.
14801 (check_int): Likewise.
14802 (check_long): Likewise.
14803 (check_bool): Likewise.
14804 (check_longlong): Likewise.
14805 (main): Don't print noXFails and noXPasses.
14806 * math/gen-libm-test.pl (top level): Don't mention expected
14807 failure handling in comment.
14808 (new_test): Don't handle expected failures.
14809 (parse_args): Don't mention expected failure handling in comment.
14810 (generate_testfile): Don't handle expected failures.
14811 (parse_ulps): Likewise.
14812 (print_ulps_file): Likewise.
14813 (get_failure): Remove function.
14814 (output_test): Don't handle expected failures.
14815 * make/README.libm-test: Don't mention expected failure handling.
14816
14817 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14818 (minus_zero): Likewise.
14819 (plus_infty): Likewise.
14820 (minus_infty): Likewise.
14821 (qnan_value): Likewise.
14822 (max_value): Likewise.
14823 (min_value): Likewise.
14824 (min_subnorm_value): Likewise.
14825 (initialize): Do not initialize those variables dynamically.
14826
14827 2013-05-03 Roland McGrath <roland@hack.frob.com>
14828
14829 * io/open.c (__open_2): Moved to ...
14830 * io/open_2.c: ... this new file.
14831 * io/open64.c (__open64_2): Moved to ...
14832 * io/open64_2.c: ... this new file.
14833 * io/openat.c (__openat_2): Moved to ...
14834 * io/openat_2.c: ... this new file.
14835 * io/openat64.c (__openat64_2): Moved to ...
14836 * io/openat64_2.c: ... this new file.
14837 * io/Makefile (routines): Add them.
14838 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14839 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14840 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14841 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14842 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14843 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14844 (__openat64): Add hidden_ver.
14845 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14846 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14847
14848 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14849 Separately conditionalize setting of GLRO(dl_sysinfo) so
14850 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14851 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14852
14853 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14854
14855 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14856 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14857 definition.
14858 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14859 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14860 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14861 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14862 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14863
14864 2013-05-03 Joseph Myers <joseph@codesourcery.com>
14865
14866 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14867 test signgam value.
14868
14869 * math/libm-test.inc (hypot_test): Do not use
14870 IGNORE_ZERO_INF_SIGN.
14871
14872 2013-05-03 Andreas Jaeger <aj@suse.de>
14873
14874 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14875 Linux 3.9.
14876 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14877 (PF_MAX): Adjust for VSOCK change.
14878
14879 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14880
14881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14882
14883 2013-05-02 Carlos O'Donell <carlos@redhat.com>
14884
14885 [BZ #15264]
14886 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14887 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14888 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14889
14890 2013-05-02 David S. Miller <davem@davemloft.net>
14891
14892 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14893
14894 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
14895
14896 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14897
14898 2013-05-01 Roland McGrath <roland@hack.frob.com>
14899
14900 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14901
14902 2013-05-01 Richard Smith <richard@metafoo.co.uk>
14903
14904 [BZ #14952]
14905 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14906 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14907 Use __attribute__ ((__gnu_inline__)).
14908 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14909 Don't use __attribute__ ((__gnu_inline__)).
14910
14911 2013-05-01 Joseph Myers <joseph@codesourcery.com>
14912
14913 [BZ #15423]
14914 * math/s_catan.c (__catan): Handle small real or imaginary part of
14915 input specially to avoid spurious underflow.
14916 * math/s_catanf.c (__catanf): Likewise.
14917 * math/s_catanh.c (__catanh): Likewise.
14918 * math/s_catanhf.c (__catanhf): Likewise.
14919 * math/s_catanhl.c (__catanhl): Likewise.
14920 * math/s_catanl.c (__catanl): Likewise.
14921 * math/libm-test.inc (catan_test): Add more tests.
14922 (catanh_test): Likewise.
14923 * sysdeps/i386/fpu/libm-test-ulps: Update.
14924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14925
14926 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14927
14928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14929
14930 2013-04-30 Joseph Myers <joseph@codesourcery.com>
14931
14932 [BZ #15416]
14933 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14934 accurately for denominator in atan2.
14935 * math/s_catanf.c (__catanf): Likewise.
14936 * math/s_catanh.c (__catanh): Likewise.
14937 * math/s_catanhf.c (__catanhf): Likewise.
14938 * math/s_catanhl.c (__catanhl): Likewise.
14939 * math/s_catanl.c (__catanl): Likewise.
14940 * math/libm-test.inc (catan_test): Add more tests.
14941 (catanh_test): Likewise.
14942 * sysdeps/i386/fpu/libm-test-ulps: Update.
14943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14944
14945 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14946
14947 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14948
14949 * benchtests/Makefile (bench): Remove slow benchmarks.
14950 * benchtests/atan-inputs: Add slow benchmark inputs.
14951 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14952 (BENCH_FUNC): Accept variant offset.
14953 (VARIANT): Define.
14954 * benchtests/bench-skeleton.c (main): Run benchmark for each
14955 variant.
14956 * benchtests/cos-inputs: Add slow benchmark inputs.
14957 * benchtests/exp-inputs: Likewise.
14958 * benchtests/pow-inputs: Likewise.
14959 * benchtests/sin-inputs: Likewise.
14960 * benchtests/slowatan-inputs: Remove.
14961 * benchtests/slowatan.c: Remove.
14962 * benchtests/slowcos-inputs: Remove.
14963 * benchtests/slowcos.c: Remove.
14964 * benchtests/slowexp-inputs: Remove.
14965 * benchtests/slowexp.c: Remove.
14966 * benchtests/slowpow-inputs: Remove.
14967 * benchtests/slowpow.c: Remove.
14968 * benchtests/slowsin-inputs: Remove.
14969 * benchtests/slowsin.c: Remove.
14970 * benchtests/slowtan-inputs: Remove.
14971 * benchtests/slowtan.c: Remove.
14972 * benchtests/tan-inputs: Add slow benchmark inputs.
14973 * scripts/bench.pl: Parse comments and directives.
14974
14975 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14976 in CPPFLAGS.
14977 ($(objpfx)bench-%.c): Remove *-ITER.
14978 * benchtests/bench-modf.c: Remove definition of ITER.
14979 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14980 (main): Loop for DURATION seconds instead of fixed number of
14981 iterations.
14982 * scripts/bench.pl: Don't expect iterations in parameters.
14983
14984 2013-04-29 Roland McGrath <roland@hack.frob.com>
14985
14986 * io/fchdir.c (__fchdir): Renamed from fchdir.
14987 (fchdir): Define as weak alias.
14988
14989 2013-04-29 Joseph Myers <joseph@codesourcery.com>
14990
14991 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14992 (ERRNO_EDOM): Likewise.
14993 (ERRNO_ERANGE): Likewise.
14994 (noErrnoTests): New variable.
14995 (init_max_error): Set errno to 0.
14996 (test_single_errno): New function.
14997 (test_errno): Likewise.
14998 (check_float_internal): Call test_errno. Set errno to 0.
14999 (check_complex): Refer to errno tests in comment.
15000 (check_int): Call test_errno. Set errno to 0.
15001 (check_long): Likewise.
15002 (check_bool): Likewise.
15003 (check_longlong): Likewise.
15004 (cos_test): Use ERRNO_* flags for errno tests instead of
15005 check_int.
15006 (expm1_test): Likewise.
15007 (fmod_test): Likewise.
15008 (ilogb_test): Likewise.
15009 (lgamma_test): Likewise.
15010 (pow_test): Likewise.
15011 (remainder_test): Likewise.
15012 (sin_test): Likewise.
15013 (tan_test): Likewise.
15014 (yn_test): Likewise.
15015 (initialize): Set errno to 0.
15016 (main): Print number of errno tests.
15017 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15018
15019 2013-04-29 Andreas Jaeger <aj@suse.de>
15020
15021 [BZ #15084]
15022 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15023 and RES_USEVC.
15024
15025 [BZ #15085]
15026 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15027 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15028 unimplemented.
15029
15030 [BZ #15380]
15031 * stdlib/random.c (__initstate): Return NULL if
15032 __initstate fails.
15033
15034 [BZ #15086]
15035 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15036 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15037 RES_SNGLKUPREOP.
15038
15039 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15040
15041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15042
15043 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15044
15045 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15046 of individual tests.
15047 (casin_test): Likewise.
15048 (casinh_test): Likewise.
15049
15050 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15051
15052 [BZ #15409]
15053 * math/s_catan.c (__catan): Handle arguments with large real or
15054 imaginary part separately without squaring.
15055 * math/s_catanf.c (__catanf): Likewise.
15056 * math/s_catanh.c (__catanh): Likewise.
15057 * math/s_catanhf.c (__catanhf): Likewise.
15058 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15059 and redefine.
15060 (__catanhl): Handle arguments with large real or imaginary part
15061 separately without squaring.
15062 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15063 and redefine.
15064 (__catanl): Handle arguments with large real or imaginary part
15065 separately without squaring.
15066 * math/libm-test.inc (catan_test): Add more tests.
15067 (catanh_test): Likewise.
15068 * sysdeps/i386/fpu/libm-test-ulps: Update.
15069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15070
15071 2013-04-27 Andreas Jaeger <aj@suse.de>
15072
15073 [BZ #15007]
15074 * stdlib/stdlib.h: Update guards for qecvt.
15075 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15076 <stdlib.h>.
15077
15078 2013-04-27 Allan McRae <allan@archlinux.org>
15079
15080 * sysdeps/i386/fpu/libm-test-ulps: Update.
15081
15082 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15083
15084 [BZ #15406]
15085 * math/s_catan.c: Include <float.h>.
15086 (__catan): Ensure underflow exception occurs for underflowed
15087 result.
15088 * math/s_catanf.c: Include <float.h>.
15089 (__catanf): Ensure underflow exception occurs for underflowed
15090 result.
15091 * math/s_catanh.c: Include <float.h>.
15092 (__catanh): Ensure underflow exception occurs for underflowed
15093 result.
15094 * math/s_catanhf.c: Include <float.h>.
15095 (__catanhf): Ensure underflow exception occurs for underflowed
15096 result.
15097 * math/s_catanhl.c: Include <float.h>.
15098 (__catanhl): Ensure underflow exception occurs for underflowed
15099 result.
15100 * math/s_catanl.c: Include <float.h>.
15101 (__catanl): Ensure underflow exception occurs for underflowed
15102 result.
15103 * math/libm-test.inc (catan_test): Add more tests.
15104 (catanh_test): Likewise.
15105
15106 [BZ #15405]
15107 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15108 underflowed result.
15109 * math/s_ccoshf.c (__ccoshf): Likewise.
15110 * math/s_ccoshl.c (__ccoshl): Likewise.
15111 * math/s_csin.c (__csin): Likewise.
15112 * math/s_csinf.c (__csinf): Likewise.
15113 * math/s_csinh.c (__csinh): Likewise.
15114 * math/s_csinhf.c (__csinhf): Likewise.
15115 * math/s_csinhl.c (__csinhl): Likewise.
15116 * math/s_csinl.c (__csinl): Likewise.
15117 * math/libm-test.inc (ccos_test): Add more tests.
15118 (ccosh_test): Likewise.
15119 (csin_test): Likewise.
15120 (csinh_test): Likewise.
15121
15122 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15123
15124 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15125 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15126 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15127 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15128 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15129 powerpc/power5+/fpu folders.
15130 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15131
15132
15133 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15134
15135 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15136
15137 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15138
15139 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15140 additions to variable.
15141 [$(config-machine) = x86_64] (modules-names): Likewise.
15142 ($(objpfx)tst-audit3): Remove dependency.
15143 ($(objpfx)tst-audit3.out): Likewise.
15144 ($(objpfx)tst-audit4): Likewise.
15145 ($(objpfx)tst-audit4.out): Likewise.
15146 ($(objpfx)tst-audit5): Likewise.
15147 ($(objpfx)tst-audit5.out): Likewise.
15148 ($(objpfx)tst-audit6): Likewise.
15149 ($(objpfx)tst-audit6.out): Likewise.
15150 ($(objpfx)tst-audit7): Likewise.
15151 ($(objpfx)tst-audit7.out): Likewise.
15152 (tst-audit3-ENV): Remove variable.
15153 (tst-audit4-ENV): Likewise.
15154 (tst-audit5-ENV): Likewise.
15155 (tst-audit6-ENV): Likewise.
15156 (tst-audit7-ENV): Likewise.
15157 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15158 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15159 addition to variable.
15160 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15161 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15162 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15163 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15164 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15165 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15166 tst-audit3, tst-audit4 and tst-audit5.
15167 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15168 tst-audit6 and tst-audit7.
15169 [$(subdir) = elf] (modules-names): Add audit modules for those
15170 tests.
15171 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15172 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15173 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15174 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15175 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15176 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15177 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15178 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15179 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15180 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15181 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15182 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15183 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15184 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15185 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15186 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15187 Likewise.
15188 [$(subdir) = elf && $(config-cflags-avx) = yes]
15189 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15190 [$(subdir) = elf && $(config-cflags-avx) = yes]
15191 (CFLAGS-tst-auditmod4a.c): Likewise.
15192 [$(subdir) = elf && $(config-cflags-avx) = yes]
15193 (CFLAGS-tst-auditmod4b.c): Likewise.
15194 [$(subdir) = elf && $(config-cflags-avx) = yes]
15195 (CFLAGS-tst-auditmod6b.c): Likewise.
15196 [$(subdir) = elf && $(config-cflags-avx) = yes]
15197 (CFLAGS-tst-auditmod6c.c): Likewise.
15198 [$(subdir) = elf && $(config-cflags-avx) = yes]
15199 (CFLAGS-tst-auditmod7b.c): Likewise.
15200 * elf/tst-audit3.c: Move to ...
15201 * sysdeps/x86_64/tst-audit3.c: ... here.
15202 * elf/tst-audit4.c: Move to ...
15203 * sysdeps/x86_64/tst-audit4.c: ... here.
15204 * elf/tst-audit5.c: Move to ...
15205 * sysdeps/x86_64/tst-audit5.c: ... here.
15206 * elf/tst-audit6.c: Move to ...
15207 * sysdeps/x86_64/tst-audit6.c: ... here.
15208 * elf/tst-audit7.c: Move to ...
15209 * sysdeps/x86_64/tst-audit7.c: ... here.
15210 * elf/tst-auditmod3a.c: Move to ...
15211 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15212 * elf/tst-auditmod3b.c: Move to ...
15213 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15214 * elf/tst-auditmod4a.c: Move to ...
15215 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15216 * elf/tst-auditmod4b.c: Move to ...
15217 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15218 * elf/tst-auditmod5a.c: Move to ...
15219 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15220 * elf/tst-auditmod5b.c: Move to ...
15221 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15222 * elf/tst-auditmod6a.c: Move to ...
15223 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15224 * elf/tst-auditmod6b.c: Move to ...
15225 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15226 * elf/tst-auditmod6c.c: Move to ...
15227 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15228 * elf/tst-auditmod7a.c: Move to ...
15229 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15230 * elf/tst-auditmod7b.c: Move to ...
15231 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15232
15233 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15234
15235 [BZ #15366]
15236 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15237 define unconditionally.
15238 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15239 define unconditionally.
15240 (INT8_C, INT16_C, etc.): Likewise.
15241
15242 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15243
15244 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15245 __ehdr_start with hidden visibility.
15246
15247 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15248
15249 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15250
15251 * math/libm-test.inc (cos_test): Use accurate hex constants.
15252 (sincost_test): Likewise.
15253
15254 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15255
15256 * math/libm-test.inc (catan_test): Add more tests.
15257 (catanh_test): Likewise.
15258
15259 * math/s_catanf.c (__catanf): Use suffixed floating-point
15260 constants.
15261 * math/s_catanhf.c (__catanhf): Likewise.
15262 * math/s_catanhl.c (__catanhl): Likewise.
15263 * math/s_catanl.c (__catanl): Likewise.
15264
15265 [BZ #15394]
15266 * math/s_catan.c (__catan): Calculate imaginary part of result
15267 with log1p not log unless computing log of number close to 0.
15268 * math/s_catanf.c (__catanf): Likewise.
15269 * math/s_catanl.c (__catanl): Likewise.
15270 * math/s_catanh.c (__catanh): Calculate real part of result with
15271 log1p not log unless computing log of number close to 0.
15272 * math/s_catanhf.c (__catanhf): Likewise.
15273 * math/s_catanhl.c (__catanhl): Likewise.
15274 * math/libm-test.inc (catan_test): Add more tests.
15275 (catanh_test): Likewise.
15276 * sysdeps/i386/fpu/libm-test-ulps: Update.
15277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15278
15279 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15280
15281 * benchtests/Makefile: Mention files in which fast and slow
15282 paths of math functions are implemented.
15283
15284 2013-04-23 Roland McGrath <roland@hack.frob.com>
15285
15286 * sysdeps/posix/timespec_get.c: New file.
15287
15288 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15289
15290 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15291 POWER.
15292 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15293 for POWER.
15294 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15295 powerpc/power5/fpu folders.
15296 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15297 * benchtests/Makefile: Add modf testcase.
15298 * benchtests/bench-modf.c: New file: Benchmark test for mo
15299
15300 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15301
15302 [BZ #14888]
15303 * time/Makefile (tests): Add tst-strptime-whitespace.
15304 * time/strptime_l.c (get_number): Use ISSPACE.
15305 (__strptime_internal): Likewise.
15306 * time/tst-strptime-whitespace.c: New test case.
15307
15308 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15309
15310 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15311 member.
15312 (_nss_files_init): Set it here.
15313
15314 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15315
15316 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15317 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15318 unsigned.
15319
15320 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15321
15322 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15323
15324 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15325
15326 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15327 size just once.
15328
15329 2013-04-21 David S. Miller <davem@davemloft.net>
15330
15331 * po/ru.po: Update Russion translation from translation project.
15332
15333 2013-04-17 Adam Conrad <adconrad@0c3.net>
15334
15335 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15336 and setfsgid.
15337
15338 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15339
15340 * configure.in: Remove i386 configure warning. Remove i386 case.
15341 * configure: Regenerate.
15342 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15343 Add example to error message.
15344 * sysdeps/i386/configure: Regenerate.
15345
15346 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15347
15348 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15349 slowtan.
15350 * benchtests/cos-inputs: New file.
15351 * benchtests/slowcos-inputs: New file.
15352 * benchtests/slowcos.c: New file.
15353 * benchtests/slowtan-inputs: New file.
15354 * benchtests/slowtan.c: New file.
15355 * benchtests/tan-inputs: New file.
15356
15357 2013-04-16 Roland McGrath <roland@hack.frob.com>
15358
15359 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15360 considered kosher.
15361
15362 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15363
15364 * benchtests/Makefile: Include cppflags-iterator.mk to add
15365 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15366
15367 * Makefile.in (bench-clean): New target.
15368 * benchtests/Makefile (bench-clean): Likewise.
15369
15370 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15371
15372 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15373
15374 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15375
15376 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15377
15378 2013-04-15 Andreas Schwab <schwab@suse.de>
15379
15380 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15382 * nscd/pwdcache.c (cache_addpw): Likewise.
15383 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15384 more than recsize.
15385
15386 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15387
15388 * benchtests/Makefile (bench): Write all output to
15389 bench-out.tmp together.
15390
15391 2013-04-15 Andreas Schwab <schwab@suse.de>
15392
15393 * nscd/nscd.c (main): Don't fork again after closing files.
15394
15395 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15396
15397 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15398
15399 * benchtests/Rules (bench-deps): Collect dependencies into a
15400 single variable. Add Makefile to dependencies.
15401 ($(objpfx)bench-%.c): Depend on bench-deps.
15402
15403 2013-04-12 Roland McGrath <roland@hack.frob.com>
15404 Xavier Roche <roche+kml2@exalead.com>
15405
15406 [BZ #15361]
15407 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15408 just that it's a file descriptor.
15409 * manual/llio.texi (Synchronizing AIO Operations): Update description
15410 for EBADF error from aio_fsync.
15411
15412 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15413
15414 * Rules (bench): Move target definition...
15415 * benchtests/Makefile: ... here.
15416
15417 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15418
15419 * math/libm-test.inc (cos_test): Fix PI/2 test.
15420 (sincos_test): Likewise.
15421 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15422 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15423
15424 2013-04-11 Andreas Schwab <schwab@suse.de>
15425
15426 [BZ #13988]
15427 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15428 accept exponent character only when digits were seen.
15429 * stdio-common/Makefile (tests): Add bug26.
15430 * stdio-common/bug26.c: New file.
15431
15432 [BZ #14293]
15433 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15434 non-freeable.
15435
15436 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15437
15438 * Makeconfig (rtld-prefix): Define built linker prefix.
15439 * Rules (run-bench): Use it.
15440 * math/Makefile (run-regen-ulps): Likewise.
15441
15442 * Rules (bench): Remove eval.
15443
15444 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15445 Roland McGrath <roland@hack.frob.com>
15446 Ondrej Bilka <neleai@seznam.cz>
15447
15448 [BZ #15346]
15449 * time/getdate.c: Include ctype.h and alloca.h.
15450 (__getdate_r): Trim leading and trailing spaces of input.
15451 * time/tst-getdate.c (tests): Add tests with leading and
15452 trailing spaces.
15453
15454 2013-04-08 Roland McGrath <roland@hack.frob.com>
15455
15456 [BZ #14280]
15457 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15458 when computing value.
15459
15460 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15461
15462 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15463 Use testrun.sh to run libm tests.
15464
15465 [BZ #15309]
15466 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15467
15468 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15469
15470 [BZ #15264]
15471 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15472
15473 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15474
15475 * Makefile.in (regen-ulps): New target.
15476 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15477 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15478 [ifneq (no,$(PERL)] (regen-ulps): New target.
15479 [ifeq (no,$(PERL)] (regen-ulps): New target.
15480 * math/libm-test.inc (ulps_file_name): Define.
15481 (output_dir): New variable.
15482 (options): Add "output-dir" option.
15483 (parse_opt): Handle 'o' case.
15484 (main): If output_dir is non-NULL use it as a prefix
15485 otherwise use "".
15486 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15487
15488 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15489
15490 [BZ #10060, #10062]
15491 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15492 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15493 fail configure if __sync_val_compare_and_swap is not inlined.
15494 * sysdeps/i386/configure: Regenerate.
15495 * configure.in: Build for i686 when configured for i386.
15496 * configure: Regenerate.
15497 * README: Remove i386 reference.
15498
15499 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15500
15501 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15502 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15503
15504 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15505
15506 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15507 (lmsnanval): New variables.
15508 (F): Add conversion tests.
15509 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15510 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15511
15512 * stdio-common/tstdiomisc.c (F): Properly collect individual
15513 tests' results.
15514
15515 [BZ #14686, #15336]
15516 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15517 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15518 Instead, use input NaN values or generate a qNaN by arithmetic
15519 operation. Also fix bugs to comply with the standard.
15520 * math/libm-test.inc (remainder_test): Add more tests.
15521
15522 [BZ #15335, #15342]
15523 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15524 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15525 input NaN values or generate a qNaN by arithmetic operation.
15526
15527 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15528 unreachable code.
15529
15530 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15531 definitions.
15532
15533 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15534
15535 [BZ #14478]
15536 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15537 underflowed result.
15538 * math/s_cexpf.c (__cexpf): Likewise.
15539 * math/s_cexpl.c (__cexpl): Likewise.
15540 * math/libm-test.inc (cexp_test): Add more tests.
15541
15542 2013-04-03 Andreas Schwab <schwab@suse.de>
15543
15544 [BZ #15330]
15545 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15546 order arrays from heap if bigger than alloca cutoff.
15547
15548 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15549
15550 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15551 (SNAN_TESTS_double): Refer to GCC PR56831.
15552 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15553 GCC PR56828.
15554
15555 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15556
15557 * Rules (bench): Move bench.out after the run is complete.
15558
15559 * Rules (bench): Echo currently running benchmark.
15560
15561 * benchtests/Makefile (bench): Add atan and slowatan.
15562 * benchtests/atan-inputs: New file.
15563 * benchtests/slowatan-inputs: New file.
15564 * benchtests/slowatan.c: New file.
15565
15566 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15568 its value.
15569
15570 [BZ #15305]
15571 * sysdeps/unix/sysv/linux/kernel-features.h
15572 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15573 __ASSUME_XFS_RESTRICTED_CHOWN.
15574 * sysdeps/unix/sysv/linux/pathconf.c
15575 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15576 Save and restore errno.
15577
15578 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15579
15580 [BZ #15327]
15581 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15582 arguments using __kernel_casinh.
15583 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15584 arguments using __kernel_casinhf.
15585 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15586 arguments using __kernel_casinhl.
15587 * math/libm-test.inc (cacosh_test): Add more tests.
15588 * sysdeps/i386/fpu/libm-test-ulps: Update.
15589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15590
15591 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15592
15593 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15594 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15595
15596 * bench/Makefile (bench): Add sin and slowsin.
15597 * benchtests/sin-inputs: New file.
15598 * benchtests/slowsin-inputs: New file.
15599 * benchtests/slowsin.c: New file.
15600
15601 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15602 (bench): Add slowexp and slowpow.
15603 (exp-ITER): Increase iterations.
15604 (pow-ITER): Likewise.
15605 * benchtests/exp-inputs: Change input.
15606 * benchtests/pow-inputs: Likewise.
15607 * benchtests/slowexp-inputs: New file.
15608 * benchtests/slowexp.c: New file.
15609 * benchtests/slowpow-inputs: New file.
15610 * benchtests/slowpow.c: New file.
15611
15612 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15613
15614 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15615 instructions.
15616 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15617 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15618 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15619 * benchtests/Makefile: Add rint benchtest.
15620 * benchtests/rint-inputs: Input for rint benchtest.
15621
15622 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15623
15624 * Versions.def (libm): Add GLIBC_2.18.
15625 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15626 hidden libm prototypes.
15627 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15628 * math/Makefile (libm-calls): Add s_issignaling.
15629 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15630 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15631 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15632 declaration.
15633 * math/math.h [__USE_GNU] (issignaling): New macro.
15634 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15635 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15636 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15637 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15638 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15639 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15640 * manual/arith.texi (issignaling): New section.
15641 * manual/libm-err-tab.pl (@all_functions): Update comment.
15642 * math/gen-libm-test.pl (parse_args): Apply special handling for
15643 issignaling.
15644 * math/libm-test.inc (print_float, issignaling_test): New
15645 functions.
15646 (check_float_internal): Add issignaling checks.
15647 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15648 default definition.
15649 * sysdeps/powerpc/math-tests.h: New file.
15650 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15651 tests.
15652 * math/test-snan.c (TEST_FUNC): Likewise.
15653
15654 2013-03-30 David S. Miller <davem@davemloft.net>
15655
15656 * po/de.po: Update from translation team.
15657
15658 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15659
15660 [BZ #10357]
15661 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15662 imaginary part less than 1.0 and real part less than 0.5
15663 specially.
15664 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15665 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15666 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15667 (cacos_test): Add more tests.
15668 (casin_test): Likewise.
15669 (casinh_test): Likewise.
15670 * sysdeps/i386/fpu/libm-test-ulps: Update.
15671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15672
15673 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15674
15675 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15676 ONE with its value.
15677
15678 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15679 (__pow_mp): Replace ONE and MONE with their values.
15680 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15681 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15682 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15683 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15684 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15685 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15686
15687 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15688
15689 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15690 (__pow_mp): Replace ZERO and MZERO with their values.
15691 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15692 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15693 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15695 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15696 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15697 (__sqr): Likewise.
15698
15699 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15700
15701 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15702
15703 2013-03-28 Roland McGrath <roland@hack.frob.com>
15704
15705 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15706 Declare with __attribute__ ((weak)).
15707 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15708 Call __call_tls_dtors only if it's not NULL.
15709
15710 2013-03-28 Roland McGrath <roland@hack.frob.com>
15711
15712 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15713 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15714 magic __ehdr_start linker symbol if it's defined.
15715 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15716 them up here if it was already done.
15717
15718 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15719 (_dl_aux_init): Use const in cast when setting it.
15720 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15721 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15722 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15723
15724 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15725 Declare them here.
15726 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15727 * csu/libc-tls.c: Nor here.
15728 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15729
15730 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15731 (__libc_message): Never call vsyslog.
15732
15733 2013-03-28 Alan Modra <amodra@gmail.com>
15734
15735 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15736 Define as empty.
15737 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15738 Likewise.
15739
15740 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15741
15742 [BZ #15214]
15743 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15744 underflow.
15745 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15746
15747 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15748
15749 [BZ #15304]
15750 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15751 Don't add gid passed as argument.
15752
15753 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15754
15755 2013-03-27 Joseph Myers <joseph@codesourcery.com>
15756
15757 [BZ #15307]
15758 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15759 imaginary part between 1.0 and 1.5 and real part less than 0.5
15760 specially.
15761 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15762 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15763 * math/libm-test.inc (cacos_test): Add more tests.
15764 (casin_test): Likewise.
15765 (casinh_test): Likewise.
15766 * sysdeps/i386/fpu/libm-test-ulps: Update.
15767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15768
15769 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15770
15771 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15772 constants.
15773 (norm): Likewise.
15774 (denorm): Likewise.
15775 (__dbl_mp): Likewise.
15776 (add_magnitudes): Likewise.
15777 (sub_magnitudes): Likewise.
15778 (__add): Likewise.
15779 (__sub): Likewise.
15780 (__mul): Likewise.
15781 (__sqr): Likewise.
15782 (__inv): Likewise.
15783 (__dvd): Likewise.
15784
15785 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15786 commented code.
15787 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15788 (__dubcos): Likewise.
15789 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15790 (__ieee754_acos): Likewise.
15791 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15792 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15793 (__exp1): Likewise.
15794 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15796 (log1): Likewise.
15797 (my_log2): Likewise.
15798 (checkint): Likewise.
15799 * sysdeps/ieee754/dbl-64/e_remainder.c
15800 (__ieee754_remainder): Likewise.
15801 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15802 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15803 (bsloww): Likewise.
15804 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15805
15806 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15807 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15808 MANTISSA_STORE_T to store computations on mantissa. Use
15809 macros for rounding and division.
15810 (denorm): Likewise.
15811 (__dbl_mp): Likewise.
15812 (add_magnitudes): Likewise.
15813 (sub_magnitudes): Likewise.
15814 (__mul): Likewise.
15815 (__sqr): Likewise.
15816 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15817 powers of two in terms of TWOPOW macro.
15818 (mp_no): Make type of mantissa as MANTISSA_T.
15819 [!RADIXI]: Define RADIXI.
15820 [!TWO52]: Define TWO52.
15821 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15822
15823 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15824
15825 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15826 llroundl symbol when building for PPC32.
15827
15828 2013-03-24 Mark H Weaver <mhw@netris.org>
15829
15830 * manual/arith.texi (Normalization Functions): Fix prototypes for
15831 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15832
15833 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15834
15835 [BZ #13889]
15836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15837 high value to check if expl overflow.
15838 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15839 to check for underflow and overflow.
15840 * math/libm-test.inc: Add exp test.
15841
15842 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15843
15844 [BZ #11120]
15845 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15846 with NOT_IN_libc.
15847
15848 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15849
15850 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15851 symbol.
15852
15853 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15854
15855 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15856 wrap blocks consisting of several statements.
15857
15858 * sysdeps/generic/math-tests.h: New file.
15859 * sysdeps/i386/fpu/math-tests.h: Likewise.
15860 * math/test-snan.c: Include it.
15861 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15862
15863 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15864
15865 [BZ #15285]
15866 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15867 (__ieee754_j0l): Do not improve calculations using cos of twice
15868 input for inputs above LDBL_MAX / 2.0L.
15869 (__ieee754_y0l): Likewise.
15870 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15871 (__ieee754_j1l): Do not improve calculations using cos of twice
15872 input for inputs above LDBL_MAX / 2.0L.
15873 (__ieee754_y1l): Likewise.
15874 * math/libm-test.inc (j0_test): Add another test.
15875 (j1_test): Likewise.
15876 (y0_test): Likewise.
15877 (y1_test): Likewise.
15878 * sysdeps/i386/fpu/libm-test-ulps: Update.
15879
15880 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15881
15882 * Rules ($(objpfx)bench-%.c): Include code from a C source
15883 file.
15884
15885 2013-03-21 Joseph Myers <joseph@codesourcery.com>
15886
15887 [BZ #15287]
15888 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15889 imaginary part 1.0 and real part less than 0.5 specially.
15890 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15891 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15892 * math/libm-test.inc (cacos_test): Add more tests.
15893 (casin_test): Likewise.
15894 (casinh_test): Likewise.
15895 * sysdeps/i386/fpu/libm-test-ulps: Update.
15896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15897
15898 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15899
15900 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15901 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15902
15903 2013-03-20 Joseph Myers <joseph@codesourcery.com>
15904
15905 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15906 * config.make.in (config-cflags-sse4): Remove variable.
15907 (config-cflags-avx): Likewise.
15908 (config-cflags-sse2avx): Likewise.
15909 (config-cflags-novzeroupper): Likewise.
15910 (config-asflags-i686): Likewise.
15911 (have-mfma4): Likewise.
15912 (have-as-vis3): Likewise.
15913 (MIG): Likewise.
15914 * configure.in (MIG): Do not AC_SUBST.
15915 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15916 (libc_cv_cc_sse4): Do not AC_SUBST.
15917 (libc_cv_cc_avx): Likewise.
15918 (libc_cv_cc_sse2avx): Likewise.
15919 (libc_cv_cc_novzeroupper): Likewise.
15920 (libc_cv_cc_fma4): Likewise.
15921 (libc_cv_as_i686): Likewise.
15922 (libc_cv_sparc_as_vis3): Likewise.
15923 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15924 LIBC_CONFIG_VAR.
15925 (config-asflags-i686): Likewise.
15926 (config-cflags-avx): Likewise.
15927 (config-cflags-sse2avx): Likewise.
15928 (have-mfma4): Likewise.
15929 (config-cflags-novzeroupper): Likewise.
15930 * sysdeps/mach/configure.in (MIG): Likewise.
15931 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15932 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15933 LIBC_CONFIG_VAR.
15934 (config-cflags-avx): Likewise.
15935 (config-cflags-sse2avx): Likewise.
15936 (have-mfma4): Likewise.
15937 (config-cflags-novzeroupper): Likewise.
15938 * configure: Regenerated.
15939 * sysdeps/i386/configure: Likewise.
15940 * sysdeps/mach/configure: Likewise.
15941 * sysdeps/sparc/configure: Likewise.
15942 * sysdeps/x86_64/configure: Likewise.
15943
15944 2013-03-20 Roland McGrath <roland@hack.frob.com>
15945
15946 [BZ #14812]
15947 * locale/programs/localedef.c (options): Put N_ translation marker
15948 on argument names, not just descriptions.
15949
15950 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15951
15952 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15953
15954 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
15955
15956 [BZ #14176]
15957 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15958
15959 2013-03-19 Roland McGrath <roland@hack.frob.com>
15960
15961 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15962 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15963 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15964 [!BEFORE_ABORT] (before_abort): New function.
15965 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15966 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15967 (writev_for_fatal): New function.
15968 (WRITEV_FOR_FATAL): New macro; call that.
15969 (backtrace_and_maps): New function.
15970 (BEFORE_ABORT): New macro; call that.
15971 (struct str_list): Type removed.
15972 (__libc_message, __libc_fatal): Functions removed.
15973 Include <sysdeps/posix/libc_fatal.c> instead.
15974
15975 2013-03-19 Joseph Myers <joseph@codesourcery.com>
15976
15977 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15978 constants.
15979 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15980 double constants.
15981
15982 2013-03-19 Andreas Schwab <schwab@suse.de>
15983
15984 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15985 * sysdeps/gnu/configure: Regenerate.
15986
15987 * configure.in: Substitute libc_cv_rtlddir.
15988 * configure: Regenerate.
15989 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15990 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15991 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15992 * elf/Makefile (install-others, CFLAGS-interp.c)
15993 (ldso_install, common-ldd-rewrite): Likewise.
15994 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15995 $(inst_slibdir)/$(rtld-installed-name).
15996 * scripts/rellns-sh: Add -p option.
15997 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15998 for source.
15999
16000 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16001
16002 * manual/nptl.texi: Renamed to ...
16003 * manual/threads.texi: ... this.
16004 * manual/Makefile (chapters): Update.
16005
16006 2013-03-18 Roland McGrath <roland@hack.frob.com>
16007
16008 [BZ #14812]
16009 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16010 on argument names, not just descriptions.
16011 * malloc/memusagestat.c (options): Likewise.
16012 * nss/getent.c (options): Likewise.
16013
16014 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16015
16016 [BZ #14812]
16017 * iconv/iconv_prog.c (options): Put N_ translation marker
16018 on argument names, not just descriptions.
16019 * iconv/iconvconfig.c (options): Likewise.
16020
16021 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16022
16023 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16024 implementation which is faster on all x86_64 architectures.
16025 Tested on AMD, Intel Nehalem, SNB, IVB.
16026 * sysdeps/x86_64/strnlen.S: Likewise.
16027
16028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16029 Remove all multiarch strlen and strnlen versions.
16030 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16031 Remove strlen and strnlen related parts.
16032
16033 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16034 Inline strlen part.
16035 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16036
16037 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16038 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16039 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16040 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16041 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16042 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16043
16044 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16045
16046 * manual/memory.texi (Malloc Tunable Parameters):
16047 Sort parameters alphabetically. Add comments for missing entries.
16048
16049 2013-03-17 David S. Miller <davem@davemloft.net>
16050
16051 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16052
16053 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16054
16055 [BZ #15283]
16056 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16057 for arguments at most half maximum finite value.
16058 * math/libm-test.inc (j0_test): Add more tests.
16059 (j1_test): Likewise.
16060 (y0_test): Likewise.
16061 (y1_test): Likewise.
16062 * sysdeps/i386/fpu/libm-test-ulps: Update.
16063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16064
16065 [BZ #14155]
16066 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16067 1 / x and functions P and Q for arguments above 0x1p256L.
16068 (__ieee754_y0l): Likewise.
16069 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16070 (__ieee754_y1l): Likewise.
16071 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16072 (j1_test): Likewise.
16073 (y0_test): Likewise.
16074 (y1_test): Likewise.
16075
16076 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16077
16078 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16079 variable.
16080
16081 2013-03-15 Roland McGrath <roland@hack.frob.com>
16082
16083 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16084 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16085 zero since it's initialized to EXEC_PAGESIZE.
16086
16087 * sysdeps/unix/sysv/linux/ldsodefs.h
16088 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16089 * sysdeps/generic/ldsodefs.h: ... here.
16090
16091 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16092
16093 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16094
16095 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16096 math/test-snan.c.
16097 * math/test-snan.c: Renamed from
16098 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16099 * math/Makefile (tests): Add test-snan.
16100 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16101 test-powerpc-snan.
16102
16103 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16104 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16105 functions.
16106 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16107 __builtin_nan family of functions.
16108 * math/libm-test.inc (initialize): Initialize qnan_value with
16109 __builtin_nan family of functions.
16110 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16111 Remove variables.
16112 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16113 Remove functions.
16114 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16115 storage class. Initialize qNaN_var and sNaN_var with
16116 __builtin_nan and __builtin_nans families of functions,
16117 respectively.
16118
16119 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16120 (sqrt_test): Remove duplicate test with qNaN input.
16121 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16122 (round_test, signbit_test, significand_test): Note missing +/-Inf
16123 as well as qNaN tests.
16124
16125 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16126 qNaN_var. Fix a few strings, too.
16127 * math/libm-test.inc (nan_value): Rename to qnan_value.
16128 * math/gen-libm-test.pl (%beautify): Adjust to that.
16129 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16130 * math/test-misc.c (main): Likewise.
16131 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16132 to __qnan_bytes, and __qnan_union, respectively.
16133 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16134 Likewise.
16135 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16136 and lqnanval, respectively.
16137 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16138 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16139 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16140 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16141
16142 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16143 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16144 doubles.
16145
16146 * math/test-misc.c (main): Fix copy'n'pastos.
16147 * misc/tst-efgcvt.c (special): Likewise.
16148
16149 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16150 Remove declarations.
16151
16152 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16153
16154 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16155 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16156 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16157 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16158
16159 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16160
16161 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16162 macro to return vdso values correctly in IFUNC implementations.
16163 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16164 Optimization by using IFUNC.
16165
16166 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16167 Richard Henderson <rth@redhat.com>
16168 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16169
16170 * Makefile.in (bench): New target.
16171 * NEWS: Mention the benchmark framework.
16172 * Rules (bench): Likewise.
16173 (binaries-bench): Generate binaries for functions to
16174 benchmark.
16175 * benchtests/Makefile: New makefile for benchmark tests.
16176 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16177 programs.
16178 * benchtests/exp-inputs: New input file for EXP function.
16179 * benchtests/pow-inputs: New input file for POW function.
16180 * scripts/bench.pl: New script to generate source files for
16181 benchmark programs.
16182
16183 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16184
16185 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16186 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16187 computations on mantissa. Use macros for rounding and
16188 division.
16189 (denorm): Likewise.
16190 (__dbl_mp): Likewise.
16191 (add_magnitudes): Likewise.
16192 (sub_magnitudes): Likewise.
16193 (__mul): Likewise.
16194 (__sqr): Likewise.
16195 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16196 powers of two in terms of TWOPOW macro.
16197 (mp_no): Make type of mantissa as MANTISSA_T.
16198 [!RADIXI]: Define RADIXI.
16199 [!TWO52]: Define TWO52.
16200 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16201
16202 * manual/nptl.texi (cindex): Modify threads to pthreads.
16203
16204 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16205
16206 * sysdeps/x86_64/preconfigure: Regenerated.
16207
16208 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16209
16210 [BZ #14155]
16211 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16212 0x1p28 and above.
16213 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16214 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16215 0x1p28 and above.
16216 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16217 * math/libm-test.inc (j0_test): Do not allow one spurious
16218 underflow exception.
16219 (y1_test): Likewise.
16220
16221 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16222
16223 * manual/Makefile (chapters): Add nptl.
16224 * manual/debug.texi (Debugging Support): Add link to Threads
16225 chapter.
16226 * manual/nptl.texi: New file.
16227
16228 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16229
16230 2013-03-14 Petr Baudis <pasky@ucw.cz>
16231
16232 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16233 for non-NULL pointer before the memory validity test. Pointed
16234 out by Holger Brunck <holger.brunck@keymile.com>.
16235
16236 2013-03-13 Andreas Schwab <schwab@suse.de>
16237
16238 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16239 instead of .os.
16240
16241 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16242
16243 * timezone/zic.c: Update from tzcode 2013b.
16244
16245 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16246
16247 * manual/install.texi (Configuring and compiling):
16248 Mention i686 and i586.
16249 * INSTALL: Regenerate.
16250
16251 2013-03-12 Roland McGrath <roland@hack.frob.com>
16252
16253 * sysdeps/init_array/elf-init.c: New file.
16254 * csu/elf-init.c
16255 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16256 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16257
16258 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16259 __gmon_start__ as global, but as static with a .preinit_array pointer.
16260 * sysdeps/init_array/gmon-start.c: New file. Use that.
16261 * sysdeps/init_array/crti.S: New file, empty except for comments.
16262 * sysdeps/init_array/crtn.S: Likewise.
16263
16264 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16265
16266 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16267 definining bcopy.
16268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16269 Remove Prefer_SSE_for_memop.
16270 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16271 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16272 HAS_PREFER_SSE_FOR_MEMOP.
16273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16274 memset-x86-64.
16275 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16276 Remove bzero, memset ifunc support.
16277 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16278 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16279 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16280 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16281
16282 2013-03-11 Andreas Schwab <schwab@suse.de>
16283
16284 [BZ #15234]
16285 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16286 by SHLIB_COMPAT.
16287 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16288 (GLIBC_2.16): Remove pthread_atfork.
16289
16290 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16291
16292 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16293 (ptestcases.h): Likewise.
16294
16295 2013-03-08 Roland McGrath <roland@hack.frob.com>
16296
16297 * Makeconfig ($(common-objpfx)config.status): Depend on
16298 sysdeps/*/preconfigure{,.in} too.
16299
16300 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16301
16302 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16303 (__free_hook): Use void * instead of __malloc_ptr_t.
16304 (__malloc_hook): Likewise.
16305 (__realloc_hook): Likewise.
16306 (__memalign_hook): Likewise.
16307 (__after_morecore_hook): Likewise.
16308 * malloc/arena.c (save_malloc_hook): Likewise.
16309 (save_free_hook): Likewise.
16310 * malloc/hooks.c (malloc_hook_ini): Likewise.
16311 (realloc_hook_ini): Likewise.
16312 (memalign_hook_ini): Likewise.
16313 * malloc/malloc.c (malloc_hook_ini): Likewise.
16314 (realloc_hook_ini): Likewise.
16315 (memalign_hook_ini): Likewise.
16316 (__free_hook): Likewise.
16317 (__malloc_hook): Likewise.
16318 (__realloc_hook): Likewise.
16319 (__memalign_hook): Likewise.
16320 (__libc_malloc): Likewise.
16321 (__libc_free): Likewise.
16322 (__libc_realloc): Likewise.
16323 (__libc_memalign): Likewise.
16324 (__libc_valloc): Likewise.
16325 (__libc_pvalloc): Likewise.
16326 (__libc_calloc): Likewise.
16327 (__posix_memalign): Likewise.
16328 * malloc/morecore.c (__sbrk): Likewise.
16329 (__default_morecore): Likewise.
16330
16331 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16332
16333 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16334 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16335 __malloc_ptrdiff_t.
16336
16337 * malloc/malloc.h (__malloc_size_t): Remove macro.
16338 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16339 __malloc_size_t.
16340 (old_memalign_hook): Likewise.
16341 (old_realloc_hook): Likewise.
16342 (struct hdr): Likewise.
16343 (flood): Likewise.
16344 (mallochook): Likewise.
16345 (memalignhook): Likewise.
16346 (reallochook): Likewise.
16347 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16348 (tr_old_realloc_hook): Likewise.
16349 (tr_old_memalign_hook): Likewise.
16350 (tr_mallochook): Likewise.
16351 (tr_reallochook): Likewise.
16352 (tr_memalignhook): Likewise.
16353
16354 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16355
16356 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16357 default_ldbl_pack and using as default implementation.
16358 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16359 implementation.
16360 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16361 redundant definition.
16362 (ldbl_insert_mantissa): Likewise.
16363 (ldbl_canonicalize): Likewise.
16364 (ldbl_nearbyint): Likewise.
16365 (ldbl_pack): Rename to ldbl_pack_ppc.
16366 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16367 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16368 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16369
16370 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16371
16372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16373 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16374 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16375 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16377 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16378 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16379 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16380
16381 2013-03-07 Andreas Jaeger <aj@suse.de>
16382
16383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16384 bits/mman-linux.h.
16385
16386 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16387
16388 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16389 Include mpa.h and declare __MPEXP.
16390 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16391 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16392 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16393 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16394 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16395 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16396 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16397
16398 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16399 (__slowpow): Use long double EXPL and LOGL functions to
16400 compute POW.
16401 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16402 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16403 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16404 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16405 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16406 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16407
16408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16409 intermediate variable to calculate exponent.
16410 (__sqr): Likewise.
16411 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16412 Likewise.
16413 (__sqr): Likewise.
16414
16415 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16416 [!NO__SQR]: Define __sqr.
16417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16418 and NO__SQR. Remove all code except __mul and __sqr. Include
16419 sysdeps/ieee754/dbl-64/mpa.c.
16420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16421
16422 [BZ #12723]
16423 * posix/Makefile (tests): Add tst-pathconf.
16424 * posix/tst-pathconf.c: New test case.
16425 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16426 _PC_PIPE_BUF.
16427 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16428
16429 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16430
16431 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16432
16433 2013-03-06 Andreas Jaeger <aj@suse.de>
16434
16435 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16436 definition via __MAP_ANONYMOUS.
16437
16438 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16439 it's not part of Linux headers.
16440
16441 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16442 (MAP_HUGE_MASK): Define.
16443
16444 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16445 Define.
16446 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16447 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16448 Define.
16449 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16450 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16451 Define.
16452 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16453 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16454 Define.
16455 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16456
16457 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16458 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16459 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16460 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16461 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16462 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16463
16464 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16465 Handle f2fs.
16466
16467 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16468 Handle f2fs and efivarfs.
16469
16470 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16471 f2fs.
16472
16473 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16474 (EFIVARFS_MAGIC): Add.
16475 (F2FS_LINK_MAX): Add.
16476
16477 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16478
16479 * stdio-common/vfprintf.c: Replace __builtin_expect with
16480 __glibc_unlikely.
16481
16482 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16483
16484 [BZ #13550]
16485 * sysdeps/generic/bp-sym.h: Remove file.
16486 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16487 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16488 <bp-sym.h> and <bp-asm.h>.
16489 (__longjmp): Don't use BP_SYM.
16490 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16491 and <bp-asm.h>.
16492 (memcpy): Don't use BP_SYM.
16493 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16494 <bp-sym.h> and <bp-asm.h>.
16495 (memcpy): Don't use BP_SYM.
16496 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16497 <bp-asm.h>.
16498 (memcpy): Don't use BP_SYM.
16499 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16500 <bp-asm.h>.
16501 (memset): Don't use BP_SYM.
16502 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16503 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16504 (__bzero): Don't use BP_SYM.
16505 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16506 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16507 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16508 <bp-sym.h> and <bp-asm.h>.
16509 (memcmp): Don't use BP_SYM. Remove comment about bounded
16510 pointers.
16511 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16512 <bp-sym.h> and <bp-asm.h>.
16513 (memcpy): Don't use BP_SYM.
16514 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16515 <bp-sym.h> and <bp-asm.h>.
16516 (memset): Don't use BP_SYM.
16517 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16518 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16519 (__bzero): Don't use BP_SYM.
16520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16522 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16523 <bp-sym.h> and <bp-asm.h>.
16524 (strncmp): Don't use BP_SYM. Remove comment about bounded
16525 pointers.
16526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16527 <bp-sym.h> and <bp-asm.h>.
16528 (memcpy): Don't use BP_SYM.
16529 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16530 <bp-sym.h> and <bp-asm.h>.
16531 (memset): Don't use BP_SYM.
16532 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16533 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16534 (__bzero): Don't use BP_SYM.
16535 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16536 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16537 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16538 <bp-sym.h> and <bp-asm.h>.
16539 (__memchr): Don't use BP_SYM.
16540 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16541 <bp-sym.h> and <bp-asm.h>.
16542 (memcmp): Don't use BP_SYM. Remove comment about bounded
16543 pointers.
16544 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16545 <bp-sym.h> and <bp-asm.h>.
16546 (memcpy): Don't use BP_SYM.
16547 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16548 <bp-sym.h> and <bp-asm.h>.
16549 (__mempcpy): Don't use BP_SYM.
16550 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16551 <bp-sym.h> and <bp-asm.h>.
16552 (__memrchr): Don't use BP_SYM.
16553 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16554 <bp-sym.h> and <bp-asm.h>.
16555 (memset): Don't use BP_SYM.
16556 (__bzero): Likewise.
16557 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16558 <bp-sym.h> and <bp-asm.h>.
16559 (__rawmemchr): Don't use BP_SYM.
16560 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16561 <bp-sym.h> and <bp-asm.h>.
16562 (__STRCMP): Don't use BP_SYM.
16563 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16564 <bp-sym.h> and <bp-asm.h>.
16565 (strchr): Don't use BP_SYM.
16566 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16567 <bp-sym.h> and <bp-asm.h>.
16568 (__strchrnul): Don't use BP_SYM.
16569 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16570 <bp-sym.h> and <bp-asm.h>.
16571 (strlen): Don't use BP_SYM.
16572 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16573 <bp-sym.h> and <bp-asm.h>.
16574 (strncmp): Don't use BP_SYM. Remove comment about bounded
16575 pointers.
16576 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16577 <bp-sym.h> and <bp-asm.h>.
16578 (__strnlen): Don't use BP_SYM.
16579 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16580 <bp-sym.h> and <bp-asm.h>.
16581 (__GI__setjmp): Don't use BP_SYM.
16582 (_setjmp): Likewise.
16583 (__sigsetjmp): Likewise.
16584 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16585 (L(start_addresses)): Don't use BP_SYM.
16586 (_start): Likewise.
16587 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16588 <bp-asm.h>.
16589 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16590 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16591 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16592 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16593 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16594 <bp-asm.h>.
16595 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16596 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16597 about bounded pointers.
16598 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16599 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16600 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16601 <bp-asm.h>.
16602 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16603 about bounded pointers. Remove GKM FIXME comments.
16604 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16605 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16606 <bp-asm.h>.
16607 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16608 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16609 Remove GKM FIXME comments.
16610 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16611 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16612 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16613 <bp-asm.h>.
16614 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16615 about bounded pointers. Remove GKM FIXME comment.
16616 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16617 and <bp-asm.h>.
16618 (strncmp): Don't use BP_SYM. Remove comment about bounded
16619 pointers.
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16621 <bp-sym.h> and <bp-asm.h>.
16622 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16624 <bp-sym.h> and <bp-asm.h>.
16625 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16626 comment.
16627
16628 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16629
16630 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16631 call free(NULL).
16632
16633 2013-03-05 David S. Miller <davem@davemloft.net>
16634
16635 * po/es.po: Update from translation team.
16636
16637 2013-03-05 Andreas Jaeger <aj@suse.de>
16638
16639 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16640 <bits/mman-linux.h>.
16641 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16642 is fine.
16643 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16644 <bits/mman-linux.h> to end of file.
16645 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16646 is fine.
16647 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16648 <bits/mman-linux.h> to end of file.
16649 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16650 is fine.
16651 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16652 <bits/mman-linux.h> to end of file.
16653
16654 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16655 (MCL_CURRENT, MCL_FUTURE): Define here.
16656
16657 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16658
16659 [BZ #15232]
16660 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16661 attribute_hidden.
16662 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16663
16664 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16665
16666 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16667 fourth parameter needed for rt_sigprocmask syscall.
16668 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16669 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16670 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16671 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16672 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16673 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16674
16675 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16676
16677 [BZ #13550]
16678 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16679 comment about bounded pointers.
16680 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16681 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16682
16683 2013-03-04 Andreas Jaeger <aj@suse.de>
16684
16685 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16686 common definitions.
16687
16688 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16689 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16690 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16691 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16693 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16694
16695 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16696
16697 [BZ #15055]
16698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16699 __ieee754_sqrl instead of __sqrl.
16700
16701 2013-03-01 Joseph Myers <joseph@codesourcery.com>
16702
16703 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16704 * sysdeps/powerpc/fpu_control.h: ... here.
16705 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16706 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16707 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16708 * sysdeps/powerpc/bits/mathinline.h: ... here.
16709
16710 2013-03-01 Roland McGrath <roland@hack.frob.com>
16711
16712 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16713 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16714 to just [NEED_DL_SYSINFO_DSO].
16715 * elf/dl-support.c: Likewise.
16716 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16717 * elf/rtld.c (dl_main): Likewise.
16718 * elf/setup-vdso.h (setup_vdso): Likewise.
16719 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16720 * sysdeps/unix/sysv/linux/dl-sysdep.c
16721 (_dl_discover_osversion): Likewise.
16722
16723 2013-03-01 Carlos O'Donell <carlos@redhat.com>
16724
16725 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16726 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16727
16728 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16729
16730 * NEWS: Mention libm performance improvements and non-x86 PI
16731 futex support.
16732
16733 * csu/libc-start.c (__pthread_initialize_minimal): Change
16734 function arguments.
16735 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16736
16737 2013-02-28 Joseph Myers <joseph@codesourcery.com>
16738
16739 [BZ #13550]
16740 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16741 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16742 <bp-sym.h> and <bp-asm.h>.
16743 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16744 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16745 and <bp-asm.h>.
16746 (memcpy): Don't use BP_SYM.
16747 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16748 <bp-asm.h>.
16749 (__mpn_add_n): Don't use BP_SYM.
16750 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16751 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16752 and <bp-asm.h>.
16753 (__mpn_addmul_1): Don't use BP_SYM.
16754 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16755 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16756 <bp-sym.h>.
16757 (_setjmp): Don't use BP_SYM.
16758 (__novmx_setjmp): Likewise.
16759 (__GI__setjmp): Likewise.
16760 (__vmx_setjmp): Likewise.
16761 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16762 <bp-sym.h>.
16763 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16764 (__bzero): Don't use BP_SYM.
16765 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16766 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16767 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16768 <bp-sym.h> and <bp-asm.h>.
16769 (memcpy): Don't use BP_SYM.
16770 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16771 <bp-sym.h> and <bp-asm.h>.
16772 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16773 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16774 <bp-sym.h> and <bp-asm.h>.
16775 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16776 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16777 <bp-asm.h>.
16778 (__mpn_lshift): Don't use BP_SYM.
16779 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16780 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16781 <bp-asm.h>.
16782 (memset): Don't use BP_SYM.
16783 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16784 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16785 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16786 <bp-asm.h>.
16787 (__mpn_mul_1): Don't use BP_SYM.
16788 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16789 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16790 <bp-sym.h> and <bp-asm.h>.
16791 (memcmp): Don't use BP_SYM.
16792 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16793 <bp-sym.h> and <bp-asm.h>.
16794 (memcpy): Don't use BP_SYM.
16795 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16796 <bp-sym.h> and <bp-asm.h>.
16797 (memset): Don't use BP_SYM.
16798 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16799 <bp-sym.h> and <bp-asm.h>.
16800 (strncmp): Don't use BP_SYM.
16801 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16802 <bp-sym.h> and <bp-asm.h>.
16803 (memcpy): Don't use BP_SYM.
16804 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16805 <bp-sym.h> and <bp-asm.h>.
16806 (memset): Don't use BP_SYM.
16807 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16808 <bp-sym.h> and <bp-asm.h>.
16809 (__memchr): Don't use BP_SYM.
16810 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16811 <bp-sym.h> and <bp-asm.h>.
16812 (memcmp): Don't use BP_SYM.
16813 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16814 <bp-sym.h> and <bp-asm.h>.
16815 (memcpy): Don't use BP_SYM.
16816 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16817 <bp-sym.h> and <bp-asm.h>.
16818 (__mempcpy): Don't use BP_SYM.
16819 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16820 <bp-sym.h> and <bp-asm.h>.
16821 (__memrchr): Don't use BP_SYM.
16822 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16823 <bp-sym.h> and <bp-asm.h>.
16824 (memset): Don't use BP_SYM.
16825 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16826 <bp-sym.h> and <bp-asm.h>.
16827 (__rawmemchr): Don't use BP_SYM.
16828 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16829 <bp-sym.h> and <bp-asm.h>.
16830 (__STRCMP): Don't use BP_SYM.
16831 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16832 <bp-sym.h> and <bp-asm.h>.
16833 (strchr): Don't use BP_SYM.
16834 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16835 <bp-sym.h> and <bp-asm.h>.
16836 (__strchrnul): Don't use BP_SYM.
16837 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16838 <bp-sym.h> and <bp-asm.h>.
16839 (strlen): Don't use BP_SYM.
16840 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16841 <bp-sym.h> and <bp-asm.h>.
16842 (strncmp): Don't use BP_SYM.
16843 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16844 <bp-sym.h> and <bp-asm.h>.
16845 (__strnlen): Don't use BP_SYM.
16846 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16847 <bp-asm.h>.
16848 (__mpn_rshift): Don't use BP_SYM.
16849 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16850 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16851 <bp-sym.h> and <bp-asm.h>.
16852 (__sigsetjmp): Don't use BP_SYM.
16853 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16854 (L(start_addresses)): Don't use BP_SYM.
16855 (_start): Likewise.
16856 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16857 <bp-asm.h>.
16858 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16859 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16860 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16861 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16862 <bp-asm.h>.
16863 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16864 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16865 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16866 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16867 <bp-asm.h>.
16868 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16869 comments.
16870 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16871 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16872 <bp-asm.h>.
16873 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16874 FIXME comments.
16875 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16876 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16877 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16878 <bp-asm.h>.
16879 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16880 comment.
16881 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16882 and <bp-asm.h>.
16883 (strncmp): Don't use BP_SYM,
16884 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16885 <bp-asm.h>.
16886 (__mpn_sub_n): Don't use BP_SYM.
16887 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16888 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16889 and <bp-asm.h>.
16890 (__mpn_submul_1): Don't use BP_SYM.
16891 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16893 <bp-sym.h> and <bp-asm.h>.
16894 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16896 <bp-sym.h> and <bp-asm.h>.
16897 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16898 comment.
16899
16900 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16901
16902 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16903 Use ZK to minimize writes to Z.
16904 (sub_magnitudes): Simplify code a bit.
16905 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16906 Use ZK to minimize writes to Z.
16907 (sub_magnitudes): Simplify code a bit.
16908
16909 2013-02-27 Roland McGrath <roland@hack.frob.com>
16910
16911 * csu/gmon-start.c: Add special exception to license text.
16912
16913 2013-02-27 Richard Henderson <rth@redhat.com>
16914
16915 * scripts/config.guess: Update from config.git.
16916 * scripts/config.sub: Likewise.
16917
16918 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16919
16920 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16921
16922 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16923
16924 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16925
16926 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16927
16928 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16929
16930 2013-02-26 Roland McGrath <roland@hack.frob.com>
16931
16932 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16933 [$(build-shared = yes].
16934
16935 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16936
16937 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16938 (__mul): Reduce iterations for calculating mantissa.
16939
16940 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16941 MPTWO.
16942 (__mpranred): Likewise.
16943
16944 [BZ #15160]
16945 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16946 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16947
16948 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16949
16950 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16951 Define __attribute__.
16952
16953 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16954
16955 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16956 unused.
16957 * posix/regex_internal.h (__attribute): Remove.
16958 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16959 (re_string_context_at): Likewise.
16960 (bitset_not): Use __attribute__ and mark function as possibly
16961 unused.
16962 (bitset_merge): Likewise.
16963 (bitset_mask): Likewise.
16964 (re_string_char_size_at): Likewise.
16965 (re_string_wchar_at): Likewise.
16966 (re_string_elem_size_at): Likewise.
16967
16968 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16969
16970 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16971 code.
16972 (cc32): Likewise.
16973
16974 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16975 (__acr): Likewise.
16976 (__cpy): Likewise.
16977 (norm): Likewise.
16978 (denorm): Likewise.
16979 (__dbl_mp): Likewise.
16980 (add_magnitudes): Likewise.
16981 (sub_magnitudes): Likewise.
16982 (__mul): Likewise.
16983 (__inv): Likewise.
16984
16985 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16986 style.
16987
16988 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16989 style.
16990
16991 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16992 code.
16993
16994 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16995 up changes with default code.
16996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16997 Likewise.
16998
16999 2013-02-24 Allan McRae <allan@archlinux.org>
17000
17001 * manual/socket.texi (The Internet Namespace): Order menu items
17002 to match that in the file.
17003
17004 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17005 node listing of the info page menu.
17006
17007 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17008
17009 [BZ #13550]
17010 * sysdeps/i386/bp-asm.h: Remove file.
17011 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17012 (PARMS): Do not use macros from bp-asm.h.
17013 (S1): Likewise.
17014 (S2): Likewise.
17015 (SIZE): Likewise.
17016 (__mpn_add_n): Do not use BP_SYM
17017 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17018 "bp-asm.h".
17019 (PARMS): Do not use macros from bp-asm.h.
17020 (S1): Likewise.
17021 (SIZE): Likewise.
17022 (__mpn_addmul_1): Do not use BP_SYM
17023 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17024 "bp-asm.h".
17025 (PARMS): Do not use macros from bp-asm.h.
17026 (SIGMSK): Likewise.
17027 (_setjmp): Likewise. Do not use BP_SYM.
17028 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17029 "bp-asm.h".
17030 (PARMS): Do not use macros from bp-asm.h.
17031 (SIGMSK): Likewise.
17032 (setjmp): Likewise. Do not use BP_SYM.
17033 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17034 "bp-asm.h".
17035 (PARMS): Do not use macros from bp-asm.h.
17036 (__frexp): Do not use BP_SYM.
17037 (frexp): Likewise.
17038 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17039 "bp-asm.h".
17040 (PARMS): Do not use macros from bp-asm.h.
17041 (__frexpf): Do not use BP_SYM.
17042 (frexpf): Likewise.
17043 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17044 "bp-asm.h".
17045 (PARMS): Do not use macros from bp-asm.h.
17046 (__frexpl): Do not use BP_SYM.
17047 (frexpl): Likewise.
17048 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17049 "bp-asm.h".
17050 (PARMS): Do not use macros from bp-asm.h.
17051 (__remquo): Do not use BP_SYM.
17052 (remquo): Likewise.
17053 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17054 "bp-asm.h".
17055 (PARMS): Do not use macros from bp-asm.h.
17056 (__remquof): Do not use BP_SYM.
17057 (remquof): Likewise.
17058 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17059 "bp-asm.h".
17060 (PARMS): Do not use macros from bp-asm.h.
17061 (__remquol): Do not use BP_SYM.
17062 (remquol): Likewise.
17063 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17064 "bp-asm.h".
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (DEST): Likewise.
17067 (SRC): Likewise.
17068 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17069 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17070 "bp-asm.h".
17071 (PARMS): Do not use macros from bp-asm.h.
17072 (strlen): Do not use BP_SYM.
17073 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17074 "bp-asm.h".
17075 (PARMS): Do not use macros from bp-asm.h.
17076 (S1): Likewise.
17077 (S2): Likewise.
17078 (SIZE): Likewise.
17079 (__mpn_add_n): Do not use BP_SYM.
17080 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17081 "bp-asm.h".
17082 (PARMS): Do not use macros from bp-asm.h.
17083 (S1): Likewise.
17084 (SIZE): Likewise.
17085 (__mpn_addmul_1): Do not use BP_SYM.
17086 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17087 weak_alias.
17088 (bzero): Likewise.
17089 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17090 "bp-asm.h".
17091 (PARMS): Do not use macros from bp-asm.h.
17092 (S): Likewise.
17093 (SIZE): Likewise.
17094 (__mpn_lshift): Do not use BP_SYM.
17095 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17096 "bp-asm.h".
17097 (PARMS): Do not use macros from bp-asm.h.
17098 (DEST): Likewise.
17099 (SRC): Likewise.
17100 (LEN): Likewise.
17101 (memcpy): Likewise. Do not use BP_SYM.
17102 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17103 libc_hidden_def and weak_alias.
17104 (mempcpy): Do not use BP_SYM in weak_alias.
17105 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17106 "bp-asm.h".
17107 (PARMS): Do not use macros from bp-asm.h.
17108 (DEST): Likewise.
17109 (LEN): Likewise.
17110 [!BZERO_P] (CHR): Likewise.
17111 (memset): Likewise. Do not use BP_SYM.
17112 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17113 "bp-asm.h".
17114 (PARMS): Do not use macros from bp-asm.h.
17115 (S1): Likewise.
17116 (SIZE): Likewise.
17117 (__mpn_mul_1): Do not use BP_SYM.
17118 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17119 "bp-asm.h".
17120 (PARMS): Do not use macros from bp-asm.h.
17121 (S): Likewise.
17122 (SIZE): Likewise.
17123 (__mpn_rshift): Do not use BP_SYM.
17124 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17125 "bp-asm.h".
17126 (PARMS): Do not use macros from bp-asm.h.
17127 (STR): Likewise.
17128 (CHR): Likewise.
17129 (strchr): Likewise. Do not use BP_SYM.
17130 (index): Do not use BP_SYM in weak_alias.
17131 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17132 "bp-asm.h".
17133 (PARMS): Do not use macros from bp-asm.h.
17134 (DEST): Likewise.
17135 (SRC): Likewise.
17136 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17137 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17138 "bp-asm.h".
17139 (PARMS): Do not use macros from bp-asm.h.
17140 (strlen): Do not use BP_SYM.
17141 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17142 "bp-asm.h".
17143 (PARMS): Do not use macros from bp-asm.h.
17144 (S1): Likewise.
17145 (S2): Likewise.
17146 (SIZE): Likewise.
17147 (__mpn_sub_n): Do not use BP_SYM.
17148 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17149 "bp-asm.h".
17150 (PARMS): Do not use macros from bp-asm.h.
17151 (S1): Likewise.
17152 (SIZE): Likewise.
17153 (__mpn_submul_1): Do not use BP_SYM.
17154 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17155 "bp-asm.h".
17156 (PARMS): Do not use macros from bp-asm.h.
17157 (S1): Likewise.
17158 (S2): Likewise.
17159 (SIZE): Likewise.
17160 (__mpn_add_n): Do not use BP_SYM.
17161 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17162 weak_alias.
17163 (bzero): Likewise.
17164 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17165 "bp-asm.h".
17166 (PARMS): Do not use macros from bp-asm.h.
17167 (BLK2): Likewise.
17168 (LEN): Likewise.
17169 (memcmp): Do not use BP_SYM.
17170 (bcmp): Do not use BP_SYM in weak_alias.
17171 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17172 "bp-asm.h".
17173 (PARMS): Do not use macros from bp-asm.h.
17174 (DEST): Likewise.
17175 (SRC): Likewise.
17176 (LEN): Likewise.
17177 (memcpy): Likewise. Do not use BP_SYM.
17178 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17179 "bp-asm.h".
17180 (PARMS): Do not use macros from bp-asm.h.
17181 (DEST): Likewise.
17182 (SRC): Likewise.
17183 (LEN): Likewise.
17184 (memmove): Likewise. Do not use BP_SYM.
17185 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17186 "bp-asm.h".
17187 (PARMS): Do not use macros from bp-asm.h.
17188 (DEST): Likewise.
17189 (SRC): Likewise.
17190 (LEN): Likewise.
17191 (__mempcpy): Likewise. Do not use BP_SYM.
17192 (mempcpy): Do not use BP_SYM in weak_alias.
17193 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17194 "bp-asm.h".
17195 (PARMS): Do not use macros from bp-asm.h.
17196 (DEST): Likewise.
17197 (LEN): Likewise.
17198 [!BZERO_P] (CHR): Likewise.
17199 (memset): Likewise. Do not use BP_SYM.
17200 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17201 "bp-asm.h".
17202 (PARMS): Do not use macros from bp-asm.h.
17203 (STR2): Likewise.
17204 (strcmp): Do not use BP_SYM.
17205 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17206 "bp-asm.h".
17207 (PARMS): Do not use macros from bp-asm.h.
17208 (STR): Likewise.
17209 (DELIM): Likewise.
17210 [USE_AS_STRTOK_R] (SAVE): Likewise.
17211 (FUNCTION): Likewise. Do not use BP_SYM.
17212 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17213 aliases.
17214 (strtok_r): Likewise.
17215 (__GI___strtok_r): Likewise.
17216 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17217 (PARMS): Do not use macros from bp-asm.h.
17218 (S): Likewise.
17219 (SIZE): Likewise.
17220 (__mpn_lshift): Do not use BP_SYM.
17221 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17222 (PARMS): Do not use macros from bp-asm.h.
17223 (STR): Likewise.
17224 (CHR): Likewise.
17225 (__memchr): Do not use BP_SYM.
17226 (memchr): Do not use BP_SYM in weak_alias.
17227 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17228 (PARMS): Do not use macros from bp-asm.h.
17229 (BLK2): Likewise.
17230 (LEN): Likewise.
17231 (memcmp): Do not use BP_SYM.
17232 (bcmp): Do not use BP_SYM in weak_alias.
17233 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17234 (PARMS): Do not use macros from bp-asm.h.
17235 (S1): Likewise.
17236 (SIZE): Likewise.
17237 (__mpn_mul_1): Do not use BP_SYM.
17238 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17239 "bp-asm.h".
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (STR): Likewise.
17242 (CHR): Likewise.
17243 (__rawmemchr): Do not use BP_SYM.
17244 (rawmemchr): Do not use BP_SYM in weak_alias.
17245 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17246 (PARMS): Do not use macros from bp-asm.h.
17247 (S): Likewise.
17248 (SIZE): Likewise.
17249 (__mpn_rshift): Do not use BP_SYM.
17250 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17251 (PARMS): Do not use macros from bp-asm.h.
17252 (SIGMSK): Likewise.
17253 (__sigsetjmp): Likewise. Do not use BP_SYM.
17254 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17255 (_start): Do not use BP_SYM.
17256 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17257 (PARMS): Do not use macros from bp-asm.h.
17258 (DEST): Likewise.
17259 (SRC): Likewise.
17260 (__stpcpy): Likewise. Do not use BP_SYM.
17261 (stpcpy): Do not use BP_SYM in weak_alias.
17262 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17263 "bp-asm.h".
17264 (PARMS): Do not use macros from bp-asm.h.
17265 (DEST): Likewise.
17266 (SRC): Likewise.
17267 (LEN): Likewise.
17268 (__stpncpy): Likewise. Do not use BP_SYM.
17269 (stpncpy): Do not use BP_SYM in weak_alias.
17270 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17271 (PARMS): Do not use macros from bp-asm.h.
17272 (STR): Likewise.
17273 (CHR): Likewise.
17274 (strchr): Likewise. Do not use BP_SYM.
17275 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17276 "bp-asm.h".
17277 (PARMS): Do not use macros from bp-asm.h.
17278 (STR): Likewise.
17279 (CHR): Likewise.
17280 (__strchrnul): Likewise. Do not use BP_SYM.
17281 (strchrnul): Do not use BP_SYM in weak_alias.
17282 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17283 "bp-asm.h".
17284 (PARMS): Do not use macros from bp-asm.h.
17285 (STOP): Likewise.
17286 (strcspn): Do not use BP_SYM.
17287 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17288 "bp-asm.h".
17289 (PARMS): Do not use macros from bp-asm.h.
17290 (STR): Likewise.
17291 (STOP): Likewise.
17292 (strpbrk): Likewise. Do not use BP_SYM.
17293 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17294 "bp-asm.h".
17295 (PARMS): Do not use macros from bp-asm.h.
17296 (STR): Likewise.
17297 (CHR): Likewise.
17298 (strrchr): Likewise. Do not use BP_SYM.
17299 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17300 (PARMS): Do not use macros from bp-asm.h.
17301 (SKIP): Likewise.
17302 (strspn): Do not use BP_SYM.
17303 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17305 (STR): Likewise.
17306 (DELIM): Likewise.
17307 (SAVE): Likewise.
17308 (FUNCTION): Likewise. Do not use BP_SYM.
17309 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17310 aliases.
17311 (strtok_r): Likewise.
17312 (__GI___strtok_r): Likewise.
17313 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17314 (PARMS): Do not use macros from bp-asm.h.
17315 (S1): Likewise.
17316 (S2): Likewise.
17317 (SIZE): Likewise.
17318 (__mpn_sub_n): Do not use BP_SYM.
17319 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17320 "bp-asm.h".
17321 (PARMS): Do not use macros from bp-asm.h.
17322 (S1): Likewise.
17323 (SIZE): Likewise.
17324 (__mpn_submul_1): Do not use BP_SYM.
17325 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17326 <bp-sym.h>.
17327 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17328 and <bp-asm.h>.
17329 (PARMS): Do not use macros from bp-asm.h.
17330 (FLAGS): Likewise.
17331 (PTID): Likewise.
17332 (TLS): Likewise.
17333 (CTID): Likewise.
17334 (__clone): Do not use BP_SYM.
17335 (clone): Do not use BP_SYM in weak_alias.
17336 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17337 and <bp-asm.h>.
17338 (PARMS): Do not use macros from bp-asm.h.
17339 (LEN): Likewise.
17340 (__mmap64): Do not use BP_SYM.
17341 (mmap64): Do not use BP_SYM in weak_alias.
17342 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17343 <bp-sym.h> and <bp-asm.h>.
17344 (PARMS): Do not use macros from bp-asm.h.
17345 (__posix_fadvise64_l64): Do not use BP_SYM.
17346 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17347 (PARMS): Do not use macros from bp-asm.h.
17348 (NSOPS): Likewise.
17349 (semtimedop): Do not use BP_SYM.
17350 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17351 and <bp-asm.h>.
17352
17353 2013-02-21 Allan McRae <allan@archlinux.org>
17354
17355 * manual/message.texi (Charset conversion in gettext):
17356 Move @end statement to beginning of line.
17357
17358 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17359
17360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17361 static.
17362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17363 Likewise.
17364
17365 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17366 (denorm): Likewise.
17367 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17368 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17369
17370 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17371
17372 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17373 tail-call to the resolved function if pltexit isn't needed.
17374
17375 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17376
17377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17378 or Y being zero as being unlikely.
17379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17380 Likewise.
17381
17382 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17383
17384 * manual/nss.texi (System Databases and Name Service Switch):
17385 Remove frobnicate @pxref.
17386
17387 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17388
17389 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17390 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17391
17392 2013-02-20 Petr Machata <pmachata@redhat.com>
17393
17394 * elf/elf.h (R_ARM_TARGET1): New macro.
17395 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17396 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17397 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17398 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17399 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17400 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17401 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17402 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17403 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17404 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17405 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17406 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17407 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17408 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17409 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17410 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17411 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17412 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17413 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17414 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17415 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17416 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17417 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17418 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17419 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17420 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17421 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17422 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17423 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17424 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17425 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17426 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17427 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17428 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17429 (R_ARM_THM_GOT_BREL12): Likewise.
17430 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17431 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17432 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17433 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17434 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17435 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17436 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17437 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17438 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17439
17440 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17441
17442 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17443 __attribute_used__ to __attribute__ ((unused)).
17444
17445 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17446
17447 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17448 powerpc mpa.c.
17449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17450 comment formatting.
17451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17452
17453 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17454
17455 [BZ #13550]
17456 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17457 Remove macro.
17458 (ENTER): Remove both macro definitions.
17459 (LEAVE): Likewise.
17460 (CHECK_BOUNDS_LOW): Likewise.
17461 (CHECK_BOUNDS_HIGH): Likewise.
17462 (CHECK_BOUNDS_BOTH): Likewise.
17463 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17464 (RETURN_BOUNDED_POINTER): Likewise.
17465 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17466 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17467 (POP_ERRNO_LOCATION_RETURN): Likewise.
17468 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17469 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17470 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17471 macros.
17472 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17473 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17474 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17475 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17476 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17477 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17478 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17479 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17480 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17481 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17482 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17483 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17484 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17485 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17486 removed macros.
17487 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17488 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17489 macros.
17490 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17491 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17492 * sysdeps/i386/i586/memset.S (memset): Likewise.
17493 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17494 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17495 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17496 macros.
17497 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17498 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17499 Change uses of L(2) to L(out).
17500 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17501 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17502 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17503 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17504 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17505 removed macros.
17506 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17507 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17508 macros.
17509 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17510 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17511 (RETURN): Do not use macro LEAVE.
17512 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17513 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17514 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17515 * sysdeps/i386/i686/memset.S (memset): Likewise.
17516 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17517 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17518 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17519 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17520 Likewise.
17521 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17522 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17523 L(1_2) and L(1_3) into L(1).
17524 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17525 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17526 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17527 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17528 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17529 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17530 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17531 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17532 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17533 macros.
17534 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17535 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17536 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17537 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17538 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17539 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17540 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17541 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17542 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17543 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17544 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17545 * sysdeps/i386/strspn.S (strspn): Likewise.
17546 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17547 conditional code.
17548 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17549 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17550 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17551 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17552 L(1_3) into L(1_1).
17553 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17554 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17555 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17556 macros.
17557 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17558
17559 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17560
17561 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17562 macro.
17563
17564 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17565
17566 * math/atest-exp.c (exp_mpn): Remove ROUND.
17567 * math/atest-exp2.c (exp_mpn): Likewise.
17568 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17569
17570 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17571 * stdlib/tst-tls-atexit-lib.c: Likewise.
17572 * stdlib/tst-tls-atexit.c: Likewise.
17573
17574 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17575
17576 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17577 and __attribute_alloc_size__.
17578
17579 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17580
17581 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17582 __attribute_alloc_size__.
17583 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17584 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17585
17586 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17587
17588 * include/programs/xmalloc.h: New file.
17589 * catgets/gencat.c: Include it.
17590 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17591 * elf/pldd.c: Likewise.
17592 * iconv/iconv_charmap.c: Likewise.
17593 * iconv/iconvconfig.c: Likewise.
17594 * iconv/strtab.c: Likewise.
17595 * locale/programs/locale.c: Likewise.
17596 * locale/programs/localedef.h: Likewise.
17597 * locale/programs/simple-hash.c: Likewise.
17598 * nscd/nscd.h: Likewise.
17599 * nss/makedb.c: Likewise.
17600 * sysdeps/generic/ldconfig.h: Likewise.
17601
17602 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17603
17604 * Versions.def: Add GLIBC_2.18.
17605 * include/link.h (struct link_map): New member l_tls_dtor_count.
17606 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17607 (__call_tls_dtors): Likewise.
17608 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17609 __cxa_thread_atexit_impl.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17611 Likewise.
17612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17613 Likewise.
17614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17615 Likewise.
17616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17617 Likewise.
17618 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17620 Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17622 Likewise.
17623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17624 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17625 Likewise.
17626 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17627 (tests): Add test case tst-tls-atexit.
17628 (modules-names): Add shared library for tst-tls-atexit.
17629 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17630 (GLIBC_PRIVATE): Add __call_tls_dtors.
17631 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17632 for libstdc++.
17633 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17634 * stdlib/tst-tls-atexit.c: New test case.
17635 * stdlib/tst-tls-atexit-lib.c: New test case.
17636
17637 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17638
17639 * elf/Versions (ld): Add _dl_find_dso_for_object.
17640 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17641 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17642 (dl_open_worker): Use _dl_find_dso_for_object.
17643 * elf/dl-sym.c (do_sym): Likewise.
17644 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17645
17646 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17647
17648 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17649 Syntactic changes only.
17650 (_dl_runtime_profile): Do a tail-call to the resolved function.
17651
17652 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17653
17654 [BZ #13550]
17655 * sysdeps/x86_64/bp-asm.h: Remove file.
17656 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17657 <bp-sym.h> and <bp-asm.h>.
17658 (__clone): Do not use BP_SYM.
17659 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17660 <bp-sym.h> and <bp-asm.h>.
17661 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17662 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17663 "bp-asm.h".
17664 (_setjmp): Do not use BP_SYM.
17665 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17666 "bp-asm.h".
17667 (setjmp): Do not use BP_SYM.
17668 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17669 libc_hidden_def.
17670 (mempcpy): Do not use BP_SYM in weak_alias.
17671 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17672 "bp-asm.h".
17673 (strchr): Do not use BP_SYM.
17674 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17675 "bp-asm.h".
17676 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17677 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17678 (_start): Do not use BP_SYM.
17679 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17680 "bp-asm.h".
17681 (strcat): Do not use BP_SYM.
17682 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17683 "bp-asm.h".
17684 (STRCMP): Do not use BP_SYM.
17685 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17686 "bp-asm.h".
17687 (STRCPY): Do not use BP_SYM.
17688 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17689 "bp-asm.h".
17690 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17691 "bp-asm.h".
17692 (FUNCTION): Do not use BP_SYM.
17693 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17694 weak_alias.
17695 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17696
17697 2013-02-17 Andreas Jaeger <aj@suse.de>
17698
17699 * time/Versions: Sort entries.
17700 * string/Versions: Likewise.
17701 * resolv/Versions: Likewise.
17702 * posix/Versions: Likewise.
17703 * iconv/Versions: Likewise.
17704 * elf/Versions: Likewise.
17705 * wcsmbs/Versions: Likewise.
17706
17707 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17708
17709 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17710 loop termination condition.
17711
17712 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17713 variable to calculate EZ.
17714 (__sqr): Likewise.
17715
17716 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17717 the lower precision input.
17718
17719 2013-02-15 Joseph Myers <joseph@codesourcery.com>
17720
17721 [BZ #13550]
17722 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17723 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17724 (run-via-rtld-prefix): Do not handle %-bp tests.
17725 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17726 (all-object-suffixes): Remove .ob.
17727 (bppfx): Remove variable.
17728 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17729 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17730 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17731 [$(build-bounded) = yes] (libtype.ob): Likewise.
17732 * Makerules (elide-routines.ob): Remove variable.
17733 (do-tests-clean): Do not handle *-bp.out.
17734 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17735 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17736 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17737 (tests): Do not include $(tests-bp.out).
17738 (xtests): Do not include $(xtests-bp.out).
17739 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17740 [$(build-bounded) = yes] ($(addprefix
17741 $(objpfx),$(binaries-bounded))): Remove rule.
17742 ($(objpfx)%-bp.out): Remove rule.
17743 * config.make.in (build-bounded): Remove variable.
17744 * crypt/Makefile [$(build-bounded) = yes]
17745 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17746 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17747 append to variable.
17748 [$(build-bounded) = yes] (install-lib): Likewise.
17749 [$(build-bounded) = yes] (generated): Likewise.
17750 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17751 Remove rule.
17752 * intl/Makefile [$(build-bounded) = yes]
17753 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17754 * math/Makefile [$(build-bounded) = yes]
17755 ($(tests:%=$(objpfx)%-bp): Likewise.
17756 * misc/Makefile [$(build-bounded) = yes]
17757 ($(objpfx)tst-tsearch-bp): Likewise.
17758 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17759 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17760 Remove dependency.
17761 * string/Makefile (o-objects.ob): Remove variable.
17762 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17763 (CFLAGS-.ob): Remove variable.
17764 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17765 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17766 both definitions of variable.
17767 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17768 (ASFLAGS-.ob): Remove variable.
17769
17770 2013-02-14 Joseph Myers <joseph@codesourcery.com>
17771
17772 [BZ #13550]
17773 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17774 Remove __BOUNDED_POINTERS__ from condition.
17775 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17776 * string/bits/string2.h [!__NO_STRING_INLINES &&
17777 !__BOUNDED_POINTERS__]: Likewise.
17778 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17779 Likewise.
17780 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17781 Remove conditional code.
17782 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17783 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17784 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17785 condition.
17786
17787 [BZ #13550]
17788 * csu/libc-start.c: Do not include <bp-sym.h>.
17789 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17790 * elf/dl-open.c: Do not include <bp-sym.h>.
17791 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17792 * math/fegetenv.c: Do not include <bp-sym.h>.
17793 (fegetenv): Do not use BP_SYM in versioned symbols.
17794 * nptl/sysdeps/pthread/bits/libc-lockP.h
17795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17796 <bp-sym.h>.
17797 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17798 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17800 (__pthread_mutex_destroy): Likewise.
17801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17802 (__pthread_mutex_lock): Likewise.
17803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17804 (__pthread_mutex_trylock): Likewise.
17805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17806 (__pthread_mutex_unlock): Likewise.
17807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17808 (__pthread_mutexattr_init): Likewise.
17809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17810 (__pthread_mutexattr_destroy): Likewise.
17811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17812 (__pthread_mutexattr_settype): Likewise.
17813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17814 (__pthread_rwlock_init): Likewise.
17815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17816 (__pthread_rwlock_destroy): Likewise.
17817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17818 (__pthread_rwlock_rdlock): Likewise.
17819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17820 (__pthread_rwlock_tryrdlock): Likewise.
17821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17822 (__pthread_rwlock_wrlock): Likewise.
17823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17824 (__pthread_rwlock_trywrlock): Likewise.
17825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17826 (__pthread_rwlock_unlock): Likewise.
17827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17828 (__pthread_key_create): Likewise.
17829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17830 (__pthread_setspecific): Likewise.
17831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17832 (__pthread_getspecific): Likewise.
17833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17834 Likewise.
17835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17836 (_pthread_cleanup_push_defer): Likewise.
17837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17838 (_pthread_cleanup_pop_restore): Likewise.
17839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17840 (pthread_setcancelstate): Likewise.
17841 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17842 <bp-sym.h>.
17843 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17844 (memchr): Do not use BP_SYM in weak_alias.
17845 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17846 (fegetenv): Do not use BP_SYM in versioned symbols.
17847 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17848 (fesetenv): Do not use BP_SYM in versioned symbols.
17849 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17850 (feupdateenv): Do not use BP_SYM in versioned symbols.
17851 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17852 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17853 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17854 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17855 (open64): Do not use BP_SYM in weak_alias.
17856 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17857 (fegetenv): Do not use BP_SYM in versioned symbols.
17858 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17859 (fesetenv): Do not use BP_SYM in versioned symbols.
17860 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17861 (feupdateenv): Do not use BP_SYM in versioned symbols.
17862 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17863 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17864 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17865 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17866 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17867 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17868 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17869 <bp-sym.h>.
17870 (__libc_start_main): Do not use BP_SYM.
17871
17872 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17873
17874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17875 redundant return line.
17876 (norm): Likewise.
17877 (denorm): Likewise.
17878 (dbl_mp): Likewise.
17879 (sub_magnitudes): Likewise.
17880 (__add): Likewise.
17881 (__sub): Likewise.
17882 (__mul): Likewise.
17883 (__inv): Likewise.
17884 (__dvd): Likewise.
17885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17886 (norm): Likewise.
17887 (denorm): Likewise.
17888 (dbl_mp): Likewise.
17889 (sub_magnitudes): Likewise.
17890 (__add): Likewise.
17891 (__sub): Likewise.
17892 (__mul): Likewise.
17893 (__inv): Likewise.
17894 (__dvd): Likewise.
17895
17896 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17897 instead of __mul.
17898 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17899 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17900 (cc32): Likewise.
17901
17902 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17903 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17904 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17905 of __mul for squares.
17906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17907 function
17908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17909 Likewise.
17910 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17911 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17912
17913 2013-02-13 Joseph Myers <joseph@codesourcery.com>
17914
17915 [BZ #13550]
17916 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17917 code.
17918 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17919 prototype or function definition. Rename ubp_* variables and
17920 parameters. Remove argv definitions conditional on
17921 [__BOUNDED_POINTERS__].
17922 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17923 * elf/dl-runtime.c (_dl_fixup): Likewise.
17924 * include/set-hooks.h (RUN_HOOK): Likewise.
17925 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17926 definition.
17927 * string/strcpy.c (strcpy): Do not use __unbounded.
17928 * sysdeps/generic/frame.h (struct layout): Likewise.
17929 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17930 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17931 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17932 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17933 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17934 (__backtrace): Likewise.
17935 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17936 use __ptrvalue.
17937 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17938 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17939 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17940 Likewise.
17941 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17942 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17943 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17944 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17945 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17946 Do not use __unbounded.
17947 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17948 Rename __unboundedrlimits parameter to rlimits in prototype.
17949 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17950 Do not use __unbounded.
17951 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17952 not use __ptrvalue.
17953 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17954 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17955 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17956 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17957 __ptrvalue or __unbounded.
17958 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17959 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17960 use __unbounded.
17961 (__new_msgctl): Do not use __ptrvalue.
17962 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17963 __unbounded.
17964 (__libc_msgrcv): Do not use __ptrvalue.
17965 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17966 startup_info): Do not use __unbounded.
17967 (__libc_start_main): Likewise. Rename ubp_* variables and
17968 parameters. Remove argv definitions conditional on
17969 [__BOUNDED_POINTERS__].
17970 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17971 __ptrvalue.
17972 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17973 use __unbounded.
17974 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17975 or __ptrvalue.
17976 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17977 use __unbounded.
17978 (__new_shmctl): Do not use __ptrvalue.
17979 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17980 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17981 Likewise.
17982 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17984 (__libc_sigaction): Likewise.
17985 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17986 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17987 Likewise.
17988 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17989
17990 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
17991
17992 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
17993
17994 * string/mempcpy.c: Implement by calling memcpy.
17995
17996 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17997
17998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17999
18000 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18001 evaluation.
18002
18003 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18004 values in the mantissa.
18005
18006 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18007 minimize writes to Z.
18008 (sub_magnitudes): Simplify code a bit.
18009
18010 2013-02-12 Roland McGrath <roland@hack.frob.com>
18011
18012 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18013 from the message. The linker prefixes all warnings with that already.
18014
18015 2013-02-12 Andreas Schwab <schwab@suse.de>
18016
18017 [BZ #15078]
18018 * posix/regexec.c (extend_buffers): Add parameter min_len.
18019 (check_matching): Pass minimum needed length.
18020 (clean_state_log_if_needed): Likewise.
18021 (get_subexp): Likewise.
18022 * posix/Makefile (tests): Add bug-regex34.
18023 (bug-regex34-ENV): Define.
18024 * posix/bug-regex34.c: New file.
18025
18026 [BZ #11561]
18027 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18028 elements compare against the byte sequence of it, not its name.
18029 * posix/Makefile (tests): Add bug-regex35.
18030 (bug-regex35-ENV): Define.
18031 * posix/bug-regex35.c: New file.
18032
18033 2013-02-11 Tom de Vries <tom@codesourcery.com>
18034
18035 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18036 comment.
18037 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18038 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18039 (CHECK_EOL): Add undef.
18040
18041 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18042
18043 * bits/stdlib-bsearch.h: New file.
18044 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18045 * stdlib/stdlib.h: Likewise.
18046
18047 2013-02-11 Roland McGrath <roland@hack.frob.com>
18048
18049 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18050 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18051 declaration.
18052 * manual/search.texi (Array Search Function): Add missing const in
18053 lfind prototype.
18054 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18055 declaration to use rlim_t.
18056 (Basic Scheduling Functions): Remove erroneous const from
18057 sched_getparam prototype. Remove erroneous * from
18058 sched_get_priority_max and sched_get_priority_min prototypes.
18059 (Resource Usage): Fix summary @comment on vtimes to refer to
18060 sys/vtimes.h rather than vtimes.h.
18061 Add missing *s in vtimes prototype.
18062 (Limits on Resources): Fix ulimit prototype to return long int.
18063 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18064 prototypes to use long int rather than double.
18065 (BSD Random): Fix initstate and setstate to use char *, not void *.
18066 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18067 prototype to make second argument 'struct aiocb64 *const[]'.
18068 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18069 (Status of AIO Operations): Remove erroneous const in aio_return and
18070 aio_return64 prototypes.
18071 (Synchronizing I/O): Fix sync prototype to return void.
18072 * manual/startup.texi (Suboptions): Remove an erroneous const in
18073 getsubopt prototype.
18074 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18075 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18076 use size_t rather than int.
18077 (Scanning All Users): Likewise for getpwent_r.
18078 (Setting Groups): Add missing const to setgroups prototype.
18079 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18080 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18081 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18082 'const void *' rather than 'const char *'.
18083 (Host Address Functions): Likewise for inet_ntop.
18084 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18085 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18086 ssize_t for return value.
18087 (Sending Data): Likewise for send, sendto, sendmsg.
18088 (Socket Option Functions): Add a missing const in setsockopt prototype.
18089 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18090 use wchar_t for the argument.
18091 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18092 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18093 take no arguments.
18094 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18095 double/float/long double for second argument.
18096 Fix return types of significand, significandf, significandl.
18097 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18098 argument in fchmod prototype.
18099 (File Owner): Use uid_t and gid_t in fchown prototype.
18100 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18101 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18102 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18103 use 'const struct dirent **' as argument types to CMP function pointer
18104 argument.
18105 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18106 (File Times): Fix summary magic @comment for struct utimbuf and utime
18107 to refer to utime.h, not time.h.
18108 * manual/string.texi (Argz Functions): Add missing const in
18109 argz_extract and argz_next prototypes.
18110 (Finding Tokens in a String): Likewise for basename.
18111 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18112 (Copying and Concatenation): Fix typo in wmemmove prototype.
18113 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18114 (Signal Stack): Remove erroneous const in sigstack prototype.
18115 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18116 prototype.
18117 (Simple Calendar Time): Likewise for stime.
18118 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18119 prototype.
18120 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18121 say sys/sysctl.h instead.
18122 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18123 and vsyslog prototypes.
18124
18125 2013-02-11 Tom de Vries <tom@codesourcery.com>
18126
18127 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18128 Remove.
18129
18130 2013-02-11 Roland McGrath <roland@hack.frob.com>
18131
18132 * misc/sys/mman.h: Fix typo in mremap comment.
18133
18134 2013-02-08 Roland McGrath <roland@hack.frob.com>
18135
18136 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18137 the '\0' terminator.
18138
18139 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18140
18141 [BZ #13550]
18142 * debug/segfault.c: Don't include <bp-checks.h>.
18143 * sysdeps/generic/bp-checks.h: Remove file.
18144 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18145 (__GETDENTS): Don't use CHECK_N.
18146 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18147 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18148 (__getgroups): Don't use CHECK_N.
18149 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18150 (setgroups): Don't use CHECK_N.
18151 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18152 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18153 (__libc_msgrcv): Don't use CHECK_N.
18154 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18155 (__libc_msgsnd): Don't use CHECK_N.
18156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18157 <bp-checks.h>.
18158 (__libc_pread): Don't use CHECK_N.
18159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18160 include <bp-checks.h>.
18161 (__libc_pread64): Don't use CHECK_N.
18162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18163 include <bp-checks.h>.
18164 (__libc_pwrite): Don't use CHECK_N.
18165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18166 include <bp-checks.h>.
18167 (__libc_pwrite64): Don't use CHECK_N.
18168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18169 <bp-checks.h>.
18170 (__libc_pread): Don't use CHECK_N.
18171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18172 include <bp-checks.h>.
18173 (__libc_pread64): Don't use CHECK_N.
18174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18175 include <bp-checks.h>.
18176 (__libc_pwrite): Don't use CHECK_N.
18177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18178 include <bp-checks.h>.
18179 (__libc_pwrite64): Don't use CHECK_N.
18180 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18181 (do_pread): Don't use CHECK_N.
18182 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18183 (do_pread64): Don't use CHECK_N.
18184 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18185 (do_pwrite): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18187 (do_pwrite64): Don't use CHECK_N.
18188 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18189 (__libc_readv): Don't use CHECK_N.
18190 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18191 (semop): Don't use CHECK_N.
18192 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18193 <bp-checks.h>.
18194 (semtimedop): Don't use CHECK_N.
18195 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18196 (__libc_pread): Don't use CHECK_N.
18197 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18198 <bp-checks.h>.
18199 (__libc_pread64): Don't use CHECK_N.
18200 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18201 <bp-checks.h>.
18202 (__libc_pwrite): Don't use CHECK_N.
18203 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18204 <bp-checks.h>.
18205 (__libc_pwrite64): Don't use CHECK_N.
18206 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18207 <bp-checks.h>.
18208 (__libc_msgrcv): Don't use CHECK_N.
18209 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18210 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18211 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18212 (__libc_writev): Don't use CHECK_N.
18213
18214 2013-02-08 Roland McGrath <roland@hack.frob.com>
18215
18216 * string/strcpy.c: Removed unused variable.
18217
18218 * Makeconfig (+sysdep-includes): Define with := rather than =.
18219 Use an existing include/ subdir of each sysdeps dir before it.
18220
18221 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18222
18223 * nscd/connection.c (register_traced_file): Comment function.
18224 [HAVE_INOTIFY] (union __inev): Define.
18225 [HAVE_INOTIFY] (inotify_check_files): New function.
18226 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18227 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18228 clear_db_cache.
18229 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18230
18231 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18232
18233 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18234 loaded if not already and that a failure is permanent.
18235
18236 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18237
18238 [BZ #15006]
18239 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18240 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18241
18242 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18243
18244 [BZ #13550]
18245 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18246 (CHECK_1_NULL_OK): Likewise.
18247 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18248 (__fxstat): Do not use CHECK_1.
18249 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18250 <bp-checks.h>.
18251 (___fxstat64): Do not use CHECK_1.
18252 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18253 <bp-checks.h>.
18254 (__fxstatat): Do not use CHECK_1.
18255 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18256 <bp-checks.h>.
18257 (__fxstatat64): Do not use CHECK_1.
18258 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18259 <bp-checks.h>.
18260 (__fxstat): Do not use CHECK_1.
18261 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18262 <bp-checks.h>.
18263 (__fxstatat): Do not use CHECK_1.
18264 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18265 <bp-checks.h>.
18266 (__getresgid): Do not use CHECK_1.
18267 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18268 <bp-checks.h>.
18269 (__getresuid): Do not use CHECK_1.
18270 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18271 <bp-checks.h>.
18272 (__lxstat): Do not use CHECK_1.
18273 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18274 <bp-checks.h>.
18275 (__old_msgctl): Do not use CHECK_1.
18276 (__new_msgctl): Likewise.
18277 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18278 <bp-checks.h>.
18279 (__new_setrlimit): Do not use CHECK_1.
18280 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18281 <bp-checks.h>.
18282 (__old_shmctl): Do not use CHECK_1.
18283 (__new_shmctl): Likewise.
18284 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18285 <bp-checks.h>.
18286 (__xstat): Do not use CHECK_1.
18287 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18288 (__lxstat): Do not use CHECK_1.
18289 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18290 <bp-checks.h>.
18291 (___lxstat64): Do not use CHECK_1.
18292 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18293 (__old_msgctl): Do not use CHECK_1.
18294 (__new_msgctl): Likewise.
18295 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18296 <bp-checks.h>.
18297 (__gettimeofday): Do not use CHECK_1.
18298 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18299 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18300 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18301 <bp-checks.h>.
18302 (__gettimeofday): Do not use CHECK_1.
18303 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18304 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18305 (__new_shmctl): Do not use CHECK_1.
18306 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18307 <bp-checks.h>.
18308 (do_sigtimedwait): Do not use CHECK_1.
18309 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18310 <bp-checks.h>.
18311 (do_sigwaitinfo): Do not use CHECK_1.
18312 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18313 <bp-checks.h>.
18314 (msgctl): Do not use CHECK_1.
18315 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18316 <bp-checks.h>.
18317 (shmctl): Do not use CHECK_1.
18318 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18319 (ustat): Do not use CHECK_1.
18320 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18321 <bp-checks.h>.
18322 (__fxstat): Do not use CHECK_1.
18323 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18324 <bp-checks.h>.
18325 (__fxstatat): Do not use CHECK_1.
18326 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18327 <bp-checks.h>.
18328 (__lxstat): Do not use CHECK_1.
18329 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18330 <bp-checks.h>.
18331 (__xstat): Do not use CHECK_1.
18332 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18333 (__xstat): Do not use CHECK_1.
18334 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18335 (___xstat64): Do not use CHECK_1.
18336
18337 [BZ #13550]
18338 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18339 definitions.
18340 (CHECK_BOUNDS_HIGH): Likewise.
18341 * string/strcpy.c: Do not include <bp-checks.h>.
18342 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18343
18344 2013-02-07 Roland McGrath <roland@hack.frob.com>
18345
18346 * nscd/nscd-client.h (__nscd_drop_map_ref):
18347 Add __attribute__ ((unused)).
18348 * nis/nss-nisplus.h (niserr2nss): Likewise.
18349
18350 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18351 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18352
18353 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18354 Remove inline keyword.
18355 * include/rounding-mode.h (round_away): Likewise.
18356 * libio/wfileops.c (adjust_wide_data): Likewise.
18357 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18358 (__m128i_strloadu_tolower): Likewise.
18359 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18360 (__m128i_strloadu_tolower): Likewise.
18361 * time/mktime.c (ydhms_diff): Likewise.
18362 * locale/elem-hash.h (elem_hash): Likewise.
18363 * locale/setlocale.c (setdata): Likewise.
18364 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18365 (re_string_wchar_at): Likewise.
18366 (bitset_not, bitset_merge, bitset_mask): Likewise.
18367 [!(__GNUC__ > 3)] (inline): Remove macro.
18368 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18369 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18370 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18371 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18372 * string/memcmp.c (memcmp_bytes): Likewise.
18373 * locale/programs/locarchive.c (compute_hashval): Likewise.
18374 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18375 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18376 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18377 * nss/getent.c (print_rpc, print_protocols): Likewise.
18378 (print_passwd, print_group, print_aliases): Likewise.
18379 * nis/nss-nisplus.h (niserr2nss): Likewise.
18380 * nscd/connections.c (restart_p): Likewise.
18381 Change return type to bool.
18382
18383 2013-02-05 Roland McGrath <roland@hack.frob.com>
18384
18385 * Makeconfig (all-Depend-files): Add existing
18386 $(sorted-subdirs:=/Depend) files.
18387 (all-subdirs): Remove nss.
18388 * sysdeps/unix/inet/Subdirs: Add it here instead.
18389 * hesiod/Depend: New file.
18390
18391 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18392 instead of calling alloca.
18393
18394 * io/lseek.c (__lseek): Rename to __libc_lseek.
18395 Define __lseek as an alias.
18396
18397 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18398
18399 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18400
18401 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18402 else clause and remove check for non-standard endianness.
18403
18404 2013-02-04 David S. Miller <davem@davemloft.net>
18405
18406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18407
18408 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18409
18410 [BZ #13550]
18411 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18412 (__ubp_memchr): Remove prototype.
18413 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18414 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18415 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18416 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18417 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18418 Remove alias.
18419 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18420 (__ubp_memchr): Likewise.
18421 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18422 (__ubp_memchr): Likewise.
18423 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18424 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18425 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18426 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18427 CHECK_STRING.
18428 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18429 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18430 (__getcwd): Do not use CHECK_STRING.
18431 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18432 <bp-checks.h>.
18433 (__real_chown): Do not use CHECK_STRING.
18434 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18435 <bp-checks.h>.
18436 (fchownat): Do not use CHECK_STRING.
18437 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18438 CHECK_STRING.
18439 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18440 <bp-checks.h>.
18441 (__lchown): Do not use CHECK_STRING.
18442 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18443 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18444 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18445 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18447 include <bp-checks.h>.
18448 (truncate64): Do not use CHECK_STRING.
18449 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18450 <bp-checks.h>.
18451 (__real_chown): Do not use CHECK_STRING.
18452 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18453 <bp-checks.h>.
18454 (__lchown): Do not use CHECK_STRING.
18455 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18456 <bp-checks.h>.
18457 (__chown): Do not use CHECK_STRING.
18458 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18459 <bp-checks.h>.
18460 (truncate64): Do not use CHECK_STRING.
18461 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18462 Likewise.
18463 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18464 (__xmknod): Do not use CHECK_STRING.
18465 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18466 <bp-checks.h>.
18467 (__xmknodat): Do not use CHECK_STRING.
18468 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18469 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18470
18471 2013-02-04 Andreas Schwab <schwab@suse.de>
18472
18473 [BZ #14142]
18474 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18475 * include/netdb.h: Likewise for h_errno.
18476 * elf/tst-stackguard1.c: Include <tls.h>.
18477
18478 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18479
18480 * elf/link.h (struct link_map): Extend the l_addr comment.
18481 * include/link.h (struct link_map): Likewise.
18482
18483 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18484
18485 [BZ #13550]
18486 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18487 (BOUNDED_1): Remove macro.
18488 * debug/backtrace.c: Don't include <bp-checks.h>.
18489 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18490 (__backtrace): Likewise.
18491 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18492 <bp-checks.h>.
18493 (__backtrace): Don't use BOUNDED_1.
18494 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18495 <bp-checks.h>.
18496 (__backtrace): Don't use BOUNDED_1.
18497 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18498 (__backtrace): Don't use BOUNDED_1.
18499 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18500 (shmat): Don't use BOUNDED_N.
18501
18502 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18503
18504 [BZ #13550]
18505 * sysdeps/generic/bp-start.h: Remove file.
18506 * csu/libc-start.c: Don't include <bp-start.h>.
18507 (LIBC_START_MAIN): Set up __environ directly instead of using
18508 INIT_ARGV_and_ENVIRON.
18509 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18510 <bp-start.h>.
18511
18512 [BZ #13550]
18513 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18514 definitions.
18515 (CHECK_FCNTL): Likewise.
18516 (CHECK_N_PAGES): Likewise.
18517
18518 [BZ #13550]
18519 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18520 definitions.
18521 (CHECK_SIGSET_NULL_OK): Likewise.
18522 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18523 <bp-checks.h>.
18524 (sigpending): Don't use CHECK_SIGSET.
18525 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18526 <bp-checks.h>.
18527 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18528 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18529 <bp-checks.h>.
18530 (do_sigsuspend): Don't use CHECK_SIGSET.
18531 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18532 use CHECK_SIGSET.
18533 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18534 (do_sigwait): Don't use CHECK_SIGSET.
18535 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18536 use CHECK_SIGSET.
18537 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18538 include <bp-checks.h>.
18539 (sigpending): Don't use CHECK_SIGSET.
18540 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18541 include <bp-checks.h>.
18542 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18543 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18544 <bp-checks.h>.
18545 (sigpending): Don't use CHECK_SIGSET.
18546 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18547 <bp-checks.h>.
18548 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18549
18550 [BZ #13550]
18551 * sysdeps/generic/bp-semctl.h: Remove file.
18552 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18553 <bp-checks.h> and <bp-semctl.h>.
18554 (__old_semctl): Don't use CHECK_SEMCTL.
18555 (__new_semctl): Likewise.
18556 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18557 and <bp-semctl.h>.
18558 (__old_semctl): Don't use CHECK_SEMCTL.
18559 (__new_semctl): Likewise.
18560 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18561 <bp-checks.h> and <bp-semctl.h>.
18562 (__old_semctl): Don't use CHECK_SEMCTL.
18563 (__new_semctl): Likewise.
18564 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18565 <bp-checks.h> and <bp-semctl.h>.
18566 (semctl): Don't use CHECK_SEMCTL.
18567
18568 [BZ #13550]
18569 * Makerules (elide-bp-thunks): Remove variable.
18570 (elide-routines.oS): Don't use $(elide-bp-thunks).
18571 (elide-routines.os): Likewise.
18572 (elide-routines.o): Likewise.
18573 (elide-routines.op): Likewise.
18574 (elide-routines.og): Likewise.
18575 (objects): Don't use $(bp-thunks).
18576 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18577 include.
18578 (common-generated): Do not add s-proto-bp.d.
18579 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18580 (int): Likewise.
18581 (typ): Likewise.
18582 Do not generate makefile rules for bounded-pointer thunks.
18583 * sysdeps/generic/bp-thunks.h: Remove file.
18584 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18585 * sysdeps/unix/s-proto-bp.S: Likewise.
18586
18587 [BZ #15062]
18588 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18589 parts of result separately when argument is not close to line from
18590 -i to i and one part of argument is small.
18591 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18592 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18593 * math/libm-test.inc (cacos_test): Add more tests.
18594 (casin_test): Likewise.
18595 (casinh_test): Likewise.
18596 * sysdeps/i386/fpu/libm-test-ulps: Update.
18597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18598
18599 2013-01-31 David S. Miller <davem@davemloft.net>
18600
18601 * po/de.po: Update from translation team.
18602
18603 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18604
18605 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18606
18607 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18608
18609 * configure.in (_AC_PROG_CC_C89): New definition.
18610 * configure: Regenerate.
18611
18612 * configure.in (AC_PROG_CPP): New definition.
18613 * configure: Regenerate.
18614
18615 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18616
18617 * debug/tst-backtrace.h: New file.
18618 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18619 (ret): Remove variable.
18620 (x): Likewise.
18621 (FAIL): Remove macro.
18622 (NO_INLINE): Likewise.
18623 (fn1): Use match function instead of strstr.
18624 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18625 (ret): Remove variable.
18626 (x): Likewise.
18627 (FAIL): Remove macro.
18628 (NO_INLINE): Likewise.
18629 (fn): Use match function instead of strstr.
18630 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18631 (ret): Remove variable.
18632 (x): Likewise.
18633 (FAIL): Remove macro.
18634 (NO_INLINE): Likewise.
18635 (handle_signal): Use match function instead of strstr.
18636 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18637 (ret): Remove variable.
18638 (x): Likewise.
18639 (FAIL): Remove macro.
18640 (NO_INLINE): Likewise.
18641 (handle_signal): Use match function instead of strstr.
18642
18643 2013-01-23 Roland McGrath <roland@hack.frob.com>
18644
18645 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18646
18647 2013-01-23 David S. Miller <davem@davemloft.net>
18648
18649 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18650 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18651 argument of CAS if possible.
18652 * sysdeps/sparc/sparc64/bits/atomic.h
18653 (__arch_compare_and_exchange_val_32_acq): Likewise.
18654 (__arch_compare_and_exchange_val_64_acq): Likewise.
18655
18656 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18657
18658 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18659 * sysdeps/posix/ulimit.c: ... this.
18660 Include <limits.h>.
18661 * sysdeps/unix/bsd/ulimit.c: Remove file.
18662
18663 2013-01-23 Adam Conrad <adconrad@0c3.net>
18664
18665 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18666 (LDFLAGS-tst-array5): Likewise.
18667
18668 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18669
18670 [BZ #15036]
18671 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18672 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18673 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18674 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18675
18676 2013-01-21 David S. Miller <davem@davemloft.net>
18677
18678 * sysdeps/sparc/backtrace.c: New file.
18679 * sysdeps/sparc/sparc32/backtrace.h: New file.
18680 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18681 * sysdeps/sparc/sparc64/backtrace.h: New file.
18682 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18683 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18684 -funwind-tables.
18685
18686 2013-01-21 Andreas Schwab <schwab@suse.de>
18687
18688 [BZ #15020]
18689 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18690 closed its stdout.
18691
18692 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18693
18694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18695 "mpa2.h".
18696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18697
18698 2013-01-18 Joseph Myers <joseph@codesourcery.com>
18699 Mark Mitchell <mark@codesourcery.com>
18700 Tom de Vries <tom@codesourcery.com>
18701 Paul Pluzhnikov <ppluzhnikov@google.com>
18702
18703 * debug/tst-backtrace2.c: New file.
18704 * debug/tst-backtrace3.c: Likewise.
18705 * debug/tst-backtrace4.c: Likewise.
18706 * debug/tst-backtrace5.c: Likewise.
18707 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18708 (CFLAGS-tst-backtrace3.c): Likewise.
18709 (CFLAGS-tst-backtrace4.c): Likewise.
18710 (CFLAGS-tst-backtrace5.c): Likewise.
18711 (LDFLAGS-tst-backtrace2): Likewise.
18712 (LDFLAGS-tst-backtrace3): Likewise.
18713 (LDFLAGS-tst-backtrace4): Likewise.
18714 (LDFLAGS-tst-backtrace5): Likewise.
18715 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18716 tst-backtrace4 and tst-backtrace5.
18717
18718 2013-01-18 Anton Blanchard <anton@samba.org>
18719 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18720
18721 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18722 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18723 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18724 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18726 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18727 "+r" and remove output regs list as redundant. Add explicit inline
18728 asm to specify register of return val to work around compiler codegen
18729 bug. Remove (int) cast on return value. Add return type parameter to
18730 use in macro so that this macro does not truncate return value for
18731 64-bit values.
18732 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18733 pass to INTERNAL_VSYSCALL_NCS.
18734 (INLINE_VSYSCALL): Add 'long int' as return type to
18735 INTERNAL_VSYSCALL_NCS macro invocation.
18736 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18737 INTERNAL_VSYSCALL_NCS macro invocation.
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18739
18740 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18741
18742 [BZ #14496]
18743 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18744 Fix application of SIMD FP exception mask.
18745
18746 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18747 mp_no from a power of two.
18748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18749 __mpexp_twomm1. Use __pow_mp.
18750
18751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18752 multiplication.
18753
18754 2013-01-17 David S. Miller <davem@davemloft.net>
18755
18756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18757
18758 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18759
18760 [BZ #15023]
18761 * include/complex.h: Condition contents on [!_COMPLEX_H].
18762 (__kernel_casinhf): New prototype.
18763 (__kernel_casinh): Likewise.
18764 (__kernel_casinhl): Likewise.
18765 * math/Makefile (libm_calls): Add k_casinh.
18766 * math/k_casinh.c: New file.
18767 * math/k_casinhf.c: Likewise.
18768 * math/k_casinhl.c: Likewise.
18769 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18770 finite nonzero arguments.
18771 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18772 finite nonzero arguments.
18773 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18774 finite nonzero arguments.
18775 * math/s_casinh.c: Do not include <float.h>.
18776 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18777 * math/s_casinhf.c: Do not include <float.h>.
18778 (__casinhf): Move code for finite nonzero arguments to
18779 k_casinhf.c.
18780 * math/s_casinhl.c: Do not include <float.h>.
18781 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18782 redefine.
18783 (__casinhl): Move code for finite nonzero arguments to
18784 k_casinhl.c.
18785 * math/libm-test.inc (cacos_test): Add more tests.
18786 * sysdeps/i386/fpu/libm-test-ulps: Update.
18787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788
18789 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18790
18791 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18792 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18793 [!HAVE_MREMAP]: Remove [defined linux] case.
18794 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18795
18796 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18797
18798 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18799
18800 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
18801
18802 * elf/elf.h (R_386_SIZE32): New relocation.
18803 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18804 R_386_SIZE32.
18805 (elf_machine_rela): Likewise.
18806 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18807 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18808
18809 2013-01-17 Joseph Myers <joseph@codesourcery.com>
18810
18811 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18812 (FP_FAST_FMA): Do not define.
18813 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18814 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18815 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18816 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18817 !_SOFT_FLOAT]: Likewise.
18818 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18819 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18820 value.
18821 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18822 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18823 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18824 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18825 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18826 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18827 file.
18828
18829 2013-01-16 Andreas Schwab <schwab@suse.de>
18830
18831 [BZ #14327]
18832 * include/stdlib.h (__mktemp): Add declaration.
18833 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18834 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18835
18836 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18837
18838 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18839 definitions.
18840 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18841 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18842 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18843 definitions here.
18844 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18845 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18846 definitions.
18847 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18848 and ONE.
18849 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18850 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18851 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18852 definitions.
18853 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18854 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18855 definitions.
18856 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18857
18858 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18859
18860 2013-01-15 David S. Miller <davem@davemloft.net>
18861
18862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18863 trunc{,f} to libm-sysdep_routes.
18864 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18866 file.
18867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18869 file.
18870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18871 file.
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18874 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18875 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18876 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18877 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18878 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18879 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18880
18881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18882 nearbyint{,f} to libm-sysdep_routes.
18883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18885 New file.
18886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18887 file.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18889 New file.
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18891 file.
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18894 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18895 file.
18896 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18897 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18898 file.
18899 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18900 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18902
18903 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18904 libc_feholdexcept and libc_fesetenv.
18905
18906 2013-01-15 Mike Frysinger <vapier@gentoo.org>
18907
18908 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18909
18910 2013-01-14 David S. Miller <davem@davemloft.net>
18911
18912 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18913 (SPARC_ASM_VIS2_IFUNC): Likewise.
18914 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18916 use of 'siam' instruction.
18917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18918 Likewise.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18920 Likewise.
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18922 Likewise.
18923 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18925 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18928 file.
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18930 file.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18932 file.
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18934 file.
18935 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18937 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18940 new VIS2 routines.
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18944 Likewise.
18945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18950 routines to libm-sysdep_routines.
18951 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18952
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18954 fdim/fdimf to libm-sysdep_routines.
18955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18956 file.
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18959 file.
18960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18963 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18964 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18965 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18966 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18967
18968 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18969
18970 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18971 to optimize copies.
18972
18973 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18974 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18975 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18976
18977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18978 local variable MPTWO.
18979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18980 Likewise.
18981
18982 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18983
18984 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18985 GLOB_NOESCAPE.
18986
18987 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18988
18989 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18990
18991 2013-01-13 Mike Frysinger <vapier@gentoo.org>
18992
18993 * manual/pattern.texi (glob_t): Document gl_flags.
18994 (glob64_t): Likewise.
18995
18996 2013-01-11 David S. Miller <davem@davemloft.net>
18997
18998 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18999 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19000 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19001 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19002 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19003 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19004 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19005 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19006 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19007 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19008 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19009 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19010 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19011
19012 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19013 sparc V9 rather than using V8 code.
19014 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19015 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19016
19017 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19018 Move to...
19019 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19020 Here.
19021
19022 2013-01-11 Roland McGrath <roland@hack.frob.com>
19023
19024 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19025 not in the main loop.
19026 * configure: Regenerated.
19027
19028 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19029
19030 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19031 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19032 to just #else.
19033 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19034 [!__GLIBC_HAVE_LONG_LONG] case.
19035 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19036 condition to just #else.
19037 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19038 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19039 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19040 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19041 unconditional.
19042 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19043 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19044 #elif condition to just #else.
19045 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19046 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19047 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19048 #elif condition to just #else.
19049
19050 2013-01-11 Steve Ellcey <sellcey@mips.com>
19051
19052 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19053 (EF_MIPS_ARCH_64): Fix value.
19054 (EF_MIPS_ARCH_32R2): New.
19055 (EF_MIPS_ARCH_64R2): New.
19056
19057 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19058
19059 * Makeconfig (+link-pie-before-libc): New.
19060 (+link-pie-after-libc): Likewise.
19061 (+link-pie-tests): Likewise.
19062 (+link-pie): Rewritten.
19063 (link-before-libc): Remove $(config-LDFLAGS).
19064 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19065 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19066 (config-LDFLAGS): Renamed to ...
19067 (rtld-LDFLAGS): This.
19068 (rtld-tests-LDFLAGS): New macro.
19069 (link-libc-rpath-link): Likewise.
19070 (link-libc-tests-rpath-link): Likewise.
19071 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19072 (link-libc): Prepand $(link-libc-rpath-link).
19073 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19074 (test-program-prefix): New macro.
19075 (test-via-rtld-prefix): Likewise.
19076 (test-program-cmd): Likewise.
19077 (host-test-program-cmd): Likewise.
19078 * Makefile ($(common-objpfx)testrun.sh): Replace
19079 $(run-program-prefix) with $(test-program-prefix).
19080 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19081 $(rtld-LDFLAGS).
19082 ($(common-objpfx)shlib.lds): Likewise.
19083 (build-module-helper): Likewise.
19084 ($(common-objpfx)format.lds): Likewise.
19085 * Rules (binaries-pie-tests): New.
19086 (binaries-pie-notests): Likewise.
19087 (binaries-pie): Rewritten.
19088 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19089 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19090 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19091 (make-test-out): Replace $(host-built-program-cmd) with
19092 $(host-test-program-cmd).
19093 * config.make.in (build-hardcoded-path-in-tests): New variable.
19094 * configure.in (--enable-hardcoded-path-in-tests): New configure
19095 option.
19096 (hardcoded_path_in_tests): New AC_SUBST.
19097 * configure: Regenerated.
19098 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19099 $(built-program-cmd) with $(test-program-cmd).
19100 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19101 (test_program_cmd): This.
19102 * elf/Makefile ($(objpfx)order.out): Run test with
19103 $(test-program-prefix).
19104 ($(objpfx)order2.out): Likewise.
19105 ($(objpfx)tst-initorder.out): Likewise.
19106 ($(objpfx)tst-initorder2.out): Likewise.
19107 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19108 $(test-program-cmd).
19109 ($(objpfx)tst-array1-static.out): Likewise.
19110 ($(objpfx)tst-array2.out): Likewise.
19111 ($(objpfx)tst-array3.out): Likewise.
19112 ($(objpfx)tst-array4.out): Likewise.
19113 ($(objpfx)tst-array5.out): Likewise.
19114 ($(objpfx)tst-array5-static.out): Likewise.
19115 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19116 $(test-program-cmd).
19117 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19118 $(run-program-prefix) with $(test-program-prefix).
19119 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19120 (test_program_prefix): This.
19121 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19122 $(run-program-prefix) with $(test-program-prefix).
19123 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19124 (test_program_prefix): This.
19125 * iconvdata/tst-tables.sh: Likewise.
19126 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19127 $(run-program-prefix) with $(test-program-prefix).
19128 ($(objpfx)tst-translit.out): Likewise.
19129 ($(objpfx)tst-gettext2.out): Likewise.
19130 ($(objpfx)tst-gettext4.out): Likewise.
19131 ($(objpfx)tst-gettext6.out): Likewise.
19132 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19133 (test_program_prefix): This.
19134 * intl/tst-gettext2.sh: Likewise.
19135 * intl/tst-gettext4.sh Likewise.
19136 * intl/tst-gettext6.sh: Likewise.
19137 * intl/tst-translit.sh: Likewise.
19138 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19139 with $(test-program-cmd).
19140 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19141 $(run-program-prefix) with $(test-program-prefix).
19142 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19143 (test_program_prefix): This.
19144 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19145 $(run-program-prefix) with $(test-program-prefix).
19146 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19147 (test_program_prefix): This.
19148 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19149 * posix/Makefile ($(objpfx)globtest.out): Replace
19150 $(run-via-rtld-prefix) and $(test-wrapper) with
19151 $(test-program-prefix) and $(test-via-rtld-prefix).
19152 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19153 $(test-program-prefix).
19154 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19155 $(host-test-program-cmd).
19156 (tst-spawn-ARGS): Likewise.
19157 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19158 $(test-program-prefix).
19159 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19160 (test_via_rtld_prefix): This.
19161 (test_wrapper): Renamed to ...
19162 (test_program_prefix): This.
19163 (run_program_prefix): Replaced by test_program_prefix.
19164 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19165 (test_program_prefix): This.
19166 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19167 with $(host-test-program-cmd).
19168 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19169 $(run-program-prefix) with $(test-program-prefix).
19170 ($(objpfx)tst-printf.out): Likewise.
19171 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19172 $(test-program-cmd).
19173 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19174 (test_program_prefix): This.
19175 * stdio-common/tst-unbputc.sh: Likewise.
19176 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19177 $(run-program-prefix) with $(test-program-prefix).
19178 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19179 (test_program_prefix): This.
19180 * string/Makefile ($(objpfx)tst-svc.out): Replace
19181 $(built-program-cmd) with $(test-program-cmd).
19182
19183 2013-01-11 Andreas Jaeger <aj@suse.de>
19184
19185 [BZ #15003]
19186 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19187 value. Sync with Linux 3.7.
19188
19189 2013-01-10 David S. Miller <davem@davemloft.net>
19190
19191 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19192 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19193 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19194
19195 2013-01-10 Roland McGrath <roland@hack.frob.com>
19196
19197 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19198 never set.
19199 * configure: Regenerated.
19200
19201 2013-01-10 David S. Miller <davem@davemloft.net>
19202
19203 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19204 sparc V9 rather than using V8 code.
19205 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19206 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19207
19208 2013-01-10 Roland McGrath <roland@hack.frob.com>
19209
19210 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19211 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19212 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19213 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19214 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19215 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19216 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19217 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19218 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19219 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19220 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19221 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19222 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19223 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19224 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19225 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19226 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19227 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19228 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19229 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19230 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19231 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19232 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19233 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19234 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19235 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19236 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19237
19238 2013-01-10 David S. Miller <davem@davemloft.net>
19239
19240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19241
19242 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19243
19244 * posix/Makefile (tests-static): New variable.
19245 (tests): Add $(tests-static).
19246 (tst-exec-static-ARGS): New variable.
19247 (tst-spawn-static-ARGS): Likewise.
19248 * posix/tst-exec-static.c: New file.
19249 * posix/tst-spawn-static.c: Likewise.
19250 * posix/tst-exec.c: Support run directly.
19251 * posix/tst-spawn.c: Likewise.
19252
19253 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19254
19255 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19256 long.
19257 * math/bits/mathcalls.h (llrint): Likewise.
19258 (llround): Likewise.
19259 * stdlib/stdlib.h (struct drand48_data): Likewise.
19260 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19261 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19262 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19263 Likewise.
19264 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19265 Likewise.
19266 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19267 (elf_greg_t): Likewise.
19268 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19269 (__jmp_buf): Likewise.
19270 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19271 definitions.
19272 (llrint): Likewise, for all definitions.
19273 (llrintl): Likewise.
19274
19275 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19276 Remove [__GNUC__] condition.
19277 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19278 condition to just [__USE_ISOC99].
19279 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19280
19281 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19282
19283 [BZ #14200]
19284 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19285 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19286 defined.
19287 (_POSIX_V6_ILP32_OFF32): Likewise.
19288 (_XBS5_ILP32_OFF32): Likewise.
19289 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19290 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19291
19292 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19293
19294 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19295
19296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19297 doubles __mpexp_twomm1. Adjust usage.
19298 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19299 Remove.
19300
19301 2013-01-10 Andreas Schwab <schwab@suse.de>
19302
19303 [BZ #14964]
19304 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19305 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19306
19307 2013-01-09 David S. Miller <davem@davemloft.net>
19308
19309 [BZ #15003]
19310 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19311 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19312 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19313 TCP_FASTOPEN): Define.
19314 (tcp_repair_opt): New structure.
19315 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19316 enum values.
19317 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19318 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19319 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19320 (tcp_cookie_transactions): New structure.
19321
19322 2013-01-09 Anton Blanchard <anton@samba.org>
19323
19324 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19325 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19326 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19327 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19328
19329 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19330
19331 * include/features.h (__USE_ANSI): Remove.
19332
19333 2013-01-09 Roland McGrath <roland@hack.frob.com>
19334
19335 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19336
19337 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19338
19339 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19340
19341 * sysdeps/s390/fpu/libm-test-ulps: Update.
19342
19343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19344
19345 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19346 (__acr): Likewise.
19347 (__cpy): Likewise.
19348 (norm): Likewise.
19349 (denorm): Likewise.
19350 (__mp_dbl): Likewise.
19351 (__dbl_mp): Likewise.
19352 (add_magnitudes): Likewise.
19353 (sub_magnitudes): Likewise.
19354 (__add): Likewise.
19355 (__sub): Likewise.
19356 (__mul): Likewise.
19357 (__inv): Likewise.
19358 (__dvd): Likewise.
19359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19360 (__acr): Likewise.
19361 (__cpy): Likewise.
19362 (norm): Likewise.
19363 (denorm): Likewise.
19364 (__mp_dbl): Likewise.
19365 (__dbl_mp): Likewise.
19366 (add_magnitudes): Likewise.
19367 (sub_magnitudes): Likewise.
19368 (__add): Likewise.
19369 (__sub): Likewise.
19370 (__mul): Likewise.
19371 (__inv): Likewise.
19372 (__dvd): Likewise.
19373 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19374 (__acr): Likewise.
19375 (__cpy): Likewise.
19376 (norm): Likewise.
19377 (denorm): Likewise.
19378 (__mp_dbl): Likewise.
19379 (__dbl_mp): Likewise.
19380 (add_magnitudes): Likewise.
19381 (sub_magnitudes): Likewise.
19382 (__add): Likewise.
19383 (__sub): Likewise.
19384 (__mul): Likewise.
19385 (__inv): Likewise.
19386 (__dvd): Likewise.
19387
19388 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19389
19390 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19391 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19392 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19393 2 && __USE_EXTERN_INLINES]: Likewise.
19394
19395 2013-01-08 Andreas Jaeger <aj@suse.de>
19396
19397 [BZ# 14985]
19398 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19399 Remove.
19400 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19401 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19402
19403 2013-01-07 Anton Blanchard <anton@samba.org>
19404
19405 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19406 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19407 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19408 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19409 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19410 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19411 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19412 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19413 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19414 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19415 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19416 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19417 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19418 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19419 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19420 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19421 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19422 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19423 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19424 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19425 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19426 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19427 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19428 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19429 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19430 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19431 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19432 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19433 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19434 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19435 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19437 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19438 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19439 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19440 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19441 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19442 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19443 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19444 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19445 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19446 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19447 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19448
19449 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19450
19451 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19452 (__MALLOC_PMT): Likewise.
19453 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19454 [__GNUC__], only on [_LIBC].
19455 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19456 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19457 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19458 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19459 forward declaration.
19460 (realloc_hook_ini): Likewise.
19461 (memalign_hook_ini): Likewise.
19462 (__libc_memalign): Do not use __MALLOC_PMT in variable
19463 declaration.
19464 (__libc_valloc): Likewise.
19465 (__libc_pvalloc): Likewise.
19466 (__libc_calloc): Likewise.
19467 (__posix_memalign): Likewise.
19468
19469 [BZ #14996]
19470 * math/s_casinh.c: Include <float.h>.
19471 (__casinh): Do not do computation with squaring and square root
19472 for large arguments.
19473 * math/s_casinhf.c: Include <float.h>.
19474 (__casinhf): Do not do computation with squaring and square root
19475 for large arguments.
19476 * math/s_casinhl.c: Include <float.h>.
19477 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19478 (__casinhl): Do not do computation with squaring and square root
19479 for large arguments.
19480 * math/libm-test.inc (casin_test): Add more tests.
19481 (casinh_test): Likewise.
19482 * sysdeps/i386/fpu/libm-test-ulps: Update.
19483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19484
19485 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19486
19487 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19488 (__x86_64_raw_data_cache_size): Likewise.
19489 (__x86_64_data_cache_size_half): Likewise.
19490 (__x86_64_raw_data_cache_size_half): Likewise.
19491 (__x86_64_shared_cache_size): Likewise.
19492 (__x86_64_raw_shared_cache_size): Likewise.
19493 (__x86_64_shared_cache_size_half): Likewise.
19494 (__x86_64_raw_shared_cache_size_half): Likewise.
19495 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19496 to ...
19497 (__x86_data_cache_size): This.
19498 (__x86_64_raw_data_cache_size): Renamed to ...
19499 (__x86_raw_data_cache_size): This.
19500 (__x86_64_data_cache_size_half): Renamed to ...
19501 (__x86_data_cache_size_half): This.
19502 (__x86_64_raw_data_cache_size_half): Renamed to ...
19503 (__x86_raw_data_cache_size_half): This.
19504 (__x86_64_shared_cache_size): Renamed to ...
19505 (__x86_shared_cache_size): This.
19506 (__x86_64_raw_shared_cache_size): Renamed to ...
19507 (__x86_raw_shared_cache_size): This.
19508 (__x86_64_shared_cache_size_half): Renamed to ...
19509 (__x86_shared_cache_size_half): This.
19510 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19511 (__x86_raw_shared_cache_size_half): This.
19512 * sysdeps/x86_64/memcpy.S: Updated.
19513 * sysdeps/x86_64/memset.S: Likewise.
19514 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19515 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19516 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19517
19518 2013-01-04 David S. Miller <davem@davemloft.net>
19519
19520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19521
19522 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19523
19524 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19525 1 to avoid redefinition warning.
19526 (__USE_GNU): Don't define.
19527 (init_signaling_nan): Protoize.
19528
19529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19530
19531 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19532
19533 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19534 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19535 (__cpymn): Likewise.
19536 (norm): Remove commented code.
19537 (denorm): Likewise.
19538 (__mp_dbl): Likewise.
19539 (__inv): Likewise.
19540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19541 (__cpymn): Likewise.
19542 (norm): Remove commented code.
19543 (denorm): Likewise.
19544 (__mp_dbl): Likewise.
19545 (__inv): Likewise.
19546
19547 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19548 mp_no value for 1.0 and 2.0.
19549 (norm): Use RADIXI instead of radixi.d.
19550 (denorm): Likewise.
19551 (__mul): Use 0.0 instead of zero.d.
19552 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19553 mp_no value for 1.0 and 2.0.
19554 (norm): Use RADIXI instead of radixi.d.
19555 (denorm): Likewise.
19556 (__mul): Use 0.0 instead of zero.d.
19557
19558 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19559
19560 [BZ #14994]
19561 * math/s_casinh.c (__casinh): Reduce finite argument to first
19562 quadrant then set signs of results at the end.
19563 * math/s_casinhf.c (__casinhf): Likewise.
19564 * math/s_casinhl.c (__casinhl): Likewise.
19565 * math/libm-test.inc (casin_test): Add more tests.
19566 (casinh_test): Likewise.
19567 * sysdeps/i386/fpu/libm-test-ulps: Update.
19568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19569
19570 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19571
19572 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19573
19574 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19575
19576 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19577 declarations.
19578 (denorm): Likewise.
19579 (__mp_dbl): Likewise.
19580 (__inv): Likewise.
19581
19582 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19583 and adjust the header comment.
19584
19585 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19586 variable name from declaration.
19587
19588 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19589
19590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19591 Initialize COMMON_CPUID_INDEX_7 element.
19592 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19593 (CPUID_RTM): Likewise.
19594 (HAS_RTM): Likewise.
19595 (COMMON_CPUID_INDEX_7): New enum.
19596
19597 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19598
19599 [BZ #14981]
19600 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19601 size is zero, record memory as freed.
19602
19603 2013-01-03 Andreas Jaeger <aj@suse.de>
19604
19605 * po/ia.po: Add new Interlingua translation.
19606
19607 2012-01-03 Allan McRae <allan@archlinux.org>
19608
19609 * locale/programs/localedef.c: Fix description of '--posix' flag.
19610
19611 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19612
19613 * NEWS: Update dates in second copyright notice.
19614 * README: Update copyright dates in example.
19615 * manual/libc.texinfo: Update copyright dates.
19616 * scripts/test-installation.pl: Update copyright date in --version
19617 output.
19618
19619 * hurd/ctty-input.c: Fix copyright notice formatting.
19620 * hurd/ctty-output.c: Likewise.
19621 * hurd/dtable.c: Likewise.
19622 * hurd/hurd-raise.c: Likewise.
19623 * hurd/hurdprio.c: Likewise.
19624 * hurd/msgportdemux.c: Likewise.
19625 * misc/sys/file.h: Likewise.
19626 * misc/sys/ioctl.h: Likewise.
19627 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19628 * sysdeps/mach/hurd/chdir.c: Likewise.
19629 * sysdeps/mach/hurd/fchdir.c: Likewise.
19630 * sysdeps/mach/hurd/rename.c: Likewise.
19631 * sysdeps/mach/hurd/rmdir.c: Likewise.
19632 * sysdeps/mach/hurd/seekdir.c: Likewise.
19633 * sysdeps/mach/hurd/setsid.c: Likewise.
19634 * sysdeps/posix/wait3.c: Likewise.
19635
19636 * All files with FSF copyright notices: Update copyright dates
19637 using scripts/update-copyrights.
19638 * intl/plural.c: Regenerated.
19639 * locale/programs/charmap-kw.h: Likewise.
19640 * locale/programs/locfile-kw.h: Likewise.
19641
19642 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19643
19644 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19645 four values.
19646
19647 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19648 calculation loop and add branch prediction.
19649
19650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19651 check access beyond bounds of m1np.
19652
19653 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19654 MPTWO.
19655 (__inv): Remove local variable MPTWO to use the global
19656 constant.
19657 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19658 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19659 variable MPTWO.
19660 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19661 MP3HALFS static const.
19662
19663 2013-01-01 David S. Miller <davem@davemloft.net>
19664
19665 * po/ca.po: Update from translation team.
19666
19667 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19668
19669 * scripts/update-copyrights: New file.
19670 * Makeconfig: Reformat copyright notice.
19671 * ctype/ctype.h: Likewise.
19672 * debug/swprintf_chk.c: Likewise.
19673 * elf/dl-cache.c: Likewise.
19674 * elf/dl-debug.c: Likewise.
19675 * elf/dl-object.c: Likewise.
19676 * grp/initgroups.c: Likewise.
19677 * hurd/Makefile: Likewise.
19678 * hurd/hurd/signal.h: Likewise.
19679 * hurd/hurdfault.c: Likewise.
19680 * hurd/hurdioctl.c: Likewise.
19681 * hurd/hurdlookup.c: Likewise.
19682 * hurd/intr-msg.c: Likewise.
19683 * iconv/gconv_open.c: Likewise.
19684 * libio/swprintf.c: Likewise.
19685 * locale/lc-ctype.c: Likewise.
19686 * locale/nl_langinfo.c: Likewise.
19687 * mach/Machrules: Likewise.
19688 * mach/Makefile: Likewise.
19689 * malloc/obstack.h: Likewise.
19690 * manual/Makefile: Likewise.
19691 * manual/tsort.awk: Likewise.
19692 * misc/bits/stab.def: Likewise.
19693 * nis/nis_print_group_entry.c: Likewise.
19694 * nis/nis_table.c: Likewise.
19695 * nis/nss_compat/compat-pwd.c: Likewise.
19696 * nis/nss_compat/compat-spwd.c: Likewise.
19697 * po/Makefile: Likewise.
19698 * posix/fnmatch.c: Likewise.
19699 * posix/regex.h: Likewise.
19700 * resolv/Makefile: Likewise.
19701 * resolv/nss_dns/dns-network.c: Likewise.
19702 * resolv/res_hconf.c: Likewise.
19703 * scripts/gen-sorted.awk: Likewise.
19704 * soft-fp/soft-fp.h: Likewise.
19705 * stdio-common/printf.h: Likewise.
19706 * stdlib/monetary.h: Likewise.
19707 * stdlib/random.c: Likewise.
19708 * stdlib/random_r.c: Likewise.
19709 * sysdeps/generic/Makefile: Likewise.
19710 * sysdeps/gnu/Makefile: Likewise.
19711 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19712 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19718 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19719 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19720 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19721 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19722 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19723 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19729 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19732 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19734 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19735 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19736 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19737 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19739 * sysdeps/mach/hurd/errnos.awk: Likewise.
19740 * sysdeps/mach/hurd/fork.c: Likewise.
19741 * sysdeps/mach/hurd/getcwd.c: Likewise.
19742 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19743 * sysdeps/mach/hurd/mmap.c: Likewise.
19744 * sysdeps/mach/hurd/utimes.c: Likewise.
19745 * sysdeps/mach/hurd/xmknod.c: Likewise.
19746 * sysdeps/posix/profil.c: Likewise.
19747 * sysdeps/posix/readdir_r.c: Likewise.
19748 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19749 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19750 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19751 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19752 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19753 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19754 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19755 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19757 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19758 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19759 * sysdeps/pthread/lio_listio.c: Likewise.
19760 * sysdeps/sparc/dl-procinfo.h: Likewise.
19761 * sysdeps/unix/i386/sysdep.S: Likewise.
19762 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19763 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19764 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19765 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19767 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19768 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19769 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19770 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19771 * sysdeps/wordsize-32/divdi3.c: Likewise.
19772 * time/sys/time.h: Likewise.
19773 * wcsmbs/Makefile: Likewise.
19774
19775 2013-01-01 David S. Miller <davem@davemloft.net>
19776
19777 * po/fr.po: Update from translation team.
19778
19779 * catgets/gencat.c: Update copyright year.
19780 * csu/version.c: Likewise.
19781 * debug/catchsegv.sh: Likewise.
19782 * debug/pcprofiledump.c: Likewise.
19783 * debug/xtrace.sh: Likewise.
19784 * elf/ldconfig.c: Likewise.
19785 * elf/ldd.bash.in: Likewise.
19786 * elf/pldd.c: Likewise.
19787 * elf/sotruss.ksh: Likewise.
19788 * elf/sprof.c: Likewise.
19789 * iconv/iconv_prog.c: Likewise.
19790 * iconv/iconvconfig.c: Likewise.
19791 * locale/programs/locale.c: Likewise.
19792 * locale/programs/localedef.c: Likewise.
19793 * login/programs/pt_chown.c: Likewise.
19794 * malloc/memusage.sh: Likewise.
19795 * malloc/memusagestat.c: Likewise.
19796 * malloc/mtrace.pl: Likewise.
19797 * nscd/nscd.c: Likewise.
19798 * nss/getent.c: Likewise.
19799 * nss/makedb.c: Likewise.
19800 * posix/getconf.c: Likewise.
19801
19802 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19803
19804 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19805 numbers.
19806
19807 2012-12-30 Mike Frysinger <vapier@gentoo.org>
19808
19809 * math/bits/mathcalls.h (modf): Use __nonnull.
19810
19811 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19812
19813 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19814 (split): Use macro CN instead of the bare value.
19815 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19816 could be used.
19817 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19818 instead of the bare value.
19819 (power1): Likewise.
19820
19821 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19822
19823 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19824 __ATAN_TWOM.
19825 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19826
19827 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19828 their values.
19829 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19830 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19831 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19832 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19833
19834 2012-12-28 Andreas Jaeger <aj@suse.de>
19835
19836 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19837 values are from Linux 3.7.
19838
19839 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19840 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19841
19842 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19843
19844 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
19845 TRUE case.
19846
19847 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19848 (norm): Likewise.
19849 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19850 variables with preprocessor constants.
19851 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19852 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19853 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19854
19855 2012-12-27 Bruno Haible <bruno@clisp.org>
19856
19857 [BZ #14317]
19858 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19859 only if needed.
19860
19861 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19862
19863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19864 and use variable directly.
19865 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19866
19867 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19868 MPONE.
19869 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19870 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19871 variable MPONE.
19872 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19873 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19874 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19875 include directive. Remove local variable MPONE.
19876 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19877 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19878 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19879
19880 2012-12-25 David S. Miller <davem@davemloft.net>
19881
19882 * version.h (RELEASE): Set to "development".
19883 (VERSION): Set to "2.17.90".
19884 * NEWS: Add 2.18 section.
19885
19886 2012-12-21 David S. Miller <davem@davemloft.net>
19887
19888 * po/hr.po: Update from translation team.
19889
19890 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19891
19892 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19893
19894 2012-12-19 Steve Ellcey <sellcey@mips.com>
19895
19896 * NEWS: Mention new memcpy for MIPS.
19897
19898 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19899
19900 * manual/contrib.texi (Contributors): Spelling correction.
19901
19902 2012-12-15 David S. Miller <davem@davemloft.net>
19903
19904 * po/ru.po: Update from translation team.
19905
19906 2012-12-13 David S. Miller <davem@davemloft.net>
19907
19908 * NEWS: Mention IFUNC testsuite enhancements.
19909
19910 * po/pl.po: Update from translation team.
19911 * po/bg.po: Likewise.
19912
19913 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19914 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19915
19916 2012-12-11 David S. Miller <davem@davemloft.net>
19917
19918 * po/sv.po: Update from translation team.
19919
19920 * po/vi.po: Update from translation team.
19921
19922 * po/cs.po: Update from translation team.
19923
19924 * po/de.po: Update from translation team.
19925 * po/eo.po: Likewise.
19926 * po/nl.po: Likewise.
19927
19928 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19929
19930 [BZ #14246]
19931 * manual/argp.texi (Argp Helper Functions): Move node to follow
19932 Argp Parsing State.
19933
19934 [BZ #14872]
19935 * manual/conf.texi (Limits on File System Capacity): Mention if
19936 terminating null is included in the max size.
19937
19938 2012-12-10 Andreas Jaeger <aj@suse.de>
19939
19940 * po/cs.po: Update from translation team.
19941
19942 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19943
19944 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19945 void pointer and cast to uintptr_t.
19946 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19947 path.
19948 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19949 * sysdeps/s390/s390-64/memset.S: Likewise.
19950
19951 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
19952
19953 [BZ #14833]
19954 * menual/message.texi (Message Translation): Fix typos.
19955 (Helper programs for gettext): Likewise.
19956
19957 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19958
19959 [BZ #14898]
19960 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19961 Change to -1.
19962
19963 2012-12-07 David S. Miller <davem@davemloft.net>
19964
19965 * po/libc.pot: Update.
19966
19967 2012-12-07 Richard Henderson <rth@redhat.com>
19968
19969 [BZ #10114]
19970 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19971 normal/normal case to before the switch.
19972 (_FP_DIV): Likewise.
19973
19974 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19975 Mike Frysinger <vapier@gentoo.org>
19976
19977 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19978 check for __NR_fadvise64_64.
19979
19980 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19981
19982 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19983 0, not just to plain "0" as a statement.
19984 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19985 with cw.
19986
19987 2012-12-06 Joseph Myers <joseph@codesourcery.com>
19988
19989 * NEWS: Use sourceware.org in Bugzilla URL.
19990
19991 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19992
19993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19994 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19995
19996 * stdio-common/tst-put-error.c (do_test): Add newline to the
19997 padded test to ensure flush.
19998
19999 2012-12-05 Jeff Law <law@redhat.com>
20000
20001 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20002
20003 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20004
20005 * README: Don't refer to ports add-on as distributed separately.
20006 Mention AArch64 in list of systems supported in the ports add-on.
20007
20008 * LICENSES: Add more non-FSF copyright and license notices.
20009
20010 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20011 ((unused)).
20012
20013 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20014
20015 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20016 10000 as width of padded output.
20017
20018 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20019
20020 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20021
20022 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20023 variable LX with __attribute__ ((unused)).
20024 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20025 Likewise.
20026 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20027 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20028 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20029 with __attribute__ ((unused)).
20030
20031 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20032
20033 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20034
20035 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20036
20037 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20038 (CFLAGS-nldbl-acos.c): New variable.
20039 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20040 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20041 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20042 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20043 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20047 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20048 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20049 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20050 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20051 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20052 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20053 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20054 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20055 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20056 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20057 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20058 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20059 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20136
20137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20138 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20139
20140 [BZ #14914]
20141 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20142 whole low double instead of just low 47 bits when splitting values
20143 into two parts.
20144
20145 2012-12-03 Allan McRae <allan@archlinux.org>
20146
20147 * manual/stdio.texi (Predefined Printf Handlers): Remove
20148 @hsep and @vsep usage.
20149
20150 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20151
20152 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20153 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20154
20155 2012-12-03 Jeff Law <law@redhat.com>
20156
20157 * time/sys/time.h (settimeofday): Do not mark TV argument
20158 as __nonnull.
20159
20160 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20161
20162 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20163 when currently writing and seek to current position when not.
20164 * libio/Makefile (tests): Remove bug-fclose1.
20165 * libio/bug-fclose1.c: Delete.
20166
20167 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20168
20169 * manual/arith.texi (feenableexcept): Fix typo.
20170 (fedisableexcept): Likewise.
20171
20172 2012-11-30 Roland McGrath <roland@hack.frob.com>
20173
20174 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20175 second, differently-typed declaration, rather than a cast.
20176
20177 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20178
20179 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20180 * include/rpc/svc.h: ... here.
20181
20182 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20183
20184 [BZ #13013]
20185 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20186 depending n and resplen2 to catch cases where answer
20187 equals answerp2.
20188
20189 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20190
20191 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20192 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20193
20194 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20195
20196 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20197
20198 2012-11-29 Roland McGrath <roland@hack.frob.com>
20199
20200 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20201
20202 2012-11-28 Jeff Law <law@redhat.com>
20203
20204 [BZ #13761]
20205 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20206 dataset_temporary. Track alloca usage into alloca_used.
20207 If dataset is large allocate and release it via malloc/free.
20208
20209 2012-06-04 Florian Weimer <fweimer@redhat.com>
20210
20211 [BZ #14197]
20212 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20213
20214 2012-11-28 David S. Miller <davem@davemloft.net>
20215
20216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20217
20218 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20219
20220 [BZ #14803]
20221 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20222 of pi/2 rounded to nearest to 64 bits.
20223 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20224 nearest to 64 bits.
20225 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20226 bits.
20227
20228 2012-11-28 Jeff Law <law@redhat.com>
20229 Martin Osvald <mosvald@redhat.com>
20230
20231 [BZ #14889]
20232 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20233 * sunrpc/svc.c: Include time.h.
20234 (__svc_accept_failed): New function.
20235 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20236 any reason other than EINTR, call __svc_accept_failed.
20237 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20238 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20239
20240 2012-11-28 Andreas Schwab <schwab@suse.de>
20241
20242 * scripts/abilist.awk: Also handle indirect functions in .opd
20243 section.
20244
20245 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20246
20247 [BZ #13881]
20248 * sysdeps/x86/fpu/powl_helper.c: New file.
20249 * sysdeps/x86/fpu/Makefile: Likewise.
20250 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20251 (p3): New object.
20252 (__ieee754_powl): Use __powl_helper for finite arguments except
20253 integer exponents below 8.
20254 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20255 (p3): New object.
20256 (__ieee754_powl): Use __powl_helper for finite arguments except
20257 integer exponents below 8.
20258 * math/libm-test.inc (pow_test): Add more tests and enable some
20259 previously disabled tests.
20260 * sysdeps/i386/fpu/libm-test-ulps: Update.
20261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20262
20263 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20264 Carlos O'Donell <carlos_odonell@mentor.com>
20265
20266 * nss/makedb.c (is_prime): Assert that input is odd and greater
20267 than 4. Note that fact in a comment too.
20268 (next_prime): Add 4 to input.
20269
20270 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20271
20272 [BZ #11741]
20273 * libio/Makefile (tests): Add test case tst-fwrite-error.
20274 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20275 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20276 * libio/tst-fwrite-error.c: New test case.
20277
20278 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20279
20280 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20281 before casting to void *.
20282 * include/libc-internal.h (__pointer_type): New macro.
20283 (__integer_if_pointer_type_sub): Likewise.
20284 (__integer_if_pointer_type): Likewise.
20285 (cast_to_integer): Likewise.
20286 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20287 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20288 before casting to atomic64_t.
20289 (atomic_exchange_acq): Likewise.
20290 (__arch_exchange_and_add_body): Likewise.
20291 (__arch_add_body): Likewise.
20292 (atomic_add_negative): Likewise.
20293 (atomic_add_zero): Likewise.
20294
20295 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20296
20297 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20298 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20299 (add_fdes): Likewise.
20300 (linear_search_fdes): Likewise.
20301 (binary_search_unencoded_fdes): Likewise.
20302
20303 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20304
20305 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20306
20307 2012-11-24 Adam Conrad <adconrad@0c3.net>
20308
20309 * configure.in: Autodetect C++ header directories.
20310 * configure: Regenerated.
20311
20312 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20313
20314 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20315
20316 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20317
20318 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20319
20320 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20321
20322 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20323 LDBL_MANT_DIG == 106]: Disable some tests.
20324 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20325 Likewise.
20326 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20327 Likewise.
20328
20329 [BZ #14871]
20330 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20331 input for small inputs. Return +/- pi/2 for large inputs.
20332 * math/libm-test.inc (atan_test): Add more tests.
20333
20334 * sysdeps/generic/unwind-dw2-fde-glibc.c
20335 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20336 __attribute__ ((unused)).
20337
20338 [BZ #14645]
20339 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20340 x * y if x and y are nonzero and z is zero.
20341
20342 [BZ #14811]
20343 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20344 nonzero exponents with absolute value below 0x1p-117 to +/-
20345 0x1p-117.
20346
20347 [BZ #14869]
20348 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20349 up arguments below 2**-450, not just those below 2**-500.
20350 * math/libm-test.inc (hypot_test): Add another test.
20351
20352 [BZ #14868]
20353 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20354 Return a+b for ratio over 2**120, not 2**60.
20355 * math/libm-test.inc (hypot_test): Add another test.
20356
20357 * math/libm-test.inc (clog_test): Use
20358 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20359 (clog10_test): Likewise.
20360
20361 [BZ #6778]
20362 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20363
20364 2012-11-22 Andreas Schwab <schwab@suse.de>
20365
20366 * sysdeps/i386/fpu/libm-test-ulps: Update.
20367
20368 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20369
20370 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20371 printf output with newline.
20372
20373 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20374
20375 [BZ #14865]
20376 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20377 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20378 -z nodlopen, -z initfirst and -z execstack support.
20379 * configure: Regenerated.
20380
20381 * elf/elf.h (DF_1_NODIRECT): New macro.
20382 (DF_1_IGNMULDEF): Likewise.
20383 (DF_1_NOKSYMS): Likewise.
20384 (DF_1_NOHDR): Likewise.
20385 (DF_1_EDITED): Likewise.
20386 (DF_1_NORELOC): Likewise.
20387 (DF_1_SYMINTPOSE): Likewise.
20388 (DF_1_GLOBAUDIT): Likewise.
20389 (DF_1_SINGLETON): Likewise.
20390 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20391 DT_1_SUPPORTED_MASK bits.
20392 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20393
20394 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20395
20396 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20397
20398 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20399
20400 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20401 macro.
20402
20403 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20404 (sendmmsg): Move declarations...
20405 * socket/sys/socket.h: ... here.
20406 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20407 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20408 include it from...
20409 * socket/recvmmsg.c: ... this new file.
20410 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20411 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20412 definition of __sendmmsg hidden.
20413 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20414 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20415 Move ENOSYS stub into and include it from...
20416 * socket/sendmmsg.c: ... this new file.
20417 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20418 (sysdep_routines): Move recvmmsg and sendmmsg...
20419 * socket/Makefile (routines): ... here.
20420 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20421 (GLIBC_PRIVATE): Add __sendmmsg.
20422 * include/sys/socket.h (__sendmmsg): Add declarations.
20423 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20424 sendmmsg.
20425
20426 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20427
20428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20429 variable I1 with __attribute__ ((unused)).
20430 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20431
20432 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20433
20434 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20435 DUMMY variables with __attribute__ ((unused)).
20436
20437 * bits/byteswap.h: Include <bits/types.h>.
20438 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20439
20440 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20441
20442 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20443 string_t. Do not manually set errno.
20444 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20445 length with __strnlen. Make sure to both set errno and return it on
20446 failure.
20447
20448 2012-11-19 David S. Miller <davem@davemloft.net>
20449
20450 With help from Joseph Myers.
20451 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20452 very large arguments properly.
20453 * math/libm-test.inc (atan_test): New tests.
20454 (atan2_test): New tests.
20455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20456 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20457
20458 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20459
20460 [BZ #14856]
20461 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20462 Define to 3.
20463
20464 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20465 [POSIX] (EADDRNOTAVAIL): Likewise.
20466 [POSIX] (EAFNOSUPPORT): Likewise.
20467 [POSIX] (EALREADY): Likewise.
20468 [POSIX] (ECONNABORTED): Likewise.
20469 [POSIX] (ECONNREFUSED): Likewise.
20470 [POSIX] (ECONNRESET): Likewise.
20471 [POSIX] (EDESTADDRREQ): Likewise.
20472 [POSIX] (EDQUOT): Likewise.
20473 [POSIX] (EHOSTUNREACH): Likewise.
20474 [POSIX] (EIDRM): Likewise.
20475 [POSIX] (EISCONN): Likewise.
20476 [POSIX] (ELOOP): Likewise.
20477 [POSIX] (EMULTIHOP): Likewise.
20478 [POSIX] (ENETDOWN): Likewise.
20479 [POSIX] (ENETUNREACH): Likewise.
20480 [POSIX] (ENOBUFS): Likewise.
20481 [POSIX] (ENODATA): Likewise.
20482 [POSIX] (ENOLINK): Likewise.
20483 [POSIX] (ENOMSG): Likewise.
20484 [POSIX] (ENOPROTOOPT): Likewise.
20485 [POSIX] (ENOSR): Likewise.
20486 [POSIX] (ENOSTR): Likewise.
20487 [POSIX] (ENOTCONN): Likewise.
20488 [POSIX] (ENOTSOCK): Likewise.
20489 [POSIX] (EOPNOTSUPP): Likewise.
20490 [POSIX] (EOVERFLOW): Likewise.
20491 [POSIX] (EPROTO): Likewise.
20492 [POSIX] (EPROTONOSUPPORT): Likewise.
20493 [POSIX] (EPROTOTYPE): Likewise.
20494 [POSIX] (ESTALE): Likewise.
20495 [POSIX] (ETIME): Likewise.
20496 [POSIX] (ETXTBSY): Likewise.
20497 [POSIX] (EWOULDBLOCK): Likewise.
20498 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20499 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20500 [POSIX] (SEEK_CUR): Likewise.
20501 [POSIX] (SEEK_END): Likewise.
20502 [POSIX || UNIX98] (mode_t): Do not require.
20503 [POSIX] (off_t): Likewise.
20504 [POSIX] (pid_t): Likewise.
20505 [POSIX] (sys/stat.h): Do not allow header.
20506 [POSIX] (unistd.h): Likewise.
20507 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20508 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20509 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20510 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20511 require.
20512 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20513 sigevent): Specify elements.
20514 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20515 entry.
20516 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20517 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20518
20519 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20520 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20521 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20522 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20523 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20524 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20525 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20526 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20527 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20528 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20529 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20530 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20531 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20532 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20533 Likewise.
20534 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20535 Likewise.
20536 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20537 Likewise.
20538 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20539 Likewise.
20540 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20541 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20542 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20543 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20545 Specify lower bound on value.
20546 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20552 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20553 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20554 value.
20555 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20556 as optional.
20557 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20558 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20559 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20573 entry.
20574 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20575 optional.
20576 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20578 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20579 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20580 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20582 Likewise.
20583 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20586 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20587 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20588 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20589 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20590 as optional.
20591 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20592 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20593 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20595 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20596 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20597 specify as optional.
20598 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20599 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20600 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20601 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20602 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20603 [XPG3] (NL_LANGMAX): Likewise.
20604 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20605 [POSIX || XPG3] (NL_NMAX): Likewise.
20606 [POSIX || XPG3] (NL_SETMAX): Likewise.
20607 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20608 [XPG3] (NZERO): Likewise.
20609 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20610 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20611 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20612 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20613 (REG_ERANGE): Expect.
20614 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20615 optional-constant.
20616 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20617 Use (void) in prototype.
20618 [POSIX] (*_t): Allow.
20619 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20620 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20621 (WRDE_BADVAL): Expect.
20622
20623 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20624 expect.
20625 [XPG3 || XPG4] (O_RSYNC): Likewise.
20626 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20627 Likewise.
20628 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20629 [XPG3 || XPG4] (sigqueue): Likewise.
20630 [XPG3 || XPG4] (sigtimedwait): Likewise.
20631 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20632 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20633 [XPG3 || XPG4] (vsnprintf): Likewise.
20634 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20635 Likewise.
20636 [XPG3 || XPG4] (blksize_t): Likewise.
20637 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20638 Likewise.
20639 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20640 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20641 [XPG3 || XPG4] (struct itimerspec): Likewise.
20642 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20643 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20644 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20645 [XPG3 || XPG4] (clockid_t): Likewise.
20646 [XPG3 || XPG4] (timer_t): Likewise.
20647 [XPG3 || XPG4] (clock_getres): Likewise.
20648 [XPG3 || XPG4] (clock_gettime): Likewise.
20649 [XPG3 || XPG4] (clock_settime): Likewise.
20650 [XPG3 || XPG4] (nanosleep): Likewise.
20651 [XPG3 || XPG4] (timer_create): Likewise.
20652 [XPG3 || XPG4] (timer_delete): Likewise.
20653 [XPG3 || XPG4] (timer_gettime): Likewise.
20654 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20655 [XPG3 || XPG4] (timer_settime): Likewise.
20656 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20657 [XPG3 || XPG4] (getlogin_r): Likewise.
20658 [XPG3 || XPG4] (pread): Likewise.
20659 [XPG3 || XPG4] (pthread_atfork): Likewise.
20660 [XPG3 || XPG4] (pwrite): Likewise.
20661
20662 [BZ #14835]
20663 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20664 <bits/siginfo.h>.
20665
20666 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20667
20668 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20669 finalizing MALLSTREAM.
20670
20671 * sysdeps/mach/hurd/syncfs.c: New file.
20672
20673 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20674
20675 [BZ #14719]
20676 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20677 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20678 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20679 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20680 (_nss_dns_gethostbyname4_r): Likewise.
20681 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20682 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20683
20684 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20685
20686 [BZ #13763]
20687 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20688
20689 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20690
20691 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20692 * elf/cache.c (print_entry): Print ",AArch64" for
20693 FLAG_AARCH64_LIB64
20694
20695 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20696 * elf/cache.c (print_entry): Print ",hard-float" for
20697 FLAG_ARM_LIBHF.
20698
20699 2012-11-18 David S. Miller <davem@davemloft.net>
20700
20701 With help from Joseph Myers.
20702 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20703 cutoff to 2**-13.
20704 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20705 cutoff to 2**-25.
20706 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20707 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20708 small.
20709 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20710 * math/libm-test.inc (y0_test): New tests.
20711 (y1_test): New tests.
20712 * sysdeps/i386/fpu/libm-test-ulps: Update.
20713 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20714 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20715
20716 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20717
20718 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20719 64-bit targets.
20720 * configure: Regenerated.
20721
20722 2012-11-17 David S. Miller <davem@davemloft.net>
20723
20724 [BZ #14811]
20725 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20726 nonzero exponents with absolute value below 0x1p-128 to +/-
20727 0x1p-128.
20728
20729 2012-11-17 Joseph Myers <joseph@codesourcery.com>
20730
20731 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20732
20733 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20734
20735 * posix/getconf-speclist.c: New file.
20736 * posix/posix-envs.def: Likewise.
20737 * posix/confstr.c (START_ENV_GROUP): New macro.
20738 (END_ENV_GROUP): Likewise.
20739 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20740 (KNOWN_PRESENT_ENV_STRING): Likewise.
20741 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20742 (UNKNOWN_ENVIRONMENT): Likewise.
20743 (confstr): Include posix-envs.def instead of handling
20744 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20745 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20746 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20747 (END_ENV_GROUP): Likewise.
20748 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20749 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20750 (UNKNOWN_ENVIRONMENT): Likewise.
20751 (__sysconf): Include posix-envs.def instead of handling associated
20752 cases directly here.
20753 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20754 preprocessing getconf-speclist.c rather than running getconf or
20755 generating empty file.
20756
20757 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20758
20759 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20760
20761 2012-11-16 Andrej Lajovic <natrij@gmail.com>
20762
20763 [BZ #14672]
20764 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20765
20766 2012-11-16 David S. Miller <davem@davemloft.net>
20767
20768 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20769 smaller than LDBL_EPSILON/2.0L, just return xm1.
20770
20771 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20772
20773 * elf/tst-array1.c (init): Set constructor priority to 1000.
20774 (fini): Set destructor priority to 1000.
20775 * elf/tst-array2dep.c: Likewise.
20776
20777 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20778
20779 [BZ #11741]
20780 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20781 (_IO_new_file_xsputn): Also return EOF if none of the input
20782 data was written when overflow failed.
20783 * libio/iopadn.c (_IO_padn): Likewise.
20784 * libio/iowpadn.c (_IO_wpadn): Likewise.
20785 * stdio-common/tst-put-error.c: Add copyright notice.
20786 (do_test): Add case for printing padded string.
20787 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20788 _IO_padn returned error.
20789 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20790 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20791 return EOF.
20792
20793 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20794
20795 * libio/libioP.h: Add comment note that the references to C++
20796 bits are now obsolete.
20797
20798 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20799
20800 * math/libm-test.inc (check_complex): Use asprintf.
20801
20802 2012-11-14 Joseph Myers <joseph@codesourcery.com>
20803
20804 * debug/pcprofiledump.c (print_version): Update copyright year.
20805 * malloc/memusagestat.c (print_version): Likewise.
20806
20807 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20808
20809 [BZ #14831]
20810 * elf/Makefile (tests): Add tst-audit8.
20811 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20812 ($(objpfx)tst-audit8.out): New target.
20813 (tst-audit8-ENV): New variable.
20814 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20815 audit if l_reloc_result is NULL.
20816 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20817 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20818 * elf/tst-audit8.c: New file.
20819
20820 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20821
20822 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20823 * misc/Makefile (CFLAGS-select.c): Define.
20824 * posix/Makefile (CFLAGS-pause.c): Define.
20825
20826 2012-11-13 David S. Miller <davem@davemloft.net>
20827
20828 * crypt/Makefile: Move test targets after toplevel Rules
20829 inclusion. Grab any necessary sysdep routines when linking.
20830 * crypt/md5.c (md5_process_block): Remove define, we will always
20831 name it __md5_process_block.
20832 (md5_finish_ctx): Update md5_process_block call.
20833 (md5_stream): Likewise.
20834 (md5_process_bytes): Likewise.
20835 (md5_process_block): Rename to __md5_process_block and move to ...
20836 * crypt/md5-block.c: ... here.
20837 * crypt/sha256.c (sha256_process_block): Move to ...
20838 * crypt/sha256-block.c: ... here.
20839 * crypt/sha512.c (sha512_process_block): Move to ...
20840 * crypt/sha512-block.c: ... here.
20841 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20842 path.
20843 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20844 * sysdeps/sparc/sparc64/multiarch/Makefile
20845 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20846 crypt subdir.
20847 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20848 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20849 multiarch changes.
20850 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20851 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20852 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20853 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20854 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20855 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20856 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20857 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20858 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20859 file.
20860 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20861 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20862 file.
20863 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20864
20865 2012-11-13 Joseph Myers <joseph@codesourcery.com>
20866
20867 * timezone/tzselect.ksh: Update from tzcode git revision
20868 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20869 * timezone/zdump.c: Likewise.
20870 * timezone/zic.c: Likewise.
20871 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20872 in TZVERSION setting, not $(PKGVERSION).
20873 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20874 REPORT_BUGS_TO settings.
20875
20876 [BZ #14838]
20877 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20878 macro.
20879
20880 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20881
20882 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20883 detection to immediately after _FP_ROUND().
20884 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20885 bits are 0.
20886
20887 2012-11-11 David S. Miller <davem@davemloft.net>
20888
20889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20890 inttypes.h
20891 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20892 __close rather than their public counterparts.
20893
20894 2012-11-10 Joseph Myers <joseph@codesourcery.com>
20895
20896 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20897 file.
20898 [UNIX98] (sem_timedwait): Do not expect.
20899 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20900 [XPG4 || UNIX98] (sockatmark): Do not expect.
20901 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20902 (clock_getcpuclockid): Do not expect.
20903 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20904 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20905 Do not expect.
20906 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20907 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20908 [UNIX98] (vwscanf): Likewise.
20909 [UNIX98] (vswscanf): Likewise.
20910
20911 2012-11-09 Joseph Myers <joseph@codesourcery.com>
20912
20913 * timezone/version.h: Remove file.
20914 * timezone/README: Do not refer to version.h.
20915 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20916 $(objpfx)version.h.
20917 ($(objpfx)zdump.o): Likewise.
20918 ($(objpfx)version.h): New target.
20919
20920 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20921 2012i.
20922 * timezone/README: Don't mention modification to tzselect.ksh.
20923 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20924 work on unmodified tzselect.ksh. Substitute version numbers in
20925 tzselect.ksh.
20926
20927 * Makefile (format-me): Remove.
20928 (INSTALL): Adjust indentation. Use commands directly instead of
20929 using $(format-me).
20930
20931 * aclocal.m4 (ACX_PKGVERSION): New macro.
20932 (ACX_BUGURL): Likewise.
20933 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20934 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20935 (REPORT_BUGS_TO): Likewise.
20936 * configure: Regenerated.
20937 * config.h.in (PKGVERSION): New macro.
20938 (REPORT_BUGS_TO): Likewise.
20939 * config.make.in (PKGVERSION): New variable.
20940 (PKGVERSION_TEXI): Likewise.
20941 (REPORT_BUGS_TO): Likewise.
20942 (REPORT_BUGS_TEXI): Likewise.
20943 * Makefile (format-me): Use -I$(common-objpfx)manual.
20944 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20945 ($(common-objpfx)manual/%): New target.
20946 (manual/%): Remove target.
20947 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20948 (print_version): Use PKGVERSION.
20949 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20950 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20951 and REPORT_BUGS_TO.
20952 ($(objpfx)xtrace): Likewise.
20953 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20954 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20955 (print_version): Use PKGVERSION.
20956 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20957 (do_version): Use PKGVERSION.
20958 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20959 REPORT_BUGS_TO.
20960 (common-ldd-rewrite): Likewise.
20961 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20962 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20963 (print_version): Use PKGVERSION.
20964 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20965 * elf/pldd.c (argp_program_bug_address): Remove variable.
20966 (more_help): New function.
20967 (argp): Use more_help.
20968 (print_version): Use PKGVERSION.
20969 * elf/sln.c (main): Use PKGVERSION.
20970 (usage): Use REPORT_BUGS_TO.
20971 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20972 (top level): Use PKGVERSION.
20973 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20974 (print_version): Use PKGVERSION.
20975 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20976 (print_version): Use PKGVERSION.
20977 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20978 (print_version): Use PKGVERSION.
20979 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20980 (print_version): Use PKGVERSION.
20981 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20982 (print_version): Use PKGVERSION.
20983 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20984 (print_version): Use PKGVERSION.
20985 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20986 and BUGURL.
20987 ($(objpfx)memusage): Likewise.
20988 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20989 (do_version): Use PKGVERSION.
20990 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20991 (print_version): Use PKGVERSION.
20992 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20993 ($PKGVERSION): New variable.
20994 ($REPORT_BUGS_TO): Likewise.
20995 (usage): Use $REPORT_BUGS_TO.
20996 (top level): Use $PKGVERSION.
20997 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20998 ($(objpfx)pkgvers.texi): New rule.
20999 ($(objpfx)stamp-pkgvers): Likewise.
21000 * manual/install.texi: Include pkgvers.texi.
21001 (--with-pkgversion): Document new configure option.
21002 (--with-bugurl): Likewise.
21003 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21004 than necessarily for this particular distribution. Use
21005 REPORT_BUGS_TO for where to report bugs.
21006 * INSTALL: Regenerated.
21007 * manual/libc.texinfo: Include pkgvers.texi.
21008 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21009 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21010 (print_version): Use PKGVERSION.
21011 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21012 (print_version): Use PKGVERSION.
21013 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21014 (print_version): Use PKGVERSION.
21015 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21016 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21017 macro.
21018 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21019 (print_version): Use PKGVERSION.
21020 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21021 (print_version): Use PKGVERSION.
21022 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21023 and PKGVERSION.
21024
21025 * timezone/checktab.awk: Update from tzcode 2012i.
21026 * timezone/ialloc.c: Likewise.
21027 * timezone/private.h: Likewise.
21028 * timezone/scheck.c: Likewise.
21029 * timezone/tzfile.h: Likewise.
21030 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21031 (TZVERSION): Hardcode tzcode version number.
21032 * timezone/zdump.c: Update from tzcode 2012i.
21033 * timezone/zic.c: Likewise.
21034 * timezone/version.h: New file.
21035 * timezone/README: Describe version.h. Update upstream location.
21036
21037 [BZ #14824]
21038 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21039 (mktemp): Enable declaration.
21040 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21044 Likewise.
21045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21046 Likewise.
21047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21048 Likewise.
21049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21050 Likewise.
21051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21052 Likewise.
21053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21054 Likewise.
21055
21056 [BZ #14821]
21057 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21058 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21059 for copies of such integer values.
21060 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21061 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21062
21063 2012-11-09 Andreas Jaeger <aj@suse.de>
21064
21065 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21066 definitions and declarations that are provided by
21067 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21068
21069 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21070
21071 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21072 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21073 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21074 definition.
21075
21076 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21077
21078 * elf/elf.h: Update comment before AArch64 relocations.
21079
21080 2012-11-07 David S. Miller <davem@davemloft.net>
21081
21082 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21083 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21084 (__start_context): Declare.
21085 (__makecontext_ret): Delete.
21086 (__makecontext): Hook up __start_context instead of
21087 __makecontext_ret.
21088 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21089 (sysdep_routines): Add __start_context when in stdlib.
21090
21091 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21092
21093 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21094 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21095 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21096 hardcoded "nm".
21097 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21098 (READELF): New variable. Use it instead of hardcoded "readelf".
21099
21100 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21101
21102 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21103 * sysdeps/x86/Makefile: Here.
21104 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21105 * sysdeps/x86/tst-xmmymm.sh: This.
21106
21107 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21108
21109 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21110 expectations.
21111 [UNIX98] (pthread_barrier_t): Do not expect.
21112 [UNIX98] (pthread_barrierattr_t): Likewise.
21113 [UNIX98] (pthread_spinlock_t): Likewise.
21114 [UNIX98] (pthread_barrier_destroy): Likewise.
21115 [UNIX98] (pthread_barrier_init): Likewise.
21116 [UNIX98] (pthread_barrier_wait): Likewise.
21117 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21118 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21119 [UNIX98] (pthread_barrierattr_init): Likewise.
21120 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21121 [UNIX98] (pthread_getcpuclockid): Likewise.
21122 [UNIX98] (pthread_mutex_timedlock): Likewise.
21123 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21124 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21125 [UNIX98] (pthread_sigmask): Likewise.
21126 [UNIX98] (pthread_spin_destroy): Likewise.
21127 [UNIX98] (pthread_spin_init): Likewise.
21128 [UNIX98] (pthread_spin_lock): Likewise.
21129 [UNIX98] (pthread_spin_trylock): Likewise.
21130 [UNIX98] (pthread_spin_unlock): Likewise.
21131 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21132 Do not expect.
21133 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21134 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21135 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21136 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21137 [XPG3 || XPG4] (pthread_key_t): Likewise.
21138 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21139 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21140 [XPG3 || XPG4] (pthread_once_t): Likewise.
21141 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21142 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21143 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21144 [XPG3 || XPG4] (pthread_t): Likewise.
21145
21146 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21147 not expect.
21148 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21149
21150 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21151 Change function return type to int.
21152
21153 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21154 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21155 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21156 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21157 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21158 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21159 [!POSIX] (posix_madvise): Likewise.
21160 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21161 && !UNIX98].
21162 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21163 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21164 (mode_t): Likewise.
21165 (posix_mem_offset): Likewise.
21166 (posix_typed_mem_get_info): Likewise.
21167 (posix_typed_mem_open): Likewise.
21168
21169 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21170 Change condition to [XOPEN2K8].
21171
21172 * conform/conformtest.pl: Preprocess allow-header data with -x c
21173 instead of from stdin.
21174 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21175 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21176 [C99-based standards] (cerfc): Likewise.
21177 [C99-based standards] (cexp2): Likewise.
21178 [C99-based standards] (cexpm1): Likewise.
21179 [C99-based standards] (clog10): Likewise.
21180 [C99-based standards] (clog1p): Likewise.
21181 [C99-based standards] (clog2): Likewise.
21182 [C99-based standards] (clgamma): Likewise.
21183 [C99-based standards] (ctgamma): Likewise.
21184 [C99-based standards] (cerff): Likewise.
21185 [C99-based standards] (cerfcf): Likewise.
21186 [C99-based standards] (cexp2f): Likewise.
21187 [C99-based standards] (cexpm1f): Likewise.
21188 [C99-based standards] (clog10f): Likewise.
21189 [C99-based standards] (clog1pf): Likewise.
21190 [C99-based standards] (clog2f): Likewise.
21191 [C99-based standards] (clgammaf): Likewise.
21192 [C99-based standards] (ctgammaf): Likewise.
21193 [C99-based standards] (cerfl): Likewise.
21194 [C99-based standards] (cerfcl): Likewise.
21195 [C99-based standards] (cexp2l): Likewise.
21196 [C99-based standards] (cexpm1l): Likewise.
21197 [C99-based standards] (clog10l): Likewise.
21198 [C99-based standards] (clog1pl): Likewise.
21199 [C99-based standards] (clog2l): Likewise.
21200 [C99-based standards] (clgammal): Likewise.
21201 [C99-based standards] (ctgammal): Likewise.
21202 * conform/data/inttypes.h-data [C99-based standards]: Include
21203 stdint.h-data. Remove all expectations for stdint.h contents.
21204 [C99-based standards] (PRI*): Do not allow.
21205 [C99-based standards] (SCN*): Likewise.
21206 [C99-based standards] (*_t): Likewise.
21207 [C99-based-standards] (PRId8): Expect macro.
21208 [C99-based-standards] (PRIi8): Likewise.
21209 [C99-based-standards] (PRIo8): Likewise.
21210 [C99-based-standards] (PRIu8): Likewise.
21211 [C99-based-standards] (PRIx8): Likewise.
21212 [C99-based-standards] (PRIX8): Likewise.
21213 [C99-based-standards] (SCNd8): Likewise.
21214 [C99-based-standards] (SCNi8): Likewise.
21215 [C99-based-standards] (SCNo8): Likewise.
21216 [C99-based-standards] (SCNu8): Likewise.
21217 [C99-based-standards] (SCNx8): Likewise.
21218 [C99-based-standards] (PRIdLEAST8): Likewise.
21219 [C99-based-standards] (PRIiLEAST8): Likewise.
21220 [C99-based-standards] (PRIoLEAST8): Likewise.
21221 [C99-based-standards] (PRIuLEAST8): Likewise.
21222 [C99-based-standards] (PRIxLEAST8): Likewise.
21223 [C99-based-standards] (PRIXLEAST8): Likewise.
21224 [C99-based-standards] (SCNdLEAST8): Likewise.
21225 [C99-based-standards] (SCNiLEAST8): Likewise.
21226 [C99-based-standards] (SCNoLEAST8): Likewise.
21227 [C99-based-standards] (SCNuLEAST8): Likewise.
21228 [C99-based-standards] (SCNxLEAST8): Likewise.
21229 [C99-based-standards] (PRIdFAST8): Likewise.
21230 [C99-based-standards] (PRIiFAST8): Likewise.
21231 [C99-based-standards] (PRIoFAST8): Likewise.
21232 [C99-based-standards] (PRIuFAST8): Likewise.
21233 [C99-based-standards] (PRIxFAST8): Likewise.
21234 [C99-based-standards] (PRIXFAST8): Likewise.
21235 [C99-based-standards] (SCNdFAST8): Likewise.
21236 [C99-based-standards] (SCNiFAST8): Likewise.
21237 [C99-based-standards] (SCNoFAST8): Likewise.
21238 [C99-based-standards] (SCNuFAST8): Likewise.
21239 [C99-based-standards] (SCNxFAST8): Likewise.
21240 [C99-based-standards] (PRId16): Likewise.
21241 [C99-based-standards] (PRIi16): Likewise.
21242 [C99-based-standards] (PRIo16): Likewise.
21243 [C99-based-standards] (PRIu16): Likewise.
21244 [C99-based-standards] (PRIx16): Likewise.
21245 [C99-based-standards] (PRIX16): Likewise.
21246 [C99-based-standards] (SCNd16): Likewise.
21247 [C99-based-standards] (SCNi16): Likewise.
21248 [C99-based-standards] (SCNo16): Likewise.
21249 [C99-based-standards] (SCNu16): Likewise.
21250 [C99-based-standards] (SCNx16): Likewise.
21251 [C99-based-standards] (PRIdLEAST16): Likewise.
21252 [C99-based-standards] (PRIiLEAST16): Likewise.
21253 [C99-based-standards] (PRIoLEAST16): Likewise.
21254 [C99-based-standards] (PRIuLEAST16): Likewise.
21255 [C99-based-standards] (PRIxLEAST16): Likewise.
21256 [C99-based-standards] (PRIXLEAST16): Likewise.
21257 [C99-based-standards] (SCNdLEAST16): Likewise.
21258 [C99-based-standards] (SCNiLEAST16): Likewise.
21259 [C99-based-standards] (SCNoLEAST16): Likewise.
21260 [C99-based-standards] (SCNuLEAST16): Likewise.
21261 [C99-based-standards] (SCNxLEAST16): Likewise.
21262 [C99-based-standards] (PRIdFAST16): Likewise.
21263 [C99-based-standards] (PRIiFAST16): Likewise.
21264 [C99-based-standards] (PRIoFAST16): Likewise.
21265 [C99-based-standards] (PRIuFAST16): Likewise.
21266 [C99-based-standards] (PRIxFAST16): Likewise.
21267 [C99-based-standards] (PRIXFAST16): Likewise.
21268 [C99-based-standards] (SCNdFAST16): Likewise.
21269 [C99-based-standards] (SCNiFAST16): Likewise.
21270 [C99-based-standards] (SCNoFAST16): Likewise.
21271 [C99-based-standards] (SCNuFAST16): Likewise.
21272 [C99-based-standards] (SCNxFAST16): Likewise.
21273 [C99-based-standards] (PRId32): Likewise.
21274 [C99-based-standards] (PRIi32): Likewise.
21275 [C99-based-standards] (PRIo32): Likewise.
21276 [C99-based-standards] (PRIu32): Likewise.
21277 [C99-based-standards] (PRIx32): Likewise.
21278 [C99-based-standards] (PRIX32): Likewise.
21279 [C99-based-standards] (SCNd32): Likewise.
21280 [C99-based-standards] (SCNi32): Likewise.
21281 [C99-based-standards] (SCNo32): Likewise.
21282 [C99-based-standards] (SCNu32): Likewise.
21283 [C99-based-standards] (SCNx32): Likewise.
21284 [C99-based-standards] (PRIdLEAST32): Likewise.
21285 [C99-based-standards] (PRIiLEAST32): Likewise.
21286 [C99-based-standards] (PRIoLEAST32): Likewise.
21287 [C99-based-standards] (PRIuLEAST32): Likewise.
21288 [C99-based-standards] (PRIxLEAST32): Likewise.
21289 [C99-based-standards] (PRIXLEAST32): Likewise.
21290 [C99-based-standards] (SCNdLEAST32): Likewise.
21291 [C99-based-standards] (SCNiLEAST32): Likewise.
21292 [C99-based-standards] (SCNoLEAST32): Likewise.
21293 [C99-based-standards] (SCNuLEAST32): Likewise.
21294 [C99-based-standards] (SCNxLEAST32): Likewise.
21295 [C99-based-standards] (PRIdFAST32): Likewise.
21296 [C99-based-standards] (PRIiFAST32): Likewise.
21297 [C99-based-standards] (PRIoFAST32): Likewise.
21298 [C99-based-standards] (PRIuFAST32): Likewise.
21299 [C99-based-standards] (PRIxFAST32): Likewise.
21300 [C99-based-standards] (PRIXFAST32): Likewise.
21301 [C99-based-standards] (SCNdFAST32): Likewise.
21302 [C99-based-standards] (SCNiFAST32): Likewise.
21303 [C99-based-standards] (SCNoFAST32): Likewise.
21304 [C99-based-standards] (SCNuFAST32): Likewise.
21305 [C99-based-standards] (SCNxFAST32): Likewise.
21306 [C99-based-standards] (PRId64): Likewise.
21307 [C99-based-standards] (PRIi64): Likewise.
21308 [C99-based-standards] (PRIo64): Likewise.
21309 [C99-based-standards] (PRIu64): Likewise.
21310 [C99-based-standards] (PRIx64): Likewise.
21311 [C99-based-standards] (PRIX64): Likewise.
21312 [C99-based-standards] (SCNd64): Likewise.
21313 [C99-based-standards] (SCNi64): Likewise.
21314 [C99-based-standards] (SCNo64): Likewise.
21315 [C99-based-standards] (SCNu64): Likewise.
21316 [C99-based-standards] (SCNx64): Likewise.
21317 [C99-based-standards] (PRIdLEAST64): Likewise.
21318 [C99-based-standards] (PRIiLEAST64): Likewise.
21319 [C99-based-standards] (PRIoLEAST64): Likewise.
21320 [C99-based-standards] (PRIuLEAST64): Likewise.
21321 [C99-based-standards] (PRIxLEAST64): Likewise.
21322 [C99-based-standards] (PRIXLEAST64): Likewise.
21323 [C99-based-standards] (SCNdLEAST64): Likewise.
21324 [C99-based-standards] (SCNiLEAST64): Likewise.
21325 [C99-based-standards] (SCNoLEAST64): Likewise.
21326 [C99-based-standards] (SCNuLEAST64): Likewise.
21327 [C99-based-standards] (SCNxLEAST64): Likewise.
21328 [C99-based-standards] (PRIdFAST64): Likewise.
21329 [C99-based-standards] (PRIiFAST64): Likewise.
21330 [C99-based-standards] (PRIoFAST64): Likewise.
21331 [C99-based-standards] (PRIuFAST64): Likewise.
21332 [C99-based-standards] (PRIxFAST64): Likewise.
21333 [C99-based-standards] (PRIXFAST64): Likewise.
21334 [C99-based-standards] (SCNdFAST64): Likewise.
21335 [C99-based-standards] (SCNiFAST64): Likewise.
21336 [C99-based-standards] (SCNoFAST64): Likewise.
21337 [C99-based-standards] (SCNuFAST64): Likewise.
21338 [C99-based-standards] (SCNxFAST64): Likewise.
21339 [C99-based-standards] (PRIdMAX): Likewise.
21340 [C99-based-standards] (PRIiMAX): Likewise.
21341 [C99-based-standards] (PRIoMAX): Likewise.
21342 [C99-based-standards] (PRIuMAX): Likewise.
21343 [C99-based-standards] (PRIxMAX): Likewise.
21344 [C99-based-standards] (PRIXMAX): Likewise.
21345 [C99-based-standards] (SCNdMAX): Likewise.
21346 [C99-based-standards] (SCNiMAX): Likewise.
21347 [C99-based-standards] (SCNoMAX): Likewise.
21348 [C99-based-standards] (SCNuMAX): Likewise.
21349 [C99-based-standards] (SCNxMAX): Likewise.
21350 [C99-based-standards] (PRIdPTR): Likewise.
21351 [C99-based-standards] (PRIiPTR): Likewise.
21352 [C99-based-standards] (PRIoPTR): Likewise.
21353 [C99-based-standards] (PRIuPTR): Likewise.
21354 [C99-based-standards] (PRIxPTR): Likewise.
21355 [C99-based-standards] (PRIXPTR): Likewise.
21356 [C99-based-standards] (SCNdPTR): Likewise.
21357 [C99-based-standards] (SCNiPTR): Likewise.
21358 [C99-based-standards] (SCNoPTR): Likewise.
21359 [C99-based-standards] (SCNuPTR): Likewise.
21360 [C99-based-standards] (SCNxPTR): Likewise.
21361 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21362 allow.
21363 * conform/data/stdint.h-data: Update comments to clarify
21364 requirements.
21365 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21366 type.
21367 [C99-based standards] (INT8_MAX): Likewise.
21368 [C99-based standards] (INT16_MIN): Likewise.
21369 [C99-based standards] (INT16_MAX): Likewise.
21370 [C99-based standards] (INT32_MIN): Likewise.
21371 [C99-based standards] (INT32_MAX): Likewise.
21372 [C99-based standards] (INT64_MIN): Likewise.
21373 [C99-based standards] (INT64_MAX): Likewise.
21374 [C99-based standards] (UINT8_MAX): Likewise.
21375 [C99-based standards] (UINT16_MAX): Likewise.
21376 [C99-based standards] (UINT32_MAX): Likewise.
21377 [C99-based standards] (UINT64_MAX): Likewise.
21378 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21379 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21380 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21381 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21382 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21383 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21384 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21385 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21386 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21387 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21388 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21389 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21390 [C99-based standards] (INT_FAST8_MIN): Likewise.
21391 [C99-based standards] (INT_FAST8_MAX): Likewise.
21392 [C99-based standards] (INT_FAST16_MIN): Likewise.
21393 [C99-based standards] (INT_FAST16_MAX): Likewise.
21394 [C99-based standards] (INT_FAST32_MIN): Likewise.
21395 [C99-based standards] (INT_FAST32_MAX): Likewise.
21396 [C99-based standards] (INT_FAST64_MIN): Likewise.
21397 [C99-based standards] (INT_FAST64_MAX): Likewise.
21398 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21399 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21400 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21401 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21402 [C99-based standards] (INTPTR_MIN): Likewise.
21403 [C99-based standards] (INTPTR_MAX): Likewise.
21404 [C99-based standards] (UINTPTR_MAX): Likewise.
21405 [C99-based standards] (INTMAX_MIN): Likewise.
21406 [C99-based standards] (INTMAX_MAX): Likewise.
21407 [C99-based standards] (UINTMAX_MAX): Likewise.
21408 [C99-based standards] (PTRDIFF_MIN): Likewise.
21409 [C99-based standards] (PTRDIFF_MAX): Likewise.
21410 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21411 [C99-based standards] (SIZE_MAX): Likewise.
21412 [C99-based standards] (WCHAR_MAX): Likewise.
21413 [C99-based standards] (WINT_MAX): Likewise.
21414 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21415 constraint on value.
21416 [C99-based standards] (WCHAR_MIN): Likewise.
21417 [C99-based standards] (WINT_MIN): Likewise.
21418 [C99-based standards] (*_t): Allow.
21419 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21420 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21421 Include math.h-data and complex.h-data. Remove all expectations
21422 of math.h and complex.h contents.
21423 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21424 at end of line.
21425 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21426 (struct tm): Expect tag.
21427 [C99-based-standards] (wcstof): Expect function.
21428 [C99-based-standards] (wcstold): Likewise.
21429 [C99-based-standards] (wcstoll): Likewise.
21430 [C99-based-standards] (wcstoull): Likewise.
21431 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21432 macro-int-constant. Specify type.
21433 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21434 constraint on value.
21435 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21436 Specify type.
21437 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21438 Specify value.
21439 [ISO C standards]: Do not allow headers.
21440 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21441 wcs[abcdefghijklmnopqrstuvwxyz]*.
21442 [ISO C standards] (*_t): Do not allow.
21443 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21444 Expect function.
21445 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21446 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21447 Specify type.
21448 [ISO C standards]: Do not allow headers.
21449 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21450 is[abcdefghijklmnopqrstuvwxyz]*.
21451 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21452 to[abcdefghijklmnopqrstuvwxyz]*.
21453 [ISO C standards] (*_t): Do not allow.
21454 * conform/data/stdalign.h-data: New file.
21455 * conform/data/stdbool.h-data: Likewise.
21456 * conform/data/stdnoreturn.h-data: Likewise.
21457
21458 2012-11-07 Roland McGrath <roland@hack.frob.com>
21459
21460 [BZ #14815]
21461 * manual/filesys.texi (Directory Entries): Typo fix.
21462 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21463
21464 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21465
21466 * elf/elf.h (EM_AARCH64): New macro.
21467 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21468 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21469 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21470 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21471 (R_AARCH64_TLSDESC): Likewise.
21472 (NT_ARM_TLS): Likewise.
21473 (NT_ARM_HW_BREAK): Likewise.
21474 (NT_ARM_HW_WATCH): Likewise.
21475
21476 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21477
21478 [BZ #14811]
21479 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21480 (__ieee754_powl): Saturate nonzero exponents with absolute value
21481 below 0x1p-79 to +/- 0x1p-79.
21482 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21483 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21484 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21485 nonzero exponents with absolute value below 0x1p-32 to +/-
21486 0x1p-32.
21487 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21488 (__ieee754_powl): Saturate nonzero exponents with absolute value
21489 below 0x1p-79 to +/- 0x1p-79.
21490 * math/libm-test.inc (pow_test): Add more tests.
21491
21492 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21493
21494 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21495 _dl_s390_cap_flags with kernel. Increase string length.
21496 (_dl_s390_platforms): Add z196 and zEC12.
21497
21498 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21499
21500 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21501 Change XOPEN21K to XOPEN2K.
21502
21503 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21504
21505 * string/memmove.c: Use memcpy when possible.
21506
21507 2012-11-06 Andreas Jaeger <aj@suse.de>
21508
21509 * po/eo.po: Update from translation team.
21510
21511 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21512
21513 [BZ #14793]
21514 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21515 exponent and small x and y exponents, scale x or y up. Increase
21516 by 2 the exponent used in scaling up.
21517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21518 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21519 * math/libm-test.inc (fma_test): Add more tests.
21520 (fma_test_towardzero): Likewise.
21521 (fma_test_downward): Likewise.
21522 (fma_test_upward): Likewise.
21523
21524 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21525
21526 [BZ #14805]
21527 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21528 fenv_t *.
21529
21530 [BZ #14801]
21531 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21532 namespace for names of struct fields.
21533 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21534 fenv_t fields.
21535 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21536 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21537
21538 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21539
21540 [BZ #3665]
21541 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21542
21543 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21544
21545 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21546 PTR_DEMANGLE.
21547
21548 [BZ #5246]
21549 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21550 PTR_DEMANGLE.
21551
21552 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21553
21554 [BZ #14797]
21555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21556 definitely overflow as x * y not x * y + z.
21557 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21558 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21559 * math/libm-test.inc (fma_test): Add more tests.
21560 (fma_test_towardzero): Likewise.
21561 (fma_test_downward): Likewise.
21562 (fma_test_upward): Likewise.
21563
21564 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21565
21566 [BZ #157]
21567
21568 * include/stub-tag.h: Remove file.
21569 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21570 '#include' of it.
21571 * manual/maint.texi (Porting): Don't reference it.
21572 * Makerules ($(objpfx)stubs): Likewise.
21573 * dirent/closedir.c: Don't include <stub-tag.h>.
21574 * dirent/dirfd.c: Likewise.
21575 * dirent/fdopendir.c: Likewise.
21576 * dirent/getdents.c: Likewise.
21577 * dirent/getdents64.c: Likewise.
21578 * dirent/opendir.c: Likewise.
21579 * dirent/readdir.c: Likewise.
21580 * dirent/readdir64.c: Likewise.
21581 * dirent/readdir64_r.c: Likewise.
21582 * dirent/readdir_r.c: Likewise.
21583 * dirent/rewinddir.c: Likewise.
21584 * dirent/seekdir.c: Likewise.
21585 * dirent/telldir.c: Likewise.
21586 * gmon/profil.c: Likewise.
21587 * grp/setgroups.c: Likewise.
21588 * inet/if_index.c: Likewise.
21589 * io/access.c: Likewise.
21590 * io/chdir.c: Likewise.
21591 * io/chmod.c: Likewise.
21592 * io/chown.c: Likewise.
21593 * io/close.c: Likewise.
21594 * io/dup.c: Likewise.
21595 * io/dup2.c: Likewise.
21596 * io/dup3.c: Likewise.
21597 * io/euidaccess.c: Likewise.
21598 * io/faccessat.c: Likewise.
21599 * io/fchdir.c: Likewise.
21600 * io/fchmod.c: Likewise.
21601 * io/fchmodat.c: Likewise.
21602 * io/fchown.c: Likewise.
21603 * io/fchownat.c: Likewise.
21604 * io/fcntl.c: Likewise.
21605 * io/flock.c: Likewise.
21606 * io/fstatfs.c: Likewise.
21607 * io/fstatfs64.c: Likewise.
21608 * io/fstatvfs.c: Likewise.
21609 * io/fstatvfs64.c: Likewise.
21610 * io/futimens.c: Likewise.
21611 * io/fxstat.c: Likewise.
21612 * io/fxstat64.c: Likewise.
21613 * io/fxstatat.c: Likewise.
21614 * io/fxstatat64.c: Likewise.
21615 * io/getcwd.c: Likewise.
21616 * io/isatty.c: Likewise.
21617 * io/lchmod.c: Likewise.
21618 * io/lchown.c: Likewise.
21619 * io/link.c: Likewise.
21620 * io/linkat.c: Likewise.
21621 * io/lseek.c: Likewise.
21622 * io/lseek64.c: Likewise.
21623 * io/lxstat64.c: Likewise.
21624 * io/mkdir.c: Likewise.
21625 * io/mkdirat.c: Likewise.
21626 * io/mkfifo.c: Likewise.
21627 * io/mkfifoat.c: Likewise.
21628 * io/open.c: Likewise.
21629 * io/open64.c: Likewise.
21630 * io/openat.c: Likewise.
21631 * io/openat64.c: Likewise.
21632 * io/pipe.c: Likewise.
21633 * io/pipe2.c: Likewise.
21634 * io/poll.c: Likewise.
21635 * io/posix_fadvise.c: Likewise.
21636 * io/posix_fadvise64.c: Likewise.
21637 * io/posix_fallocate.c: Likewise.
21638 * io/posix_fallocate64.c: Likewise.
21639 * io/read.c: Likewise.
21640 * io/readlink.c: Likewise.
21641 * io/readlinkat.c: Likewise.
21642 * io/rmdir.c: Likewise.
21643 * io/sendfile.c: Likewise.
21644 * io/sendfile64.c: Likewise.
21645 * io/statfs.c: Likewise.
21646 * io/statfs64.c: Likewise.
21647 * io/statvfs.c: Likewise.
21648 * io/statvfs64.c: Likewise.
21649 * io/symlink.c: Likewise.
21650 * io/symlinkat.c: Likewise.
21651 * io/ttyname.c: Likewise.
21652 * io/ttyname_r.c: Likewise.
21653 * io/umask.c: Likewise.
21654 * io/unlink.c: Likewise.
21655 * io/unlinkat.c: Likewise.
21656 * io/utime.c: Likewise.
21657 * io/utimensat.c: Likewise.
21658 * io/write.c: Likewise.
21659 * io/xmknod.c: Likewise.
21660 * io/xmknodat.c: Likewise.
21661 * io/xstat.c: Likewise.
21662 * io/xstat64.c: Likewise.
21663 * login/getpt.c: Likewise.
21664 * login/grantpt.c: Likewise.
21665 * login/unlockpt.c: Likewise.
21666 * math/e_acoshl.c: Likewise.
21667 * math/e_acosl.c: Likewise.
21668 * math/e_asinl.c: Likewise.
21669 * math/e_atan2l.c: Likewise.
21670 * math/e_atanhl.c: Likewise.
21671 * math/e_coshl.c: Likewise.
21672 * math/e_expl.c: Likewise.
21673 * math/e_fmodl.c: Likewise.
21674 * math/e_gammal_r.c: Likewise.
21675 * math/e_hypotl.c: Likewise.
21676 * math/e_j0l.c: Likewise.
21677 * math/e_j1l.c: Likewise.
21678 * math/e_jnl.c: Likewise.
21679 * math/e_lgammal_r.c: Likewise.
21680 * math/e_log10l.c: Likewise.
21681 * math/e_log2l.c: Likewise.
21682 * math/e_logl.c: Likewise.
21683 * math/e_powl.c: Likewise.
21684 * math/e_rem_pio2l.c: Likewise.
21685 * math/e_sinhl.c: Likewise.
21686 * math/e_sqrtl.c: Likewise.
21687 * math/fclrexcpt.c: Likewise.
21688 * math/fedisblxcpt.c: Likewise.
21689 * math/feenablxcpt.c: Likewise.
21690 * math/fegetenv.c: Likewise.
21691 * math/fegetexcept.c: Likewise.
21692 * math/fegetround.c: Likewise.
21693 * math/feholdexcpt.c: Likewise.
21694 * math/fesetenv.c: Likewise.
21695 * math/fesetround.c: Likewise.
21696 * math/feupdateenv.c: Likewise.
21697 * math/fgetexcptflg.c: Likewise.
21698 * math/fraiseexcpt.c: Likewise.
21699 * math/fsetexcptflg.c: Likewise.
21700 * math/ftestexcept.c: Likewise.
21701 * math/k_cosl.c: Likewise.
21702 * math/k_rem_pio2l.c: Likewise.
21703 * math/k_sinl.c: Likewise.
21704 * math/k_tanl.c: Likewise.
21705 * math/s_asinhl.c: Likewise.
21706 * math/s_atanl.c: Likewise.
21707 * math/s_cbrtl.c: Likewise.
21708 * math/s_erfl.c: Likewise.
21709 * math/s_expm1l.c: Likewise.
21710 * math/s_log1pl.c: Likewise.
21711 * math/s_tanhl.c: Likewise.
21712 * misc/acct.c: Likewise.
21713 * misc/brk.c: Likewise.
21714 * misc/chflags.c: Likewise.
21715 * misc/chroot.c: Likewise.
21716 * misc/fchflags.c: Likewise.
21717 * misc/fgetxattr.c: Likewise.
21718 * misc/flistxattr.c: Likewise.
21719 * misc/fremovexattr.c: Likewise.
21720 * misc/fsetxattr.c: Likewise.
21721 * misc/fsync.c: Likewise.
21722 * misc/ftruncate.c: Likewise.
21723 * misc/futimes.c: Likewise.
21724 * misc/futimesat.c: Likewise.
21725 * misc/getdomain.c: Likewise.
21726 * misc/getdtsz.c: Likewise.
21727 * misc/gethostid.c: Likewise.
21728 * misc/gethostname.c: Likewise.
21729 * misc/getloadavg.c: Likewise.
21730 * misc/getpagesize.c: Likewise.
21731 * misc/getsysstats.c: Likewise.
21732 * misc/getxattr.c: Likewise.
21733 * misc/gtty.c: Likewise.
21734 * misc/ioctl.c: Likewise.
21735 * misc/lgetxattr.c: Likewise.
21736 * misc/listxattr.c: Likewise.
21737 * misc/llistxattr.c: Likewise.
21738 * misc/lremovexattr.c: Likewise.
21739 * misc/lsetxattr.c: Likewise.
21740 * misc/lutimes.c: Likewise.
21741 * misc/madvise.c: Likewise.
21742 * misc/mincore.c: Likewise.
21743 * misc/mlock.c: Likewise.
21744 * misc/mlockall.c: Likewise.
21745 * misc/mmap.c: Likewise.
21746 * misc/mprotect.c: Likewise.
21747 * misc/msync.c: Likewise.
21748 * misc/munlock.c: Likewise.
21749 * misc/munlockall.c: Likewise.
21750 * misc/munmap.c: Likewise.
21751 * misc/preadv.c: Likewise.
21752 * misc/preadv64.c: Likewise.
21753 * misc/ptrace.c: Likewise.
21754 * misc/pwritev.c: Likewise.
21755 * misc/pwritev64.c: Likewise.
21756 * misc/readv.c: Likewise.
21757 * misc/reboot.c: Likewise.
21758 * misc/remap_file_pages.c: Likewise.
21759 * misc/removexattr.c: Likewise.
21760 * misc/revoke.c: Likewise.
21761 * misc/select.c: Likewise.
21762 * misc/setdomain.c: Likewise.
21763 * misc/setegid.c: Likewise.
21764 * misc/seteuid.c: Likewise.
21765 * misc/sethostid.c: Likewise.
21766 * misc/sethostname.c: Likewise.
21767 * misc/setregid.c: Likewise.
21768 * misc/setreuid.c: Likewise.
21769 * misc/setxattr.c: Likewise.
21770 * misc/sstk.c: Likewise.
21771 * misc/stty.c: Likewise.
21772 * misc/swapoff.c: Likewise.
21773 * misc/swapon.c: Likewise.
21774 * misc/sync.c: Likewise.
21775 * misc/syncfs.c: Likewise.
21776 * misc/syscall.c: Likewise.
21777 * misc/truncate.c: Likewise.
21778 * misc/ualarm.c: Likewise.
21779 * misc/usleep.c: Likewise.
21780 * misc/ustat.c: Likewise.
21781 * misc/utimes.c: Likewise.
21782 * misc/vhangup.c: Likewise.
21783 * misc/writev.c: Likewise.
21784 * posix/_exit.c: Likewise.
21785 * posix/alarm.c: Likewise.
21786 * posix/execve.c: Likewise.
21787 * posix/fexecve.c: Likewise.
21788 * posix/fork.c: Likewise.
21789 * posix/fpathconf.c: Likewise.
21790 * posix/getaddrinfo.c: Likewise.
21791 * posix/getegid.c: Likewise.
21792 * posix/geteuid.c: Likewise.
21793 * posix/getgid.c: Likewise.
21794 * posix/getgroups.c: Likewise.
21795 * posix/getlogin.c: Likewise.
21796 * posix/getlogin_r.c: Likewise.
21797 * posix/getpgid.c: Likewise.
21798 * posix/getpid.c: Likewise.
21799 * posix/getppid.c: Likewise.
21800 * posix/getresgid.c: Likewise.
21801 * posix/getresuid.c: Likewise.
21802 * posix/getsid.c: Likewise.
21803 * posix/getuid.c: Likewise.
21804 * posix/glob64.c: Likewise.
21805 * posix/nanosleep.c: Likewise.
21806 * posix/pathconf.c: Likewise.
21807 * posix/pause.c: Likewise.
21808 * posix/posix_madvise.c: Likewise.
21809 * posix/pread.c: Likewise.
21810 * posix/pread64.c: Likewise.
21811 * posix/pwrite.c: Likewise.
21812 * posix/pwrite64.c: Likewise.
21813 * posix/sched_getaffinity.c: Likewise.
21814 * posix/sched_getp.c: Likewise.
21815 * posix/sched_gets.c: Likewise.
21816 * posix/sched_primax.c: Likewise.
21817 * posix/sched_primin.c: Likewise.
21818 * posix/sched_rr_gi.c: Likewise.
21819 * posix/sched_setaffinity.c: Likewise.
21820 * posix/sched_setp.c: Likewise.
21821 * posix/sched_sets.c: Likewise.
21822 * posix/sched_yield.c: Likewise.
21823 * posix/setgid.c: Likewise.
21824 * posix/setlogin.c: Likewise.
21825 * posix/setpgid.c: Likewise.
21826 * posix/setresgid.c: Likewise.
21827 * posix/setresuid.c: Likewise.
21828 * posix/setsid.c: Likewise.
21829 * posix/setuid.c: Likewise.
21830 * posix/sleep.c: Likewise.
21831 * posix/spawni.c: Likewise.
21832 * posix/sysconf.c: Likewise.
21833 * posix/times.c: Likewise.
21834 * posix/wait.c: Likewise.
21835 * posix/wait3.c: Likewise.
21836 * posix/wait4.c: Likewise.
21837 * posix/waitpid.c: Likewise.
21838 * resolv/gai_sigqueue.c: Likewise.
21839 * resource/getpriority.c: Likewise.
21840 * resource/getrlimit.c: Likewise.
21841 * resource/getrusage.c: Likewise.
21842 * resource/nice.c: Likewise.
21843 * resource/setpriority.c: Likewise.
21844 * resource/setrlimit.c: Likewise.
21845 * resource/ulimit.c: Likewise.
21846 * rt/aio_cancel.c: Likewise.
21847 * rt/aio_fsync.c: Likewise.
21848 * rt/aio_read.c: Likewise.
21849 * rt/aio_sigqueue.c: Likewise.
21850 * rt/aio_suspend.c: Likewise.
21851 * rt/aio_write.c: Likewise.
21852 * rt/clock_getres.c: Likewise.
21853 * rt/clock_gettime.c: Likewise.
21854 * rt/clock_nanosleep.c: Likewise.
21855 * rt/clock_settime.c: Likewise.
21856 * rt/lio_listio.c: Likewise.
21857 * rt/mq_close.c: Likewise.
21858 * rt/mq_getattr.c: Likewise.
21859 * rt/mq_notify.c: Likewise.
21860 * rt/mq_open.c: Likewise.
21861 * rt/mq_receive.c: Likewise.
21862 * rt/mq_send.c: Likewise.
21863 * rt/mq_setattr.c: Likewise.
21864 * rt/mq_timedreceive.c: Likewise.
21865 * rt/mq_timedsend.c: Likewise.
21866 * rt/mq_unlink.c: Likewise.
21867 * rt/shm_open.c: Likewise.
21868 * rt/shm_unlink.c: Likewise.
21869 * rt/timer_create.c: Likewise.
21870 * rt/timer_delete.c: Likewise.
21871 * rt/timer_getoverr.c: Likewise.
21872 * rt/timer_gettime.c: Likewise.
21873 * rt/timer_settime.c: Likewise.
21874 * setjmp/__longjmp.c: Likewise.
21875 * setjmp/setjmp.c: Likewise.
21876 * signal/kill.c: Likewise.
21877 * signal/killpg.c: Likewise.
21878 * signal/raise.c: Likewise.
21879 * signal/sigaction.c: Likewise.
21880 * signal/sigaltstack.c: Likewise.
21881 * signal/sigblock.c: Likewise.
21882 * signal/sigignore.c: Likewise.
21883 * signal/sigintr.c: Likewise.
21884 * signal/signal.c: Likewise.
21885 * signal/sigpause.c: Likewise.
21886 * signal/sigpending.c: Likewise.
21887 * signal/sigqueue.c: Likewise.
21888 * signal/sigreturn.c: Likewise.
21889 * signal/sigset.c: Likewise.
21890 * signal/sigsetmask.c: Likewise.
21891 * signal/sigstack.c: Likewise.
21892 * signal/sigsuspend.c: Likewise.
21893 * signal/sigtimedwait.c: Likewise.
21894 * signal/sigvec.c: Likewise.
21895 * signal/sigwait.c: Likewise.
21896 * signal/sigwaitinfo.c: Likewise.
21897 * signal/sysv_signal.c: Likewise.
21898 * socket/accept.c: Likewise.
21899 * socket/accept4.c: Likewise.
21900 * socket/bind.c: Likewise.
21901 * socket/connect.c: Likewise.
21902 * socket/getpeername.c: Likewise.
21903 * socket/getsockname.c: Likewise.
21904 * socket/getsockopt.c: Likewise.
21905 * socket/isfdtype.c: Likewise.
21906 * socket/listen.c: Likewise.
21907 * socket/recv.c: Likewise.
21908 * socket/recvfrom.c: Likewise.
21909 * socket/recvmsg.c: Likewise.
21910 * socket/send.c: Likewise.
21911 * socket/sendmsg.c: Likewise.
21912 * socket/sendto.c: Likewise.
21913 * socket/setsockopt.c: Likewise.
21914 * socket/shutdown.c: Likewise.
21915 * socket/sockatmark.c: Likewise.
21916 * socket/socket.c: Likewise.
21917 * socket/socketpair.c: Likewise.
21918 * stdio-common/ctermid.c: Likewise.
21919 * stdio-common/cuserid.c: Likewise.
21920 * stdio-common/remove.c: Likewise.
21921 * stdio-common/rename.c: Likewise.
21922 * stdio-common/renameat.c: Likewise.
21923 * stdio-common/tempname.c: Likewise.
21924 * stdlib/getcontext.c: Likewise.
21925 * stdlib/makecontext.c: Likewise.
21926 * stdlib/setcontext.c: Likewise.
21927 * stdlib/swapcontext.c: Likewise.
21928 * stdlib/system.c: Likewise.
21929 * streams/fattach.c: Likewise.
21930 * streams/fdetach.c: Likewise.
21931 * streams/getmsg.c: Likewise.
21932 * streams/getpmsg.c: Likewise.
21933 * streams/putmsg.c: Likewise.
21934 * streams/putpmsg.c: Likewise.
21935 * sysdeps/unix/bsd/getpt.c: Likewise.
21936 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21937 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21938 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21940 Likewise.
21941 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21942 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21943 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21944 * sysvipc/msgctl.c: Likewise.
21945 * sysvipc/msgget.c: Likewise.
21946 * sysvipc/msgrcv.c: Likewise.
21947 * sysvipc/msgsnd.c: Likewise.
21948 * sysvipc/semctl.c: Likewise.
21949 * sysvipc/semget.c: Likewise.
21950 * sysvipc/semop.c: Likewise.
21951 * sysvipc/semtimedop.c: Likewise.
21952 * sysvipc/shmat.c: Likewise.
21953 * sysvipc/shmctl.c: Likewise.
21954 * sysvipc/shmdt.c: Likewise.
21955 * sysvipc/shmget.c: Likewise.
21956 * termios/tcdrain.c: Likewise.
21957 * termios/tcflow.c: Likewise.
21958 * termios/tcflush.c: Likewise.
21959 * termios/tcgetattr.c: Likewise.
21960 * termios/tcgetpgrp.c: Likewise.
21961 * termios/tcsendbrk.c: Likewise.
21962 * termios/tcsetattr.c: Likewise.
21963 * termios/tcsetpgrp.c: Likewise.
21964 * time/adjtime.c: Likewise.
21965 * time/clock.c: Likewise.
21966 * time/getitimer.c: Likewise.
21967 * time/gettimeofday.c: Likewise.
21968 * time/setitimer.c: Likewise.
21969 * time/settimeofday.c: Likewise.
21970 * time/stime.c: Likewise.
21971 * time/time.c: Likewise.
21972
21973 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
21974
21975 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21976 /usr/old/bin.
21977
21978 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21979 instead of spaces.
21980 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21981
21982 2012-11-03 Joseph Myers <joseph@codesourcery.com>
21983
21984 [BZ #14796]
21985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21986 FE_TONEAREST before applying Dekker multiplication and Knuth
21987 addition. Clear inexact exceptions and check for exact zero
21988 results afterwards.
21989 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21990 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21992 * math/libm-test.inc (fma_test): Add more tests.
21993 (fma_test_towardzero): Likewise.
21994 (fma_test_downward): Likewise.
21995 (fma_test_upward): Likewise.
21996 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21997 function.
21998 (libc_fesetround): New macro.
21999 (libc_fesetroundf): Likewise.
22000 (libc_fesetroundl): Likewise.
22001 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22002 function.
22003 (libc_fesetround_387): Likewise.
22004 (libc_fesetroundf): New macro.
22005 (libc_fesetround): Likewise.
22006 (libc_fesetroundl): Likewise.
22007 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22008 function.
22009 (libc_fesetroundf): New macro.
22010 (libc_fesetround): Likewise.
22011 (libc_fesetroundl): Likewise.
22012 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22013 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22014 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22015 libm_hidden_ver.
22016 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22017 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22018 libm_hidden_def.
22019 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22020 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22021 libm_hidden_ver.
22022 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22023 libm_hidden_def.
22024
22025 [BZ #3439]
22026 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22027 integer constant usable in #if and use that to give value to enum
22028 constant.
22029 (FE_DIVBYZERO): Likewise.
22030 (FE_UNDERFLOW): Likewise.
22031 (FE_OVERFLOW): Likewise.
22032 (FE_INVALID): Likewise.
22033 (FE_INVALID_SNAN): Likewise.
22034 (FE_INVALID_ISI): Likewise.
22035 (FE_INVALID_IDI): Likewise.
22036 (FE_INVALID_ZDZ): Likewise.
22037 (FE_INVALID_IMZ): Likewise.
22038 (FE_INVALID_COMPARE): Likewise.
22039 (FE_INVALID_SOFTWARE): Likewise.
22040 (FE_INVALID_SQRT): Likewise.
22041 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22042 (FE_TONEAREST): Likewise.
22043 (FE_TOWARDZERO): Likewise.
22044 (FE_UPWARD): Likewise.
22045 (FE_DOWNWARD): Likewise.
22046 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22047 (FE_DIVBYZERO): Likewise.
22048 (FE_OVERFLOW): Likewise.
22049 (FE_UNDERFLOW): Likewise.
22050 (FE_INEXACT): Likewise.
22051 (FE_TONEAREST): Likewise.
22052 (FE_DOWNWARD): Likewise.
22053 (FE_UPWARD): Likewise.
22054 (FE_TOWARDZERO): Likewise.
22055 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22056 (FE_UNDERFLOW): Likewise.
22057 (FE_OVERFLOW): Likewise.
22058 (FE_DIVBYZERO): Likewise.
22059 (FE_INVALID): Likewise.
22060 (FE_TONEAREST): Likewise.
22061 (FE_TOWARDZERO): Likewise.
22062 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22063 (FE_OVERFLOW): Likewise.
22064 (FE_UNDERFLOW): Likewise.
22065 (FE_DIVBYZERO): Likewise.
22066 (FE_INEXACT): Likewise.
22067 (FE_TONEAREST): Likewise.
22068 (FE_TOWARDZERO): Likewise.
22069 (FE_UPWARD): Likewise.
22070 (FE_DOWNWARD): Likewise.
22071 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22072 (FE_DIVBYZERO): Likewise.
22073 (FE_OVERFLOW): Likewise.
22074 (FE_UNDERFLOW): Likewise.
22075 (FE_INEXACT): Likewise.
22076 (FE_TONEAREST): Likewise.
22077 (FE_DOWNWARD): Likewise.
22078 (FE_UPWARD): Likewise.
22079 (FE_TOWARDZERO): Likewise.
22080
22081 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22082
22083 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22084
22085 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22086
22087 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22088 commands. Quote $PWD.
22089 (blacklist_exports): Don't use remove_newlines. Replace "declare
22090 -x" by "export".
22091 (remove_newlines): Remove.
22092
22093 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22094
22095 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22096 * stdlib/stdlib.h (atof): Moved to ...
22097 * include/bits/stdlib-float.h: Here. New file.
22098 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22099 * stdlib/bits/stdlib-float.h: New file.
22100 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22101 -mno-sse -mno-mmx.
22102 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22103 <xmmintrin.h>.
22104
22105 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22106
22107 * conform/conformtest.pl (@headers): Add fenv.h.
22108 * conform/data/fenv.h-data: New file.
22109 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22110 include of <math/fenv.h>.
22111
22112 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22113 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22114 && !UNIX98]. Enables tests for XOPEN2K8.
22115 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22116 POSIX2008]: Likewise.
22117
22118 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22119 (struct rusage): Do not expect type or its members.
22120
22121 [BZ #3439]
22122 * math/math.h (FP_NAN): Define macro to integer constant usable in
22123 #if and use that to give value to enum constant.
22124 (FP_INFINITE): Likewise.
22125 (FP_ZERO): Likewise.
22126 (FP_SUBNORMAL): Likewise.
22127 (FP_NORMAL): Likewise.
22128
22129 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22130
22131 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22132 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22133 arguments.
22134
22135 2012-11-02 Roland McGrath <roland@hack.frob.com>
22136
22137 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22138 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22139 autoconf-time if not.
22140 * configure.in: Remove AC_PREREQ.
22141
22142 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22143
22144 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22145 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22146 of the internal implementation.
22147
22148 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22149
22150 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22151 except include of <misc/sys/syslog.h>.
22152
22153 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22154
22155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22156 function returns with a NULL context exit with zero.
22157
22158 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22159
22160 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22161
22162 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22163
22164 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22165 (run_program_cmd): This.
22166 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22167 (tst_langinfo): New variable. Use it.
22168
22169 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22170
22171 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22172 floating point opcodes.
22173
22174 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22175
22176 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22177 variable.
22178
22179 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22180
22181 * sysdeps/mach/hurd/powerpc: Remove directory.
22182 * sysdeps/mach/powerpc: Likewise.
22183
22184 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22185
22186 * scripts/check-local-headers.sh: Ignore c++ headers.
22187
22188 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22189
22190 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22191 __libc_cleanup_region_start argument.
22192
22193 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22194
22195 [BZ #14784]
22196 [BZ #14785]
22197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22198 x * y using scaling, not as x * y + z.
22199 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22200 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22201 * math/libm-test.inc (fma_test): Add more tests.
22202 (fma_test_towardzero): Likewise.
22203 (fma_test_downward): Likewise.
22204 (fma_test_upward): Likewise.
22205
22206 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22207
22208 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22209
22210 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22211
22212 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22213 New variable.
22214
22215 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22216
22217 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22218
22219 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22220
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22222 Fix sort order.
22223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22224 Likewise.
22225
22226 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22227
22228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22229 Fix the order of the list for glibc 2.17.
22230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22231 Likewise.
22232
22233 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22234
22235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22236
22237 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22238
22239 [BZ #14610]
22240 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22241 for low part of x being zero before using __atanl (y).
22242 * math/libm-test.inc (atan2_test): Add another test.
22243
22244 * manual/install.texi (Configuring and compiling): Document
22245 general use of test-wrapper and test-wrapper-env.
22246 * INSTALL: Regenerated.
22247
22248 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22249 (__fma): Do not extract and scale down low bits on after-rounding
22250 systems when result rounded to normal precision would have normal
22251 exponent.
22252 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22253 (__fmal): Do not extract and scale down low bits on after-rounding
22254 systems when result rounded to normal precision would have normal
22255 exponent.
22256 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22257 (__fmal): Do not extract and scale down low bits on after-rounding
22258 systems when result rounded to normal precision would have normal
22259 exponent.
22260 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22261 macro.
22262 (fma_test): Add more tests.
22263 (fma_test_towardzero): Likewise.
22264 (fma_test_downward): Likewise.
22265 (fma_test_upward): Likewise.
22266
22267 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22268
22269 * sysdeps/i386/tininess.h: Renamed to ...
22270 * sysdeps/x86/tininess.h: This.
22271 * sysdeps/x86_64/tininess.h: Removed.
22272
22273 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22274
22275 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22276 input. Use $(build-program-cmd).
22277 ($(objpfx)tst-array1-static.out): Likewise.
22278 ($(objpfx)tst-array2.out): Likewise.
22279 ($(objpfx)tst-array3.out): Likewise.
22280 ($(objpfx)tst-array4.out): Likewise.
22281 ($(objpfx)tst-array5.out): Likewise.
22282 ($(objpfx)tst-array5-static.out): Likewise.
22283
22284 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22285
22286 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22287 if defined.
22288
22289 * nss/nsswitch.h (nss_interface_function): Provide new
22290 macro for use with NSS functions.
22291 * grp/initgroups.c: Use new macro.
22292 * nss/getXXbyYY.c: Likewise.
22293 * nss/getXXbyYY_r.c: Likewise.
22294 * nss/getXXent.c: Likewise.
22295 * nss/getXXent_r.c: Likewise.
22296 * sysdeps/posix/getaddrinfo.c: Likewise.
22297
22298 2012-10-30 Andreas Jaeger <aj@suse.de>
22299
22300 * po/ru.po: Update Russion translation from translation project.
22301
22302 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22303
22304 [BZ #14152]
22305 [BZ #14783]
22306 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22307 result and shift together with sticky bit instead of replicating
22308 round-to-nearest rounding.
22309 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22310 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22311 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22312 missing underflow exceptions.
22313 (fma_test_towardzero): Add more tests.
22314 (fma_test_downward): Likewise.
22315 (fma_test_upward): Likewise.
22316
22317 [BZ #14047]
22318 * sysdeps/generic/tininess.h: New file.
22319 * sysdeps/i386/tininess.h: Likewise.
22320 * sysdeps/sh/tininess.h: Likewise.
22321 * sysdeps/x86_64/tininess.h: Likewise.
22322 * stdlib/tst-strtod-underflow.c: Likewise.
22323 * stdlib/tst-tininess.c: Likewise.
22324 * stdlib/strtod_l.c: Include <tininess.h>.
22325 (round_and_return): Do not set errno for exact underflow cases.
22326 Force an underflow exception when setting errno for underflow.
22327 Determine underflow based on rounding to normal precision if
22328 TININESS_AFTER_ROUNDING.
22329 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22330 ERANGE for exact underflow cases.
22331 * stdlib/Makefile (tests): Add tst-tininess and
22332 tst-strtod-underflow.
22333 ($(objpfx)tst-tininess): Use $(link-libm).
22334 ($(objpfx)tst-strtod-underflow): Likewise.
22335
22336 2012-10-30 Andreas Jaeger <aj@suse.de>
22337
22338 [BZ#14767]
22339 * elf/Makefile (tests): Remove conditional for have-initfini-array
22340 since this is now always required and the variable does not exist
22341 anymore.
22342 (tests-static): Likewise.
22343 (modules-names): Likewise.
22344
22345 * po/eo.po: Add Esperanto translation from translation project.
22346
22347 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22348 merged with constructor/destructor.
22349 (init_array): Likewise.
22350 * elf/tst-array2dep.c (fini_array): Likewise.
22351 (init_array): Likewise.
22352
22353 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22354
22355 * manual/message.texi: Delete @cartouche tags.
22356
22357 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22358
22359 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22360 EOPNOTSUPP.
22361 * sysdeps/mach/hurd/fsync.c: Likewise.
22362
22363 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22364 [_POSIX_REALTIME_SIGNALS]: Change condition to
22365 [_POSIX_REALTIME_SIGNALS > 0].
22366
22367 2012-10-27 Andreas Jaeger <aj@suse.de>
22368
22369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22370 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22371 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22372 [__WORDSIZE != 64]: Likewise.
22373
22374 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22375
22376 * iconvdata/tst-table.sh: Remove ${SHELL}.
22377 * iconvdata/tst-tables.sh: Likewise.
22378
22379 2012-10-25 David S. Miller <davem@davemloft.net>
22380
22381 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22382 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22383 of strtoull.
22384
22385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22386 ifunc-impl-list.c
22387 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22388 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22389 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22390 file.
22391
22392 2012-10-25 Roland McGrath <roland@hack.frob.com>
22393
22394 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22395 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22396 __getdirentries.
22397
22398 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22399 Jim Blandy <jimb@codesourcery.com>
22400
22401 * scripts/cross-test-ssh.sh: New file.
22402 * manual/install.texi (Configuring and compiling): Document use of
22403 cross-test-ssh.sh.
22404 * INSTALL: Regenerated.
22405
22406 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22407
22408 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22409 EOPNOTSUPP.
22410
22411 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22412
22413 * Makeconfig (run-program-prefix): Fix comment.
22414
22415 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22416 Jim Blandy <jimb@codesourcery.com>
22417
22418 * Makeconfig (test-wrapper): New variable,
22419 (test-wrapper-env): Likewise.
22420 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22421 (run-built-tests): Define to yes.
22422 (run-program-prefix): Use $(test-wrapper).
22423 (built-program-cmd): Likewise.
22424 * Rules (make-test-out): Use $(test-wrapper-env) and
22425 $(host-built-program-cmd).
22426 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22427 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22428 tst-pathopt.sh.
22429 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22430 $(test-wrapper-env) to tst-rtld-load-self.sh.
22431 ($(objpfx)order2.out): Use $(test-wrapper).
22432 ($(objpfx)tst-initorder.out): Likewise.
22433 ($(objpfx)tst-initorder2.out): Likewise.
22434 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22435 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22436 (test_wrapper_env): New variable. Use it to run ld.so.
22437 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22438 Use it to run ld.so.
22439 (test_wrapper_env): Likewise.
22440 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22441 $(test-wrapper) to run-iconv-test.sh.
22442 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22443 (ICONV): Use $test_wrapper.
22444 * posix/Makefile ($(objpfx)globtest.out): Pass
22445 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22446 globtest.sh, not $(run-program-prefix).
22447 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22448 (test_wrapper): Likewise.
22449 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22450 set together with run_via_rtld_prefix.
22451 (run_program_prefix): Define in terms of test_wrapper and
22452 run_via_rtld_prefix.
22453
22454 2012-10-24 Roland McGrath <roland@hack.frob.com>
22455
22456 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22457 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22458 Targets removed.
22459
22460 [BZ #14743]
22461 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22462 Declare __clock_getres, __clock_gettime, __clock_settime,
22463 __clock_nanosleep, and __clock_getcpuclockid.
22464 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22465 Remove librt_hidden_def (clock_gettime).
22466 * sysdeps/unix/clock_gettime.c: Likewise.
22467 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22468 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22469 * rt/clock_getres.c: Define __clock_getres as an alias.
22470 * sysdeps/posix/clock_getres.c: Likewise.
22471 * rt/clock_settime.c: Define __clock_settime as an alias.
22472 * sysdeps/unix/clock_settime.c: Likewise.
22473 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22474 * sysdeps/unix/clock_nanosleep.c: Likewise.
22475 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22476 * rt/clock-compat.c: New file.
22477 * rt/Makefile (librt-routines): Add clock-compat and move
22478 $(clock-routines) to ...
22479 (routines): ... here, new variable.
22480 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22481 Don't add get_clockfreq here.
22482 * rt/Versions (libc: GLIBC_2.17): New version set.
22483 Add clock_* symbols here.
22484 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22485 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22486 (GLIBC_2.17): Add clock_* symbols.
22487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22489 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22491 Likewise.
22492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22493 Likewise.
22494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22498 * NEWS: Mention the move.
22499
22500 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22501 Use __open, __read, __close rather than their public counterparts.
22502 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22503 (__get_clockfreq_via_cpuinfo): Likewise.
22504 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22505 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22506
22507 * config.h.in (HAVE_IFUNC): New #undef.
22508 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22509 was successful.
22510 * configure: Regenerated.
22511
22512 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22513
22514 * configure.in: Move READELF check to start of file.
22515 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22516 libc_cv_asm_gnu_indirect_function in the process.
22517 * configure: Regenerated.
22518
22519 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22520
22521 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22522 send the output to /dev/null.
22523 (libc_cv_cc_with_libunwind): Likewise.
22524 (libc_cv_as_noexecstack): Likewise.
22525 * configure: Regenerate.
22526
22527 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22528
22529 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22530
22531 * posix/globtest.sh (TMPDIR): Do not set.
22532 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22533 (testout): Likewise.
22534
22535 2012-10-24 Andreas Jaeger <aj@suse.de>
22536
22537 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22538 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22539 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22540 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22541 posix_fadvise64, posix_fallocate64.
22542
22543 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22544 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22545 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22546 Likewise.
22547 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22548 Likewise.
22549 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22550
22551 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22552 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22553 <bits/fcntl-linux.h>.
22554 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22555
22556 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22557 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22558 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22559 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22560 [__WORDSIZE != 64]: Likewise.
22561
22562 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22563
22564 * Makeconfig (run-built-tests): New variable.
22565 * Rules [$(cross-compiling) = yes]: Change condition to
22566 [$(run-built-tests) = no].
22567 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22568 to [$(run-built-tests) = yes].
22569 * elf/Makefile [$(cross-compiling) = no]: Likewise
22570 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22571 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22572 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22573 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22574 * io/Makefile [$(cross-compiling) = no]: Likewise.
22575 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22576 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22577 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22578 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22579 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22580 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22581 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22582 * string/Makefile [$(cross-compiling) = no]: Likewise.
22583
22584 * posix/Makefile ($(objpfx)globtest.out): Pass
22585 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22586 $(rtld-installed-name).
22587 * posix/globtest.sh (elf_objpfx): Remove variable.
22588 (rtld_installed_name): Likewise.
22589 (library_path): Likewise.
22590 (run_program_prefix): New variable. Use for running globtest
22591 binary.
22592
22593 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22594 Joseph Myers <joseph@codesourcery.com>
22595
22596 * Makeconfig (host-built-program-cmd): New variable.
22597 * elf/Makefile (tst-stackguard1-ARGS): Use
22598 $(host-built-program-cmd).
22599 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22600 (tst-spawn-ARGS): Likewise.
22601 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22602
22603 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22604 Jim Blandy <jimb@codesourcery.com>
22605
22606 * Makeconfig (run-via-rtld-prefix): New variable.
22607 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22608 (built-program-cmd): Likewise.
22609
22610 2012-10-22 Andreas Jaeger <aj@suse.de>
22611
22612 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22613 __O_RSYNC if it exists, otherwise to O_SYNC.
22614
22615 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22616 Joseph Myers <joseph@codesourcery.com>
22617
22618 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22619 /dev/null.
22620 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22621 from /dev/null
22622 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22623 /dev/null.
22624
22625 2012-10-22 Andreas Jaeger <aj@suse.de>
22626
22627 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22628 Define always.
22629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22630
22631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22632 bits/fcntl-linux.h.
22633
22634 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22635 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22636
22637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22638 to __O_LARGEFILE.
22639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22640 to __O_LARGEFILE.
22641
22642 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22643 Joseph Myers <joseph@codesourcery.com>
22644
22645 * config.make.in (NM): New variable.
22646
22647 2012-10-21 Andreas Jaeger <aj@suse.de>
22648
22649 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22650 definitions and declarations that are provided by
22651 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22652
22653 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22654
22655 [BZ #14683]
22656 * elf/Makefile (tests-static): Add tst-leaks1-static.
22657 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22658 ($(objpfx)tst-leaks1-static): New rule.
22659 ($(objpfx)tst-leaks1-static-mem): Likewise.
22660 (tst-leaks1-static-ENV): New macro.
22661 * elf/dl-open.c (dl_open_worker): Check the main application
22662 only if SHARED is defined.
22663 * elf/tst-leaks1-static.c: New file.
22664
22665 2012-10-20 Andreas Jaeger <aj@suse.de>
22666
22667 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22668 generic values for Linux.
22669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22670 and declarations that are provided by <bits/fcntl-linux.h> and
22671 include <bits/fcntl-linux.h>.
22672 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22673 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22674
22675 2012-10-20 Roland McGrath <roland@hack.frob.com>
22676
22677 * io/fcntl.h: Move include of <bits/types.h> to the top and
22678 include it unconditionally.
22679
22680 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22681
22682 * wcsmbs/Makefile (tests-ifunc): New variable.
22683 (tests): Add $(tests-ifunc).
22684 * wcsmbs/test-wcschr-ifunc.c: New file.
22685 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22686 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22687 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22688 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22689 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22690
22691 * string/Makefile (tests-ifunc): New variable.
22692 (tests): Add $(tests-ifunc).
22693 * string/test-memccpy.c (TEST_NAME): New macro.
22694 * string/test-memchr.c (TEST_NAME): Likewise.
22695 * string/test-memcmp.c (TEST_NAME): Likewise.
22696 * string/test-memcpy.c (TEST_NAME): Likewise.
22697 * string/test-memmem.c (TEST_NAME): Likewise.
22698 * string/test-memmove.c (TEST_NAME): Likewise.
22699 * string/test-memset.c (TEST_NAME): Likewise.
22700 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22701 * string/test-stpcpy.c (TEST_NAME): Likewise.
22702 * string/test-stpncpy.c (TEST_NAME): Likewise.
22703 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22704 * string/test-strcasestr.c (TEST_NAME): Likewise.
22705 * string/test-strcat.c (TEST_NAME): Likewise.
22706 * string/test-strchr.c (TEST_NAME): Likewise.
22707 * string/test-strcmp.c(TEST_NAME): Likewise.
22708 * string/test-strcpy.c (TEST_NAME): Likewise.
22709 * string/test-strcspn.c (TEST_NAME): Likewise.
22710 * string/test-strlen.c (TEST_NAME): Likewise.
22711 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22712 * string/test-strncmp.c (TEST_NAME): Likewise.
22713 * string/test-strncpy.c (TEST_NAME): Likewise.
22714 * string/test-strnlen.c (TEST_NAME): Likewise.
22715 * string/test-strpbrk.c (TEST_NAME): Likewise.
22716 * string/test-strrchr.c (TEST_NAME): Likewise.
22717 * string/test-strspn.c (TEST_NAME): Likewise.
22718 * string/test-strstr.c (TEST_NAME): Likewise.
22719 * string/test-bcopy-ifunc.c: New file.
22720 * string/test-bzero-ifunc.c: Likewise.
22721 * string/test-memccpy-ifunc.c: Likewise.
22722 * string/test-memchr-ifunc.c: Likewise.
22723 * string/test-memcmp-ifunc.c: Likewise.
22724 * string/test-memcpy-ifunc.c: Likewise.
22725 * string/test-memmem-ifunc.c: Likewise.
22726 * string/test-memmove-ifunc.c: Likewise.
22727 * string/test-mempcpy-ifunc.c: Likewise.
22728 * string/test-memset-ifunc.c: Likewise.
22729 * string/test-rawmemchr-ifunc.c: Likewise.
22730 * string/test-stpcpy-ifunc.c: Likewise.
22731 * string/test-stpncpy-ifunc.c: Likewise.
22732 * string/test-strcasecmp-ifunc.c: Likewise.
22733 * string/test-strcasestr-ifunc.c: Likewise.
22734 * string/test-strcat-ifunc.c: Likewise.
22735 * string/test-strchr-ifunc.c: Likewise.
22736 * string/test-strchrnul-ifunc.c: Likewise.
22737 * string/test-strcmp-ifunc.c: Likewise.
22738 * string/test-strcpy-ifunc.c: Likewise.
22739 * string/test-strcspn-ifunc.c: Likewise.
22740 * string/test-strlen-ifunc.c: Likewise.
22741 * string/test-strncasecmp-ifunc.c: Likewise.
22742 * string/test-strncat-ifunc.c: Likewise.
22743 * string/test-strncmp-ifunc.c: Likewise.
22744 * string/test-strncpy-ifunc.c: Likewise.
22745 * string/test-strnlen-ifunc.c: Likewise.
22746 * string/test-strpbrk-ifunc.c: Likewise.
22747 * string/test-strrchr-ifunc.c: Likewise.
22748 * string/test-strspn-ifunc.c: Likewise.
22749 * string/test-strstr-ifunc.c: Likewise.
22750
22751 * debug/Makefile (tests-ifunc): New variable.
22752 (tests): Add $(tests-ifunc).
22753 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22754 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22755 * debug/test-stpcpy_chk-ifunc.c: New file.
22756 * debug/test-strcpy_chk-ifunc.c: Likewise.
22757
22758 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22759
22760 [BZ #13601]
22761 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22762 header is not read in.
22763
22764 2012-10-19 Joseph Myers <joseph@codesourcery.com>
22765
22766 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22767 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22768 directly. Pass built executable to script as
22769 $(built-program-cmd).
22770 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22771 $testprogram without using LD_LIBRARY_PATH and $ldso.
22772
22773 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22774 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22775 $(rtld-installed-name).
22776 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22777 (rtld_installed_name): Likewise.
22778 (library_path): Likewise.
22779 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22780 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22781 $(run-program-prefix) to tst-tables.sh.
22782 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22783 it to run tst-table-from and tst-table-to.
22784 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22785 Pass it to tst-table.sh.
22786 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22787 $(run-program-prefix) to tst-gettext.sh.
22788 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22789 tst-translit.sh.
22790 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22791 tst-gettext2.sh.
22792 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22793 to run tst-gettext.
22794 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22795 to run tst-gettext2.
22796 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22797 to run tst-translit.
22798 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22799 $(run-program-prefix) to tst-mtrace.sh.
22800 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22801 to run tst-mtrace.
22802 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22803 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22804 $(rtld-installed-name).
22805 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22806 (rtld_installed_name): Likewise.
22807 (run_program_prefix): New variable. Use it to run wordexp-test.
22808
22809 * Makeconfig (ARCH): Remove all definitions.
22810 (machine): Likewise.
22811 [ARCH]: Remove conditional code.
22812 [!objdir]: Give error.
22813 [!objdir] (objpfx): Remove.
22814 [!objdir] (common-objpfx): Likewise.
22815 [!objdir] (common-objdir): Likewise.
22816 * configure.in (config_makefile): Remove. Hardcode Makefile in
22817 AC_CONFIG_FILES call.
22818 * configure: Regenerated.
22819
22820 [BZ #13888]
22821 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22822 or TMPDIR.
22823 (testout): Likewise.
22824
22825 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22826 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22827 $(rtld-installed-name).
22828 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22829 (rtld_installed_name): Likwise.
22830 (runit): Remove function.
22831 (run_getconf): New variable, Use it for running getconf binary.
22832
22833 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22834
22835 [BZ #14716]
22836 * string/test-memmem.c (check_result): New function.
22837 (do_one_test): Use it.
22838 (check1): New function.
22839 (test_main): Use it.
22840
22841 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22842
22843 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22844
22845 2012-10-18 Joseph Myers <joseph@codesourcery.com>
22846
22847 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22848 (_G_LSEEK64): Likewise.
22849 (_G_MMAP64): Likewise.
22850 (_G_FSTAT64): Likewise.
22851 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22852 (_G_LSEEK64): Likewise.
22853 (_G_MMAP64): Likewise.
22854 (_G_FSTAT64): Likewise.
22855 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22856 unconditional. Call __mmap64 directly.
22857 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22858 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22859 __lseek64 directly.
22860 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22861 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22862 __mmap64 directly.
22863 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22864 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22865 __lseek64 directly.
22866 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22867 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22868 __lseek64 directly.
22869 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22870 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22871 __lseek64 directly.
22872 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22873 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22874 __fxstat64 directly.
22875 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22876 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22877 unconditional.
22878 (freopen64) [!_G_OPEN64]: Remove conditional code.
22879 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22880 unconditional.
22881 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22882 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22883 unconditional.
22884 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22885 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22886 unconditional.
22887 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22888 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22889 unconditional.
22890 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22891 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22892 unconditional.
22893 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22894 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22895 unconditional.
22896 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22897 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22898 unconditional.
22899 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22900
22901 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22902
22903 [BZ #12140]
22904 * manual/memory.texi (Malloc Tunable Parameters): Add note
22905 about free list pointers overwriting some perturb bytes.
22906 Wording suggested by Roland McGrath.
22907
22908 2012-10-17 Joseph Myers <joseph@codesourcery.com>
22909
22910 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22911 (lgamma_test): Likewise.
22912 (tgamma_test): Likewise.
22913
22914 2012-10-16 Florian Weimer <fweimer@redhat.com>
22915
22916 [BZ #14700]
22917 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22918 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22919
22920 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22921
22922 * NEWS: Mention BZ #14716.
22923 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22924 when removing AVAILABLE1_USES_J macro.
22925
22926 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22927
22928 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22929 (__bswap_64): __uint64_t for unsigned 64-bit int.
22930
22931 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22932
22933 * include/string.h (memmem): Declare libc hidden alias.
22934 * string/memmem.c (memmem): Define libc hidden alias.
22935 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22936 __read, __close instead of open, read, close.
22937
22938 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22939
22940 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22941 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22942 global and hidden.
22943 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22944 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22945 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22946 Likewise.
22947 (__rawmemchr_sse2): Likewise.
22948 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22949 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22950 (__strchr_sse2): Likewise.
22951 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22952 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22953 (__strcasecmp_sse2): Likewise.
22954 (__strncasecmp_sse2): Likewise.
22955 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22956 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22957 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22958 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22959 (__strrchr_sse2): Likewise.
22960 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22961 ifunc-impl-list.c.
22962 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22963 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22964 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22965 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22966 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22967 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22968 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22969 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22970 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22971 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22972 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22973 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22974 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22975 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22976 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22977 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22978 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22979 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22980 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22981 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22982 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22983 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22984 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22985 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22986 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22987 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22988 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22989 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22990 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22991 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22992
22993 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22994 global and hidden.
22995 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22996 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22997 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22998 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22999 Likewise.
23000 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23001 Likewise.
23002 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23003 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23004 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23005 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23006 ifunc-impl-list.c.
23007 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23008 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23009 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23010 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23011 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23012 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23013 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23014 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23015 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23016 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23017 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23018 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23019 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23021 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23022 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23023 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23024 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23025 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23026 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23027 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23029 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23030 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23031 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23032 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23033 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23034 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23035 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23036 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23037 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23038 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23039 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23040 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23041 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23042 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23043 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23045 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23046 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23047 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23048
23049 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23050 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23051 * include/ifunc-impl-list.h: New file.
23052 * misc/ifunc-impl-list.c: Likewise.
23053 * misc/Makefile (routines): Add ifunc-impl-list.
23054 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23055 * string/test-string.h: Include <ifunc-impl-list.h>.
23056 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23057 impl_array): New variables.
23058 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23059 are defined.
23060 (test_init): Call __libc_ifunc_impl_list to initialize
23061 func_list if TEST_IFUNC and TEST_NAME are defined.
23062
23063 * string/Makefile (strop-tests): Add bcopy and bzero.
23064 * string/test-bcopy.c: New file.
23065 * string/test-bzero.c: Likewise.
23066 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23067 defined.
23068 * string/test-memset.c: Support bzero test if TEST_BZERO is
23069 defined.
23070 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23071 __libc_memmove.
23072 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23073 __libc_memset.
23074 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23075 of memset.
23076
23077 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23078
23079 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23080 * configure: Regenerated.
23081
23082 * Makeconfig (+link-static-before-libc): Don't include
23083 $(link-static-libc).
23084
23085 * libio/libio.h (_IO_pos_t): Remove.
23086
23087 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23088
23089 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23090 McGrath.
23091
23092 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23093
23094 * crypt/crypt-entry.c: Include fips-private.h.
23095 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23096 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23097 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23098 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23099
23100 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23101
23102 * crypt/crypt-private.h: Include stdbool.h.
23103 (_ufc_setup_salt_r): Return bool.
23104 * crypt/crypt-entry.c: Include errno.h.
23105 (__crypt_r): Return NULL with EINVAL for bad salt.
23106 * crypt/crypt_util.c (bad_for_salt): New.
23107 (_ufc_setup_salt_r): Check that salt is long enough and within
23108 the specified alphabet.
23109 * crypt/badsalttest.c: New file.
23110 * crypt/Makefile (tests): Add it.
23111 ($(objpfx)badsalttest): New.
23112
23113 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23114
23115 * NEWS: Add entry for BZ #14602.
23116
23117 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23118
23119 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23120 type-generic.
23121 * math/libm-test.inc: Update comment listing what functions and
23122 macros are tested.
23123 (isgreater_test): New function.
23124 (isgreaterequal_test): Likewise.
23125 (isless_test): Likewise.
23126 (islessequal_test): Likewise.
23127 (islessgreater_test): Likewise.
23128 (isunordered_test): Likewise.
23129 (main): Call the new functions.
23130
23131 2012-10-09 Roland McGrath <roland@hack.frob.com>
23132
23133 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23134 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23135 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23136 * sysdeps/i386/configure: Regenerated.
23137 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23138 * sysdeps/mach/configure: Regenerated.
23139 * sysdeps/mach/hurd/configure: Regenerated.
23140 * sysdeps/powerpc/configure: Regenerated.
23141 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23142 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23143 * sysdeps/s390/s390-32/configure: Regenerated.
23144 * sysdeps/s390/s390-64/configure: Regenerated.
23145 * sysdeps/sh/configure: Regenerated.
23146 * sysdeps/sparc/configure: Regenerated.
23147 * sysdeps/unix/sysv/linux/configure: Regenerated.
23148 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23149 * sysdeps/x86_64/configure: Regenerated.
23150
23151 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23152 defined. Don't check if MAP is NULL.
23153
23154 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23155
23156 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23157 (_G_stat64): Likewise.
23158 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23159 (_G_stat64): Likewise.
23160 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23161 instead of struct _G_stat64.
23162 * libio/fileops.c (mmap_remap_check): Likewise.
23163 (decide_maybe_mmap): Likewise.
23164 (_IO_new_file_seekoff): Likewise.
23165 (_IO_file_stat): Likewise.
23166 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23167 _G_off64_t.
23168 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23169 instead of struct _G_stat64.
23170 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23171
23172 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23173
23174 [BZ #14602]
23175 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23176 Replace with ...
23177 (CHECK_EOL): New macro.
23178 (two_way_short_needle): Check beginning of haystack for EOL. Use
23179 CHECK_EOL.
23180 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23181 Replace with CHECK_EOL.
23182 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23183 Replace with CHECK_EOL.
23184
23185 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23186
23187 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23188 type-generic.
23189 * math/libm-test.inc: Update comment listing what functions and
23190 macros are tested.
23191 (finite_test): New function.
23192 (isinf_test): Likewise.
23193 (isnan_test): Likewise.
23194 (fpclassify_test): Test subnormal input.
23195 (isfinite_test): Likewise.
23196 (isnormal_test): Likewise.
23197 (main): Call the new functions.
23198
23199 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23200
23201 [BZ #14660]
23202 * Makerules (%.dynsym): Force C locale when running
23203 $(OBJDUMP) --dynamic-syms.
23204
23205 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23206
23207 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23208 <stdint.h>.
23209
23210 2012-10-06 David S. Miller <davem@davemloft.net>
23211
23212 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23213 upper 32-bits of the length value in %o2 since we use branch-on-register
23214 tests which consider the entire 64-bit register.
23215
23216 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23217
23218 * string/test-strstr.c (check2): Add a test for page boundary.
23219
23220 2012-10-05 David S. Miller <davem@davemloft.net>
23221
23222 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23223 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23224 file.
23225 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23226 sysdep_routines.
23227 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23228 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23229 and bzero when HWCAP_SPARC_CRYPTO is present.
23230
23231 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23232
23233 [BZ #14602]
23234 * string/test-strstr.c (check2): New function.
23235 (test_main): Call check2.
23236
23237 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23238 and bug-strchr1.
23239 * string/bug-strcasestr1.c (do_test): Moved to ...
23240 * string/test-strcasestr.c (check1): Here. New function.
23241 (do_one_test): Break out result checking code into ...
23242 (check_result): This. New function.
23243 (do_one_test): Call check_result.
23244 (test_main): Call check1.
23245 * string/bug-strchr1.c (do_test): Moved to ...
23246 * string/test-strchr.c (check1): Here. New function.
23247 (do_one_test): Break out result checking code into ...
23248 (check_result): This. New function.
23249 (do_one_test): Call check_result.
23250 (test_main): Call check1.
23251 * string/bug-strstr1.c (main): Moved to ...
23252 * string/test-strstr.c (check1): Here. New function.
23253 (do_one_test): Break out result checking code into ...
23254 (check_result): This. New function.
23255 (do_one_test): Call check_result.
23256 (test_main): Call check1.
23257 * string/bug-strcasestr1.c: Removed.
23258 * string/bug-strchr1.c: Likewise.
23259 * string/bug-strstr1.c: Likewise.
23260
23261 * elf/Makefile (dl-routines): Add hwcaps.
23262 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23263 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23264 (_dl_important_hwcaps): Moved to ...
23265 * elf/dl-hwcaps.c: Here. New file.
23266 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23267
23268 [BZ #14557]
23269 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23270 if IS_IN_rtld isn't defined.
23271
23272 * elf/dl-support.c (_dl_sysinfo_map): New.
23273 Include "get-dynamic-info.h" and "setup-vdso.h".
23274 (_dl_non_dynamic_init): Call setup_vdso.
23275 * elf/dynamic-link.h: Don't include <assert.h>.
23276 (elf_get_dynamic_info): Moved to ...
23277 * elf/get-dynamic-info.h: Here. New file.
23278 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23279 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23280 * elf/setup-vdso.h: Here. New file.
23281 * elf/rtld.c: Include "setup-vdso.h".
23282 (dl_main): Call setup_vdso.
23283
23284 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23285
23286 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23287 creal in comment listing functions tested. List finite, isinf,
23288 isnan, isless, islessequal, isgreater, isgreaterequal,
23289 islessgreater, isunordered, lgamma_r and pow10 as functions and
23290 macros not tested. Mention which functions not tested are aliases
23291 for other functions. Fix typo. Note that signs of NaNs are not
23292 tested.
23293
23294 * scripts/config.guess: Update from config.git.
23295 * scripts/config.sub: Likewise.
23296
23297 2012-10-04 Roland McGrath <roland@hack.frob.com>
23298
23299 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23300 * misc/madvise.c (madvise): Renamed to __madvise.
23301 Make madvise a weak alias.
23302 * include/sys/mman.h: Declare __madvise.
23303 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23304 * sysdeps/unix/syscalls.list
23305 (madvise): Make __madvise the strong name, and madvise a weak alias.
23306 * sysdeps/unix/sysv/linux/syscalls.list
23307 (madvise, mmap): Remove redundant entries.
23308 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23309 * malloc/malloc.c (mtrim): Likewise.
23310 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23311
23312 2012-10-03 Roland McGrath <roland@hack.frob.com>
23313
23314 * sysdeps/mach/hurd/dl-cache.c: File removed.
23315 * config.h.in (USE_LDCONFIG): New #undef.
23316 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23317 * configure: Regenerated.
23318 * elf/Makefile (dl-routines): Add dl-cache only under
23319 [$(use-ldconfig) = yes].
23320 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23321 cache on [USE_LDCONFIG].
23322 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23323 [USE_LDCONFIG].
23324 * elf/rtld.c (dl_main): Likewise.
23325
23326 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23327
23328 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23329 _SC_LEVEL4_CACHE_LINESIZE.
23330
23331 2012-10-03 Roland McGrath <roland@hack.frob.com>
23332
23333 * sysdeps/unix/bsd/confstr.h: File removed.
23334
23335 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23336
23337 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23338 sys/sdt-config.h.
23339
23340 2012-10-02 Roland McGrath <roland@hack.frob.com>
23341
23342 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23343 Make 'mapoff' field ElfW(Off) rather than off_t.
23344
23345 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23346
23347 * nscd/Makefile: Remove nscd-cflags and all its users.
23348 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23349 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23350
23351 [BZ #10631]
23352 * malloc.c (malloc_printerr): Clarify error message.
23353
23354 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23355
23356 [BZ #14648]
23357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23358 Set bit_FMA_Usable if FMA is supported.
23359 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23360 macro.
23361 (bit_FMA4_Usable): Updated.
23362 (index_FMA_Usable): New macro.
23363 (CPUID_FMA): Likewise
23364 (HAS_FMA): Defined with bit_FMA_Usable.
23365
23366 2012-10-01 Roland McGrath <roland@hack.frob.com>
23367
23368 * bits/types.h (__swblk_t): Type removed.
23369 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23370 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23371 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23372 (__SWBLK_T_TYPE): Likewise.
23373 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23374 (__SWBLK_T_TYPE): Likewise.
23375 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23376 (__SWBLK_T_TYPE): Likewise.
23377 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23378 (__SWBLK_T_TYPE): Likewise.
23379
23380 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23381 Honza Horak <hhorak@redhat.com>
23382
23383 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23384 (xdr_mapname): Use YPMAXMAP as maxsize.
23385 (xdr_peername): Use YPMAXPEER as maxsize.
23386 (xdr_keydat): Use YPAXRECORD as maxsize.
23387 (xdr_valdat): Use YPMAXRECORD as maxsize.
23388
23389 2012-10-01 Roland McGrath <roland@hack.frob.com>
23390
23391 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23392
23393 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23394 * csu/init-first.c: ... here.
23395 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23396 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23397 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23398 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23399 * sysdeps/i386/init-first.c: File removed.
23400 * sysdeps/sh/init-first.c: File removed.
23401
23402 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23403
23404 [BZ #14645]
23405 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23406 if x * y might underflow to zero and z is zero.
23407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23408 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23409 * math/libm-test.inc (min_subnorm_value): New variable.
23410 (fma_test): Add more tests.
23411 (fma_test_towardzero): Likewise.
23412 (fma_test_downward): Likewise
23413 (fma_test_upward): Likewise.
23414 (initialize): Set min_subnorm_value.
23415
23416 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23417
23418 [BZ #14638]
23419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23420 0 + 0.
23421 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23422 mode for addition resulting in exact zero.
23423 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23424 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23425 exact 0 + 0.
23426 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23427 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23428 * math/libm-test.inc (fma_test): Add more tests.
23429 (fma_test_towardzero): New function.
23430 (fma_test_downward): Likewise.
23431 (fma_test_upward): Likewise.
23432 (main): Call the new functions.
23433
23434 2012-09-28 David S. Miller <davem@davemloft.net>
23435
23436 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23437
23438 2012-09-28 Roland McGrath <roland@hack.frob.com>
23439
23440 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23441 instead of SIGALRM.
23442
23443 * sysdeps/gnu/_G_config.h: Moved to ...
23444 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23445 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23446 * sysdeps/generic/_G_config.h: ... here.
23447
23448 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23449
23450 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23451
23452 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23453 Conditionalize target on [libnss_test1.so-version].
23454
23455 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23456
23457 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23458 (elfobjdir): Move out of conditionals.
23459
23460 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23461 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23462 (__nss_lookup_function): Conditionalize label remove_from_tree on
23463 [!DO_STATIC_NSS || SHARED], matching its only use.
23464
23465 2012-09-28 David S. Miller <davem@davemloft.net>
23466
23467 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23468 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23469 file.
23470 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23471 sysdep_routines.
23472 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23473 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23474 when HWCAP_SPARC_CRYPTO is present.
23475
23476 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23477
23478 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23479
23480 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23481
23482 [BZ #6530]
23483 * stdio-common/vfprintf.c (process_string_arg): Revert
23484 2000-07-22 change.
23485
23486 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23487
23488 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23489 for testcase.
23490 * stdio-common/tst-sprintf.c: Include <locale.h>
23491 (main): Test sprintf's handling of incomplete multibyte
23492 characters.
23493
23494 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23495
23496 * elf/dl-runtime.c (VERSYMIDX): Removed.
23497 * elf/dl-version.c (VERSYMIDX): Likewise.
23498 * elf/do-rel.h (VERSYMIDX): Likewise.
23499 (VALIDX): Likewise.
23500 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23501 * elf/rtld.c (VALIDX): Likewise.
23502 (ADDRIDX): Likewise.
23503 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23504 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23505 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23506 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23507 (VALIDX): Likewise.
23508 (ADDRIDX): Likewise.
23509
23510 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23511
23512 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23513
23514 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23515
23516 [BZ #11438]
23517 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23518 to global scope.
23519 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23520 addresses are in the same scope as 192.0.2/24.
23521 * posix/gai.conf: Document new scope table defaults.
23522
23523 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23524
23525 [BZ #5298]
23526 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23527 for ftell. Compute offsets from write pointers instead.
23528 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23529
23530 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23531
23532 [BZ #14543]
23533 * libio/Makefile (tests): New test case tst-fseek.
23534 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23535 combination works in wide mode.
23536 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23537 state when the external buffer state changes.
23538
23539 2012-09-27 David S. Miller <davem@davemloft.net>
23540
23541 [BZ #14376]
23542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23543 pass reloc->r_addend in as the 'high' argument to
23544 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23545
23546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23547
23548 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23549
23550 * rt/tst-aio2.c: Include <pthread.h>.
23551 * rt/tst-aio3.c: Likewise.
23552
23553 2012-09-27 Steve Ellcey <sellcey@mips.com>
23554
23555 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23556
23557 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23558
23559 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23560 contents on [SHARED].
23561
23562 2012-09-26 Marek Polacek <polacek@redhat.com>
23563
23564 [BZ #14530]
23565 [BZ #13741]
23566 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23567 for C++ and GCC <4.3 as well as for non GCC compilers.
23568
23569 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23570
23571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23572
23573 2012-09-25 Roland McGrath <roland@hack.frob.com>
23574
23575 * Makefile.in (all, install): Declare with .PHONY.
23576 Reported by Michael Hope <michael.hope@linaro.org>.
23577
23578 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23579
23580 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23581 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23582 system header.
23583 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23584 Likewise.
23585 (sydep_routines): Add the new and the internal functions.
23586 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23587 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23589 (GLIBC_2.17): Add the new function.
23590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23591 (GLIBC_2.17): Likewise.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23593 (GLIBC_2.17): Likewise.
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23595 (GLIBC_2.17): Likewise.
23596 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23597
23598 2012-09-25 Alan Modra <amodra@gmail.com>
23599
23600 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23601 Add release barrier before setting once_control to say
23602 initialisation is done. Add hints on lwarx. Use macro in
23603 place of isync.
23604 (clear_once_control): Add release barrier.
23605
23606 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23607
23608 [BZ #13629]
23609 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23610 specially.
23611 * math/s_clog10.c (__clog10): Likewise.
23612 * math/s_clog10f.c (__clog10f): Likewise.
23613 * math/s_clog10l.c (__clog10l): Likewise.
23614 * math/s_clogf.c (__clogf): Likewise.
23615 * math/s_clogl.c (__clogl): Likewise.
23616 * math/Makefile (libm-calls): Add x2y2m1.
23617 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23618 (__x2y2m1): Likewise.
23619 (__x2y2m1l): Likewise.
23620 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23621 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23622 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23623 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23624 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23625 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23626 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23627 * sysdeps/i386/fpu/libm-test-ulps: Update.
23628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23629
23630 [BZ #14621]
23631 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23632 int as type of variable DEPTH.
23633 (glob): Use size_t instead of int as type of variables NEWCOUNT
23634 and OLD_PATHC.
23635
23636 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23637
23638 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23639 Add s_sincosf-sse2.
23640 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23641 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23642 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23643 macros for using routine as __sincosf_ia32.
23644 Use macro for function declaration and weak_alias.
23645 * sysdeps/i386/fpu/libm-test-ulps: Update.
23646
23647 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23649
23650 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23651 subnormal argument.
23652 * math/s_cexpf.c (__cexpf): Likewise.
23653 * math/s_csinf.c (__csinf): Likewise.
23654 * math/s_csinhf.c (__csinhf): Likewise.
23655 * math/s_ctanf.c (__ctanf): Likewise.
23656 * math/s_ctanhf.c (__ctanhf): Likewise.
23657 * math/s_ccosh.c (__ccoshf): Likewise.
23658 * math/s_cexp.c (__cexpl): Likewise.
23659 * math/s_csin.c (__csin): Likewise.
23660 * math/s_csinh.c (__csinh): Likewise.
23661 * math/s_ctan.c (__ctan): Likewise.
23662 * math/s_ctanh.c (ctanh): Likewise.
23663 * math/s_ccoshl.c (__ccoshl): Likewise.
23664 * math/s_cexpl.c (__cexpl): Likewise.
23665 * math/s_csinl.c (__csinl): Likewise.
23666 * math/s_csinhl.c (__csinhl): Likewise.
23667 * math/s_ctanl.c (__ctanl): Likewise.
23668 * math/s_ctanhl.c (__ctanhl): Likewise.
23669
23670 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23671
23672 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23673 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23674 (_IO_off_t): Define to __off_t, not _G_off_t.
23675 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23676 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23677 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23678 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23679 type of __dummy and __dummy2 fields.
23680 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23681 (_G_ssize_t): Likewise.
23682 (_G_off_t): Likewise.
23683 (_G_pid_t): Likewise.
23684 (_G_uid_t): Likewise.
23685 (_G_wchar_t): Likewise.
23686 (_G_wint_t): Likewise.
23687 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23688 (_G_ssize_t): Likewise.
23689 (_G_off_t): Likewise.
23690 (_G_pid_t): Likewise.
23691 (_G_uid_t): Likewise.
23692 (_G_wchar_t): Likewise.
23693 (_G_wint_t): Likewise.
23694 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23695 (_G_ssize_t): Likewise.
23696 (_G_off_t): Likewise.
23697 (_G_pid_t): Likewise.
23698 (_G_uid_t): Likewise.
23699 (_G_wchar_t): Likewise.
23700 (_G_wint_t): Likewise.
23701
23702 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23703
23704 * malloc/arena.c: Include malloc-sysdep.h.
23705 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23706 is sufficient to shrink the heap or an unmap is needed.
23707 * sysdeps/generic/malloc-sysdep.h: New file. Define
23708 new function check_may_shrink_heap.
23709 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23710 new function check_may_shrink_heap.
23711
23712 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23713
23714 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23715 comments.
23716
23717 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23718
23719 * catgets/test-gencat.sh: Add "set -e".
23720 * elf/tst-pathopt.sh: Likewise.
23721 * grp/tst_fgetgrent.sh: Likewise.
23722 * iconvdata/run-iconv-test.sh: Likewise.
23723 * intl/tst-gettext.sh: Likewise.
23724 * intl/tst-gettext2.sh: Likewise.
23725 * intl/tst-gettext4.sh: Likewise.
23726 * intl/tst-gettext6.sh: Likewise.
23727 * intl/tst-translit.sh: Likewise.
23728 * io/ftwtest-sh: Likewise.
23729 * libio/test-freopen.sh: Likewise.
23730 * malloc/tst-mtrace.sh: Likewise.
23731 * posix/globtest.sh: Likewise.
23732 * posix/tst-getconf.sh: Likewise.
23733 * posix/wordexp-tst.sh: Likewise.
23734 * stdio-common/tst-printf.sh: Likewise.
23735 * stdio-common/tst-unbputc.sh: Likewise.
23736 * stdlib/tst-fmtmsg.sh: Likewise.
23737 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23738 * catgets/Makefile: Do not specify -e option when running
23739 testsuite shell scripts.
23740 * elf/Makefile: Likewise.
23741 * grp/Makefile: Likewise.
23742 * iconvdata/Makefile: Likewise.
23743 * intl/Makefile: Likewise.
23744 * io/Makefile: Likewise.
23745 * libio/Makefile: Likewise.
23746 * malloc/Makefile: Likewise.
23747 * posix/Makefile: Likewise.
23748 * stdio-common/Makefile: Likewise.
23749 * stdlib/Makefile: Likewise.
23750 * sysdeps/x86_64/Makefile: Likewise.
23751
23752 * io/ftwtest-sh: Add copyright header.
23753 * posix/globtest.sh: Likewise.
23754 * posix/tst-getconf.sh: Likewise.
23755 * posix/wordexp-tst.sh: Likewise.
23756 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23757
23758 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23759
23760 [BZ #13679]
23761 * Makeconfig (+link): Defined as $(+link-static) if
23762 $(build-shared) isn't yes.
23763 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23764 isn't yes.
23765 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23766
23767 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23768
23769 [BZ #14562]
23770 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23771 new chunk size with MALLOC_ALIGN_MASK.
23772
23773 2012-09-24 Joseph Myers <joseph@codesourcery.com>
23774
23775 [BZ #5044]
23776 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23777 <rounding-mode.h>.
23778 (__printf_fphex): Determine rounding using get_rounding_mode and
23779 round_away.
23780 * stdio-common/tst-printf-round.c (struct hex_test): New
23781 structure.
23782 (hex_tests): New variable.
23783 (test_hex_in_one_mode): New function.
23784 (do_test): Also run tests for hex float output.
23785
23786 2012-09-21 Joseph Myers <joseph@codesourcery.com>
23787
23788 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23789 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23790 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23791 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23792 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23793 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23794 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23795 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23796
23797 2012-09-20 Joseph Myers <joseph@codesourcery.com>
23798
23799 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23800 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23801 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23802 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23803
23804 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23805
23806 [BZ #14579]
23807 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23808 mode only.
23809 * elf/tst-rtld-load-self.sh: New test.
23810 * elf/Makefile: Run it.
23811
23812 2012-09-18 Joseph Myers <joseph@codesourcery.com>
23813
23814 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23815 (tst-writev-ENV): Remove.
23816 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23817
23818 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23819
23820 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23821
23822 2012-09-17 Joseph Myers <joseph@codesourcery.com>
23823
23824 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23825 unconditional.
23826 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23827 Likewise.
23828 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23829 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23830 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23831 Likewise.
23832
23833 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23834
23835 [BZ #14587]
23836 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23837 * config.make.in (have-cpp-asm-debuginfo): Removed.
23838 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23839 * configure: Regenerated.
23840
23841 2012-09-14 Joseph Myers <joseph@codesourcery.com>
23842
23843 [BZ #5044]
23844 * stdio-common/printf_fp.c: Include <stdbool.h> and
23845 <rounding-mode.h>.
23846 (___printf_fp): Determine rounding using get_rounding_mode and
23847 round_away.
23848 * stdio-common/tst-printf-round.c: New file.
23849 * stdio-common/Makefile (tests): Add tst-printf-round.
23850 (link-libm): New variable.
23851 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23852
23853 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23854
23855 [BZ #14576]
23856 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23857 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23858 Likewise.
23859 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23860 Likewise.
23861
23862 2012-09-13 Joseph Myers <joseph@codesourcery.com>
23863
23864 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23865 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23866 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23867 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23868
23869 2012-09-12 Joseph Myers <joseph@codesourcery.com>
23870
23871 [BZ #14518]
23872 * include/rounding-mode.h: New file.
23873 * sysdeps/generic/get-rounding-mode.h: Likewise.
23874 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23875 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23876 (MAX_VALUE): New macro.
23877 (MIN_VALUE): Likewise.
23878 (overflow_value): New function.
23879 (underflow_value): Likewise.
23880 (round_and_return): Use overflow_value and underflow_value to
23881 determine return values in overflow and underflow cases. Use
23882 round_away to determine rounding depending on rounding mode.
23883 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23884 determine return values in overflow and underflow cases.
23885 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23886 (struct test_results): New structure.
23887 (struct test): Use struct test_results to store expected results
23888 for all rounding modes.
23889 (TEST): Include expected results for all rounding modes.
23890 (test_in_one_mode): New function.
23891 (do_test): Use test_in_one_mode to compute and check results.
23892 Check results for all rounding modes.
23893 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23894 $(link-libm).
23895
23896 2012-12-09 Allan McRae <allan@archlinux.org>
23897
23898 * sysdeps/i386/fpu/libm-test-ulps: Update
23899
23900 2012-09-11 Joseph Myers <joseph@codesourcery.com>
23901
23902 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23903 (_G_int32_t): Likewise.
23904 (_G_uint16_t): Likewise.
23905 (_G_uint32_t): Likewise.
23906 (_G_HAVE_BOOL): Likewise.
23907 (_G_HAVE_ATEXIT): Likewise.
23908 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23909 (_G_HAVE_IO_FILE_OPEN): Likewise.
23910 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23911 (_G_int32_t): Likewise.
23912 (_G_uint16_t): Likewise.
23913 (_G_uint32_t): Likewise.
23914 (_G_HAVE_BOOL): Likewise.
23915 (_G_HAVE_ATEXIT): Likewise.
23916 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23917 (_G_HAVE_IO_FILE_OPEN): Likewise.
23918 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23919 (_G_int32_t): Likewise.
23920 (_G_uint16_t): Likewise.
23921 (_G_uint32_t): Likewise.
23922 (_G_HAVE_BOOL): Likewise.
23923 (_G_HAVE_ATEXIT): Likewise.
23924 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23925 (_G_HAVE_IO_FILE_OPEN): Likewise.
23926
23927 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23928
23929 * csu/libc-tls.c: Update copyright years.
23930
23931 2012-09-10 Joseph Myers <joseph@codesourcery.com>
23932
23933 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23934 [!_G_USING_THUNKS]: Remove conditional code.
23935 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23936 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23937
23938 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23939 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23940 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23941 (_G_VTABLE_LABEL_PREFIX): Likewise.
23942 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23943 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23944 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23945 (_G_VTABLE_LABEL_PREFIX): Likewise.
23946 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23947 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23948 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23949 (_G_VTABLE_LABEL_PREFIX): Likewise.
23950 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23951
23952 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 * libio/Makefile: Include ../Makeconfig before tests.
23955 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23956 only if $(build-shared) is yes.
23957
23958 * iconv/gconv_db.c: Update copyright years.
23959
23960 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23961
23962 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23963 unwind info if defined PIC. Fix special cases description.
23964 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23965
23966 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23967 DP_HI_MASK entry.
23968 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23969
23970 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23971
23972 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23973
23974 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23975 is NULL.
23976
23977 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23978 (LDLIBS-tst-chk4): This.
23979 (LDFLAGS-tst-chk5): Renamed to ...
23980 (LDLIBS-tst-chk5): This.
23981 (LDFLAGS-tst-chk6): Renamed to ...
23982 (LDLIBS-tst-chk6): This.
23983 (LDFLAGS-tst-lfschk4): Renamed to ...
23984 (LDLIBS-tst-lfschk4): This.
23985 (LDFLAGS-tst-lfschk5): Renamed to ...
23986 (LDLIBS-tst-lfschk5): This.
23987 (LDFLAGS-tst-lfschk6): Renamed to ...
23988 (LDLIBS-tst-lfschk6): This.
23989
23990 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23991 on $(common-objpfx)soversions.mk.
23992
23993 2012-09-07 Joseph Myers <joseph@codesourcery.com>
23994
23995 [BZ #10014]
23996 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23997 example host name.
23998
23999 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24000
24001 * malloc/arena.c (arena_get_retry): New function that gets
24002 another arena for the caller to try its request on.
24003 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24004 current arena cannot fulfill the request.
24005 (__libc_memalign): Likewise.
24006 (__libc_memalign): Likewise.
24007 (__libc_pvalloc): Likewise.
24008 (__libc_calloc): Likewise.
24009
24010 2012-09-05 John Tobey <john.tobey@gmail.com>
24011
24012 [BZ #13542]
24013 * manual/arith.texi (Operations on Complex): Fix description
24014 of carg branch cut.
24015
24016 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24017
24018 [BZ #10014]
24019 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24020 host name.
24021
24022 [BZ #10038]
24023 * manual/memory.texi (Memory): Make order of menu items match
24024 order of sections.
24025
24026 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24027
24028 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24029 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24030 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24031
24032 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24033
24034 * csu/libc-tls.c (static_dtv): Renamed to ...
24035 (_dl_static_dtv): This. Make it global.
24036 (_dl_initial_dtv): Removed.
24037 (__libc_setup_tls): Updated.
24038 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24039 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24040 DL_INITIAL_DTV.
24041
24042 2012-09-06 Petr Machata <pmachata@redhat.com>
24043
24044 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24045 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24046 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24047 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24048
24049 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24050
24051 [BZ #14545]
24052 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24053 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24054 freeing dtv[-1].
24055
24056 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24057
24058 [BZ #14544]
24059 * Makeconfig (link-static-before-libc): Replace $(+prector)
24060 with $(+prectorT).
24061 (link-static-after-libc): Replace $(+postctor) with
24062 $(+postctorT).
24063 (link-bounded): Replace $(+prector)/$(+postctor) with
24064 $(+prectorT)/$(+postctorT).
24065 (+prectorT): New macro.
24066 (+postctorT): Likewise.
24067
24068 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24069
24070 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24071 (round_str): Handle values above the maximum for IBM long double
24072 as inexact.
24073 * stdlib/tst-strtod-round.c (tests): Regenerated.
24074
24075 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24076
24077 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24078 assembler flag.
24079 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24080 zarch_nohighgprs around the zarch optimized routines.
24081 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24082 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24083 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24084 for zarch.
24085
24086 2012-09-05 David S. Miller <davem@davemloft.net>
24087
24088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24089
24090 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24091 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24092 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24093 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24094 entries.
24095
24096 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24097
24098 * malloc/arena.c: Fold copyright years.
24099 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24100
24101 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24102
24103 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24104
24105 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24106
24107 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24108
24109 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24110
24111 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24112 change internal state upon failure.
24113
24114 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24115
24116 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24117 * malloc/memusage.c (mmap): Likewise.
24118 (mmap64, mremap): Likewise. Adjust name in comment.
24119
24120 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24121
24122 * libio/fileops.c: Fix typos in comments.
24123 * libio/oldfileops.c: Likewise.
24124 * libio/wfileops.c: Likewise.
24125
24126 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24127
24128 [BZ #1349]
24129 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24130 (tst-malloc-usable-ENV): Set environment for test case.
24131 * malloc/hooks.c (malloc_check_get_size): New function to get
24132 requested size.
24133 * malloc/malloc.c (musable): Use malloc_check_get_size.
24134 * malloc/tst-malloc-usable.c: New test case.
24135
24136 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24137
24138 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24139
24140 2012-09-05 Allan McRae <allan@archlinux.org>
24141
24142 [BZ #13966]
24143 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24144 determine header location.
24145 * configure: Regenerated.
24146
24147 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24148
24149 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24150 float format.
24151 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24152 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24153 format.
24154 (test): Regenerate.
24155
24156 2012-09-04 David S. Miller <davem@davemloft.net>
24157
24158 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24159 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24160 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24161
24162 2012-09-04 Florian Weimer <fweimer@redhat.com>
24163
24164 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24165 failures.
24166
24167 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24168
24169 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24170
24171 [BZ #9914]
24172 * libio/iogetdelim.c: Include <limits.h>.
24173 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24174 + len + 1 would overflow.
24175
24176 2012-09-03 Andreas Jaeger <aj@suse.de>
24177
24178 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24179 * sysdeps/i386/fpu/libm-test-ulps: Update.
24180
24181 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24182
24183 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24184 Add s_sinf-sse2, s_conf-sse2.
24185
24186 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24187 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24188 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24189 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24190
24191 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24192 for using routine as __sinf_ia32.
24193 Use macro for function declaration and weak_alias.
24194 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24195 for using routine as __cosf_ia32.
24196 Use macro for function declaration and weak_alias.
24197
24198 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24199 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24200
24201 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24202 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24203 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24204
24205 * math/libm-test.inc (cos_test): Add more test cases.
24206 (sin_test): Likewise.
24207 (sincos_test): Likewise.
24208
24209 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24210
24211 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24212 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24213 hidden.
24214 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24215
24216 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24217
24218 [BZ #14538]
24219 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24220 first element of the GOT.
24221 (elf_machine_load_address): Return the difference between
24222 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24223
24224 2012-09-01 Allan McRae <allan@archlinux.org>
24225
24226 [BZ #13412]
24227 * configure.in (AWK): Require gawk version 3.0 or later.
24228 * configure: Regenerated.
24229
24230 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24231
24232 * sysdeps/unix/sysv/linux/kernel-features.h
24233 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24234 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24235 [__NR_clock_getres]: Make code unconditional.
24236 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24237 (clock_getcpuclockid): Remove code left unreachable by removal of
24238 conditionals.
24239 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24240 code unconditional.
24241 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24242 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24243 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24244 Make code unconditional.
24245 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24246 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24247 * sysdeps/unix/sysv/linux/clock_settime.c
24248 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24249 conditional code.
24250 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24252
24253 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24254
24255 [BZ #14476]
24256 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24257 scripts/test-installation.pl.
24258
24259 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24260 and $ld_so_version if it is set.
24261
24262 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24263
24264 [BZ #14516]
24265 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24266 failure if reading from procfs failed.
24267 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24268
24269 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24270
24271 * sysdeps/unix/sysv/linux/kernel-features.h
24272 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24273 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24274 Remove conditional code.
24275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24276 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24277 Remove conditional code.
24278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24279 * sysdeps/unix/sysv/linux/i386/fxstat.c
24280 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24281 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24282 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24283 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24285 * sysdeps/unix/sysv/linux/i386/lxstat.c
24286 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24288 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24289 Remove conditional code.
24290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24291 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24292 Remove conditional code.
24293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24294 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24295 <kernel-features.h>.
24296 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24297 Remove.
24298 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24299 Remove conditional code.
24300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24301 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24302 Remove conditional.
24303
24304 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24305
24306 [BZ #5400]
24307 * NEWS: Add fixed bug number.
24308
24309 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24310
24311 [BZ #14519]
24312 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24313 underflowing exponent in case of negative sign.
24314 * stdlib/tst-strtod-round-data: Add more tests.
24315 * stdlib/tst-strtod-round.c (tests): Regenerated.
24316
24317 [BZ #3479]
24318 * stdlib/strtod_l.c (NDIG): Remove.
24319 (HEXNDIG): Likewise.
24320 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24321 smallest representable value.
24322 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24323 lie within an exact representation of 1/2 ulp of the result.
24324 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24325 unconditionally.
24326 (TENS_P9_IDX): Define unconditionally.
24327 (TENS_P9_SIZE): Likewise.
24328 (TENS_P10_IDX): Likewise.
24329 (TENS_P10_SIZE): Likewise.
24330 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24331 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24332 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24333 entries for 10^2^13 and 10^2^14.
24334 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24335 (TENS_P13_IDX): Define.
24336 (TENS_P13_SIZE): Likewise.
24337 (TENS_P14_IDX): Likewise.
24338 (TENS_P14_SIZE): Likewise.
24339 (_fpioconst_pow10): Change array size to
24340 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24341 unconditional.
24342 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24343 1024]: Add entries for 10^2^13 and 10^2^14.
24344 [LAST_POW10 > _LAST_POW10]: Remove #error.
24345 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24346 (_fpioconst_pow10): Change array size to
24347 FPIOCONST_POW10_ARRAY_SIZE.
24348 * stdlib/gen-fpioconst.c: New file.
24349 * stdlib/gen-tst-strtod-round.c: Likewise.
24350 * stdlib/tst-strtod-round-data: Likewise.
24351 * stdlib/tst-strtod-round.c: Likewise.
24352 * stdlib/Makefile (tests): Add tst-strtod-round.
24353
24354 [BZ #14459]
24355 * stdlib/strtod_l.c: Include <stdint.h>.
24356 (NDEBUG): Do not define.
24357 (round_and_return): Change EXPONENT parameter to type intmax_t.
24358 Rearrange calculations to avoid internal overflow possibilities.
24359 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24360 Rearrange calculations to avoid internal overflow possibilities.
24361 Assert that number fits inside MPNSIZE limbs.
24362 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24363 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24364 calculations and add assertions to avoid internal overflow
24365 possibilities. Add casts to avoid signed/unsigned operations.
24366 * stdlib/tst-strtod-overflow.c: New file.
24367 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24368
24369 2012-08-25 Marek Polacek <polacek@redhat.com>
24370
24371 * time/time.h: Fix some typos in comments.
24372
24373 2012-08-23 Roland McGrath <roland@hack.frob.com>
24374
24375 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24376 * posix/tst-rfc3484-2.c: Likewise.
24377 * posix/tst-rfc3484-3.c: Likewise.
24378
24379 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24380
24381 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24382 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24383
24384 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24385
24386 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24387 #include of fxstatat64.c.
24388
24389 2012-08-22 Roland McGrath <roland@hack.frob.com>
24390
24391 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24392 * shadow/getspent_r.c: Likewise.
24393 * shadow/getspnam.c: Likewise.
24394 * shadow/getspnam_r.c: Likewise.
24395 * gshadow/getsgent.c: Likewise.
24396 * gshadow/getsgent_r.c: Likewise.
24397 * gshadow/getsgnam.c: Likewise.
24398 * gshadow/getsgnam_r.c: Likewise.
24399 * inet/getnetbyad.c: Likewise.
24400 * inet/getnetbyad_r.c: Likewise.
24401 * inet/getnetbynm.c: Likewise.
24402 * inet/getnetbynm_r.c: Likewise.
24403 * inet/getnetent.c: Likewise.
24404 * inet/getnetent_r.c: Likewise.
24405 * inet/getproto.c: Likewise.
24406 * inet/getproto_r.c: Likewise.
24407 * inet/getprtent.c: Likewise.
24408 * inet/getprtent_r.c: Likewise.
24409 * inet/getprtname.c: Likewise.
24410 * inet/getprtname_r.c: Likewise.
24411 * inet/getrpcbyname.c: Likewise.
24412 * inet/getrpcbyname_r.c: Likewise.
24413 * inet/getrpcbynumber.c: Likewise.
24414 * inet/getrpcbynumber_r.c: Likewise.
24415 * inet/getrpcent.c: Likewise.
24416 * inet/getrpcent_r.c: Likewise.
24417 * inet/getaliasent.c: Likewise.
24418 * inet/getaliasent_r.c: Likewise.
24419 * inet/getaliasname.c: Likewise.
24420 * inet/getaliasname_r.c: Likewise.
24421 * nscd/getgrgid_r.c: Likewise.
24422 * nscd/getgrnam_r.c: Likewise.
24423 * nscd/gethstbyad_r.c: Likewise.
24424 * nscd/gethstbynm3_r.c: Likewise.
24425 * nscd/getpwnam_r.c: Likewise.
24426 * nscd/getpwuid_r.c: Likewise.
24427 * nscd/getsrvbynm_r.c: Likewise.
24428 * nscd/getsrvbypt_r.c: Likewise.
24429 * nscd/gai.c: Likewise.
24430
24431 * configure.in (build_nscd): New substituted variable, set
24432 by --disable-build-nscd and defaults to $use_nscd.
24433 * configure: Regenerated.
24434 * config.make.in (build-nscd): New substituted variable.
24435 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24436 Change conditional to require [$(build-nscd) = yes] as well.
24437 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24438
24439 [BZ# 13696]
24440 * configure.in (use_nscd): New substituted variable, set by
24441 --disable-nscd. If enabled, define USE_NSCD.
24442 * configure: Regenerated.
24443 * config.h.in: Add USE_NSCD.
24444 * config.make.in (use-nscd): New substituted variable.
24445 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24446 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24447 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24448 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24449 (CFLAGS-getgrnam_r.c): Likewise.
24450 (CFLAGS-initgroups.c): Likewise.
24451 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24452 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24453 Variables removed.
24454 * inet/getnetgrent_r.c
24455 (nscd_setnetgrent): New function, broken out of ...
24456 (setnetgrent): ... here. Call it.
24457 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24458 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24459 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24460 * nscd/Makefile (routines, aux): Move definitions after include of
24461 Makeconfig. Conditionalize on [$(use-nscd) != no].
24462 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24463 Conditionalize on [USE_NSCD].
24464 (is_nscd, nscd_init_cb): Likewise.
24465 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24466 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24467 * nss/nss_db/db-init.c: Likewise.
24468 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24469 [USE_NSCD].
24470 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24471 (make_request): Use it.
24472 (cache_valid_p): New function.
24473 (__check_pf): Use it.
24474 * NEWS: Add item for --disable-nscd.
24475
24476 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24477
24478 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24479 to support sed >= 4.2.1-20-ga9bf076.
24480 * configure: Regenerated.
24481
24482 2012-08-22 Roland McGrath <roland@hack.frob.com>
24483
24484 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24485 Conditionalize whole body on [IREL].
24486
24487 2012-08-22 Jeff Law <law@redhat.com>
24488
24489 [BZ #14505]
24490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24491 if the family is PF_UNSPEC.
24492
24493 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24494
24495 * Makerules (lib-version): Rename from V.
24496 (install-lib-nosubdir): Change V to lib-version.
24497
24498 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24499
24500 [BZ #14252]
24501 * powerpc32/power6/wcschr.c: New file.
24502 * powerpc32/power6/wcscpy.c: New file.
24503 * powerpc32/power6/wcsrchr.c: New file.
24504 * powerpc64/power6/wcschr.c: New file.
24505 * powerpc64/power6/wcscpy.c: New file.
24506 * powerpc64/power6/wcsrchr.c: New file.
24507
24508 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24509
24510 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24511 (two_way_short_needle): Use it.
24512 * string/strstr.c (AVAILABLE1_USES_J): Define.
24513 * string/strcasestr.c: Likewise.
24514
24515 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24516 array references.
24517 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24518
24519 [BZ #11607]
24520 * NEWS: Add an entry.
24521 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24522 define their defaults.
24523 (two_way_short_needle): Detect end-of-string on-the-fly.
24524 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24525 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24526 * string/bug-strcasestr1.c: New test.
24527 * string/Makefile: Run it.
24528
24529 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24530
24531 [BZ #11607]
24532 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24533 the first character.
24534
24535 2012-08-21 Roland McGrath <roland@hack.frob.com>
24536
24537 * csu/elf-init.c (__libc_csu_irel): Function removed.
24538 * csu/libc-start.c (apply_irel): New function.
24539 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24540
24541 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24542
24543 * sysdeps/unix/sysv/linux/kernel-features.h
24544 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24545 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24546 <kernel-features.h>.
24547 [__NR_fadvise64_64]: Make code unconditional.
24548 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24549 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24550 !__NR_fadvise64_64)]: Likewise.
24551 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24552 !__NR_fadvise64_64))]: Likewise.
24553 [__NR_fadvise64]: Make code unconditional.
24554 [!__NR_fadvise64]: Remove conditional code.
24555 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24556 <kernel-features.h>.
24557 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24558 unconditional.
24559 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24560 conditional code.
24561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24562 not include <kernel-features.h>.
24563 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24564 unconditional.
24565 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24566 conditional code.
24567 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24568 include <kernel-features.h>.
24569 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24570 unconditional.
24571 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24572 conditional code.
24573
24574 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24575
24576 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24577 slight instruction rearrangements per scrollpipe analysis.
24578 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24579
24580 2012-08-20 Roland McGrath <roland@hack.frob.com>
24581
24582 * manual/syslog.texi (syslog; vsyslog, closelog):
24583 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24584 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24585
24586 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24587 DSOCAPS to match condition on defining it.
24588
24589 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24590
24591 * sysdeps/unix/sysv/linux/kernel-features.h
24592 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24594 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24595 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24597 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24598 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24600 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24601 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24602
24603 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24604 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24605
24606 * sysdeps/unix/sysv/linux/kernel-features.h
24607 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24608 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24609 unconditional.
24610 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24611 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24612 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24613 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24614 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24615 Make code unconditional.
24616 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24617 (__mmap64) [!__NR_mmap2]: Likewise.
24618 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24619 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24620 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24621 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24622 [__NR_mmap2]: Make code unconditional.
24623 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24624 (__mmap64) [!__NR_mmap2]: Likewise.
24625
24626 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24627
24628 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24629
24630 2012-08-18 Andreas Jaeger <aj@suse.de>
24631
24632 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24633
24634 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24635
24636 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24637 * include/unistd.h (__have_sock_cloexec): Likewise.
24638 (__have_pipe2): Likewise.
24639 (__have_dup3): Likewise.
24640
24641 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24642
24643 [BZ #9685]
24644 * include/unistd.h (__have_pipe2): Change define into an extern int.
24645 (__have_dup3): Likewise.
24646 * socket/have_sock_cloexec.c: Include fcntl.h.
24647 (__have_pipe2): New variable.
24648 (__have_dup3): Likewise.
24649
24650 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24651
24652 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24653
24654 2012-08-17 Marek Polacek <polacek@redhat.com>
24655
24656 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24657 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24658
24659 2012-08-17 Roland McGrath <roland@hack.frob.com>
24660
24661 * configure.in: Add AC_SUBST for sysheaders.
24662 * configure: Regenerated.
24663 * config.make.in (sysheaders): New substituted variable.
24664
24665 * sysdeps/unix/mkfifo.c: Moved ...
24666 * sysdeps/posix/mkfifo.c: ... here.
24667 * sysdeps/unix/mkfifoat.c: Moved ...
24668 * sysdeps/posix/mkfifoat.c: ... here.
24669
24670 * sysdeps/unix/utime.c: Moved ...
24671 * sysdeps/posix/utime.c: ... here.
24672
24673 * sysdeps/unix/time.c: Moved ...
24674 * sysdeps/posix/time.c: ... here.
24675 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24676 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24677
24678 * sysdeps/unix/nice.c: Moved ...
24679 * sysdeps/posix/nice.c: ... here.
24680
24681 * sysdeps/unix/alarm.c: Moved ...
24682 * sysdeps/posix/alarm.c: ... here.
24683
24684 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24685
24686 2012-08-17 Jeff Law <law@redhat.com>
24687
24688 * intl/Makefile (codeset_mo): New variable.
24689 ($(codeset_mo)): New target.
24690 (tst-codeset.out): Depend on that. Remove explicit rule.
24691 (tst-gettext3.out, tst-gettext5.out): Likewise.
24692 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24693 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24694 * intl/tst-codeset.sh: Remove.
24695 * intl/tst-gettext3.sh: Likewise.
24696 * intl/tst-gettext5.sh: Likewise.
24697
24698 2012-08-17 Roland McGrath <roland@hack.frob.com>
24699
24700 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24701 * sysdeps/unix/syscalls.list: ... here.
24702
24703 * sysdeps/posix/getaddrinfo.c
24704 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24705 (gaiconf_init, gaiconf_reload): Use them.
24706 [!_STATBUF_ST_NSEC]
24707 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24708 Define using time_t rather than struct timespec.
24709
24710 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24711 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24712 Macros removed.
24713 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24714 [!NO_THREADS].
24715 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24716 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24717 Likewise.
24718
24719 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24720 __libc_cleanup_push argument.
24721
24722 * bits/param.h: New file.
24723 * misc/sys/param.h: New file.
24724 * include/sys/param.h: New file.
24725 * misc/Makefile (headers): Add bits/param.h.
24726 * sysdeps/generic/sys/param.h: File removed.
24727 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24728 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24729 * sysdeps/mach/hurd/bits/param.h: New file.
24730 * sysdeps/mach/hurd/sys/param.h: File removed.
24731
24732 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24733 last change.
24734
24735 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24736 [_IO_MTSAFE_IO].
24737 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24738 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24739 New macros.
24740
24741 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24742 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24743 rather than -D_IO_MTSAFE_IO conditionally.
24744 * stdio-common/Makefile (CPPFLAGS): Likewise.
24745 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24746 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24747 Use $(libio-mtsafe).
24748 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24749 of -D_IO_MTSAFE_IO.
24750 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24751 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24752 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24753 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24754 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24755 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24756 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24757 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24758 (CFLAGS-fread_u_chk.c): Likewise.
24759 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24760 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24761 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24762 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24763 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24764 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24765 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24766 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24767 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24768
24769 * libio/Makefile: Test [$(libc-reentrant) = yes]
24770 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24771
24772 * Makeconfig
24773 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24774 * sysdeps/pthread/configure: File removed.
24775 * sysdeps/pthread/Makeconfig: New file.
24776 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24777 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24778
24779 2012-08-16 Gary Benson <gbenson@redhat.com>
24780
24781 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24782 unmapping the first object in a namespace.
24783
24784 2012-08-16 Roland McGrath <roland@hack.frob.com>
24785
24786 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24787 (__internal_setnetgrent): ... this. Add internal_function to
24788 definition. Add libc_hidden_def.
24789 (setnetgrent): Update caller.
24790 (internal_endnetgrent): Renamed to ...
24791 (__internal_endnetgrent): ... this. Add internal_function to
24792 definition. Add libc_hidden_def.
24793 (endnetgrent): Update caller.
24794 (internal_getnetgrent_r): Renamed to ...
24795 (__internal_getnetgrent_r): ... this. Add internal_function to
24796 definition. Add libc_hidden_def.
24797 (__getnetgrent_r): Update caller.
24798 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24799
24800 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24801
24802 * stdlib/longlong.h: Update from GCC.
24803
24804 2012-08-16 Roland McGrath <roland@hack.frob.com>
24805
24806 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24807 on _QL, which is set by umul_ppmm but never used.
24808 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24809 variables, which are set by GMP macros but never used.
24810 * stdio-common/_itowa.c (_itowa): Likewise.
24811 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24812 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24813
24814 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24815
24816 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24817 struct La_sh_regs is not constant.
24818 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24819 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24820 and struct La_sparc64_regs are not constant.
24821
24822 2012-08-16 Joseph Myers <joseph@codesourcery.com>
24823
24824 * sysdeps/unix/sysv/linux/kernel-features.h
24825 (__ASSUME_POSIX_TIMERS): Remove.
24826 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24827 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24828 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24829 Make code unconditional.
24830 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24831 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24832 Make code unconditional.
24833 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24834 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24835 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24837 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24838 Make code unconditional.
24839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24840 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24841 (__libc_missing_posix_timers): Remove.
24842
24843 2012-08-15 Roland McGrath <roland@hack.frob.com>
24844
24845 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24846 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24847
24848 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24849
24850 * elf/dl-sym.c: Include <stdlib.h>.
24851
24852 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24853 constants, which avoids warnings in 32-bit builds.
24854
24855 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24856 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24857
24858 * misc/lseek.c: File moved to ...
24859 * io/lseek.c: ... here.
24860
24861 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24862
24863 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24864 shifting LEN more than 31 bits at once.
24865
24866 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24867
24868 [BZ #14195]
24869 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24870 segmentation fault for a case of two empty input strings.
24871 * string/test-strncasecmp.c (check1): Renamed to...
24872 (bz12205): ...this.
24873 (bz14195): Add new testcase for two empty input strings and N > 0.
24874 (test_main): Call new testcase, adapt for renamed function.
24875
24876 2012-08-15 Andreas Jaeger <aj@suse.de>
24877
24878 [BZ #14090]
24879 * crypt/md5test2.c: New test, based on test supplied by Serge
24880 Belyshev <belyshev@depni.sinp.msu.ru>.
24881 * crypt/Makefile (xtests): Add md5test-giant..
24882 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24883
24884 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24885
24886 [BZ #14090]
24887 * crypt/md5.c (md5_process_block): Don't assume the buffer
24888 length is less than 2**32.
24889 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24890 length is less than 2**64.
24891
24892 2012-08-15 Roland McGrath <roland@hack.frob.com>
24893
24894 * string/str-two-way.h: Include <sys/param.h>.
24895 (MAX): Macro removed.
24896
24897 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24898 Move #define and #undef of memmove to just before and after
24899 including <string.h>.
24900
24901 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24902 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24903 and after including <string.h>. Move declarations of
24904 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24905 to before #include "string/memmove.c".
24906
24907 * include/dirent.h: Declare __getdirentries.
24908
24909 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24910 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24911
24912 2012-08-14 Mike Frysinger <vapier@gentoo.org>
24913
24914 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24915 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24916 * sysdeps/i386/configure: Regenerated.
24917 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24918 STABS_CURRENT_FILE, and STABS_FUN.
24919 (END): Remove call to STABS_FUN_END.
24920 (STABS_CURRENT_FILE1): Delete.
24921 (STABS_CURRENT_FILE): Likewise.
24922 (STABS_FUN): Likewise.
24923 (STABS_FUN_END): Likewise.
24924 (STABS_FUN2): Likewise.
24925 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24926 * sysdeps/x86_64/configure: Regenerated.
24927
24928 2012-08-14 Roland McGrath <roland@hack.frob.com>
24929
24930 * elf/dl-open.c: Include <atomic.h>.
24931 * elf/dl-lookup.c: Likewise.
24932
24933 2012-08-14 Joseph Myers <joseph@codesourcery.com>
24934
24935 * sysdeps/unix/sysv/linux/kernel-features.h
24936 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24937 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24938 unconditionally.
24939 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24940 unconditionally.
24941 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24942 condition on __ASSUME_CLONE_THREAD_FLAGS.
24943
24944 2012-08-14 Andreas Jaeger <aj@suse.de>
24945
24946 * sysdeps/i386/fpu/libm-test-ulps: Update.
24947
24948 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24949
24950 * include/atomic.h (atomic_exchange_and_add): Split into ...
24951 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24952 New atomic macros.
24953
24954 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24955
24956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24957
24958 2012-08-13 Jeff Law <law@redhat.com>
24959
24960 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24961 null byte in the output string.
24962
24963 2012-08-10 Joseph Myers <joseph@codesourcery.com>
24964
24965 * sysdeps/unix/sysv/linux/kernel-features.h
24966 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24967 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24968 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24969 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24970 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24971 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24972 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24973
24974 2012-08-09 Jeff Law <law@redhat.com>
24975
24976 [BZ #13939]
24977 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24978 When avoid_arena is set, don't retry in the that arena. Pick the
24979 next one, whatever it might be.
24980 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24981 (arena_lock): Pass in new parameter to arena_get2.
24982 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24983 arena_get2.
24984 (__libc_malloc): Unify retrying after main arena failure with
24985 __libc_memalign version.
24986 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24987
24988 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24989
24990 [BZ #14166]
24991 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24992 to __redirect_strstr.
24993 (__strstr_sse42): Use typeof __redirect_strstr.
24994 (__strstr_ia32): Likewise.
24995 (__libc_strstr): New prototype.
24996 (strstr): Renamed to ...
24997 (__libc_strstr): This.
24998 (strstr): New strong alias of __libc_strstr.
24999 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25000 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25001 __redirect_time.
25002 Include <time.h>.
25003 (__libc_time): New prototype.
25004 (time_ifunc): Replace time with __libc_time.
25005 (time): New strong alias and hidden definition of __libc_time.
25006 (__GI_time): Remove strong alias.
25007 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25008 Include <stddef.h>.
25009 (memmove): Redefined to __redirect_memmove.
25010 (__memmove_sse2): Use typeof __redirect_memmove.
25011 (__memmove_ssse3): Likewise.
25012 (__memmove_ssse3_back): Likewise.
25013 (__libc_memmove): New prototype.
25014 (memmove): Renamed to ...
25015 (__libc_memmove): This.
25016 (memmove): New strong alias of __libc_memmove.
25017
25018 2012-08-08 Mark Salter <msalter@redhat.com>
25019
25020 * elf/elf.h
25021 (R_MN10300_TLS_GD): Define.
25022 (R_MN10300_TLS_LD): Likewise.
25023 (R_MN10300_TLS_LDO): Likewise.
25024 (R_MN10300_TLS_GOTIE): Likewise.
25025 (R_MN10300_TLS_IE): Likewise.
25026 (R_MN10300_TLS_LE): Likewise.
25027 (R_MN10300_TLS_DTPMOD): Likewise.
25028 (R_MN10300_TLS_DTPOFF): Likewise.
25029 (R_MN10300_TLS_TPOFF): Likewise.
25030 (R_MN10300_SYM_DIFF): Likewise.
25031 (R_MN10300_ALIGN): Likewise.
25032 (R_MN10300_NUM): Update.
25033
25034 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25035
25036 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25037 Remove.
25038
25039 2012-08-08 Roland McGrath <roland@hack.frob.com>
25040
25041 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25042
25043 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25044 sysdeps/unix -> sysdeps/posix move.
25045 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25046
25047 2012-08-07 Allan McRae <allan@archlinux.org>
25048
25049 [BZ #14303]
25050 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25051 (SUNOS_CPP): Likewise.
25052 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25053 not found.
25054 (open_input): Call CPP using execvp.
25055
25056 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25057
25058 * sysdeps/unix/sysv/linux/kernel-features.h
25059 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25060 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25061 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25062 (__ASSUME_WAITID_SYSCALL): Likewise.
25063 * sysdeps/unix/sysv/linux/dl-execstack.c
25064 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25065 code unconditional.
25066 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25067 conditional code.
25068 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25069 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25070 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25071 code.
25072 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25073 unconditional.
25074 [__ASSUME_WAITID_SYSCALL]: Likewise.
25075 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25076
25077 2012-08-07 Roland McGrath <roland@hack.frob.com>
25078
25079 * sysdeps/unix/closedir.c: Renamed to ...
25080 * sysdeps/posix/closedir.c: ... here.
25081 * sysdeps/unix/dirfd.c: Renamed to ...
25082 * sysdeps/posix/dirfd.c: ... here.
25083 * sysdeps/unix/dirstream.h: Renamed to ...
25084 * sysdeps/posix/dirstream.h: ... here.
25085 * sysdeps/unix/fdopendir.c: Renamed to ...
25086 * sysdeps/posix/fdopendir.c: ... here.
25087 * sysdeps/unix/opendir.c: Renamed to ...
25088 * sysdeps/posix/opendir.c: ... here.
25089 * sysdeps/unix/readdir.c: Renamed to ...
25090 * sysdeps/posix/readdir.c: ... here.
25091 * sysdeps/unix/readdir_r.c: Renamed to ...
25092 * sysdeps/posix/readdir_r.c: ... here.
25093 * sysdeps/unix/rewinddir.c: Renamed to ...
25094 * sysdeps/posix/rewinddir.c: ... here.
25095 * sysdeps/unix/seekdir.c: Renamed to ...
25096 * sysdeps/posix/seekdir.c: ... here.
25097 * sysdeps/unix/telldir.c: Renamed to ...
25098 * sysdeps/posix/telldir.c: ... here.
25099 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25100 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25101 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25102 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25103
25104 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25105 * bits/fcntl.h: ... here.
25106
25107 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25108 not 0.
25109 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25110 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25111 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25112 (struct flock): Move l_start, l_len to the beginning.
25113 Use __pid_t for l_pid.
25114 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25115 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25116 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25117 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25118 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25119 [__USE_LARGEFILE64] (struct flock64): New type.
25120 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25121
25122 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25123 * bits/dirent.h: ... here.
25124
25125 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25126 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25127
25128 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25129
25130 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25131 Change from 2.6.0 to 2.6.16.
25132 * sysdeps/unix/sysv/linux/configure: Regenerated.
25133 * sysdeps/unix/sysv/linux/kernel-features.h
25134 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25135 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25136 version.
25137 (__ASSUME_UTIMES): Likewise.
25138 (__ASSUME_CLONE_STOPPED): Remove.
25139 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25140 architectures, not kernel version.
25141 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25142 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25143 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25144 (__ASSUME_WAITID_SYSCALL): Likewise.
25145 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25146 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25147 * README: State 2.6.16 as minimum Linux kernel version. Do not
25148 refer to older versions.
25149
25150 2012-08-06 Roland McGrath <roland@hack.frob.com>
25151
25152 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25153 Define alphasort64 as an alias.
25154 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25155 Define versionsort64 as an alias.
25156 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25157 Define scandir64 as an alias.
25158 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25159 Define scandirat64 as an alias.
25160 * dirent/alphasort64.c (alphasort64):
25161 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25162 * dirent/versionsort64.c: Likewise.
25163 * dirent/scandir64.c: Likewise.
25164 * dirent/scandirat64.c: Likewise.
25165 * sysdeps/wordsize-64/alphasort.c: File removed.
25166 * sysdeps/wordsize-64/alphasort64.c: File removed.
25167 * sysdeps/wordsize-64/scandir.c: File removed.
25168 * sysdeps/wordsize-64/scandir64.c: File removed.
25169 * sysdeps/wordsize-64/scandirat.c: File removed.
25170 * sysdeps/wordsize-64/scandirat64.c: File removed.
25171 * sysdeps/wordsize-64/versionsort.c: File removed.
25172 * sysdeps/wordsize-64/versionsort64.c: File removed.
25173 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25174 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25175 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25176 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25177 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25178 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25179 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25180 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25181
25182 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25183 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25184 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25185 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25186 [defined __arch64__ || defined __sparcv9]
25187 (__INO_T_MATCHES_INO64_T): New macro.
25188 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25189 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25190 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25191 * sysdeps/unix/sysv/linux/bits/dirent.h
25192 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25193 (_DIRENT_MATCHES_DIRENT64): New macro.
25194
25195 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25196 Define lockf64 as an alias.
25197 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25198 Define fseeko64 as an alias.
25199 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25200 Define ftello64 as an alias.
25201 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25202 Define _IO_fgetpos64 and fgetpos64 as aliases.
25203 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25204 Define _IO_fsetpos64 and fsetpos64 as aliases.
25205 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25206 Conditionalize body on this.
25207 * libio/fseeko64.c: Likewise.
25208 * libio/ftello64.c: Likewise.
25209 * libio/iofgetpos64.c: Likewise.
25210 * libio/iofsetpos64.c: Likewise.
25211 * sysdeps/wordsize-64/lockf.c: File removed.
25212 * sysdeps/wordsize-64/lockf64.c: File removed.
25213 * sysdeps/wordsize-64/fseeko.c: File removed.
25214 * sysdeps/wordsize-64/fseeko64.c: File removed.
25215 * sysdeps/wordsize-64/ftello.c: File removed.
25216 * sysdeps/wordsize-64/ftello64.c: File removed.
25217 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25218 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25219 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25220 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25221 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25222 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25223 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25225 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25228 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25230 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25231
25232 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25233 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25234 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25235 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25236 [defined __arch64__ || defined __sparcv9]
25237 (__OFF_T_MATCHES_OFF64_T): New macro.
25238 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25239 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25240 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25241 (__OFF_T_MATCHES_OFF64_T): New macro.
25242
25243 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25244
25245 * stdlib/secure-getenv.c (__secure_getenv): Replace
25246 GLIBC_2_16 with GLIBC_2_17.
25247
25248 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25249
25250 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25251 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25252
25253 2012-08-03 David S. Miller <davem@davemloft.net>
25254
25255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25256
25257 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25258
25259 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25260 Remove.
25261 (__ASSUME_CORRECT_SI_PID): Likewise.
25262 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25263 (__ASSUME_TMPFS_NAME): Likewise.
25264 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25265 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25266 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25267 (HAVE_AUX_SECURE): Make definition unconditional.
25268 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25269 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25270
25271 2012-08-03 Roland McGrath <roland@hack.frob.com>
25272
25273 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25274 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25275 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25276 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25277 __eloop_threshold instead of SYMLOOP_MAX.
25278
25279 * sysdeps/generic/eloop-threshold.h: New file.
25280 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25281 of MAXSYMLINKS.
25282 * elf/chroot_canon.c (chroot_canon): Likewise.
25283
25284 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25285
25286 [BZ #13717]
25287 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25288 Change to 2.6.0 everywhere.
25289 * sysdeps/unix/sysv/linux/configure: Regenerated.
25290 * sysdeps/unix/sysv/linux/kernel-features.h
25291 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25292 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25293 kernel versions.
25294 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25295 (__ASSUME_FUTEX_REQUEUE): Remove.
25296 (__ASSUME_STATFS64): Define unconditionally.
25297 (__ASSUME_AT_SECURE): Likewise.
25298 (__ASSUME_CORRECT_SI_PID): Likewise.
25299 (__ASSUME_TGKILL): Define without depending on kernel version for
25300 i386.
25301 (__ASSUME_UTIMES): Likewise.
25302 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25303 kernel version.
25304 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25305 (__ASSUME_TMPFS_NAME): Likewise.
25306 * README: Update reference to Linux kernel versions.
25307
25308 2012-08-02 Marek Polacek <polacek@redhat.com>
25309
25310 [BZ# 14150]
25311 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25312 libc_cv_asm_type_prefix with %.
25313 * configure: Regenerated.
25314 * include/libc-symbols.h: Remove comment about
25315 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25316 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25317 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25318 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25319 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25320 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25321 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25322 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25323 * elf/tst-unique2mod1.c: Likewise.
25324 * elf/tst-unique1mod2.c: Likewise.
25325 * elf/tst-unique1mod1.c: Likewise.
25326 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25327 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25328 Replace ASM_TYPE_DIRECTIVE with .type.
25329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25330 * sysdeps/i386/sysdep.h: Likewise.
25331 * sysdeps/x86_64/sysdep.h: Likewise.
25332 * sysdeps/sh/sysdep.h: Likewise.
25333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25334 Do not define ASM_TYPE_DIRECTIVE.
25335 * sysdeps/powerpc/sysdep.h: Likewise.
25336 * sysdeps/powerpc/powerpc32/sysdep.h:
25337 Replace ASM_TYPE_DIRECTIVE with .type.
25338 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25339 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25340 * sysdeps/i386/fpu/e_powf.S: Likewise.
25341 * sysdeps/i386/fpu/e_expl.S: Likewise.
25342 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25343 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25344 * sysdeps/i386/fpu/e_pow.S: Likewise.
25345 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25346 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25347 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25348 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25349 * sysdeps/i386/fpu/e_log2.S: Likewise.
25350 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25351 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25352 * sysdeps/i386/fpu/e_powl.S: Likewise.
25353 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25354 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25355 * sysdeps/i386/fpu/e_logl.S: Likewise.
25356 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25357 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25358 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25359 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25360 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25361 * sysdeps/i386/fpu/e_log.S: Likewise.
25362 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25363 * sysdeps/i386/fpu/e_logf.S: Likewise.
25364 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25365 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25366 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25367 * sysdeps/i386/fpu/e_log10.S: Likewise.
25368 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25369 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25370 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25371 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25372 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25373 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25374 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25375 * sysdeps/i386/i686/strtok.S: Likewise.
25376 * sysdeps/i386/i386-mcount.S: Likewise.
25377 * sysdeps/i386/strtok.S: Likewise.
25378 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25379 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25380 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25381 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25382 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25383 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25384 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25385 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25386 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25387 * sysdeps/x86_64/_mcount.S: Likewise.
25388 * sysdeps/x86_64/strtok.S: Likewise.
25389 * sysdeps/sh/_mcount.S: Likewise.
25390
25391 2012-08-01 Roland McGrath <roland@hack.frob.com>
25392
25393 * libio/iofopen.c: Include <fcntl.h>.
25394 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25395 (_IO_fopen64, fopen64): Define as aliases.
25396 * libio/iofopen64.c: Include <fcntl.h>.
25397 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25398 Conditionalize body on this.
25399 * sysdeps/wordsize-64/iofopen.c: File removed.
25400 * sysdeps/wordsize-64/iofopen64.c: File removed.
25401
25402 2012-08-01 Marek Polacek <polacek@redhat.com>
25403
25404 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25405 Use dlfcn directly instead of a variable.
25406 (binfmt-subdir): Do not define.
25407 (dlfcn): Likewise.
25408
25409 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25410
25411 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25412 Remove all definitions.
25413 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25414 <kernel-features.h>.
25415 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25416 (miss_F_GETOWN_EX): Remove all definitions.
25417 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25418 macro definition.
25419 [!__ASSUME_FCNTL64]: Remove conditional code.
25420 [__ASSUME_FCNTL64]: Make code unconditional.
25421 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25422 <kernel-features.h>.
25423 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25424 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25425 (lockf64) [__NR_fcntl64]: Make code unconditional.
25426 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25427
25428 * sysdeps/unix/sysv/linux/kernel-features.h
25429 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25430 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25431 Make code unconditional.
25432 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25433 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25435 [__NR_vfork]: Make code unconditional.
25436 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25437 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25439 [__NR_vfork]: Make code unconditional.
25440 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25441 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25442
25443 2012-08-01 Roland McGrath <roland@hack.frob.com>
25444
25445 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25446 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25447
25448 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25449 Define mkstemp64 as an alias.
25450 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25451 Define mkstemps64 as an alias.
25452 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25453 Define mkostemp64 as an alias.
25454 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25455 Define mkostemps64 as an alias.
25456 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25457 Conditionalize body on this.
25458 * misc/mkostemp64.c: Likewise.
25459 * misc/mkostemps64.c: Likewise.
25460 * misc/mkstemps64.c: Likewise.
25461 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25462 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25463 * sysdeps/wordsize-64/mkostemp.c: File removed.
25464 * sysdeps/wordsize-64/mkstemp.c: File removed.
25465 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25466 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25467 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25468 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25469
25470 [BZ #14138]
25471 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25472 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25473 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25474 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25475
25476 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25477 compat_symbol macros from <shlib-compat.h> rather than the underlying
25478 default_symbol_version and symbol_version macros, so that DEFAULT
25479 lines in shlib-versions are respected.
25480 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25481
25482 2012-08-01 Florian Weimer <fweimer@redhat.com>
25483
25484 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25485 Declare with warn_unused_result.
25486 (setgid, setregid, setegid, setresgid): Likewise.
25487 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25488 Likewise.
25489 * WUR-REPORT: Remove set*id functions.
25490
25491 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25492
25493 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25494
25495 2012-07-31 Roland McGrath <roland@hack.frob.com>
25496
25497 [BZ #10191]
25498 * include/sys/socket.h (__libc_accept, __libc_accept4):
25499 Add attribute_hidden.
25500 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25501
25502 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25503 use of PTR_MANGLE.
25504 * inet/getnetgrent_r.c (setup): Likewise.
25505
25506 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25507
25508 2012-07-31 David S. Miller <davem@davemloft.net>
25509
25510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25511
25512 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25513
25514 [BZ #13629]
25515 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25516 value between 1.0 and 2.0 and smaller part has absolute value less
25517 than 1.0.
25518 * math/s_clog10.c (__clog10): Likewise.
25519 * math/s_clog10f.c (__clog10f): Likewise.
25520 * math/s_clog10l.c (__clog10l): Likewise.
25521 * math/s_clogf.c (__clogf): Likewise.
25522 * math/s_clogl.c (__clogl): Likewise.
25523 * math/libm-test.inc (clog_test): Add more tests.
25524 (clog10_test): Likewise.
25525 * sysdeps/i386/fpu/libm-test-ulps: Update.
25526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25527
25528 2012-07-31 Florian Weimer <fweimer@redhat.com>
25529
25530 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25531 Exit with zero in case no suitable GID is found, and write a
25532 message to standard error.
25533
25534 2012-07-30 Roland McGrath <roland@hack.frob.com>
25535
25536 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25537 rather than to 1.
25538 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25539 (MAXPATHLEN): Removed.
25540 (NOGROUP, NODEV): New macros.
25541 (setbit, clrbit, isset, isclr): New macros.
25542 (howmany, roundup, powerof2): New macros.
25543 (DEV_BSIZE): New macro.
25544
25545 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25546 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25547
25548 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25549 definition on [!__NO_LONG_DOUBLE_MATH].
25550
25551 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25552 PTR_MANGLE and PTR_DEMANGLE.
25553
25554 * socket/accept4.c (accept4): Rename to __libc_accept4.
25555 Define accept4 as a weak alias.
25556
25557 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25558 on [_DIRENT_HAVE_D_TYPE].
25559 * io/ftw.c (ftw_dir): Likewise.
25560
25561 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25562
25563 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25564
25565 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25566 Use the BSD numbers rather than the arbitrary ones we had.
25567 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25568 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25569 (SIGXCPU, SIGXFSZ): New macros.
25570 (_NSIG): Now 32.
25571
25572 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25573 initializer on [_LIBC_REENTRANT].
25574
25575 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25576 definitions inside [_POSIX_MAPPED_FILES].
25577
25578 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25579
25580 * dirent/opendir.c: Include <fcntl.h>.
25581
25582 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25583 (__libc_getspecific): Likewise.
25584 (__libc_key_create): Likewise.
25585
25586 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25587 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25588 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25589 (tmpfile64): Define as alias.
25590 * sysdeps/wordsize-64/tmpfile.c: File removed.
25591 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25592 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25594
25595 * stdio-common/vfscanf.c: Include <stdbool.h>.
25596 * nss/makedb.c: Likewise.
25597 * stdio-common/_i18n_number.h: Likewise.
25598 * argp/argp-help.c: Likewise.
25599 * posix/wordexp.c: Likewise.
25600 * sysdeps/posix/spawni.c: Likewise.
25601 * nss/nss_files/files-initgroups.c: Likewise.
25602 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25603 * nss/nss_files/files-initgroups.c: Likewise.
25604 * nss/nss_db/db-netgrp.c: Likewise.
25605 * nss/nss_db/db-initgroups.c: Likewise.
25606 * io/fchmodat.c: Include <sys/stat.h>.
25607
25608 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25609 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25610
25611 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25612 [HAVE_MMAP].
25613
25614 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25615 Add multiple inclusion protection.
25616
25617 2012-07-27 David S. Miller <davem@davemloft.net>
25618
25619 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25620
25621 2012-07-27 Gary Benson <gbenson@redhat.com>
25622
25623 [BZ #14298]
25624 * elf/rtld.c: Include <stap-probe.h>.
25625 (dl_main): Added static probes "init_start" and "init_complete".
25626 * elf/dl-load.c: Include <stap-probe.h>.
25627 (lose): Take new parameter "nsid".
25628 Added static probe "map_failed".
25629 (_dl_map_object_from_fd): Pass namespace id to lose.
25630 Added static probe "map_start".
25631 (open_verify): Pass namespace id to lose.
25632 * elf/dl-open.c: Include <stap-probe.h>.
25633 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25634 and "reloc_complete".
25635 * elf/dl-close.c: Include <stap-probe.h>.
25636 (_dl_close_worker): Added static probes "unmap_start" and
25637 "unmap_complete".
25638 * elf/rtld-debugger-interface.txt: New file documenting the above.
25639
25640 2012-07-26 Roland McGrath <roland@hack.frob.com>
25641
25642 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25643 rather than a string variable.
25644 * sunrpc/rpc_main.c (h_output): Likewise.
25645 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25646
25647 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25648
25649 * inet/check_native.c: New file.
25650
25651 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25652
25653 [BZ #13629]
25654 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25655 if larger part has absolute value 1.0.
25656 * math/s_clog10.c (__clog10): Likewise.
25657 * math/s_clog10f.c (__clog10f): Likewise.
25658 * math/s_clog10l.c (__clog10l): Likewise.
25659 * math/s_clogf.c (__clogf): Likewise.
25660 * math/s_clogl.c (__clogl): Likewise.
25661 * math/libm-test.inc (clog_test): Add more tests.
25662 (clog10_test): Likewise.
25663 * sysdeps/i386/fpu/libm-test-ulps: Update.
25664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25665
25666 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25667 (pltexit): Likewise.
25668 (La_regs): Likewise.
25669 (La_retval): Likewise.
25670 (int_retval): Likewise.
25671 Update #error for removed macros to refer only to definitions in
25672 tst-audit.h.
25673 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25674 macro.
25675 (pltexit): Likewise.
25676 (La_regs): Likewise.
25677 (La_retval): Likewise.
25678 (int_retval): Likewise.
25679 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25680 macro.
25681 (pltexit): Likewise.
25682 (La_regs): Likewise.
25683 (La_retval): Likewise.
25684 (int_retval): Likewise.
25685 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25686 macro.
25687 (pltexit): Likewise.
25688 (La_regs): Likewise.
25689 (La_retval): Likewise.
25690 (int_retval): Likewise.
25691 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25692 macro.
25693 (pltexit): Likewise.
25694 (La_regs): Likewise.
25695 (La_retval): Likewise.
25696 (int_retval): Likewise.
25697 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25698 macro.
25699 (pltexit): Likewise.
25700 (La_regs): Likewise.
25701 (La_retval): Likewise.
25702 (int_retval): Likewise.
25703 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25704 macro.
25705 (pltexit): Likewise.
25706 (La_regs): Likewise.
25707 (La_retval): Likewise.
25708 (int_retval): Likewise.
25709 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25710 macro definitions in tst-audit.h.
25711 * sysdeps/i386/tst-audit.h: New file.
25712 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25713 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25714 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25715 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25716 * sysdeps/sh/tst-audit.h: Likewise.
25717 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25718 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25719 * sysdeps/x86_64/tst-audit.h: Likewise.
25720
25721 2012-07-26 Andreas Jaeger <aj@suse.de>
25722
25723 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25724 ptrace.
25725
25726 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25727 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25728 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25729 PTRACE_O_MASK.
25730 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25731 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25732 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25733
25734 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25735 value.
25736
25737 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25738 _sigsys.
25739 (si_call_addr, si_syscall, si_arch): Define new macro.
25740 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25741 _sigsys.
25742 (si_call_addr, si_syscall, si_arch): Define new marcro.
25743 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25744 _sigsys.
25745 (si_call_addr, si_syscall, si_arch): Define new macro.
25746 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25747 _sigsys.
25748 (si_call_addr, si_syscall, si_arch): Define new macro.
25749
25750 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25751
25752 [BZ #13717]
25753 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25754 Change to 2.4.21 where previously 2.4.1.
25755 * sysdeps/unix/sysv/linux/configure: Regenerated.
25756 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25757 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25758 Linux kernel version.
25759 (__ASSUME_STD_AUXV): Remove.
25760 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25761 kernel version.
25762 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25763 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25764 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25765 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25766 (__ASSUME_NETLINK_SUPPORT): Likewise.
25767 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25768 (__no_netlink_support): Remove conditional definition.
25769 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25770 Remove.
25771 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25772 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25773 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25774 (if_nameindex_ioctl): Remove.
25775 (if_nameindex_netlink): Do not handle __no_netlink_support.
25776 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25777 code.
25778 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25779 Remove conditional code.
25780 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25781 code.
25782 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25783 unconditional.
25784 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25785 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25786 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25787 Remove.
25788 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25789 [!__ASSUME_STD_AUXV]: Remove conditional code.
25790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25791 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25792 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25794 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25795 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25796 code.
25797 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25799 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25800 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25801 conditional code.
25802 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25804 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25805 code.
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25807 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25808 conditional code.
25809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25810 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25811 code unconditional.
25812 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25813 conditional code.
25814 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25815 unconditional.
25816 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25817 conditional code.
25818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25819 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25820 unconditional.
25821 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25822 conditional code.
25823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25824 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25825 code unconditional.
25826 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25827 conditional code.
25828 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25829 unconditional.
25830 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25831 conditional code.
25832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25833 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25834 code unconditional.
25835 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25836 conditional code.
25837 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25838 unconditional.
25839 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25840 conditional code.
25841
25842 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25843
25844 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25845 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25846 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25847 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25848 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25849 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25850 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25851 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25852 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25853 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25854 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25855 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25856 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25857 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25858 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25859 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25860 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25861 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25862 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25863 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25864 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25865 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25866 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25867
25868 2012-07-25 Florian Weimer <fweimer@redhat.com>
25869
25870 * Versions.def: Add GLIBC_2.17.
25871 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25872 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25873 Introduce __libc_secure_getenv.
25874 * stdlib/Versions (2.17): Add secure_getenv
25875 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25876 * stdlib/secure-getenv.c: Rename __secure_getenv to
25877 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25878 symbol __secure_getenv for GLIBC_2.0.
25879 * stdlib/tst-secure-getenv.c: New.
25880 * stdlib/Makefile (tests): Add testcase.
25881 * manual/startup.texi (Environment Access): Document
25882 secure_getenv.
25883 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25884 __libc_secure_getenv.
25885 * inet/ruserpass.c (ruserpass): Likewise.
25886 * malloc/mtrace.c (mtrace): Likewise.
25887 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
25888 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25889 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25890 * sysdeps/posix/tempname.c: Likewise. Evaluate
25891 HAVE_SECURE_GETENV.
25892 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
25893 __secure_getenv to __libc_secure_getenv.
25894 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
25895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25896 Likewise.
25897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25898 Likewise.
25899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25901 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25903 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25904 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
25906
25907 2012-07-25 Joseph Myers <joseph@codesourcery.com>
25908
25909 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25910 (struct La_i86_retval): Likewise.
25911 (struct La_x86_64_regs): Likewise.
25912 (struct La_x86_64_retval): Likewise.
25913 (struct La_x32_regs): Likewise.
25914 (struct La_x32_retval): Likewise.
25915 (struct La_ppc32_regs): Likewise.
25916 (struct La_ppc32_retval): Likewise.
25917 (struct La_ppc64_regs): Likewise.
25918 (struct La_ppc64_retval): Likewise.
25919 (struct La_sh_regs): Likewise.
25920 (struct La_sh_retval): Likewise.
25921 (struct La_s390_32_regs): Likewise.
25922 (struct La_s390_32_retval): Likewise.
25923 (struct La_s390_64_regs): Likewise.
25924 (struct La_s390_64_retval): Likewise.
25925 (struct La_sparc32_regs): Likewise.
25926 (struct La_sparc32_retval): Likewise.
25927 (struct La_sparc64_regs): Likewise.
25928 (struct La_sparc64_retval): Likewise.
25929 (struct audit_ifaces): Remove architecture-specific pltenter and
25930 pltexit members.
25931 * sysdeps/i386/ldsodefs.h: New file.
25932 * sysdeps/powerpc/ldsodefs.h: Likewise.
25933 * sysdeps/s390/ldsodefs.h: Likewise.
25934 * sysdeps/sh/ldsodefs.h: Likewise.
25935 * sysdeps/sparc/ldsodefs.h: Likewise.
25936 * sysdeps/x86_64/ldsodefs.h: Likewise.
25937
25938 2012-07-25 Marek Polacek <polacek@redhat.com>
25939
25940 [BZ #6808]
25941 * math/libm-test.inc (yn_test): Add another test.
25942 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25943 to ERANGE when the result is +-Inf.
25944 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25945 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25946 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25947 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25948
25949 2012-07-24 Joseph Myers <joseph@codesourcery.com>
25950
25951 * conform/data/time.h-data (NULL): Use macro-constant. Require
25952 equal to 0.
25953 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25954 clock_t.
25955 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25956
25957 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25958
25959 * configure.in <sysdeps resolving>: Correct printing
25960 Implies_before.
25961 * configure: Regenerate.
25962
25963 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25964
25965 * math/w_ilogb.c: Include <limits.h>.
25966 * math/w_ilogbl.c: Likewise.
25967
25968 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25969
25970 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25971 va_copy. Document allowing for unavailable va_copy only as
25972 pre-C99 compatibility.
25973 * manual/string.texi (Copying and Concatenation): Use va_copy
25974 instead of __va_copy in concat example.
25975
25976 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25977
25978 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25979 (__sendto): Use create_address_port. Initialize APORT and deallocate
25980 it if not null.
25981
25982 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25983 with O_NOLINK passed to __file_name_lookup.
25984
25985 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25986 with O_NOLINK passed to __file_name_lookup.
25987
25988 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25989 negative N or less than NGIDS.
25990
25991 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25992 type to string_t. Set ERANGE as errno and return it if NAME is not big
25993 enough. Use memcpy instead of strncpy.
25994
25995 2012-07-20 Joseph Myers <joseph@codesourcery.com>
25996
25997 * elf/Makefile (check-data): Remove.
25998 (localplt.data): New vpath directive.
25999 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26000 instead of $(check-data).
26001 * scripts/data/localplt-generic.data: Move to ...
26002 * sysdeps/generic/localplt.data: ... here.
26003 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26004 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26005 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26007 ... here.
26008 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26010 ... here.
26011 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26013 ... here.
26014 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26016 ... here.
26017 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26018 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26019 ... here.
26020 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26022 ... here.
26023
26024 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26025
26026 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26027 PPC32 and PPC64 files.
26028 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26029 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26030
26031 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26032
26033 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26034 __makecontext_ret to ...
26035 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26036 ... here and call exit if uc_link is NULL. New file.
26037 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26038 __makecontext_ret.S.
26039 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26040 __makecontext_ret to ...
26041 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26042 ... here and call exit if uc_link is NULL. New file.
26043 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26044 __makecontext_ret.S.
26045
26046 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26047
26048 * elf/elf.h (R_390_IRELATIVE): New definition.
26049 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26050 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26051 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26052 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26053 (elf_machine_lazy_rel): Likewise.
26054 * sysdeps/s390/dl-irel.h: New file.
26055 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26056 * sysdeps/s390/s390-64/memset.S: New asm code.
26057 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26058 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26059 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26060 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26061 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26062 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26063 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26064 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26065 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26066 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26067 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26068 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26069 * sysdeps/s390/s390-32/memset.S: New asm code.
26070 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26071
26072 2012-07-17 Marek Polacek <polacek@redhat.com>
26073
26074 [BZ #14349]
26075 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26076 * sysdeps/s390/s390-64/configure.in: Likewise.
26077 * sysdeps/sparc/configure.in: Likewise.
26078 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26079 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26080 * sysdeps/i386/configure.in: Likewise.
26081 * sysdeps/x86_64/configure.in: Likewise.
26082 * sysdeps/sh/configure.in: Likewise.
26083 * sysdeps/s390/s390-32/configure: Regenerated.
26084 * sysdeps/s390/s390-64/configure: Likewise.
26085 * sysdeps/x86_64/configure: Likewise.
26086 * sysdeps/sh/configure: Likewise.
26087 * sysdeps/powerpc/powerpc64/configure: Likewise.
26088 * sysdeps/powerpc/powerpc32/configure: Likewise.
26089 * sysdeps/sparc/configure: Likwise.
26090 * sysdeps/i386/configure: Likewise.
26091
26092 * elf/dl-open.c: Comment fixes.
26093
26094 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26095
26096 * Makefile [CXX] (check-data): Remove.
26097 [CXX] (c++-types.data): New vpath directive.
26098 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26099 vpath. Do not allow for C++ type data being missing.
26100 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26101 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26102 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26103 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26104 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26105 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26106 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26108 ... here.
26109 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26111 ... here.
26112 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26114 ... here.
26115 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26117 ... here.
26118 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26120 ... here.
26121 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26123 ... here.
26124 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26125 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26126 ... here.
26127 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26129
26130 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26131 definitions to architecture-specific files.
26132 (TLS_IE): Likewise.
26133 (TLS_LD): Likewise.
26134 (TLS_GD): Likewise.
26135 * sysdeps/i386/tls-macros.h: New file.
26136 * sysdeps/powerpc/tls-macros.h: Likewise.
26137 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26138 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26139 * sysdeps/sh/tls-macros.h: Likewise.
26140 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26141 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26142 * sysdeps/x86_64/tls-macros.h: Likewise.
26143
26144 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26145
26146 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26147 zero value for regular exit case.
26148
26149 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26150 (__start_context): Preserve zero value for regular exit case.
26151
26152 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26153 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26154
26155 * manual/setjmp.texi (setcontext): Clarify normal process
26156 termination when uc_link is the null pointer.
26157 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26158 exit call.
26159
26160 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26161
26162 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26163 preprocessor. Test for each exception mask separately.
26164
26165 2012-07-16 Andreas Jaeger <aj@suse.de>
26166
26167 * po/ru.po: Update from translation team.
26168
26169 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26170
26171 * conform/data/string.h-data (NULL): Use macro-constant. Require
26172 equal to 0.
26173 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26174 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26175 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26176 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26177 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26178
26179 2012-07-13 Andreas Jaeger <aj@suse.de>
26180
26181 * po/fr.po: Update from translation team.
26182
26183 2012-07-12 Marek Polacek <polacek@redhat.com>
26184
26185 [BZ #14173]
26186 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26187 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26188 loop condition.
26189
26190 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26191
26192 [BZ #13717]
26193 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26194 Change to 2.4.1 where previously 2.4.0.
26195 * sysdeps/unix/sysv/linux/configure: Regenerated.
26196 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26197 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26198 version.
26199 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26200 (__ASSUME_AT_CLKTCK): Remove.
26201 (__ASSUME_AT_PAGESIZE): Likewise.
26202 (__ASSUME_AT_XID): Likewise.
26203 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26204 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26205 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26206 unconditionally.
26207 (HAVE_AUX_PAGESIZE): Likewise.
26208 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26209 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26210 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26211
26212 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26213
26214 [BZ #14307]
26215 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26216 the temporary buffer used to invoke __gethostbyname2_r,
26217 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26218 host_data / struct gaih_addrtuple.
26219 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26220 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26221 header file nss/nsswitch.h.
26222 * nss/nsswitch.h (global scope): Add definition of implementation
26223 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26224 resolv/nss_dns/dns-host.c).
26225
26226 2012-07-11 Andreas Jaeger <aj@suse.de>
26227
26228 * po/fr.po: Update from translation team.
26229
26230 * po/sv.po: Update from translation team
26231 * po/fr.po: Another update from translation team.
26232
26233 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26234
26235 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26236 for subnormals or multiply small sinh result by itself.
26237 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26238 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26239
26240 2012-07-11 David S. Miller <davem@davemloft.net>
26241
26242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26243
26244 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26245
26246 [BZ #14347]
26247 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26248 (INTERNAL_MARK): Shift it here.
26249
26250 2012-07-10 Marek Polacek <polacek@redhat.com>
26251
26252 [BZ #14151]
26253 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26254 libc_cv_asm_global_directive with .globl.
26255 * configure: Regenerated.
26256 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26257 with .globl.
26258 * sysdeps/i386/configure: Regenerated.
26259 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26260 with .globl.
26261 * sysdeps/x86_64/configure: Regenerated.
26262 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26263 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26264 * elf/tst-unique2mod2.c: Likewise.
26265 * elf/tst-unique2mod1.c: Likewise.
26266 * elf/tst-unique1mod2.c: Likewise.
26267 * elf/tst-unique1mod1.c: Likewise.
26268 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26269 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26270 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26271 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26272 * sysdeps/mach/sysdep.h: Likewise.
26273 * sysdeps/i386/sysdep.h: Likewise.
26274 * sysdeps/i386/i386-mcount.S: Likewise.
26275 * sysdeps/x86_64/_mcount.S: Likewise.
26276 * sysdeps/x86_64/sysdep.h: Likewise.
26277 * sysdeps/sh/_mcount.S: Likewise.
26278 * sysdeps/sh/sysdep.h: Likewise.
26279 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26280 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26281 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26282 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26283 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26284 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26285 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26286 * locale/localeinfo.h: Likewise.
26287 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26288 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26289
26290 2012-07-09 Roland McGrath <roland@hack.frob.com>
26291
26292 [BZ #14336]
26293 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26294 system".
26295 * manual/message.texi (The Uniforum approach): Likewise.
26296 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26297 (glibc iconv Implementation): Likewise.
26298
26299 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26300
26301 [BZ #14337]
26302 * math/s_clog.c (__clog): Avoid scaling a value down where that
26303 could result in underflow.
26304 * math/s_clog10.c (__clog10): Likewise.
26305 * math/s_clog10f.c (__clog10f): Likewise.
26306 * math/s_clog10l.c (__clog10l): Likewise.
26307 * math/s_clogf.c (__clogf): Likewise.
26308 * math/s_clogl.c (__clogl): Likewise.
26309 * math/libm-test.inc (clog_test): Add more tests.
26310 (clog10_test): Likewise.
26311 * sysdeps/i386/fpu/libm-test-ulps: Update.
26312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26313
26314 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26315
26316 [BZ #14283]
26317 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26318 by 7 not 8 to examine high bit of fractional part.
26319
26320 [BZ #14042]
26321 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26322 for call to __mcount_internal.
26323 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26324 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26325 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26326
26327 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26328
26329 [BZ #14154]
26330 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26331 approximation for values within 0x1p-13f of an odd multiple of
26332 pi/4.
26333 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26334 exception. Add more tests.
26335 * sysdeps/i386/fpu/libm-test-ulps: Update.
26336
26337 [BZ #6778]
26338 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26339 inputs and return -1 for them. Do not check for +Inf in case not
26340 reachable for +Inf.
26341 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26342 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26343 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26344 and return -1 for them. Do not check for +Inf in case not
26345 reachable for +Inf.
26346 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26347 define.
26348 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26349 and return -1 for them. Do not check for +Inf in case not
26350 reachable for +Inf.
26351 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26352 spurious underflow.
26353 * sysdeps/i386/fpu/libm-test-ulps: Update.
26354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26355
26356 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26357
26358 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26359
26360 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26361
26362 [BZ #14157]
26363 [BZ #14331]
26364 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26365 could result in spurious underflow. Scale down values above
26366 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26367 * math/s_csqrtf.c (__csqrtf): Likewise.
26368 * math/s_csqrtl.c (__csqrtl): Likewise.
26369 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26370 spurious underflow.
26371 * sysdeps/i386/fpu/libm-test-ulps: Update.
26372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26373
26374 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26375
26376 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26377 xopen-msg.sed.
26378 * catgets/xopen-msg.awk: New file.
26379 * catgets/xopen-msg.sed: Removed.
26380
26381 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26382 po2text.sed.
26383 * intl/po2test.awk: New file.
26384 * intl/po2test.sed: Removed.
26385
26386 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26387
26388 [BZ #14328]
26389 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26390 or multiply small sinh result by itself.
26391 * math/s_ctanf.c (__ctanf): Likewise.
26392 * math/s_ctanh.c (__ctanh): Likewise.
26393 * math/s_ctanhf.c (__ctanhf): Likewise.
26394 * math/s_ctanhl.c (__ctanhl): Likewise.
26395 * math/s_ctanl.c (__ctanl): Likewise.
26396 * math/libm-test.inc (ctan_test_tonearest): New function.
26397 (ctan_test_towardzero): Likewise.
26398 (ctan_test_downward): Likewise.
26399 (ctan_test_upward): Likewise.
26400 (ctanh_test_tonearest): Likewise.
26401 (ctanh_test_towardzero): Likewise.
26402 (ctanh_test_downward): Likewise.
26403 (ctanh_test_upward): Likewise.
26404 (main): Call these new functions.
26405 * sysdeps/i386/fpu/libm-test-ulps: Update.
26406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26407
26408 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26409
26410 * .gitignore: Delete /ports entry.
26411
26412 2012-07-03 Andreas Jaeger <aj@suse.de>
26413
26414 * po/bg.po: Update from translation team.
26415 * po/cs.po: Likewise.
26416 * po/de.po: Likewise.
26417 * po/hr.po: Likewise.
26418 * po/nl.pl: Likewise.
26419 * po/pl.po: Likewise.
26420 * po/vi.po: Likewise.
26421
26422 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26423
26424 * Makeconfig [!+link] (+link-before-libc): New variable.
26425 [!+link] (+link-after-libc): Likewise.
26426 [!+link] (+link-tests): Likewise.
26427 [!+link] (+link): Define in terms of $(+link-before-libc) and
26428 $(+link-after-libc).
26429 [!+link-static] (+link-static-before-libc): New variable.
26430 [!+link-static] (+link-static-after-libc): Likewise.
26431 [!+link-static] (+link-static-tests): Likewise.
26432 [!+link-static] (+link-static): Define in terms of
26433 $(+link-static-before-libc) and $(+link-static-after-libc).
26434 [build-shared] (link-libc-before-gnulib): New variable.
26435 [build-shared] (link-libc-tests): Likewise.
26436 [build-shared] (link-libc): Define in terms of
26437 $(link-libc-before-gnulib).
26438 [!build-shared] (link-libc-tests): New variable.
26439 (link-libc-static-tests): New variable.
26440 [!gnulib] (gnulib-arch): New variable.
26441 [!gnulib] (gnulib-tests): Likewise.
26442 [!gnulib] (static-gnulib-arch): Likewise.
26443 [!gnulib] (static-gnulib-tests): Likewise.
26444 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26445 Define with "=" instead of ":=".
26446 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26447 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26448 * Rules (binaries-all-notests): New variable.
26449 (binaries-all-tests): Likewise.
26450 (binaries-static-notests): Likewise.
26451 (binaries-static-tests): Likewise.
26452 (binaries-all): Define using $(binaries-all-notests) and
26453 $(binaries-all-tests).
26454 (binaries-static): Define using $(binaries-static-notests) and
26455 $(binaries-static-tests).
26456 (binaries-shared-tests): New variable.
26457 (binaries-shared-notests): Likewise.
26458 (binaries-shared): Remove variable.
26459 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26460 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26461 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26462 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26463 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26464 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26465 * elf/Makefile (sln-modules): New variable.
26466 (extra-objs): Add $(sln-modules:=.o).
26467 (ldconfig-modules): Add static-stubs.
26468 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26469 * elf/static-stubs.c: New file.
26470
26471 [BZ #14283]
26472 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26473 by 7 not 8 to examine high bit of fractional part. Use volatile
26474 variables when splitting into final array of floats if
26475 __FLT_EVAL_METHOD__ != 0.
26476 * math/libm-test.inc (cos_test): Add another test.
26477 (sin_test): Likewise.
26478 * sysdeps/i386/fpu/libm-test-ulps: Update.
26479
26480 [BZ #14273]
26481 * math/libm-test.inc (cosh_test): Add more tests.
26482
26483 * version.h (RELEASE): Set to "development".
26484 (VERSION): Set to "2.16.90".
26485
26486 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26487
26488 * NEWS: Update copyright. Remove last-updated date.
26489 Mention math library bug fixes and timezone data changes.
26490 * README: Mention GNU/Hurd, x32, and HPPA support status.
26491
26492 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26493
26494 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26495
26496 2012-06-27 Andreas Jaeger <aj@suse.de>
26497
26498 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26499
26500 2012-06-25 Andreas Jaeger <aj@suse.de>
26501
26502 * sysdeps/s390/fpu/libm-test-ulps: Update.
26503
26504 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26505 Thomas Schwinge <thomas@codesourcery.com>
26506
26507 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26508 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26509 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26510 fanotify_mark.
26511
26512 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26513
26514 * sysdeps/mach/start.c: Remove file.
26515 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26516 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26517 * sysdeps/sh/init-first.c: Likewise.
26518
26519 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26520 registers for frame unwinding purposes, add CFI directives.
26521 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26522 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26523 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26524 Likewise.
26525
26526 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26527 __fortify_fail returning.
26528 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26529
26530 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26531 sysdeps/sh/____longjmp_chk.S.
26532 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26533 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26534 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26535 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26536
26537 * sysdeps/sh/abort-instr.h: New file.
26538 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26539 process in case exit returns.
26540
26541 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26542 initialize the GOT register before use.
26543
26544 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26545 calculation of ARGC > 4.
26546
26547 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26548 meaningful names to some local labels.
26549
26550 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26551 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26552
26553 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26554 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26555 (__arch_compare_and_exchange_val_16_acq): Likewise.
26556 (__arch_compare_and_exchange_val_32_acq): Likewise.
26557 (atomic_exchange_and_add): Fix gUSA sequence.
26558 (atomic_add): Likewise.
26559 (atomic_add_negative): Likewise.
26560 (atomic_add_zero): Likewise.
26561 (atomic_bit_test_set): Likewise.
26562
26563 2012-06-22 Andreas Schwab <schwab@redhat.com>
26564
26565 [BZ #13579]
26566 * include/link.h (struct link_map): Add l_free_initfini.
26567 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26568 l_initfini.
26569 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26570 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26571 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26572 set.
26573
26574 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26575
26576 * configure.in: Use AC_LANG_SOURCE.
26577 * configure: Regenerate.
26578
26579 2012-06-22 Roland McGrath <roland@hack.frob.com>
26580
26581 * configure.in (libc_cv_localstatedir): New substituted variable.
26582 * configure: Regenerated.
26583 * config.make.in (localstatedir): New variable, substituted from
26584 libc_cv_localstatedir.
26585 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26586 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26587 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26588 * sysdeps/gnu/configure: Regenerated.
26589
26590 2012-06-21 Jeff Law <law@redhat.com>
26591
26592 [BZ #14277]
26593 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26594 free. Simplify list management for _LIBC case.
26595
26596 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26597
26598 [BZ #14273]
26599 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26600 Clear sign bit of 64-bit integer value before comparing against
26601 overflow value.
26602
26603 * sysdeps/mach/configure: Regenerated.
26604
26605 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26606
26607 [BZ #14278]
26608 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26609
26610 2012-06-21 Jeff Law <law@redhat.com>
26611
26612 [BZ #13882]
26613 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26614 uint16_t for elements in the "seen" array to avoid char overflows.
26615 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26616 * elf/dl-open.c (dl_open_worker): Likewise.
26617
26618 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26619
26620 * scripts/list-sources.sh: Scan PORTS for translations.
26621 * po/libc.pot: Regenerated.
26622
26623 2012-06-21 Andreas Jaeger <aj@suse.de>
26624
26625 [BZ #12194]
26626 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26627 warning.
26628 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26629 * bits/byteswap-16.h (__bswap_16): Likewise.
26630 * bits/byteswap.h (__bswap_constant_16): Likewise.
26631
26632 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26633
26634 [BZ #14117]
26635 * sysdeps/i386/fpu_control.h: Removed.
26636 * sysdeps/x86_64/fpu_control.h: Moved to ...
26637 * sysdeps/x86/fpu_control.h: Here.
26638
26639 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26640 (_FPU_SETCW): Likewise.
26641
26642 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26643
26644 [BZ #14117]
26645 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26646 * sysdeps/x86/fpu/bits/mathinline.h: This.
26647 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26648
26649 [BZ #14050]
26650 [BZ #14117]
26651 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26652 functions if __x86_64__ is defined.
26653
26654 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26655
26656 * string/endian.h: Add !__ASSEMBLER__ condition for including
26657 conversion interfaces.
26658
26659 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26660
26661 [BZ #14241]
26662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26663 of ABS(x) in calculating zero to negative powers other than odd
26664 integers.
26665 * math/libm-test.inc (pow_test): Add more tests.
26666
26667 2012-06-15 Andreas Jaeger <aj@suse.de>
26668
26669 * manual/contrib.texi (Contributors): Update entry of Liubov
26670 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26671 Machado Filho.
26672
26673 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26674
26675 * string/string.h: Add __wur to GNU version of strerror_r.
26676
26677 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26678
26679 [BZ #14229]
26680 * string/Makefile (tests): Add tst-strtok_r.
26681 * string/tst-strtok_r.c: New file.
26682 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26683 RAX_LP/RDX_LP on SAVE_PTR.
26684
26685 2012-06-14 Roland McGrath <roland@hack.frob.com>
26686
26687 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26688
26689 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26690
26691 * libm_test.inc (csqrt_test): Allow more spurious underflow
26692 exceptions.
26693 (j0_test): Likewise.
26694 (j1_test): Likewise.
26695 (y0_test): Likewise.
26696 (y1_test): Likewise.
26697
26698 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26699
26700 * po/Makefile (libc.pot): Use UTF-8 charset.
26701
26702 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26703
26704 [BZ #14210]
26705 Suppress sign-conversion warning from FD_SET.
26706 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26707 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26708 not unsigned long int.
26709 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26710
26711 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26712
26713 [BZ #14050]
26714 [BZ #14117]
26715 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26716 __extern_always_inline instead of __extern_inline.
26717 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26718 (__signbit): Likewise.
26719 (__signbitl): Support C++ namespace.
26720 (lrintf): New inline function.
26721 (lrint): Likewise.
26722 (llrintf): Likewise.
26723 (llrint): Likewise.
26724 (fmaxf): Likewise.
26725 (fmax): Likewise.
26726 (fminf): Likewise.
26727 (fmin): Likewise.
26728 (rint): Likewise.
26729 (rintf): Likewise.
26730 (ceil): Likewise.
26731 (ceilf): Likewise.
26732 (floor): Likewise.
26733 (floorf): Likewise.
26734 (nearbyint): Likewise.
26735 (nearbyintf): Likewise.
26736
26737 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26738
26739 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26740 non-default versions.
26741
26742 2012-06-11 Roland McGrath <roland@hack.frob.com>
26743
26744 [BZ #14218]
26745 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26746
26747 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26748
26749 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26750 (FE_UPWARD, FE_DOWNWARD): Don't define.
26751 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26752 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26753
26754 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26755 reading it.
26756 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26757 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26758
26759 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26760
26761 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26763 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26764 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26765
26766 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26767
26768 [BZ #14117]
26769 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26770 * sysdeps/i386/fpu/Implies: New file.
26771 * sysdeps/x86_64/fpu/Implies: Likewise.
26772 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26773 * sysdeps/x86/fpu/bits/fenv.h: This.
26774
26775 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26776 __SSE_MATH__.
26777
26778 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26779
26780 [BZ #14134]
26781 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26782 character 0xffff that matches the last element of the
26783 conversion table.
26784
26785 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26786
26787 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26788 fmodl commit.
26789
26790 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26791
26792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26793 values higher than 25.6283.
26794
26795 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26796
26797 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26798 subnormal exponent extraction and add some __builtin_expect.
26799 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26800 Fix for subnormal mantissa calculation.
26801
26802 2012-06-04 Mike Frysinger <vapier@gentoo.org>
26803
26804 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26805 cpu2 is -1 and errno is not ENOSYS.
26806
26807 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26808
26809 [BZ #14117]
26810 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26811 * sysdeps/x86/bits/string.h: This.
26812 * sysdeps/x86_64/bits/string.h: Removed.
26813
26814 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26815 if not compiling for x86-64, but compiling for >= i486.
26816
26817 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26818 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26819
26820 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26821 New macro from Linux kernel 3.4.0.
26822 (FP_XSTATE_MAGIC2): Likewise.
26823 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26824 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26825 (struct _fpx_sw_bytes): New struct.
26826 (struct _xsave_hdr): Likewise.
26827 (struct _ymmh_state): Likewise.
26828 (struct _xstate): Likewise.
26829
26830 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26831 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26832 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26833 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26834 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26835 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26836
26837 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26838 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26839 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26840 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26841 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26842 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26843
26844 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26845
26846 [BZ #13743]
26847 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26848 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26849 (sysdep_headers): Include sys/platform/ppc.h.
26850 * sysdeps/powerpc/test-gettimebase.c: Test for
26851 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26852 * manual/Makefile (appendices): Include platform.texi.
26853 * manual/contrib.texi (Contributors): Update @node pointers.
26854 * manual/maint.texi (Maintenance): Likewise.
26855 (Platform): New node.
26856 * manual/platform.texi: New file. Document the new features.
26857
26858 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26859 Jakub Jelinek <jakub@redhat.com>
26860
26861 [BZ #14188]
26862 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26863 where __builtin_expect is unavailable.
26864
26865 2012-06-03 David S. Miller <davem@davemloft.net>
26866
26867 * stdlib/longlong.h: Updated from GCC.
26868
26869 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26870
26871 [BZ #14042]
26872 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26873 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26874 __mcount_internal.
26875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26876 (GLIBC_2.16): Likewise.
26877
26878 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26879
26880 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26881
26882 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26883
26884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26885 (default-abi): New variable.
26886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26887 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26888 variable.
26889 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26890 Likewise.
26891 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26892 Likewise.
26893 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26894 Likewise.
26895
26896 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26897 definition. Document in comment.
26898
26899 2012-06-01 David S. Miller <davem@davemloft.net>
26900
26901 * stdlib/longlong.h: Updated from GCC.
26902
26903 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26904
26905 [BZ #14117]
26906 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26907 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26908 sys/debugreg.h sys/io.h here.
26909 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26910 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26911 sys/io.h.
26912 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26913 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26914 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26915 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26916 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26917 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26918
26919 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26920 Define only if __x86_64__ is defined.
26921
26922 2012-06-01 Joseph Myers <joseph@codesourcery.com>
26923
26924 [BZ #14048]
26925 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26926 Use int64_t for variable i.
26927 * math/libm-test.inc (fmod_test): Add more tests.
26928
26929 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26930 z computation is not scheduled after fetestexcept.
26931 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26932 Use math_force_eval instead of asm to ensure calculation scheduled
26933 before exception test.
26934 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26935 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26936
26937 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26938
26939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26940 computation is not scheduled after fetestexcept.
26941
26942 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26943
26944 [BZ #14117]
26945 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26946 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26947
26948 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26949
26950 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26951 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26952
26953 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26954
26955 [BZ #14117]
26956 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26957 <bits/wordsize.h>.
26958 (__WCHAR_MIN): Support __WORDSIZE == 64.
26959 (__WCHAR_MAX): Likewise.
26960
26961 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26962 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26963
26964 [BZ #14183]
26965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26966 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26967
26968 [BZ #14117]
26969 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26970 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26971
26972 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26973 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26974
26975 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26976 Defined to 1 if __x86_64__ isn't defined.
26977 (_STAT_VER_LINUX_OLD): New.
26978 (st_atime): Remove duplicate.
26979 (st_mtime): Likewise.
26980 (st_ctime): Likewise.
26981
26982 2012-05-31 David S. Miller <davem@davemloft.net>
26983
26984 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26985 entries.
26986
26987 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26988
26989 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26990 gen-libm-test.pl.
26991
26992 [BZ #14132]
26993 * elf/dl-reloc.c: Include <_itoa.h>.
26994 (_dl_reloc_bad_type): Remove use of INTUSE.
26995 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26996 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26997 * stdio-common/psiginfo.c (psiginfo): Likewise.
26998 * stdio-common/psignal.c (psignal): Likewise.
26999 * string/strsignal.c (strsignal): Likewise.
27000 * include/signal.h (_sys_siglist): Declare hidden proto.
27001 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27002 INTVARDEF with libc_hidden_data_def.
27003 * stdio-common/itoa-udigits.c: Likewise.
27004 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27005 (_itoa_lower_digits_internal): Remove declaration.
27006 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27007 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27008 (_sys_sigabbrev_internal): Remove aliases.
27009 (_sys_siglist): Define hidden alias.
27010
27011 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27012
27013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27014 bits/sysctl.h.
27015
27016 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27017
27018 [BZ #14117]
27019 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27020 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27021
27022 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27023 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27024 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27025 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27026 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27027 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27028
27029 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27030 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27031 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27032
27033 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27034 with __addr.
27035 (insw): Likewise.
27036 (insl): Likewise.
27037 (outsb): Likewise.
27038 (outsw): Likewise.
27039 (outsl): Likewise.
27040
27041 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27042 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27043 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27044
27045 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27046 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27047 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27048 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27049 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27050 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27051
27052 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27053 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27054
27055 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27056 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27057
27058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27059 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27060 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27061
27062 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27063 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27064 to ...
27065 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27066
27067 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27068 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27069 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27070
27071 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27072 for x86-64.
27073 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27074
27075 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27076
27077 * math/math.h (M_El): Use two more decimal places.
27078 (M_LOG2El): Likewise.
27079 (M_LOG10El): Likewise.
27080 (M_LN2l): Likewise.
27081 (M_LN10l): Likewise.
27082 (M_PIl): Likewise.
27083 (M_PI_2l): Likewise.
27084 (M_PI_4l): Likewise.
27085 (M_1_PIl): Likewise.
27086 (M_2_PIl): Likewise.
27087 (M_2_SQRTPIl): Likewise.
27088 (M_SQRT2l): Likewise.
27089 (M_SQRT1_2l): Likewise.
27090
27091 2012-05-31 David S. Miller <davem@davemloft.net>
27092
27093 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27094 values between float registers.
27095 * sysdeps/sparc/sparc64/memset.S: Likewise.
27096 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27097
27098 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27099
27100 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27101 -D_FORTIFY_SOURCE=1.
27102 (CPPFLAGS-tst-longjmp_chk.c): Define.
27103 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27104 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27105 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27106 CFLAGS-tst-wchar-h.c.
27107
27108 2012-05-31 Marek Polacek <polacek@redhat.com>
27109
27110 [BZ #14132]
27111 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27112 __endmntent_internal): Remove declaration.
27113 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27114 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27115 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27116
27117 2012-05-30 David S. Miller <davem@davemloft.net>
27118
27119 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27120 (___Q_simulate_exceptions): Use real FP ops rather than writing
27121 into the %fsr.
27122 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27123 Likewise.
27124
27125 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27126
27127 [BZ #14117]
27128 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27129 * sysdeps/x86/bits/xtitypes.h: This.
27130
27131 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27132 * sysdeps/x86/bits/wordsize.h: This.
27133
27134 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27135 * sysdeps/x86/bits/huge_vall.h: This.
27136
27137 * sysdeps/i386/bits/select.h: Removed.
27138 * sysdeps/x86_64/bits/select.h: Renamed to ...
27139 * sysdeps/x86/bits/select.h: This.
27140
27141 * sysdeps/i386/bits/setjmp.h: Removed.
27142 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27143 * sysdeps/x86/bits/setjmp.h: This.
27144
27145 * sysdeps/i386/bits/mathdef.h: Removed.
27146 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27147 * sysdeps/x86/bits/mathdef.h: This.
27148
27149 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27150
27151 [BZ #14132]
27152 * include/sys/socket.h (__connect_internal)
27153 (__libc_sa_len_internal): Remove declaration.
27154 (__connect, __libc_sa_len): Declare hidden_proto.
27155 (SA_LEN): Remove use of INTUSE.
27156 * socket/connect.c: Add libc_hidden_def.
27157 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27158 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27159 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27160 alias.
27161 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27162 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27163 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27164 of adding _internal alias.
27165
27166 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27167
27168 [BZ #14117]
27169 * sysdeps/i386/bits/link.h: Removed.
27170 * sysdeps/i386/bits/linkmap.h: Likewise.
27171 * sysdeps/x86_64/bits/link.h: Renamed to ...
27172 * sysdeps/x86/bits/link.h: This.
27173 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27174 * sysdeps/x86/bits/linkmap.h: This.
27175
27176 * sysdeps/i386/bits/endian.h: Removed.
27177 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27178 * sysdeps/x86/bits/endian.h: This.
27179
27180 * sysdeps/i386/bits/byteswap.h: Removed.
27181 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27182 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27183 * sysdeps/x86/bits/byteswap.h: This.
27184 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27185 * sysdeps/x86/bits/byteswap-16.h: This.
27186 * sysdeps/i386/Implies: Add x86.
27187 * sysdeps/x86_64/Implies: Likewise.
27188
27189 2012-05-30 David S. Miller <davem@davemloft.net>
27190
27191 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27192 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27193 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27194 (FP_TRAPPING_EXCEPTIONS): Define.
27195 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27196 (FP_TRAPPING_EXCEPTIONS): Define.
27197 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27198 subnormals only when inexact has been signalled or underflow
27199 exceptions are enabled.
27200 (_FP_PACK_CANONICAL): Likewise.
27201
27202 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27203
27204 [BZ #14183]
27205 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27206 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27207
27208 2012-05-30 Richard Henderson <rth@twiddle.net>
27209
27210 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27211 with #ifndef NOT_IN_libc.
27212
27213 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27214 marked to avoid plt entry.
27215
27216 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27217
27218 [BZ #14112]
27219 * Makeconfig (default-abi): New macro.
27220 (abi-includes): Likewise.
27221 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27222 $(abi-$(default-abi)-lib-soname) for soname if defined.
27223 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27224 abi-variants.
27225 * Makefile (installed-stubs): Likewise.
27226 * include/stubs-biarch.h: Removed.
27227 * scripts/lib-names.awk: Only handle one library at a time.
27228 * scripts/soversions.awk: Remove WORDSIZE support.
27229 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27230 entries.
27231 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27232 Removed.
27233 (syscall-list-default-condition): Likewise.
27234 (syscall-list-default-condition): Likewise.
27235 (syscall-list-includes): Likewise.
27236 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27237 syscall-list-* with abi-*. Handle undefined abi-variants.
27238 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27239 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27240 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27241 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27242 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27243 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27244 Removed.
27245 (syscall-list-32-options): Likewise.
27246 (syscall-list-32-condition): Likewise.
27247 (syscall-list-64-options): Likewise.
27248 (syscall-list-64-condition): Likewise.
27249 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27250 macro.
27251 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27252 Renamed to ...
27253 (abi-*): This.
27254 (abi-64-ld-soname): New macro.
27255 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27256 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27257 Renamed to ...
27258 (abi-*): This.
27259 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27260 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27261
27262 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27263
27264 * sysdeps/unix/sysv/linux/kernel-features.h
27265 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27266 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27267 include <kernel-features.h>.
27268 [!__NR_ftruncate64]: Remove conditional code.
27269 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27270 [__NR_ftruncate64]: Make code unconditional.
27271 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27272 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27273 include <kernel-features.h>.
27274 [!__NR_ftruncate64]: Remove conditional code.
27275 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27276 [__NR_ftruncate64]: Make code unconditional.
27277 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27279 include <kernel-features.h>.
27280 [!__NR_ftruncate64]: Remove conditional code.
27281 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27282 [__NR_ftruncate64]: Make code unconditional.
27283 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27285 include <kernel-features.h>.
27286 [!__NR_ftruncate64]: Remove conditional code.
27287 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27288 [__NR_ftruncate64]: Make code unconditional.
27289 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27290
27291 * configure.in (libc_cv_fpie): Weaken to a compile test using
27292 LIBC_TRY_CC_OPTION.
27293 * configure: Regenerated.
27294
27295 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27296
27297 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27301 Refreshed.
27302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27304 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27308 Refreshed.
27309
27310 2012-05-27 David S. Miller <davem@davemloft.net>
27311
27312 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27313 (___Q_zero): New.
27314 (__Q_simulate_exceptions): Return void. Change to simulate
27315 exceptions by writing into the %fsr.
27316 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27317 (__Qp_handle_exceptions): Likewise.
27318 (numbers): Delete.
27319 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27320 __Qp_handle_exceptions.
27321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27322 __Qp_handle_exceptions.
27323 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27324 as unused and give dummy FP_RND_NEAREST initializer.
27325 (FP_INHIBIT_RESULTS): Define.
27326 (___Q_simulate_exceptions): Update declaration.
27327 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27328 formatting.
27329 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27330 as unused and give dummy FP_RND_NEAREST initializer.
27331 (__Qp_handle_exceptions): Update declaration.
27332 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27333 formatting.
27334
27335 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27336
27337 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27338 the temporary FPU control word.
27339 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27340 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27341 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27342 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27343 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27344 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27345 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27346 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27347 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27348 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27349 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27350
27351 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27352
27353 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27354 fields.
27355
27356 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27357
27358 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27359 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27360 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27361 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27362 Likewise.
27363 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27364 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27365 Likewise.
27366
27367 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27368
27369 * po/h.po: Update from translation team.
27370
27371 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27372
27373 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27374
27375 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27376 handling of denormals.
27377 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27378 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27379 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27380 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27381 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27382 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27384 Likewise.
27385
27386 2012-05-26 Marek Polacek <polacek@redhat.com>
27387
27388 [BZ #14152]
27389 * math/libm-test.inc (fma_test): Don't always expect underflow
27390 exception.
27391
27392 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27393
27394 [BZ #12416]
27395 * elf/tst-execstack.c: Include stackinfo.h.
27396 (do_test): Adjust test case to ensure that pthread_getattr_np
27397 behaviour remains the same after marking stack executable.
27398
27399 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27400
27401 * sysdeps/unix/sysv/linux/kernel-features.h
27402 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27403 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27404 kernel-features.h.
27405 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27406 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27407 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27408 kernel-features.h.
27409 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27410 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27411
27412 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27413
27414 * configure.in: Define the default includes to being none.
27415 * configure: Regenerated.
27416
27417 2012-05-25 Roland McGrath <roland@hack.frob.com>
27418
27419 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27420 * sysdeps/x86_64/setjmp.S: Likewise.
27421 * sysdeps/i386/bsd-setjmp.S: Likewise.
27422 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27423 * sysdeps/i386/setjmp.S: Likewise.
27424 * sysdeps/i386/__longjmp.S: Likewise.
27425 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27426 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27427
27428 * include/stap-probe.h: New file.
27429 * configure.in: Handle --enable-systemtap.
27430 * configure: Regenerated.
27431 * config.h.in (USE_STAP_PROBE): New #undef.
27432 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27433 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27434 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27435
27436 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27437
27438 [BZ #13717]
27439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27440 to 2.4.0 where earlier.
27441 * sysdeps/unix/sysv/linux/configure: Regenerated.
27442 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27443 <kernel-features.h>.
27444 [__ASSUME_32BITUIDS]: Make code unconditional.
27445 [!__ASSUME_32BITUIDS]: Remove conditional code.
27446 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27447 <kernel-features.h>.
27448 [__ASSUME_32BITUIDS]: Make code unconditional.
27449 [!__ASSUME_32BITUIDS]: Remove conditional code.
27450 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27451 [__ASSUME_32BITUIDS]: Make code unconditional.
27452 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27453 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27454 <kernel-features.h>.
27455 [__ASSUME_32BITUIDS]: Make code unconditional.
27456 [!__ASSUME_32BITUIDS]: Remove conditional code.
27457 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27458 <kernel-features.h>.
27459 [__ASSUME_32BITUIDS]: Make code unconditional.
27460 [!__ASSUME_32BITUIDS]: Remove conditional code.
27461 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27462 <kernel-features.h>.
27463 [__ASSUME_32BITUIDS]: Make code unconditional.
27464 [!__ASSUME_32BITUIDS]: Remove conditional code.
27465 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27466 <kernel-features.h>.
27467 [__ASSUME_32BITUIDS]: Make code unconditional.
27468 [!__ASSUME_32BITUIDS]: Remove conditional code.
27469 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27470 <kernel-features.h>.
27471 [__ASSUME_32BITUIDS]: Make code unconditional.
27472 [!__ASSUME_32BITUIDS]: Remove conditional code.
27473 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27474 <kernel-features.h>.
27475 [__ASSUME_32BITUIDS]: Make code unconditional.
27476 [!__ASSUME_32BITUIDS]: Remove conditional code.
27477 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27478 <kernel-features.h>.
27479 [__ASSUME_32BITUIDS]: Make code unconditional.
27480 [!__ASSUME_32BITUIDS]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27482 <kernel-features.h>.
27483 [__ASSUME_32BITUIDS]: Make code unconditional.
27484 [!__ASSUME_32BITUIDS]: Remove conditional code.
27485 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27486 <kernel-features.h>.
27487 [__ASSUME_32BITUIDS]: Make code unconditional.
27488 [!__ASSUME_32BITUIDS]: Remove conditional code.
27489 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27490 <kernel-features.h>.
27491 [__ASSUME_32BITUIDS]: Make code unconditional.
27492 [!__ASSUME_32BITUIDS]: Remove conditional code.
27493 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27494 <kernel-features.h>.
27495 [__NR_setresgid] (__setresgid): Do not declare.
27496 [__ASSUME_32BITUIDS]: Make code unconditional.
27497 [!__ASSUME_32BITUIDS]: Remove conditional code.
27498 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27499 <kernel-features.h>.
27500 [__NR_setresuid] (__setresuid): Do not declare.
27501 [__ASSUME_32BITUIDS]: Make code unconditional.
27502 [!__ASSUME_32BITUIDS]: Remove conditional code.
27503 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27504 <kernel-features.h>.
27505 [__ASSUME_32BITUIDS]: Make code unconditional.
27506 [!__ASSUME_32BITUIDS]: Remove conditional code.
27507 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27508 <kernel-features.h>.
27509 [__ASSUME_32BITUIDS]: Make code unconditional.
27510 [!__ASSUME_32BITUIDS]: Remove conditional code.
27511 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27512 <kernel-features.h>.
27513 [__ASSUME_32BITUIDS]: Make code unconditional.
27514 [!__ASSUME_32BITUIDS]: Remove conditional code.
27515 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27516 <kernel-features.h>.
27517 [__ASSUME_32BITUIDS]: Make code unconditional.
27518 [!__ASSUME_32BITUIDS]: Remove conditional code.
27519 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27520 <kernel-features.h>.
27521 [__ASSUME_32BITUIDS]: Make code unconditional.
27522 [!__ASSUME_32BITUIDS]: Remove conditional code.
27523 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27524 <kernel-features.h>.
27525 [__ASSUME_32BITUIDS]: Make code unconditional.
27526 [!__ASSUME_32BITUIDS]: Remove conditional code.
27527 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27528 <kernel-features.h>.
27529 [__ASSUME_32BITUIDS]: Make code unconditional.
27530 [!__ASSUME_32BITUIDS]: Remove conditional code.
27531 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27532 <kernel-features.h>.
27533 [__ASSUME_32BITUIDS]: Make code unconditional.
27534 [!__ASSUME_32BITUIDS]: Remove conditional code.
27535 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27536 <kernel-features.h>.
27537 [__ASSUME_32BITUIDS]: Make code unconditional.
27538 [!__ASSUME_32BITUIDS]: Remove conditional code.
27539 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27540 <kernel-features.h>.
27541 [__ASSUME_32BITUIDS]: Make code unconditional.
27542 [!__ASSUME_32BITUIDS]: Remove conditional code.
27543 * sysdeps/unix/sysv/linux/kernel-features.h
27544 (__ASSUME_SETRESUID_SYSCALL): Remove.
27545 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27546 (__ASSUME_32BITUIDS): Likewise.
27547 (__ASSUME_LDT_WORKS): Likewise.
27548 (__ASSUME_O_DIRECTORY): Likewise.
27549 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27550 architecture but not kernel version.
27551 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27552 (__ASSUME_MMAP2_SYSCALL): Likewise.
27553 (__ASSUME_STAT64_SYSCALL): Likewise.
27554 (__ASSUME_IPC64): Likewise.
27555 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27556 <kernel-features.h>.
27557 [__ASSUME_32BITUIDS]: Make code unconditional.
27558 [!__ASSUME_32BITUIDS]: Remove conditional code.
27559 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27560 <kernel-features.h>.
27561 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27562 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27563 132096]: Remove conditional code.
27564 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27565 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27566 <kernel-features.h>.
27567 [__ASSUME_32BITUIDS]: Make code unconditional.
27568 [!__ASSUME_32BITUIDS]: Remove conditional code.
27569 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27570 <kernel-features.h>.
27571 [__ASSUME_32BITUIDS]: Make code unconditional.
27572 [!__ASSUME_32BITUIDS]: Remove conditional code.
27573 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27574 <kernel-features.h>.
27575 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27576 unconditional.
27577 (__setresgid): Do not declare.
27578 [__ASSUME_32BITUIDS]: Make code unconditional.
27579 [!__ASSUME_32BITUIDS]: Remove conditional code.
27580 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27581 <kernel-features.h>.
27582 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27583 unconditional.
27584 (__setresuid): Do not declare.
27585 [__ASSUME_32BITUIDS]: Make code unconditional.
27586 [!__ASSUME_32BITUIDS]: Remove conditional code.
27587 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27588 <kernel-features.h>.
27589 [__ASSUME_32BITUIDS]: Make code unconditional.
27590 [!__ASSUME_32BITUIDS]: Remove conditional code.
27591 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27592 <kernel-features.h>.
27593 [__ASSUME_32BITUIDS]: Make code unconditional.
27594 [!__ASSUME_32BITUIDS]: Remove conditional code.
27595
27596 2012-05-25 Richard Henderson <rth@twiddle.net>
27597
27598 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27599 dl_hwcap to ifunc resolver.
27600 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27601 elf_ifunc_invoke.
27602 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27603 dl_hwcap to ifunc resolver.
27604 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27605
27606 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27607
27608 [BZ #14153]
27609 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27610 for |x| <= 2**-26, not 2**-57.
27611 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27612 exception.
27613
27614 2012-05-24 Jeff Law <law@redhat.com>
27615
27616 * stdio-common/Makefile (tests): Add bug25.
27617 * stdio-common/bug25.c: New test.
27618
27619 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27620
27621 [BZ #13576]
27622 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27623 multiple of MALLOC_ALIGNMENT in size.
27624 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27625
27626 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27627
27628 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27629 Require >= 256.
27630 (FILENAME_MAX): Use macro-int-constant.
27631 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27632 (_IOFBF): Use macro-int-constant.
27633 (_IOLBF): Likewise.
27634 (_IONBF): Likewise.
27635 (SEEK_CUR): Likewise.
27636 (SEEK_END): Likewise.
27637 (SEEK_SET): Likewise.
27638 (TMP_MAX): Likewise.
27639 (EOF): Use macro-int-constant. Require < 0.
27640 (NULL): Use macro-constant. Require == 0.
27641 (stdin): Require type to be FILE *.
27642 (stdout): Likewise.
27643 (stderr): Likewise.
27644 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27645 macro-int-constant.
27646 (EXIT_SUCCESS): Likewise.
27647 (NULL): Use macro-constant. Require == 0.
27648 (RAND_MAX): Use macro-int-constant.
27649 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27650 [C99-based standards] (strtof): Require function.
27651 [C99-based standards] (strtold): Likewise.
27652 [C99-based standards] (strtoll): Likewise.
27653 [C99-based standards] (strtoull): Likewise.
27654 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27655 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27656 [ISO || ISO99 || ISO11] (math.h): Likewise.
27657 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27658 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27659 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27660
27661 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27662
27663 [BZ #14132]
27664 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27665 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27666 * intl/dgettext.c (DCGETTEXT): Likewise.
27667 * intl/gettext.c (DCGETTEXT): Likewise.
27668 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27669 * posix/regex_internal.h (gettext): Likewise.
27670 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27671 Remove declaration.
27672 * include/argz.h (__argz_count_internal)
27673 (__argz_stringify_internal): Remove declaration.
27674 (__argz_count, __argz_stringify): Declare hidden proto.
27675 * intl/dcgettext.c: Remove use of INTDEF.
27676 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27677 * string/argz-stringify.c: Likewise.
27678 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27679 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27680 Declare hidden proto.
27681 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27682 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27683 Declare hidden proto.
27684 * include/stdio.h (__asprintf_internal): Don't declare.
27685 (__asprintf): Don't define as macro. Declare hidden proto.
27686 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27687 (__fsetlocking): Declare hidden proto.
27688 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27689 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27690 hidden proto.
27691 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27692 (_IO_setlinebuf): Remove use of INTUSE.
27693 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27694 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27695 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27696 Remove declaration.
27697 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27698 (_IO_do_flush): Remove use of INTUSE.
27699 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27700 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27701 (_IO_adjust_column, _IO_least_wmarker)
27702 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27703 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27704 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27705 (_IO_default_doallocate, _IO_wdefault_doallocate)
27706 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27707 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27708 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27709 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27710 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27711 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27712 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27713 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27714 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27715 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27716 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27717 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27718 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27719 proto.
27720 (_IO_flush_all_internal, _IO_adjust_column_internal)
27721 (_IO_default_uflow_internal, _IO_default_finish_internal)
27722 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27723 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27724 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27725 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27726 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27727 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27728 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27729 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27730 (_IO_file_close_internal, _IO_file_close_it_internal)
27731 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27732 (_IO_file_init_internal, _IO_file_attach_internal)
27733 (_IO_file_fopen_internal, _IO_file_read_internal)
27734 (_IO_file_sync_internal, _IO_file_seek_internal)
27735 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27736 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27737 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27738 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27739 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27740 (_IO_list_all_internal, _IO_link_in_internal)
27741 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27742 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27743 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27744 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27745 (_IO_do_write_internal, _IO_padn_internal)
27746 (_IO_getline_info_internal, _IO_getline_internal)
27747 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27748 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27749 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27750 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27751 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27752 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27753 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27754 with libc_hidden_ver, remove use of INTUSE.
27755 * libio/genops.c: Likewise.
27756 * libio/freopen.c: Likewise.
27757 * libio/freopen64.c: Likewise.
27758 * libio/iofclose.c: Likewise.
27759 * libio/iofdopen.c: Likewise.
27760 * libio/iofflush.c: Likewise.
27761 * libio/iofflush_u.c: Likewise.
27762 * libio/iofgets.c: Likewise.
27763 * libio/iofgets_u.c: Likewise.
27764 * libio/iofopen.c: Likewise.
27765 * libio/iofopncook.c: Likewise.
27766 * libio/iofread.c: Likewise.
27767 * libio/iofread_u.c: Likewise.
27768 * libio/ioftell.c: Likewise.
27769 * libio/iofwrite.c: Likewise.
27770 * libio/iogetline.c: Likewise.
27771 * libio/iogets.c: Likewise.
27772 * libio/iogetwline.c: Likewise.
27773 * libio/iopadn.c: Likewise.
27774 * libio/iopopen.c: Likewise.
27775 * libio/ioseekoff.c: Likewise.
27776 * libio/ioseekpos.c: Likewise.
27777 * libio/iosetbuffer.c: Likewise.
27778 * libio/iosetvbuf.c: Likewise.
27779 * libio/ioungetc.c: Likewise.
27780 * libio/ioungetwc.c: Likewise.
27781 * libio/iovdprintf.c: Likewise.
27782 * libio/iovsprintf.c: Likewise.
27783 * libio/iovsscanf.c: Likewise.
27784 * libio/memstream.c: Likewise.
27785 * libio/obprintf.c: Likewise.
27786 * libio/oldfileops.c: Likewise.
27787 * libio/oldiofclose.c: Likewise.
27788 * libio/oldiofdopen.c: Likewise.
27789 * libio/oldiofopen.c: Likewise.
27790 * libio/oldiopopen.c: Likewise.
27791 * libio/oldstdfiles.c: Likewise.
27792 * libio/putc.c: Likewise.
27793 * libio/setbuf.c: Likewise.
27794 * libio/setlinebuf.c: Likewise.
27795 * libio/stdfiles.c: Likewise.
27796 * libio/strops.c: Likewise.
27797 * libio/vasprintf.c: Likewise.
27798 * libio/vscanf.c: Likewise.
27799 * libio/vsnprintf.c: Likewise.
27800 * libio/vswprintf.c: Likewise.
27801 * libio/wfiledoalloc.c: Likewise.
27802 * libio/wfileops.c: Likewise.
27803 * libio/wgenops.c: Likewise.
27804 * libio/wmemstream.c: Likewise.
27805 * libio/wstrops.c: Likewise.
27806 * libio/__fpurge.c: Likewise.
27807 * libio/__fsetlocking.c: Likewise.
27808 * assert/assert.c: Likewise.
27809 * debug/fgets_chk.c: Likewise.
27810 * debug/fgets_u_chk.c: Likewise.
27811 * debug/fread_chk.c: Likewise.
27812 * debug/fread_u_chk.c: Likewise.
27813 * debug/gets_chk.c: Likewise.
27814 * debug/obprintf_chk.c: Likewise.
27815 * debug/vasprintf_chk.c: Likewise.
27816 * debug/vdprintf_chk.c: Likewise.
27817 * debug/vsnprintf_chk.c: Likewise.
27818 * debug/vsprintf_chk.c: Likewise.
27819 * malloc/mtrace.c: Likewise.
27820 * misc/error.c: Likewise.
27821 * misc/syslog.c: Likewise.
27822 * stdio-common/asprintf.c: Likewise.
27823 * stdio-common/fxprintf.c: Likewise.
27824 * stdio-common/getw.c: Likewise.
27825 * stdio-common/isoc99_fscanf.c: Likewise.
27826 * stdio-common/isoc99_scanf.c: Likewise.
27827 * stdio-common/isoc99_vfscanf.c: Likewise.
27828 * stdio-common/isoc99_vscanf.c: Likewise.
27829 * stdio-common/isoc99_vsscanf.c: Likewise.
27830 * stdio-common/printf-prs.c: Likewise.
27831 * stdio-common/printf_fp.c: Likewise.
27832 * stdio-common/printf_fphex.c: Likewise.
27833 * stdio-common/printf_size.c: Likewise.
27834 * stdio-common/putw.c: Likewise.
27835 * stdio-common/scanf.c: Likewise.
27836 * stdio-common/sprintf.c: Likewise.
27837 * stdio-common/tmpfile.c: Likewise.
27838 * stdio-common/vfprintf.c: Likewise.
27839 * stdio-common/vfscanf.c: Likewise.
27840 * stdlib/strfmon_l.c: Likewise.
27841 * sunrpc/openchild.c: Likewise.
27842 * sunrpc/xdr_stdio.c: Likewise.
27843 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27844 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27845
27846 2012-05-24 Roland McGrath <roland@hack.frob.com>
27847
27848 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27849
27850 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27851 in the third column, to generate for the shared library an IFUNC
27852 that uses _dl_vdso_vsym.
27853 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27854 * Makeconfig (object-suffixes-noshared): New variable.
27855
27856 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27857 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27858 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27859 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27860
27861 [BZ #14132]
27862 * include/sys/time.h (__gettimeofday): Remove macro.
27863 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27864 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27865 Remove INTDEF.
27866 (__gettimeofday): Add libc_hidden_def.
27867 (gettimeofday): Add libc_hidden_weak.
27868 * sysdeps/mach/gettimeofday.c: Likewise.
27869 * sysdeps/posix/gettimeofday.c: Likewise.
27870 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27871 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27872 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27873 (__gettimeofday_internal): Remove strong_alias.
27874 (__gettimeofday): Add libc_hidden_def.
27875 (gettimeofday): Add libc_hidden_weak.
27876 * sysdeps/unix/syscalls.list (gettimeofday):
27877 Remove __gettimeofday_internal alias.
27878
27879 2012-05-24 Daniel Jacobowitz <drow@false.org>
27880 H.J. Lu <hongjiu.lu@intel.com>
27881
27882 [BZ #12495]
27883 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27884 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27885 (largebin_index_32_big): New.
27886 (largebin_index): Use it for 16-byte alignment.
27887 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27888 correction with front_misalign.
27889
27890 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27891
27892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27894 Likewise.
27895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27896 Likewise.
27897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27898 Likewise.
27899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27900 Likewise.
27901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27902 Likewise.
27903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27904 Likewise.
27905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27906 Likewise.
27907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27908 Likewise.
27909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27910 Likewise.
27911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27912 Likewise.
27913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27914 Likewise.
27915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27916 Likewise.
27917
27918 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27919 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27920
27921 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27922
27923 [BZ #10846]
27924 [BZ #14036]
27925 * math/libm-test.inc (exp_test): Add test from bug 14036.
27926 (pow_test): Add test from bug 10846.
27927
27928 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27929 and other flags.
27930 (special_function): Do not include flags in test name.
27931 (parse_args): Likewise.
27932 * sysdeps/i386/fpu/libm-test-ulps: Update.
27933 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27934 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27935 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27937
27938 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27939 exceptions.
27940 * math/libm-test.inc ("Philosophy"): Update comment about
27941 exception testing.
27942 (UNDERFLOW_EXCEPTION): New macro.
27943 (UNDERFLOW_EXCEPTION_OK): Likewise.
27944 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27945 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27946 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27947 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27948 (INVALID_EXCEPTION_OK): Update value.
27949 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27950 (OVERFLOW_EXCEPTION_OK): Likewise.
27951 (IGNORE_ZERO_INF_SIGN): Likewise.
27952 (test_exceptions): Handle underflow exceptions.
27953 (acos_test): Update for underflow exception expectations.
27954 (cexp_test): Likewise.
27955 (clog_test): Likewise.
27956 (clog10_test): Likewise.
27957 (csqrt_test): Likewise.
27958 (ctan_test): Likewise.
27959 (ctanh_test): Likewise.
27960 (exp_test): Likewise.
27961 (exp10_test): Likewise.
27962 (exp2_test): Likewise.
27963 (expm1_test): Likewise.
27964 (fma_test): Likewise.
27965 (j0_test): Likewise.
27966 (jn_test): Likewise.
27967 (nexttoward_test): Likewise.
27968 (pow_test): Likewise.
27969 (scalbn_test): Likewise.
27970 (scalbln_test): Likewise.
27971 (tan_test): Likewise.
27972 (y1_test): Likewise.
27973 * sysdeps/i386/fpu/libm-test-ulps: Update.
27974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27975
27976 2012-05-23 David S. Miller <davem@davemloft.net>
27977
27978 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27979 (__libc_sigaction): Remove unused local variables.
27980
27981 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27982
27983 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27984
27985 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27986
27987 mktime: avoid signed integer overflow
27988 * time/mktime.c (__mktime_internal): Do not mishandle the case
27989 where diff == INT_MIN.
27990
27991 mktime: simplify computation of average
27992 * time/mktime.c (ranged_convert): Use new time_t_avg function
27993 instead of rolling our own (probably-slower) code.
27994
27995 mktime: do not assume signed right shift propagates sign bit
27996 * time/mktime.c (isdst_differ): New static function.
27997 (__mktime_internal): No need to normalize tm_isdst now.
27998 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27999 tm_isdst values.
28000
28001 mktime: merge another wrapv change from gnulib
28002 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28003 from some compilers.
28004
28005 mktime: remove incorrect attempt at unusual arithmetics
28006 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28007 The code didn't really work on such machines anyway.
28008 (TYPE_MINIMUM): Assume two's complement.
28009 (twos_complement_arithmetic): Verify that long_int and time_t
28010 are two's complement (or unsigned, in the latter case).
28011
28012 mktime: check signed shifts on long_int and time_t, too
28013 * time/mktime.c (SHR): Check that shifts work as desired
28014 on the types long_int and time_t too, as SHR is used on
28015 such types.
28016
28017 mktime: do not assume 'long' is wide enough
28018 * time/mktime.c (verify): Move decl up.
28019 (long_int): New type.
28020 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28021 to remove assumption in the code that 'long' is wide enough to
28022 store year values. This assumption is not true on x32 and on
28023 some non-glibc platforms.
28024
28025 mktime: merge wrapv change from gnulib
28026 * time/mktime.c (WRAPV): New macro.
28027 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28028 (guess_time_tm, __mktime_internal): Do not assume that signed
28029 integer overflow wraps around; modern compilers generate code
28030 where this assumption is no longer valid.
28031
28032 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28033
28034 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28035 Replace "jmp L(pseudo_end)" with "ret".
28036 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28037 Likewise.
28038
28039 2012-05-23 Andreas Jaeger <aj@suse.de>
28040
28041 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28042 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28043
28044 2012-05-23 Andreas Jaeger <aj@suse.de>
28045 Maximilian Attems <max@stro.at>
28046
28047 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28048 New macros.
28049
28050 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28051
28052 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28053 code so that pseudo_end is just ret and the stack pointer is
28054 correct also for static library in error case.
28055
28056 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28057
28058 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28059 move to syscalls.list.
28060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28064
28065 * manual/install.texi (Running make install): Do not mention Linux
28066 kernel version for which pt_chown is not needed.
28067 (Linux): Do not mention problems with nscd with 2.0 kernels.
28068 * INSTALL: Regenerated.
28069
28070 2012-05-23 Andreas Jaeger <aj@suse.de>
28071
28072 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28073 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28074 macro.
28075 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28076 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28077 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28078 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28079 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28080 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28081 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28082 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28083 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28084 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28085 * sysdeps/unix/sysv/linux/bits/in.h
28086 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28087
28088 2012-05-22 Roland McGrath <roland@hack.frob.com>
28089
28090 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28091 (PREPARE_VERSION): Just use assert instead, it will be elided
28092 under [NDEBUG] anyway.
28093
28094 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28095
28096 * sysdeps/unix/sysv/linux/Makefile: Include
28097 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28098 (sysdep_routines): Remove sysctl.
28099 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28100 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28101 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28102 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28103 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28104
28105 2012-05-22 Andreas Jaeger <aj@suse.de>
28106
28107 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28108 that pseudo_end is just ret and the stack pointer is correct also
28109 for static library in error case.
28110
28111 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28112
28113 [BZ #14122]
28114 * nss/nsswitch.c (defconfig_entries): New variable.
28115 (__nss_database_lookup): Don't leak defconfig entries.
28116 (nss_parse_service_list): Don't leak on error paths.
28117 (free_database_entries): New function.
28118 (free_defconfig): New function.
28119 (free_mem): Move common code to free_database_entries.
28120
28121 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28122
28123 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28124 Add arch_prctl.
28125 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28126
28127 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28128 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28129 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28130 New macro.
28131 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28132 (INTERNAL_SYSCALL_TYPES): Likewise.
28133 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28134 (LOAD_REGS_TYPES_[1-6]): Likewise.
28135 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28136 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28137
28138 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28139
28140 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28141 copysignl for GLIBC_2_0.
28142 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28143 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28144 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28145 logbl for GLIBC_2_0.
28146 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28147 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28148
28149 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28150
28151 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28152 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28153
28154 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28155 Use "neg %eax".
28156
28157 * time/mktime.c: Update copyright years.
28158
28159 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28160
28161 mktime: merge comment-quoting-style change from gnulib
28162 * time/mktime.c: Quote 'like this' in comments.
28163 The GNU coding standards suggest that we no longer quote `like this',
28164 as "`" and "'" are typically rendered asymmetrically nowadays.
28165 The typical gnulib style is to quote 'like this' when quoting
28166 code, and "like this" when quoting English.
28167
28168 * time/mktime.c (compile-command): Add "-I.".
28169
28170 mktime: merge mktime-internal.h change from gnulib
28171 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28172
28173 mktime: merge time_r change from gnulib
28174 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28175
28176 mktime: merge DEBUG change from gnulib
28177 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28178 case system <time.h> has a #define.
28179
28180 mktime: merge <sys/types.h> change from gnulib
28181 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28182 since <time.t> is now guaranteed to define time_t.
28183
28184 mktime: merge HAVE_CONFIG_H change from gnulib
28185 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28186
28187 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28188
28189 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28190 Use "neg %eax".
28191
28192 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28193 __rlim_t cast.
28194 (struct rusage): Use anonymous union to pad each field to
28195 __syscall_slong_t.
28196
28197 2012-05-21 David S. Miller <davem@davemloft.net>
28198
28199 * Makefules (o-iterator): Remove .s cases.
28200 (compile-command.s): Delete.
28201 (COMPILE.s): Delete.
28202 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28203
28204 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28205
28206 * configure.in (libc_cv_predef_stack_protector): Only consider
28207 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28208 * configure: Regenerated.
28209
28210 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28211
28212 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28213 New macro. Use R*LP on int and pointer.
28214 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28215 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28216 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28217 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28218
28219 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28220 [__WORDSIZE_TIME64_COMPAT32] instead of
28221 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28222 (struct utmp): Likewise.
28223 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28224 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28225 Renamed to ...
28226 (__WORDSIZE_TIME64_COMPAT32): This.
28227 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28228 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28229 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28230 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28231 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28232 (__WORDSIZE_TIME64_COMPAT32): New macro.
28233
28234 2012-05-21 Andreas Jaeger <aj@suse.de>
28235
28236 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28237 only if [SHARED]. Add prototype for __wcschr_ia32.
28238
28239 2012-05-21 Roland McGrath <roland@hack.frob.com>
28240
28241 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28242 of %rbp unmolested in the jmp_buf while mangling the low bits.
28243 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28244 unmolested high bits of %rbp while demangling the low bits.
28245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28246
28247 2012-05-21 Andreas Jaeger <aj@suse.de>
28248
28249 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28250 * sunrpc/svc_simple.c: Use it for registerrpc.
28251 * sunrpc/xcrypt.c: Use it for passwd2des.
28252
28253 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28254
28255 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28256
28257 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28258 Don't define if [__SYSCALL_WORDSIZE != 32].
28259 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28260 New macro.
28261
28262 2012-05-21 Bruno Haible <bruno@clisp.org>
28263 Andreas Jaeger <aj@suse.de>
28264
28265 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28266 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28267 inptr and inend for must_buffer_ch.
28268 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28269 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28270 * stdio-common/Makefile (tests): Remove bug15.
28271 (bug15-ENV): Remove macro.
28272 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28273 anymore.
28274
28275 2012-05-19 Andreas Jaeger <aj@suse.de>
28276 Roland McGrath <roland@hack.frob.com>
28277
28278 * manual/contrib.texi: Completely rewritten. It contains now an
28279 alphabetical list of contributors and their contributions.
28280
28281 2012-05-21 Richard Henderson <rth@twiddle.net>
28282
28283 * misc/getauxval.c (__getauxval): Use unsigned long int.
28284 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28285 (getauxval): Use unsigned long int.
28286
28287 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28288
28289 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28290
28291 2012-05-21 Roland McGrath <roland@hack.frob.com>
28292
28293 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28294 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28295 __alignof__ (long double).
28296
28297 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28298
28299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28300
28301 2012-05-20 Richard Henderson <rth@twiddle.net>
28302
28303 * misc/getauxval.c: New file.
28304 * misc/sys/auxv.h: New file.
28305 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28306 (routines): Add getauxval.
28307 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28308 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28309 * elf/dl-sysdep.c (_dl_auxv): Remove.
28310 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28311 * elf/dl-support.c (_dl_auxv): New variable.
28312 (_dl_aux_init): Initialize it.
28313 * manual/startup.texi (Auxiliary Vector): New node.
28314 * sysdeps/generic/bits/hwcap.h: New file.
28315 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28316 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28317 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28318 * sysdeps/sparc/sysdep.h: ... here. Include it.
28319 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28320 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28322 Update.
28323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28326 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28329 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28331
28332 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28333
28334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28335
28336 2012-05-19 David S. Miller <davem@davemloft.net>
28337
28338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28339
28340 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28341
28342 [BZ #14123]
28343 * math/s_ccosh.c: Include <float.h>
28344 (__ccosh): Avoid internal overflow calculating sinh and cosh
28345 values before multiplying by sin and cos values.
28346 * math/s_ccoshf.c: Likewise.
28347 * math/s_ccoshl.c: Likewise.
28348 * math/s_csin.c: Likewise.
28349 * math/s_csinf.c: Likewise.
28350 * math/s_csinl.c: Likewise.
28351 * math/s_csinh.c: Likewise.
28352 * math/s_csinhf.c: Likewise.
28353 * math/s_csinhl.c: Likewise.
28354 * math/libm-test.inc (ccos_test): Add more tests.
28355 (ccosh_test): Likewise.
28356 (csin_test): Likewise.
28357 (csinh_test): Likewise.
28358 * sysdeps/i386/fpu/libm-test-ulps: Update.
28359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28360
28361 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28362
28363 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28364 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28365
28366 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28367
28368 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28369
28370 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28371 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28372 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28373 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28374 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28375 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28376 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28377 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28378 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28379 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28380 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28381 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28382 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28383 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28384 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28385 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28386 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28387 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28388 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28389 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28390 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28391 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28392 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28393 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28394 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28395 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28396 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28397 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28398 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28399 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28400 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28401
28402 2012-05-18 Andreas Jaeger <aj@suse.de>
28403
28404 * csu/.gitignore: Delete.
28405
28406 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28407
28408 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28409 (timex): Use __syscall_slong_t.
28410
28411 2012-05-18 Andreas Jaeger <aj@suse.de>
28412 Carlos O'Donell <carlos_odonell@mentor.com>
28413
28414 * manual/install.texi (Configuring and compiling): Update
28415 description about files modified in the source directory.
28416 * INSTALL: Regenerated.
28417
28418 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28419
28420 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28421 value. Use "or" to set return value to -1.
28422 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28423 negate return value.
28424
28425 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28426
28427 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28428 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28429 failure if the compiler has Graphite support disabled.
28430 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28431 Likewise.
28432 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28433 CFLAGS-memmove.c): Likewise.
28434 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28435 Likewise.
28436
28437 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28438
28439 * sysdeps/x86_64/x32/_itoa.h: New file.
28440
28441 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28442 getdents system call only if kernel and user dirents have the
28443 same d_ino and d_off.
28444
28445 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28446 LLONG_MAX != LONG_MAX.
28447 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28448 (_fitoa_word): Likewise.
28449
28450 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28451 years.
28452 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28453 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28454 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28455
28456 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28457 include <bits/wordsize.h>. Check __x86_64__ instead of
28458 __WORDSIZE.
28459 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28460 if __x86_64__ is defined. Use anonymous union on fpstate.
28461
28462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28463 anonymous union.
28464
28465 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28466
28467 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28468 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28469 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28470 Refer to _rtld_local_ro instead of _rtld_global_ro.
28471 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28472 Likewise.
28473 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28474 Likewise.
28475 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28476 Likewise.
28477 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28478 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28479 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28480
28481 * sysdeps/powerpc/powerpc32/dl-machine.c
28482 (__elf_machine_runtime_setup) [PROF]: Don't reference
28483 _dl_prof_resolve.
28484
28485 2012-05-18 Andreas Jaeger <aj@suse.de>
28486
28487 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28488 function only available for GCCs before 3.4 since GCC 3.4
28489 introduced a builtin.
28490 (lrint): Likewise.
28491 (llrintf): Likewise.
28492 (llrint): Likewise.
28493 (fmaxf): Likewise.
28494 (fmax): Likewise.
28495 (fminf): Likewise.
28496 (fmin): Likewise.
28497 (rint): Likewise.
28498 (rintf): Likewise.
28499 (nearbyint): Likewise.
28500 (nearbyintf): Likewise.
28501 (ceil): Likewise.
28502 (ceilf): Likewise.
28503 (floor): Likewise.
28504 (floorf): Likewise.
28505
28506 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28507
28508 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28509 on both fields and cast pointer to __syscall_ulong_t.
28510
28511 * bits/types.h (__fsword_t): New type.
28512 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28513 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28514 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28515 (__FSWORD_T_TYPE): Likewise.
28516 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28517 (__FSWORD_T_TYPE): Likewise.
28518 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28519 (__FSWORD_T_TYPE): Likewise.
28520 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28521 (__FSWORD_T_TYPE): Likewise.
28522 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28523 __SWORD_TYPE with __fsword_t.
28524 (statfs64): Likewise.
28525
28526 2012-05-17 David S. Miller <davem@davemloft.net>
28527
28528 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28529
28530 2012-05-17 Andreas Jaeger <aj@suse.de>
28531
28532 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28533 warning.
28534
28535 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28536
28537 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28538
28539 2012-05-17 Andreas Jaeger <aj@suse.de>
28540
28541 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28542 when it is used.
28543
28544 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28545
28546 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28547
28548 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28549
28550 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28551 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28552
28553 2012-05-17 Andreas Jaeger <aj@suse.de>
28554 Carlos O'Donell <carlos_odonell@mentor.com>
28555
28556 [BZ #14059]
28557 * sysdeps/x86_64/multiarch/init-arch.h
28558 (bit_YMM_Usable): Rename to...
28559 (bit_AVX_Usable): ... this.
28560 (bit_FMA4_Usable): New macro.
28561 (bit_XMM_state): New macro.
28562 (bit_YMM_state): New macro.
28563 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28564 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28565 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28566 (CPUID_OSXSAVE): New macro.
28567 (CPUID_AVX): New macro.
28568 (CPUID_FMA4): New macro.
28569 (index_YMM_Usable): Rename to...
28570 (index_AVX_Usable): ... this.
28571 (HAS_AVX): Use HAS_ARCH_FEATURE.
28572 (HAS_FMA4): Likewise.
28573 (HAS_YMM_USABLE): Remove.
28574 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28575 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28576 are present.
28577 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28578 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28579 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28580 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28581 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28582
28583 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28584
28585 * math/libm-test.c: Support platforms without multiple rounding modes.
28586 * math/bug-nextafter.c: Support platforms without FP exceptions.
28587 * math/bug-nexttoward.c: Likewise.
28588 * math/test-fenv.c: Likewise.
28589 * math/test-misc.c: Likewise.
28590 * stdlib/bug-getcontext.c: Likewise.
28591
28592 2012-05-17 Andreas Jaeger <aj@suse.de>
28593
28594 * manual/examples/search.c (critter_cmp): Change signature to
28595 avoid warnings.
28596 * manual/string.texi (Collation Functions): Likewise.
28597
28598 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28599
28600 * bits/types.h: Fold copyright years.
28601 * bits/typesizes.h: Likewise.
28602 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28603 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28604 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28605 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28606 * time/time.h: Likewise.
28607
28608 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28609
28610 [BZ #208]
28611 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28612 in instead of returning them. Return void.
28613 (__libc_mallinfo): Accumulate over all arenas.
28614 (__malloc_stats): Adjust for change in int_mallinfo interface.
28615
28616 2012-05-16 Roland McGrath <roland@hack.frob.com>
28617
28618 [BZ #10375]
28619 * configure.in (NM): Add AC_CHECK_TOOL for it.
28620 (libc_extra_cflags): New substituted variable.
28621 Check for -fstack-protector being used implicitly.
28622 * configure: Regenerated.
28623 * config.make.in (config-extra-cflags): New variable,
28624 gets @libc_extra_cflags@.
28625 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28626
28627 [BZ #10375]
28628 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28629 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28630 * configure: Regenerated.
28631 * config.make.in (CPPUNDEFS): New substituted variable.
28632 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28633 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28634 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28635
28636 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28637
28638 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28639 (mq_attr): Use __syscall_slong_t.
28640
28641 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28642
28643 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28644 Check __x86_64__ instead of __WORDSIZE.
28645 (_STAT_VER_LINUX): Likewise.
28646 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28647 __syscall_ulong_t and __syscall_slong_t.
28648 (stat64): Likewise.
28649
28650 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28651
28652 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28653
28654 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28655
28656 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28657
28658 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28659
28660 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28661 __syscall_ulong_t.
28662
28663 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28664 include <bits/wordsize.h>. Check __x86_64__ instead of
28665 __WORDSIZE.
28666 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28667 defined.
28668 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28669
28670 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28671 include <bits/wordsize.h>. Check __x86_64__ instead of
28672 __WORDSIZE.
28673 (user_regs_struct): Use "__extension__ unsigned long long"
28674 instead of "unsigned long" if __x86_64__ is defined.
28675 (user): Likewise. Pad after pointer field if __ILP32__ is
28676 defined.
28677
28678 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28679
28680 * configure.in (makeinfo): Require version 4.5 or later. Allow
28681 versions 5 to 9.
28682 * configure: Regenerated.
28683 * manual/install.texi (texinfo): Increase version requirement to
28684 4.5 or later.
28685 * INSTALL: Regenerated.
28686
28687 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28688
28689 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28690
28691 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28692
28693 * sysdeps/x86_64/x32/ffs.c: New file.
28694
28695 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28696 __syscall_ulong_t.
28697 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28698 defined. Use __syscall_ulong_t.
28699 (shminfo): Use __syscall_ulong_t.
28700 (shm_info): Likewise.
28701
28702 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28703 __syscall_ulong_t.
28704
28705 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28706 <bits/wordsize.h>.
28707 (msgqnum_t): Use __syscall_ulong_t.
28708 (msglen_t): Likewise.
28709 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28710 __syscall_ulong_t.
28711
28712 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28713 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28714
28715 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28716
28717 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28718 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28719
28720 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28721 __syscall_slong_t.
28722
28723 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28724 include <bits/wordsize.h>. Check __x86_64__ instead of
28725 __WORDSIZE.
28726
28727 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28728 "unsigned long long int" if __x86_64__ is defined.
28729 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28730
28731 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28732 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28733 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28734
28735 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28736 <stdint.h>.
28737 (GET_PC): Cast to uintptr_t first.
28738 (GET_FRAME): Likewise.
28739 (GET_STACK): Likewise.
28740
28741 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28752 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28754 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28756 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28757 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28759 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28760 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28762 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28763 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28764 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28765 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28770
28771 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28772
28773 * Makerules (+depfiles): Also collect depfiles from .oS in
28774 $(extra-objs).
28775 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28776 .oS, $(libnldbl-routines)).
28777
28778 * Makerules (native-compile-mkdep-flags): Define.
28779 * sunrpc/Makefile (extra-objs): Add $(addprefix
28780 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28781 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28782 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28783 calling $(make-target-directory).
28784
28785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28786
28787 * bits/types.h (__snseconds_t): Removed.
28788 * time/time.h (struct timespec): Replace __snseconds_t with
28789 __syscall_slong_t.
28790 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28791 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28792 Likewise.
28793 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28794 (__SNSECONDS_T_TYPE): Likewise.
28795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28796 (__SNSECONDS_T_TYPE): Likewise.
28797 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28798 (__SNSECONDS_T_TYPE): Likewise.
28799
28800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28801
28802 * sysdeps/mach/hurd/bits/typesizes.h
28803 (__SYSCALL_SLONG_TYPE): New macro.
28804 (__SYSCALL_ULONG_TYPE): Likewise.
28805
28806 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28807
28808 * bits/types.h (__syscall_slong_t): New type.
28809 (__syscall_ulong_t): Likewise.
28810
28811 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28812 (__SYSCALL_ULONG_TYPE): Likewise.
28813 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28814 (__SYSCALL_SLONG_TYPE): Likewise.
28815 (__SYSCALL_ULONG_TYPE): Likewise.
28816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28817 (__SYSCALL_SLONG_TYPE): Likewise.
28818 (__SYSCALL_ULONG_TYPE): Likewise.
28819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28820 (__SYSCALL_SLONG_TYPE): Likewise.
28821 (__SYSCALL_ULONG_TYPE): Likewise.
28822
28823 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28824
28825 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28826 Add sigaltstack-offsets.sym.
28827 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28828 <sigaltstack-offsets.h>.
28829 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28830 longjmp_msg pointer.
28831 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28832 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28833 signal stack.
28834 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28835
28836 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28837
28838 * elf/stackguard-macros.h: Remove file.
28839 * sysdeps/generic/stackguard-macros.h: New file.
28840 * sysdeps/i386/stackguard-macros.h: Likewise.
28841 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28842 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28843 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28844 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28845 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28846 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28847 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28848 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28849 <elf/stackguard-macros.h>.
28850
28851 [BZ #14109]
28852 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28853 __aligned__ in attribute.
28854 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28855 (gregset_t): Likewise.
28856
28857 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28858
28859 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28860 * sysdeps/x86_64/64/Implies-after: Here. New file.
28861 * sysdeps/x86_64/x32/Implies-after: New file.
28862
28863 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28864
28865 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28866 and access return value for _dl_profile_fixup. Use R10_LP to
28867 load frame size.
28868
28869 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28870
28871 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28872
28873 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28874
28875 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28876 * sysdeps/x86_64/x32/sysdep.h: New file.
28877
28878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28881 * sysdeps/x86_64/setjmp.S: Likewise.
28882
28883 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28884
28885 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28886 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28887 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28888 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28889 remove unused global constant.
28890
28891 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28892
28893 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28894 include of <not-cancel.h>.
28895
28896 2012-05-15 Roland McGrath <roland@hack.frob.com>
28897
28898 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28899
28900 2012-05-15 Jeff Law <law@redhat.com>
28901 Andreas Jaeger <aj@suse.de>
28902
28903 [BZ #13594]
28904 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28905 out from...
28906 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28907 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28908 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28909 code changing __hst_map_handle.map.
28910
28911 2012-05-15 Roland McGrath <roland@hack.frob.com>
28912
28913 * configure.in (sysnames): Look for Implies-before and Implies-after
28914 files.
28915 * configure: Regenerated.
28916
28917 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28918
28919 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28920 8-byte data alignment with LP_SIZE alignment.
28921
28922 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28923
28924 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28925 into R10_LP.
28926
28927 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28928
28929 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28930
28931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28932
28933 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28934 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28935 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28936 Likewise.
28937 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28938
28939 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28940
28941 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28942 (stackinfo_sub_sp): Likewise.
28943
28944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28945
28946 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28947 RAX_LP.
28948
28949 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28950
28951 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28952 into R*_LP.
28953
28954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28955
28956 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28957 sizes into R*_LP.
28958
28959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28960
28961 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28962
28963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28964
28965 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28966 into R11_LP and load __x86_64_shared_cache_size_half into
28967 R8_LP.
28968
28969 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28972 R8_LP.
28973
28974 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28975
28976 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28977 logb for POWER7.
28978 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28979 logbf for POWER7.
28980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28981 logbl for POWER7.
28982 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28983 powerpc32/power7/fpu/s_logb.c via #include.
28984 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28985 powerpc32/power7/fpu/s_logbf.c via #include.
28986 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28987 powerpc32/power7/fpu/s_logbl.c via #include.
28988
28989 2012-05-15 Joseph Myers <joseph@codesourcery.com>
28990
28991 * README.libm: Remove file.
28992
28993 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28994
28995 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28996 count for x32. Use R*_LP and omit operand-size suffix.
28997
28998 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29001 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29002 * sysdeps/x86_64/x32/shlib-versions: New file.
29003
29004 2012-05-14 Roland McGrath <roland@hack.frob.com>
29005
29006 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29007 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29008 Use _dl_fatal_printf instead.
29009
29010 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29011
29012 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29013 set if not set by the user. Do not allow for being unset.
29014 * sysdeps/unix/sysv/linux/configure: Regenerated.
29015
29016 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29017
29018 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29019 the `q' suffix from lea and replace .quad with ASM_ADDR.
29020
29021 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29022
29023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29024 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29025 instead of $17.
29026 (PTR_DEMANGLE): Likewise.
29027
29028 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29029
29030 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29031 (LP_OP): Likewise.
29032 (ASM_ADDR): Likewise.
29033 (RAX_LP): Likewise.
29034 (RBP_LP): Likewise.
29035 (RBX_LP): Likewise.
29036 (RCX_LP): Likewise.
29037 (RDI_LP): Likewise.
29038 (RSI_LP): Likewise.
29039 (RSP_LP): Likewise.
29040 (R8_LP): Likewise.
29041 (R9_LP): Likewise.
29042 (R10_LP): Likewise.
29043 (R10_LP): Likewise.
29044 (R11_LP): Likewise.
29045 (R12_LP): Likewise.
29046 (R13_LP): Likewise.
29047 (R14_LP): Likewise.
29048 (R15_LP): Likewise.
29049
29050 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29051
29052 * sysdeps/x86_64/x32/dl-machine.h: New file.
29053
29054 2012-05-14 Andreas Jaeger <aj@suse.de>
29055
29056 * manual/Makefile (subdir): Remove export of subdir.
29057 (all): Remove target.
29058 (.PHONY): Remove all from list.
29059 (mkinstalldirs): Remove.
29060 (.PHONY): Remove installdirs from list.
29061 ($(inst_infodir)/libc.info): Use make-target-directory.
29062 (installdirs): Remove.
29063 (subdir_%): Remove.
29064 (glibc-targets): Remove.
29065 (lib): Remove.
29066 (stubs): Remove.
29067 ($(objpfx)stubs ../po/manual.pot): Remove.
29068 ($(objpfx)stamp%): Remove.
29069 (make-target-directory): Remove.
29070 (subdir_install): Remove.
29071 (routines): Remove.
29072 (aux): Remove.
29073 (sources): Remove.
29074 (objects): Remove.
29075 (headers): Remove.
29076
29077 [BZ #13750]
29078 * manual/.gitignore: Remove, it's not needed anymore.
29079 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29080 all files in it.
29081 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29082 directory.
29083 (texis): Renamed to $(objpfx)texis.
29084 (texis-path): New, contains path to generated files.
29085 (chapters.%): Use texis-path for complete path, add extra argument
29086 libc-texinfo.sh.
29087 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29088 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29089 (summary,texi, stamp-summary): Use complete path of
29090 files. Generate files in build dir.
29091 (dir-add.texi): Build in build dir.
29092 (libm-err.texi,stamp-libm-err): Likewise.
29093 (version.texi, stamp-version): Likewise.
29094 (.%c.texi): Likewise.
29095 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29096 (mostlyclean): Remove target.
29097 (realclean): Remove target.
29098 (generated): Add new variable with contents from mostlyclean and
29099 realclean, remove entries duplicated in common-mostlyclean, add
29100 stamp-libm-err and stamp-version.
29101 (generated-dirs): Add libc directory.
29102 ($(inst_infodir)/libc.info): Install files from build dir.
29103
29104 * manual/install.texi (Configuring and compiling): Adjust since
29105 the info files are not part of the tar ball anymore.
29106
29107 2012-05-14 Andreas Jaeger <aj@suse.de>
29108
29109 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29110 variable.
29111
29112 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29113
29114 [BZ #13717]
29115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29116 to 2.2.0 where earlier.
29117 * sysdeps/unix/sysv/linux/configure: Regenerated.
29118 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29119 Remove conditional code.
29120 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29121 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29122 Remove conditional code.
29123 [!__NR_lchown]: Likewise.
29124 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29125 [__NR_lchown]: Likewise.
29126 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29127 comment referencing __ASSUME_LCHOWN_SYSCALL.
29128 * sysdeps/unix/sysv/linux/i386/sigaction.c
29129 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29130 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29131 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29132 Remove conditional code.
29133 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29134 (__protocol_available): Remove #if 0 code.
29135 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29136 conditional code.
29137 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29138 * sysdeps/unix/sysv/linux/kernel-features.h
29139 (__ASSUME_GETCWD_SYSCALL): Don't define.
29140 (__ASSUME_REALTIME_SIGNALS): Likewise.
29141 (__ASSUME_PREAD_SYSCALL): Likewise.
29142 (__ASSUME_PWRITE_SYSCALL): Likewise.
29143 (__ASSUME_POLL_SYSCALL): Likewise.
29144 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29145 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29146 non-SPARC.
29147 (__ASSUME_SIOCGIFNAME): Don't define.
29148 (__ASSUME_MSG_NOSIGNAL): Likewise.
29149 (__ASSUME_SENDFILE): Define unconditionally.
29150 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29151 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29152 conditional code.
29153 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29154 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29155 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29156 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29157 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29158 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29159 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29184 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29185 Remove conditional code.
29186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29187 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29188 Remove conditional code.
29189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29190 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29191 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29192 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29193 Remove conditional code.
29194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29195 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29196 Remove conditional code.
29197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29198 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29199 Remove conditional code.
29200 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29201 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29202 Remove conditional code.
29203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29204 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29205 Remove conditional code.
29206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29207 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29208 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29210 * sysdeps/unix/sysv/linux/sigaction.c
29211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29213 * sysdeps/unix/sysv/linux/sigpending.c
29214 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29215 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29216 * sysdeps/unix/sysv/linux/sigprocmask.c
29217 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29218 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29219 * sysdeps/unix/sysv/linux/sigsuspend.c
29220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29222 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29223 (__libc_missing_rt_sigs): Remove.
29224 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29225 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29226 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29227 Remove conditional code.
29228 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29229 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29230 return 1.
29231 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29232 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29233 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29234 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29235
29236 2012-05-14 Andreas Jaeger <aj@suse.de>
29237
29238 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29239 it's not used in glibc.
29240 (__coshm1): Likewise.
29241 (__acosh1p): Likewise.
29242 (__sgn): Likewise.
29243
29244 * manual/string.texi (Copying and Concatenation): Add missing
29245 variable in concat example.
29246 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29247
29248 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29249
29250 [BZ #14103]
29251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29252 __builtin_clzl with __builtin_clzll.
29253
29254 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29255
29256 [BZ #14104]
29257 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29258 libc_freeres_ptr.
29259
29260 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29261
29262 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29263 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29264 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29265 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29266
29267 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29268
29269 * NEWS: Update ia64 info.
29270
29271 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29272
29273 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29274 used as bcopy.
29275
29276 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29277
29278 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29279 * sysdeps/unix/syscalls.list (dup3): Likewise.
29280 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29281 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29282
29283 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29284
29285 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29286 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29287
29288 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29289
29290 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29291 thread pointer.
29292 (TLS_IE): Use mov/add instead of movq/addq to load thread
29293 pointer.
29294 (TLS_GD_PREFIX): New.
29295 (TLS_GD): Use it.
29296
29297 2012-05-11 David S. Miller <davem@davemloft.net>
29298
29299 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29300 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29301 (_FPU_SETCW): Likewise.
29302
29303 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29304
29305 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29306 is 32-byte aligned.
29307
29308 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29309
29310 [BZ #11837]
29311 * iconvdata/gb18030.c: Update tables.
29312 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29313 characters specially.
29314 (BODY for TO_LOOP): Add encoding of missing ranges.
29315
29316 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29317
29318 [BZ #13673]
29319 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29320 * sysdeps/mach/hurd/dup3.c: Likewise.
29321 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29322 * sysdeps/powerpc/memmove.c:: Likewise.
29323
29324 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29325
29326 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29327 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29328
29329 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29330
29331 * elf/elf.h (R_X86_64_RELATIVE64): New.
29332 (R_X86_64_NUM): Updated.
29333 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29334 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29335 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29336 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29337 tst-quad1pie tst-quad2pie
29338 (modules-names): Add tst-quadmod1 tst-quadmod2.
29339 ($(objpfx)tst-quad1): New dependency.
29340 ($(objpfx)tst-quad2): Likewise.
29341 ($(objpfx)tst-quad1pie): Likewise.
29342 ($(objpfx)tst-quad2pie): Likewise.
29343 * sysdeps/x86_64/tst-quad1.c: New file.
29344 * sysdeps/x86_64/tst-quad1pie.c: New file.
29345 * sysdeps/x86_64/tst-quad2.c: Likewise.
29346 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29347 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29348 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29349 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29350 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29351
29352 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29353
29354 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29355 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29356 * streams/stropts.h (t_scalar_t): Define type.
29357
29358 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29359 (_PATH_PRESERVE): Set to "/var/lib".
29360 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29361
29362 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29363 instead of int.
29364
29365 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29366 if __dir_mkfile succeeded.
29367
29368 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29369 checking for _hurd_dtablesize. Unlock it right after having
29370 finished _hurd_dtable allocation.
29371
29372 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29373
29374 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29375 * sysdeps/mach/hurd/configure: Regenerated.
29376 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29377 special-casing to...
29378 * sysdeps/gnu/configure.in: ... this new file.
29379 * sysdeps/unix/sysv/linux/configure: Regenerated.
29380 * sysdeps/gnu/configure: New generated file.
29381
29382 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29383 for Linux: use nsec instead of usec, as well as:
29384 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29385 members of type struct timespec.
29386 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29387 New macros.
29388 (struct stat64): Likewise.
29389 (_STATBUF_ST_NSEC): New macro.
29390 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29391
29392 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29393 __strtoul_internal rather than strtoul.
29394
29395 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29396
29397 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29398 and reject them.
29399
29400 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29401
29402 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29403 which preserves existing values.
29404 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29405
29406 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29407
29408 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29409 TIMEOUT values. Return EINVAL for NFDS values either negative or
29410 greater than FD_SETSIZE.
29411
29412 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29413
29414 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29415 allocated, call __vm_protect to finish enabling the existing space, and
29416 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29417 allocate the remainder.
29418
29419 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29420
29421 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29422 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29423
29424 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29425
29426 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29427 sysdeps/mach/hurd/readlink.c.
29428
29429 * posix/tst-sysconf.c (posix_options): Only use
29430 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29431 _POSIX_SYNCHRONIZED_IO when they are defined
29432 * sysdeps/mach/hurd/bits/posix_opt.h:
29433 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29434 (_XOPEN_REALTIME): Undefine macro.
29435 (_XOPEN_REALTIME_THREADS): Undefine macro.
29436 (_XOPEN_SHM): Undefine macro.
29437 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29438 macro to -1.
29439 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29440 macro to -1.
29441 (_POSIX_ASYNC_IO): Undefine macro.
29442 (_POSIX_PRIORITIZED_IO): Undefine macro.
29443 (_POSIX_SPIN_LOCKS): Define macro to -1.
29444
29445 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29446 SA_NODEFER, SA_RESETHAND.
29447 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29448 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29449 F_DUPFD_CLOEXEC.
29450
29451 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29452
29453 * elf/Makefile (pldd-modules): Define unconditionally.
29454
29455 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29456
29457 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29458
29459 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29460
29461 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29462 Return ENOENT when name is empty.
29463 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29464
29465 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29466
29467 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29468
29469 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29470
29471 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29472
29473 Fix mlock in all cases except non-readable pages.
29474 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29475 instead of VM_PROT_ALL as parameter to __vm_wire function.
29476
29477 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29478 (__mkdir): When path is `/', just fail with EEXIST.
29479 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29480
29481 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29482
29483 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29484 <sys/uio.h> (for writev).
29485 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29486 and <sys/param.h> (for MIN).
29487
29488 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29489
29490 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29491 REQUESTED_TIME. Properly set the remaining time and return EINTR
29492 if interrupted.
29493
29494 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29495
29496 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29497 Depend on against $(link-rpcuserlibs).
29498
29499 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29500
29501 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29502 (__libc_stack_end): Do not use attribute_relro.
29503 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29504 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29505 to libthread-provided value.
29506 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29507 attribute_relro.
29508
29509 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29510
29511 [BZ #3748]
29512 * bits/libc-lock.h (__libc_once_get): New macro.
29513 * sysdeps/mach/bits/libc-lock.h: Likewise.
29514 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29515 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29516 instead of using implementation details.
29517
29518 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29519 * libio/freopen.c: Likewise.
29520 * libio/freopen64.c: Likewise.
29521 * misc/syslog.c: Likewise.
29522 * nscd/connections.c: Likewise.
29523 * nscd/netgroupcache.c: Likewise.
29524 * sysdeps/posix/getcwd.c: Likewise.
29525
29526 2012-05-10 Roland McGrath <roland@hack.frob.com>
29527
29528 * math/w_ilogbf.c: Add #include <limits.h>.
29529
29530 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29531
29532 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29533 path instead of returning without unlocking.
29534
29535 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29536 immediate-write ioctls.
29537 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29538
29539 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29540
29541 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29542 __builtin_frame_address instead of making assumptions about the
29543 location of the return address relative to DATA. Force early load of
29544 the return address.
29545 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29546 __builtin_frame_address.
29547
29548 dup3 for GNU Hurd.
29549 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29550 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29551 implement dup3 and do some further code clean-ups.
29552 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29553 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29554
29555 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29556
29557 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29558
29559 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29560 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29561 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29562 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29563 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29564 d->port.lock.
29565
29566 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29567 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29568 when handler == SIG_ERR, not when handler != SIG_ERR.
29569
29570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29571
29572 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29573 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29574 definitions.
29575
29576 accept4 for GNU Hurd.
29577 * include/sys/socket.h (__libc_accept4): New prototype.
29578 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29579 to implement __libc_accept4.
29580 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29581 __libc_accept4.
29582 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29583
29584 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29585 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29586 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29587 signal-defines.sym.
29588
29589 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29590
29591 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29592
29593 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29594
29595 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29596 assertion on O_CLOEXEC flag.
29597 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29598 * hurd/intern-fd.c: Likewise.
29599 * hurd/port2fd.c: Likewise.
29600
29601 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29602
29603 [BZ #3906]
29604 * bits/in.h (IPV6_PKTINFO): Define new macro.
29605 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29606
29607 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29608
29609 [BZ #13954]
29610 [BZ #13955]
29611 [BZ #13956]
29612 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29613 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29614 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29615 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29616 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29617 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29618 * math/libm-test.inc (logb_test) : Additional logb tests.
29619
29620 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29621 Andreas Jaeger <aj@suse.de>
29622
29623 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29624 * configure: Regenerated.
29625 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29626 * config.make.in (link-obsolete-rpc): New substituted variable.
29627 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29628 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29629 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29630 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29631 so that libc.a contains the symbols.
29632 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29633 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29634 * sunrpc/auth_none.c: Likewise.
29635 * sunrpc/auth_unix.c: Likewise.
29636 * sunrpc/authdes_prot.c: Likewise.
29637 * sunrpc/authuxprot.c: Likewise.
29638 * sunrpc/clnt_gen.c: Likewise.
29639 * sunrpc/clnt_perr.c: Likewise.
29640 * sunrpc/clnt_raw.c: Likewise.
29641 * sunrpc/clnt_simp.c: Likewise.
29642 * sunrpc/clnt_tcp.c: Likewise.
29643 * sunrpc/clnt_udp.c: Likewise.
29644 * sunrpc/clnt_unix.c: Likewise.
29645 * sunrpc/des_crypt.c: Likewise.
29646 * sunrpc/des_soft.c: Likewise.
29647 * sunrpc/get_myaddr.c: Likewise.
29648 * sunrpc/key_call.c: Likewise.
29649 * sunrpc/key_prot.c: Likewise.
29650 * sunrpc/netname.c: Likewise.
29651 * sunrpc/pm_getmaps.c: Likewise.
29652 * sunrpc/pm_getport.c: Likewise.
29653 * sunrpc/pmap_clnt.c: Likewise.
29654 * sunrpc/pmap_prot.c: Likewise.
29655 * sunrpc/pmap_prot2.c: Likewise.
29656 * sunrpc/pmap_rmt.c: Likewise.
29657 * sunrpc/publickey.c: Likewise.
29658 * sunrpc/rpc_cmsg.c: Likewise.
29659 * sunrpc/rpc_common.c: Likewise.
29660 * sunrpc/rpc_dtable.c: Likewise.
29661 * sunrpc/rpc_prot.c: Likewise.
29662 * sunrpc/rpc_thread.c: Likewise.
29663 * sunrpc/rtime.c: Likewise.
29664 * sunrpc/svc.c: Likewise.
29665 * sunrpc/svc_auth.c: Likewise.
29666 * sunrpc/svc_raw.c: Likewise.
29667 * sunrpc/svc_run.c: Likewise.
29668 * sunrpc/svc_tcp.c: Likewise.
29669 * sunrpc/svc_udp.c: Likewise.
29670 * sunrpc/svc_unix.c: Likewise.
29671 * sunrpc/svcauth_des.c: Likewise.
29672 * sunrpc/xcrypt.c: Likewise.
29673 * sunrpc/xdr.c: Likewise.
29674 * sunrpc/xdr_array.c: Likewise.
29675 * sunrpc/xdr_float.c: Likewise.
29676 * sunrpc/xdr_intXX_t.c: Likewise.
29677 * sunrpc/xdr_mem.c: Likewise.
29678 * sunrpc/xdr_rec.c: Likewise.
29679 * sunrpc/xdr_ref.c: Likewise.
29680 * sunrpc/xdr_sizeof.c: Likewise.
29681 * sunrpc/xdr_stdio.c: Likewise.
29682
29683 2012-05-10 Roland McGrath <roland@hack.frob.com>
29684
29685 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29686 change. Update copyright years.
29687
29688 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29689
29690 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29691
29692 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29693 Joseph Myers <joseph@codesourcery.com>
29694 Paul Pluzhnikov <ppluzhnikov@google.com>
29695
29696 [BZ #14012]
29697 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29698 requiring rpcgen.
29699 [cross-compiling] (extra-libs): Likewise.
29700 [cross-compiling] (extra-libs-others): Likewise.
29701 [cross-compiling] (librpcsvc-routines): Likewise.
29702 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29703 [cross-compiling] (omit-deps): Likewise.
29704 (sunrpc-CPPFLAGS): New variable.
29705 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29706 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29707 (cross-rpcgen-objs): New variable.
29708 (extra-objs): Append $(cross-rpcgen-objs).
29709 ($(cross-rpcgen-objs)): New rule.
29710 ($(objpfx)cross-rpcgen): Likewise.
29711 (rpcgen-cmd): Define to use $(built-program-file). Expand
29712 comment.
29713 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29714 ($(objpfx)x%.stmp): Likewise.
29715 * sunrpc/proto.h [IS_IN_build] (_): Define.
29716 [IS_IN_build] (_libc_intl_domainname): Likewise.
29717
29718 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29719
29720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29721 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29722 and R_X86_64_TPOFF64.
29723
29724 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29725
29726 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29727 sysdeps/unix/sysv/syscalls.list.
29728 (stime): Likewise.
29729 (utime): Likewise.
29730 * sysdeps/unix/sysv/syscalls.list: Remove file.
29731
29732 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29733
29734 [BZ #3440]
29735 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29736 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29737 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29738 (__LC_IDENTIFICATION): Make these macros useful in #if
29739 expressions, as required by C99.
29740
29741 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29742
29743 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29744 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29745 after this.
29746
29747 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29748
29749 * stdlib/longlong.h: Updated from GCC.
29750
29751 2012-05-09 Andreas Jaeger <aj@suse.de>
29752
29753 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29754 default is first entry.
29755 (run_mode): Set type.
29756 (main): Remove informal message about syslog.
29757 (options): Fix typo.
29758
29759 [BZ #14053]
29760 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
29761 to asm.
29762 (lrint): Likewise.
29763 (llrintf): Likewise.
29764 (llrint): Likewise.
29765 (rint): Likewise.
29766 (rintf): Likewise.
29767 (nearbyint): Likewise.
29768 (nearbyintf): Likewise.
29769
29770 2012-05-09 Andreas Jaeger <aj@suse.de>
29771 Pedro Alves <palves@redhat.com>
29772
29773 * nscd/nscd.c (run_mode): Use enum.
29774 (main): Cleanup coding style issue.
29775
29776 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
29777 Andreas Jaeger <aj@suse.de>
29778
29779 * nscd/nscd.c (go_background): Replaced with...
29780 (run_mode): ... this.
29781 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
29782 (options): Add -F --foreground.
29783 (main): Implement it.
29784 (parse_opt): Parse it.
29785
29786 2012-05-09 Andreas Jaeger <aj@suse.de>
29787
29788 [BZ #14083]
29789 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29790 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29791 -Wconversion warning.
29792 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29793 Likewise.
29794
29795 2012-05-09 Joseph Myers <joseph@codesourcery.com>
29796
29797 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29798 == 0.
29799 (LC_ALL): Use macro-int-constant.
29800 (LC_COLLATE): Likewise.
29801 (LC_CTYPE): Likewise.
29802 (LC_MESSAGES): Likewise.
29803 (LC_MONETARY): Likewise.
29804 (LC_NUMERIC): Likewise.
29805 (LC_TIME): Likewise.
29806 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29807 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29808 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29809 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29810 Specify type.
29811 [C99-based standards] (float_t): Expect type.
29812 [C99-based standards] (double_t): Expect type.
29813 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29814 type.
29815 [C99-based standards] (HUGE_VALL): Likewise.
29816 [C99-based standards] (INFINITY): Likewise.
29817 [C99-based standards] (NAN): Likewise.
29818 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29819 [C99-based standards] (FP_NAN): Likewise.
29820 [C99-based standards] (FP_NORMAL): Likewise.
29821 [C99-based standards] (FP_SUBNORMAL): Likewise.
29822 [C99-based standards] (FP_ZERO): Likewise.
29823 [C99-based standards] (FP_FAST_FMA): Use
29824 optional-macro-int-constant. Specify type. Require == 1.
29825 [C99-based standards] (FP_FAST_FMAF): Likewise.
29826 [C99-based standards] (FP_FAST_FMAL): Likewise.
29827 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29828 [C99-based standards] (FP_ILOGBNAN): Likewise.
29829 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29830 Specify type.
29831 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29832 [C99-based standards] (math_errhandling): Specify type.
29833 [ISO99 || ISO11] (signgam): Do not allow.
29834 [non-C99-based standards] (copysignf): Do not allow.
29835 [non-C99-based standards] (exp2f): Likewise.
29836 [non-C99-based standards] (log2f): Likewise.
29837 [non-C99-based standards] (modff): Allow.
29838 [non-C99-based standards] (erff): Do not allow.
29839 [non-C99-based standards] (erfcf): Likewise.
29840 [non-C99-based standards] (gammaf): Likewise.
29841 [non-C99-based standards] (hypotf): Likewise.
29842 [non-C99-based standards] (j0f): Likewise.
29843 [non-C99-based standards] (j1f): Likewise.
29844 [non-C99-based standards] (jnf): Likewise.
29845 [non-C99-based standards] (lgammaf): Likewise.
29846 [non-C99-based standards] (tgammaf): Likewise.
29847 [non-C99-based standards] (y0f): Likewise.
29848 [non-C99-based standards] (y1f): Likewise.
29849 [non-C99-based standards] (ynf): Likewise.
29850 [non-C99-based standards] (isnanf): Likewise.
29851 [non-C99-based standards] (acoshf): Likewise.
29852 [non-C99-based standards] (asinhf): Likewise.
29853 [non-C99-based standards] (atanhf): Likewise.
29854 [non-C99-based standards] (cbrtf): Likewise.
29855 [non-C99-based standards] (expm1f): Likewise.
29856 [non-C99-based standards] (ilogbf): Likewise.
29857 [non-C99-based standards] (log1pf): Likewise.
29858 [non-C99-based standards] (logbf): Likewise.
29859 [non-C99-based standards] (nextafterf): Likewise.
29860 [non-C99-based standards] (remainderf): Likewise.
29861 [non-C99-based standards] (rintf): Likewise.
29862 [non-C99-based standards] (scalbf): Likewise.
29863 [non-C99-based standards] (copysignl): Likewise.
29864 [non-C99-based standards] (exp2l): Likewise.
29865 [non-C99-based standards] (log2l): Likewise.
29866 [non-C99-based standards] (modfl): Allow.
29867 [non-C99-based standards] (erfl): Do not allow.
29868 [non-C99-based standards] (erfcl): Likewise.
29869 [non-C99-based standards] (gammal): Likewise.
29870 [non-C99-based standards] (hypotl): Likewise.
29871 [non-C99-based standards] (j0l): Likewise.
29872 [non-C99-based standards] (j1l): Likewise.
29873 [non-C99-based standards] (jnl): Likewise.
29874 [non-C99-based standards] (lgammal): Likewise.
29875 [non-C99-based standards] (tgammal): Likewise.
29876 [non-C99-based standards] (y0l): Likewise.
29877 [non-C99-based standards] (y1l): Likewise.
29878 [non-C99-based standards] (ynl): Likewise.
29879 [non-C99-based standards] (isnanl): Likewise.
29880 [non-C99-based standards] (acoshl): Likewise.
29881 [non-C99-based standards] (asinhl): Likewise.
29882 [non-C99-based standards] (atanhl): Likewise.
29883 [non-C99-based standards] (cbrtl): Likewise.
29884 [non-C99-based standards] (expm1l): Likewise.
29885 [non-C99-based standards] (ilogbl): Likewise.
29886 [non-C99-based standards] (log1pl): Likewise.
29887 [non-C99-based standards] (logbl): Likewise.
29888 [non-C99-based standards] (nextafterl): Likewise.
29889 [non-C99-based standards] (remainderl): Likewise.
29890 [non-C99-based standards] (rintl): Likewise.
29891 [non-C99-based standards] (scalbl): Likewise.
29892 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29893 [non-C99-based standards] (FP_*): Do not allow.
29894 [C99-based standards] (FP_*): Change to
29895 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29896 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29897 allow.
29898 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29899 (SIG_ERR): Likewise.
29900 [X/Open-based standards] (SIG_HOLD): Likewise.
29901 (SIG_IGN): Likewise.
29902 (SIGABRT): Use macro-int-constant. Specify type. Require
29903 positive value.
29904 (SIGFPE): Likewise.
29905 (SIGILL): Likewise.
29906 (SIGINT): Likewise.
29907 (SIGSEGV): Likewise.
29908 (SIGTER): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29910 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29927 [X/Open-based standards] (SIGTRAP): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29931 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29932 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29933 allow.
29934
29935 2012-05-08 Ian Wienand <ianw@vmware.com>
29936
29937 [BZ #14080]
29938 * time/tzset.c (__tzset_parse_tz): Update default rules for
29939 daylight time changes in the Energy Policy Act of 2005.
29940
29941 2012-05-09 Andreas Jaeger <aj@suse.de>
29942
29943 [BZ #13983]
29944 * elf/ldconfig.c (parse_conf): Change string to make clear that
29945 ldconfig only issued a warning if ld.so.conf does not exist.
29946
29947 2012-05-08 David S. Miller <davem@davemloft.net>
29948
29949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29950 movxtod instead of popping the value on the stack.
29951
29952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29953
29954 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29955
29956 * config.h.in: Add HAVE_ARM_PCS_VFP.
29957
29958 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
29959
29960 [BZ #13979]
29961 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29962 checking but the checks are disabled for any reason.
29963
29964 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29965
29966 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29967 and ELF64_R_TYPE with ELFW(R_TYPE).
29968
29969 2012-05-08 Joseph Myers <joseph@codesourcery.com>
29970
29971 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29972 (ulimit): Likewise.
29973
29974 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29975 (settimeofday): Likewise.
29976
29977 2012-05-08 Mike Frysinger <vapier@gentoo.org>
29978
29979 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29980 a struct th_u2 inside the union, and move tu_block/tu_code into
29981 a new th_u3 union of tu_block/tu_code inside of that. Move
29982 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29983 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29984 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29985 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29986 (th_stuff): Change to th_u1.tu_stuff.
29987 (th_data): Define.
29988 (th_msg): Change to th_u1.th_u2.tu_data.
29989
29990 2012-05-07 David S. Miller <davem@davemloft.net>
29991
29992 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29993
29994 [BZ #14074]
29995 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29996 (SETUP_PIC_REG): Use it.
29997 (SETUP_PIC_REG_LEAF): Use it.
29998
29999 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30000
30001 [BZ #13885]
30002 [BZ #13923]
30003 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30004 USE_AS_EXPM1L.
30005 (EXPL_FINITE): Likewise.
30006 (FLDLOG): Likewise.
30007 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30008 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30009 e_expl.S.
30010 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30011 USE_AS_EXPM1L.
30012 (EXPL_FINITE): Likewise.
30013 (FLDLOG): Likewise.
30014 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30015 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30016 e_expl.S.
30017 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30018 test of -max_value argument for long double.
30019 * sysdeps/i386/fpu/libm-test-ulps: Update.
30020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30021
30022 2012-05-06 David S. Miller <davem@davemloft.net>
30023
30024 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30025 quad soft-float symbols whose references which are compiler
30026 generated.
30027 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30028
30029 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30030
30031 [BZ #13884]
30032 [BZ #13914]
30033 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30034 USE_AS_EXP10L.
30035 (EXPL_FINITE): Likewise.
30036 (FLDLOG): Likewise.
30037 (c0): Likewise.
30038 (c1): Likewise.
30039 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30040 Adjust comments for base varying.
30041 (__expl_finite): Change alias to EXPL_FINITE.
30042 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30043 e_expl.S.
30044 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30045 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30046 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30047 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30048 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30049 USE_AS_EXP10L.
30050 (EXPL_FINITE): Likewise.
30051 (FLDLOG): Likewise.
30052 (c0): Likewise.
30053 (c1): Likewise.
30054 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30055 Adjust comments for base varying.
30056 (__expl_finite): Change alias to EXPL_FINITE.
30057 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30058 tests for bugs.
30059 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30060
30061 [BZ #14064]
30062 * math/libm-test.inc (check_float_internal): Correct ulp
30063 calculation for subnormal expected results.
30064
30065 2012-05-06 Andreas Jaeger <aj@suse.de>
30066
30067 * Makeconfig (+math-flags): New, set to -frounding-math.
30068 (+cflags): Add +math-flags so that all of glibc gets compiled with
30069 it.
30070
30071 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30072
30073 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30074
30075 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30076 Disable one test.
30077
30078 [BZ #13787]
30079 [BZ #13922]
30080 [BZ #14036]
30081 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30082 (__ieee754_expl): Allow for and saturate large arguments.
30083 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30084 (u_threshold): Likewise.
30085 (__exp): Call __ieee754_exp before checking for overflow and
30086 underflow.
30087 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30088 (u_threshold): Likewise.
30089 (__expf): Call __ieee754_expf before checking for overflow and
30090 underflow.
30091 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30092 (u_threshold): Likewise.
30093 (__expl): Call __ieee754_expl before checking for overflow and
30094 underflow.
30095 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30096 (__ieee754_expl): Allow for and saturate large arguments.
30097 * math/libm-test.inc (exp_test): Add another test. Do not allow
30098 missing overflow exception on overflow.
30099 (expm1_test): Do not allow missing overflow exception on overflow.
30100
30101 * sysdeps/i386/fpu/e_expl.c: Move to ...
30102 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30103 rather than using inline asm.
30104 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30105 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30106 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30107
30108 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30109 (nice): Likewise.
30110 (poll): Likewise.
30111 (signal): Likewise.
30112 (time): Likewise.
30113 (times): Likewise.
30114
30115 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30116
30117 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30118 sysdeps/unix/common/syscalls.list.
30119 (fchmod): Likewise.
30120 (fchown): Likewise.
30121 (ftruncate): Likewise.
30122 (getrusage): Likewise.
30123 (gettimeofday): Likewise.
30124 (setpgid): Likewise.
30125 (setregid): Likewise.
30126 (setreuid): Likewise.
30127 (sigaction): Likewise.
30128 (truncate): Likewise.
30129 (vhangup): Likewise.
30130 * sysdeps/unix/common/syscalls.list: Remove file.
30131 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30132 * sysdeps/unix/sysv/linux/Implies: Likewise.
30133
30134 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30135
30136 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30138 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30139 Moved to ...
30140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30141 Here.
30142 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30143 to ...
30144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30145 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30146 to ...
30147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30148 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30149 to ...
30150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30151 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30152 to ...
30153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30154 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30155 to ...
30156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30157 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30158 to ...
30159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30160 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30161 to ...
30162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30163 Here.
30164 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30165 to ...
30166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30167 Here.
30168 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30169 to ...
30170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30171 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30172 Moved to ...
30173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30174 Here.
30175 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30176 to ...
30177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30178
30179 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30180
30181 * sysdeps/unix/common/bits/dirent.h: Remove file.
30182 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30183
30184 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30185 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30186 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30187 * sysdeps/unix/bsd/isatty.c: Likewise.
30188 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30189 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30190 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30191
30192 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30193
30194 [BZ #13563]
30195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30196 long double comparison inaccuracies.
30197 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30198 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30199
30200 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30201
30202 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30203 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30204
30205 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30206
30207 [BZ #14049]
30208 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30209 nonzero digits before rounding a hex value.
30210 * stdlib/tst-strtod.c (tests): Add another test.
30211
30212 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30213
30214 * sysdeps/s390/fpu/libm-test-ulps: Update.
30215
30216 2012-05-03 Andreas Jaeger <aj@suse.de>
30217
30218 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30219 does not get optimized out.
30220 (malloc_opt_barrier): New.
30221
30222 2012-05-03 Andreas Jaeger <aj@suse.de>
30223 Roland McGrath <roland@hack.frob.com>
30224
30225 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30226 intermediate file deletion.
30227 (generated): Add .symlist files.
30228
30229 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30230
30231 [BZ #13775]
30232 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30233 Redirect under this condition.
30234 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30235 [__USE_GNU] (__dprintf_chk): Not under this condition.
30236 [__USE_GNU] (__vdprintf_chk): Likewise.
30237 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30238 under this condition.
30239 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30240 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30241 [__USE_XOPEN2K8] (vdprintf): Likewise.
30242 [__USE_GNU] (__dprintf_chk): Not under this condition.
30243 [__USE_GNU] (__vdprintf_chk): Likewise.
30244 [__USE_GNU] (dprintf): Likewise.
30245 [__USE_GNU] (vdprintf): Likewise.
30246
30247 2012-05-03 Roland McGrath <roland@hack.frob.com>
30248
30249 * elf/Makefile (common-generated): Set this instead of generated for
30250 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30251 $(all-built-dso)-derived lists.
30252
30253 2012-05-03 Andreas Jaeger <aj@suse.de>
30254
30255 * sysdeps/i386/fpu/libm-test-ulps: Update.
30256
30257 * FAQ: Removed.
30258 * FAQ.in: Likewise.
30259 * scripts/gen-FAQ.pl: Likewise.
30260 * manual/install.texi (Installation): Point to online location of
30261 FAQ.
30262 * Makefile (files-for-dist): Remove FAQ.
30263 (FAQ): Remove.
30264
30265 2012-05-02 Allan McRae <allan@archlinux.org>
30266
30267 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30268 (LDFLAGS-reldepmod5.so): Likewise.
30269 (LDFLAGS-reldep6mod1.so): Likewise.
30270 (LDFLAGS-reldep6mod4.so): Likewise.
30271 (LDFLAGS-reldep8mod3.so): Likewise.
30272 (LDFLAGS-unload4mod1.so): Likewise.
30273 (LDFLAGS-unload4mod2.so): Likewise.
30274 (LDFLAGS-tst-initorder): Likewise.
30275 (LDFLAGS-tst-initordera2.so): Likewise.
30276 (LDFLAGS-tst-initordera3.so): Likewise.
30277 (LDFLAGS-tst-initordera4.so): Likewise.
30278 (LDFLAGS-tst-initorderb2.so): Likewise.
30279 (LDFLAGS-noload): Likewise.
30280 (LDFLAGS-next): Likewise.
30281 (LDFLAGS-order2mod1.so): Likewise.
30282 (LDFLAGS-order2mod2.so): Likewise.
30283 (LDFLAGS-tst-initorder2): Likewise.
30284 (LDFLAGS-tst-initorder2a.so): Likewise.
30285 (LDFLAGS-tst-initorder2b.so): Likewise.
30286 (LDFLAGS-tst-initorder2c.so): Likewise.
30287 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30288
30289 2012-05-02 David S. Miller <davem@davemloft.net>
30290
30291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30292
30293 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30294
30295 [BZ #14055]
30296 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30297
30298 2012-05-02 Andreas Jaeger <aj@suse.de>
30299
30300 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30301 since we manipulate rounding mode.
30302 (CPPFLAGS-test-idouble.c): Likewise.
30303 (CPPFLAGS-test-ifloat.c): Likewise.
30304 (CFLAGS-test-ldouble.c): Likewise.
30305 (CFLAGS-test-double.c): Likewise.
30306 (CFLAGS-test-float.c): Likewise.
30307 (CFLAGS-test-misc.c): Likewise.
30308 (CFLAGS-test-test-fenv.c): Likewise.
30309
30310 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30311
30312 [BZ #2550]
30313 [BZ #2570]
30314 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30315 comparisons to determine direction to adjust input.
30316
30317 2012-05-01 Roland McGrath <roland@hack.frob.com>
30318
30319 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30320 output to the target.
30321
30322 * scripts/localplt.awk: New file.
30323 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30324 (check-localplt-CFLAGS): Variable removed.
30325 ($(all-built-dso:=.jmprel)): New static pattern rule.
30326 (generated): Add those targets.
30327 (localplt-built-dso): New variable.
30328 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30329
30330 * elf/check-localplt.c: File removed.
30331
30332 * scripts/check-execstack.awk: New file.
30333 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30334 (check-execstack-CFLAGS): Variable removed.
30335 ($(objpfx)check-execstack.h): Target removed.
30336 ($(objpfx)execstack-default): New target.
30337 (generated): Add that instead of check-execstack.h.
30338 ($(all-built-dso:=.phdr)): New static pattern rule.
30339 (generated): Add those targets.
30340 * elf/check-execstack.c: File removed.
30341
30342 * scripts/check-textrel.awk: New file.
30343 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30344 (check-textrel-CFLAGS): Variable removed.
30345 (all-built-dso): Use := to define.o
30346 ($(all-built-dso:=.dyn)): New static pattern rule.
30347 (generated): Add those targets.
30348 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30349 * config.make.in (READELF): New substituted variable.
30350 * elf/check-textrel.c: File removed.
30351
30352 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30353
30354 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30355 allow.
30356 * conform/data/ctype.h-data [C99-based standards] (isblank):
30357 Expect function.
30358 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30359 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30360 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30361 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30362 Specify type. Require positive value.
30363 (EILSEQ): Likewise.
30364 (ERANGE): Likewise.
30365 [ISO || POSIX] (EILSEQ): Do not expect.
30366 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30367 Specify type. Require positive value.
30368 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30387 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30392 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30393 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30394 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30395 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30442 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30443 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30444 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30445 Require >= 2.
30446 (FLT_ROUNDS): Expect as macro, not constant.
30447 (FLT_MANT_DIG): Use macro-int-constant.
30448 (DBL_MANT_DIG): Likewise.
30449 (LDBL_MANT_DIG): Likewise.
30450 (FLT_DIG): Likewise.
30451 (DBL_DIG): Likewise.
30452 (LDBL_DIG): Likewise.
30453 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30454 (DBL_MIN_EXP): Likewise.
30455 (LDBL_MIN_EXP): Likewise.
30456 (FLT_MAX_EXP): Use macro-int-constant.
30457 (DBL_MAX_EXP): Likewise.
30458 (LDBL_MAX_EXP): Likewise.
30459 (FLT_MAX_10_EXP): Likewise.
30460 (DBL_MAX_10_EXP): Likewise.
30461 (LDBL_MAX_10_EXP): Likewise.
30462 (FLT_MAX): Use macro-constant.
30463 (DBL_MAX): Likewise.
30464 (LDBL_MAX): Likewise.
30465 (FLT_EPSILON): Use macro-constant. Give upper bound.
30466 (DBL_EPSILON): Likewise.
30467 (LDBL_EPSILON): Likewise.
30468 (FLT_MIN): Likewise.
30469 (DBL_MIN): Likewise.
30470 (LDBL_MIN): Likewise.
30471 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30472 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30473 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30474 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30475 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30476 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30477 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30478 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30479 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30480 [ISO11] (FLT_TRUE_MIN): Likewise.
30481 [ISO11] (LDBL_TRUE_MIN): Likewise.
30482 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30483 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30484 (SCHAR_MIN): Use macro-int-constant. Specify type.
30485 (SCHAR_MAX): Likewise.
30486 (UCHAR_MAX): Likewise.
30487 (CHAR_MIN): Likewise.
30488 (CHAR_MAX): Likewise.
30489 (MB_LEN_MAX): Use macro-int-constant.
30490 (SHRT_MIN): Use macro-int-constant. Specify type.
30491 (SHRT_MAX): Likewise.
30492 (USHRT_MAX): Likewise.
30493 (INT_MAX): Likewise.
30494 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30495 bound negative.
30496 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30497 bound with "U".
30498 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30499 bound with "L".
30500 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30501 bound negative. Suffix upper bound with "L".
30502 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30503 bound with "UL".
30504 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30505 Specify type.
30506 [C99-based standards] (LLONG_MAX): Likewise.
30507 [C99-based standards] (ULLONG_MAX): Likewise.
30508 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30509 == 0.
30510 [ISO11] (max_align_t): Require type.
30511 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30512
30513 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30514 from $CFLAGS, without defining away __attribute__ calls.
30515 (checknamespace): Use $CFLAGS_namespace.
30516
30517 * conform/conformtest.pl (@keywords): Only include C99 keywords
30518 for standards based on C99 or C11.
30519
30520 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30521 Disable tests.
30522 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30523 UNIX98]: Likewise.
30524
30525 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30526 usability of symbols in #if.
30527
30528 * conform/conformtest.pl: If macro or constant types start
30529 "promoted:", expect the symbol to be of the following type
30530 promoted by the integer promotions.
30531
30532 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30533 in one place. Also handle "macro-constant".
30534
30535 * conform/conformtest.pl: Only accept expected macro values with
30536 "==". Parse all "macro" lines in one place.
30537 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30538
30539 * conform/conformtest.pl: Handle braced types on "constant" lines
30540 instead of handling "typed-constant".
30541 * conform/data/signal.h-data: Use "constant" instead of
30542 "typed-constant".
30543
30544 * conform/conformtest.pl: Handle "optional-" at start of lines in
30545 one place rather than duplicating several cases. Handle each
30546 format of "macro" line with initial "optional-".
30547
30548 * conform/conformtest.pl: Only accept expected constant or
30549 optional-constant values with "==". Parse all "constant" lines in
30550 one place. Parse all "optional-constant" lines in one place.
30551 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30552 * conform/data/fmtmsg.h-data: Likewise.
30553 * conform/data/netinet/in.h-data: Likewise.
30554 * conform/data/tar.h-data: Likewise.
30555 * conform/data/limits.h-data: Use "==" form on "constant" and
30556 "optional-constant" lines.
30557
30558 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30559 Use -std=c99 for XOPEN2K.
30560 (@knownproblems): Remove.
30561 (newtoken): Don't check %isknown.
30562
30563 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30564 Do not expect macro.
30565 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30577 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30578 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30579 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30580 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30581 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30582 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30583 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30584 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30585 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30589 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30590 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30595 [XPG3] (acosh): Likewise.
30596 [XPG3] (asinh): Likewise.
30597 [XPG3] (atanh): Likewise.
30598 [XPG3] (cbrt): Likewise.
30599 [XPG3] (expm1): Likewise.
30600 [XPG3] (ilogb): Likewise.
30601 [XPG3] (log1p): Likewise.
30602 [XPG3] (logb): Likewise.
30603 [XPG3] (nextafter): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30606 [XPG3] (remainder): Likewise.
30607 [XPG3] (rint): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30615 [UNIX98 || XOPEN2K] (scalb): Expect.
30616 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30617 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30753
30754 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30755 _XOPEN_SOURCE_EXTENDED for XPG4.
30756
30757 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30758
30759 * Makeconfig (localtime): Remove variable.
30760 (inst_localtime-file): Likewise.
30761
30762 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30763
30764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30765 Update.
30766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30767 Update.
30768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30769 Update.
30770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30771 Update.
30772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30773 Update.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30775 Update.
30776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30777 Update.
30778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30779 Update.
30780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30781 Update.
30782
30783 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30784
30785 [BZ #2550]
30786 [BZ #2570]
30787 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30788 comparisons to determine direction to adjust input.
30789 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30790 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30792 Likewise.
30793 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30794 Likewise.
30795 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30796 Likewise.
30797 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30798 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30799 Likewise.
30800 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30801 Likewise.
30802 * math/libm-test.inc (nexttoward_test): Add more tests.
30803
30804 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30805
30806 [BZ #14040]
30807 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30808 in version GLIBC_2.1, not GLIBC_2.0.
30809 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30810 Likewise.
30811
30812 2012-04-30 Joseph Myers <joseph@codesourcery.com>
30813
30814 [BZ #13942]
30815 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30816 (1 - x) * (1 + x).
30817 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30818 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30819 * math/libm-test.inc (acos_test): Add more tests.
30820 (asin_test): Likewise.
30821 * sysdeps/i386/fpu/libm-test-ulps: Update.
30822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30823
30824 [BZ #14034]
30825 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30826 of square root.
30827 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30828 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30829 * math/libm-test.inc (acos_test_tonearest): New function.
30830 (acos_test_towardzero): Likewise.
30831 (acos_test_downward): Likewise.
30832 (acos_test_upward): Likewise.
30833 (asin_test_tonearest): Likewise.
30834 (asin_test_towardzero): Likewise.
30835 (asin_test_downward): Likewise.
30836 (asin_test_upward): Likewise.
30837 (main): Call the new functions.
30838 * sysdeps/i386/fpu/libm-test-ulps: Update.
30839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30840
30841 [BZ #13884]
30842 [BZ #13924]
30843 * math/e_exp10.c: Include <float.h>.
30844 (__ieee754_exp10): Handle underflow here rather than multiplying
30845 large negative argument by M_LN10.
30846 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30847 of __ieee754_expf.
30848 * math/e_exp10l.c: Include <float.h>.
30849 (__ieee754_exp10l): Handle underflow here rather than multiplying
30850 large negative argument by M_LN10l.
30851 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30852 spurious overflow exception on underflow.
30853
30854 2012-04-29 Marek Polacek <polacek@redhat.com>
30855
30856 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30857 (__fortify_function): New macro.
30858 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30859 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30860 __extern_always_inline.
30861 * libio/bits/stdio2.h: Likewise.
30862 * libio/bits/stdio.h: Likewise.
30863 * string/string.h: Likewise.
30864 * string/bits/string3.h: Likewise.
30865 * include/stdio.h: Likewise.
30866 * stdlib/bits/stdlib.h: Likewise.
30867 * stdlib/stdlib.h: Likewise.
30868 * rt/bits/mqueue2.h: Likewise.
30869 * rt/mqueue.h: Likewise.
30870 * posix/bits/unistd.h: Likewise.
30871 * posix/unistd.h: Likewise.
30872 * io/bits/poll2.h: Likewise.
30873 * io/bits/fcntl2.h: Likewise.
30874 * io/fcntl.h: Likewise.
30875 * io/sys/poll.h: Likewise.
30876 * misc/bits/syslog.h: Likewise.
30877 * misc/bits/syslog-ldbl.h: Likewise.
30878 * misc/sys/syslog.h: Likewise.
30879 * socket/bits/socket2.h: Likewise.
30880 * socket/sys/socket.h: Likewise.
30881 * debug/tst-chk1.c: Likewise.
30882 * wcsmbs/bits/wchar2.h: Likewise.
30883 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30884 * wcsmbs/wchar.h: Likewise.
30885
30886 2012-04-29 Andreas Jaeger <aj@suse.de>
30887
30888 * Makerules (tests): Remove enable-check-abi protection.
30889 (check-abi-warn): Remove.
30890 (check-abi-%): Remove check-abi-warn usage.
30891
30892 * configure.in: Remove check-abi configure option.
30893 * configure: Regenerated.
30894 * config.make.in (enable-check-abi): Remove.
30895
30896 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30897
30898 [BZ #14033]
30899 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30900 double functions to double *_finite functions.
30901
30902 [BZ #13941]
30903 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30904 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30905 LDBL_MIN_EXP.
30906 * stdio-common/Makefile (tests): Add tst-sprintf3.
30907 * stdio-common/tst-sprintf3.c: New file.
30908
30909 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30910 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30911
30912 2012-04-28 Joseph Myers <joseph@codesourcery.com>
30913
30914 * conform/conformtest.pl: Remove duplicate typed-constant
30915 handling.
30916
30917 2012-04-28 David S. Miller <davem@davemloft.net>
30918
30919 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30920 (check-abi-%): Remove AWK script prerequisite and explicit
30921 abilist directory.
30922 (check-abi): Rewrite to just diff the symlist with the abilist.
30923 (config-tls, config-abi-config): Delete, no longer used.
30924 (update-abi-%): Remove AWK script and explicit abilist directory.
30925 (update-abi): Rewrite to simply compare and conditionally copy the
30926 symlist and the sysdep abilist file. Remove update-abi-config
30927 checks.
30928 * abilist/ld.abilist: Remove.
30929 * abilist/libBrokenLocale.abilist: Remove.
30930 * abilist/libanl.abilist: Remove.
30931 * abilist/libcrypt.abilist: Remove.
30932 * abilist/libdl.abilist: Remove.
30933 * abilist/librt.abilist: Remove.
30934 * abilist/libthread_db.abilist: Remove.
30935 * abilist/libutil.abilist: Remove.
30936 * scripts/extract-abilist.awk: Remove.
30937 * scripts/merge-abilist.awk: Remove.
30938 * sysdeps/generic/libcidn.abilist: New file.
30939 * sysdeps/generic/libnss_compat.abilist: New file.
30940 * sysdeps/generic/libnss_db.abilist: New file.
30941 * sysdeps/generic/libnss_dns.abilist: New file.
30942 * sysdeps/generic/libnss_files.abilist: New file.
30943 * sysdeps/generic/libnss_hesiod.abilist: New file.
30944 * sysdeps/generic/libnss_nis.abilist: New file.
30945 * sysdeps/generic/libnss_nisplus.abilist: New file.
30946 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30947 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30948 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30949 file.
30950 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30951 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30952 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30953 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30954 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30955 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30956 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30957 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30958 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30959 file.
30960 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30961 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30962 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30963 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30964 file.
30965 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30966 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30967 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30968 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30969 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30970 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30971 file.
30972 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30973 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30974 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30975 file.
30976 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30978 New file.
30979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30980 New file.
30981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30982 New file.
30983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30984 New file.
30985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30986 New file.
30987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30988 New file.
30989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30990 New file.
30991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30992 New file.
30993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30994 New file.
30995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30996 New file.
30997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30998 New file.
30999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31000 New file.
31001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31002 New file.
31003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31004 file.
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31006 New file.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31008 New file.
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31010 file.
31011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31012 New file.
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31014 New file.
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31016 file.
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31018 New file.
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31020 New file.
31021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31022 New file.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31024 New file.
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31026 New file.
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31028 New file.
31029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31031 file.
31032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31033 New file.
31034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31035 file.
31036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31037 file.
31038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31039 file.
31040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31041 file.
31042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31043 file.
31044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31045 New file.
31046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31047 file.
31048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31049 file.
31050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31051 New file.
31052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31053 file.
31054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31056 file.
31057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31058 New file.
31059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31060 file.
31061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31062 file.
31063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31064 file.
31065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31066 file.
31067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31068 file.
31069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31070 New file.
31071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31072 file.
31073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31074 file.
31075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31076 New file.
31077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31078 file.
31079 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31080 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31081 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31082 file.
31083 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31084 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31085 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31086 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31087 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31088 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31089 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31090 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31091 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31092 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31095 file.
31096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31097 New file.
31098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31099 file.
31100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31101 file.
31102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31103 file.
31104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31105 file.
31106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31107 file.
31108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31109 New file.
31110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31111 New file.
31112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31113 file.
31114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31115 New file.
31116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31117 file.
31118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31120 file.
31121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31122 New file.
31123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31124 file.
31125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31126 file.
31127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31128 file.
31129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31130 file.
31131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31132 file.
31133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31134 New file.
31135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31136 New file.
31137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31138 file.
31139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31140 New file.
31141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31142 file.
31143
31144 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31145
31146 * conform/conformtest.pl: Fix typo in handling typed-constant from
31147 allow-header.
31148
31149 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31150
31151 * README: Cut down references to pre-2.6 Linux kernels and
31152 Linuxthreads. Update lists of configurations in libc and ports
31153 and sort alphabetically. Say "or newer" with Linux kernel version
31154 requirements.
31155
31156 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31157
31158 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31159
31160 [BZ #887]
31161 * math/libm-test.inc (logb_test_downward): New test to expose
31162 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31163 rounding mode.
31164
31165 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31166
31167 [BZ #14027]
31168 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31169 to be done.
31170 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31171 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31172
31173 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31174
31175 * sysdeps/unix/i386/brk.S: Remove file.
31176 * sysdeps/unix/i386/dl-brk.S: Likewise.
31177 * sysdeps/unix/i386/pipe.S: Likewise.
31178 * sysdeps/unix/i386/sigreturn.S: Likewise.
31179 * sysdeps/unix/i386/syscall.S: Likewise.
31180 * sysdeps/unix/i386/vfork.S: Likewise.
31181 * sysdeps/unix/i386/wait.S: Likewise.
31182
31183 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31184 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31185
31186 * configure.in (arm*-none*): Do not allow without
31187 --enable-hacker-mode.
31188 (netbsd*): Remove case setting base_os.
31189 (386bsd*): Likewise.
31190 (freebsd*): Likewise.
31191 (bsdi*): Likewise.
31192 (osf*): Likewise.
31193 (sunos*): Likewise.
31194 (ultrix*): Likewise.
31195 (newsos*): Likewise.
31196 (dynix*): Likewise.
31197 (*bsd*): Likewise.
31198 (sysv*): Likewise.
31199 (isc*): Likewise.
31200 (esix*): Likewise.
31201 (sco*): Likewise.
31202 (minix*): Likewise.
31203 (irix4*): Likewise.
31204 (irix6*): Likewise.
31205 (solaris[2-9]*): Likewise.
31206 (none): Likewise.
31207 * configure: Regenerated.
31208
31209 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31210
31211 [BZ #11521]
31212 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31213 overflow or cancellation in calculating denominator.
31214 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31215 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31216 down expression to avoid unexpected rounding in newer GCCs.
31217 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31218
31219 2012-04-26 David S. Miller <davem@davemloft.net>
31220
31221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31222 long-double compat symbols.
31223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31236
31237 2012-04-25 David S. Miller <davem@davemloft.net>
31238
31239 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31240 HWCAP_* values only after the memory barriers have been defined.
31241 (atomic_full_barrier): Define.
31242 (atomic_read_barrier): Define.
31243 (atomic_write_barrier): Define.
31244
31245 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31246
31247 * shlib-versions: Add libgcc_s version information.
31248 * sysdeps/generic/libgcc_s.h: Remove.
31249 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31250 libgcc_s.h.
31251 * sysdeps/gnu/unwind-resume.c: Likewise.
31252 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31253
31254 2012-04-25 David S. Miller <davem@davemloft.net>
31255
31256 * sysdeps/unix/sparc/brk.S: Delete.
31257 * sysdeps/unix/sparc/dl-brk.S: Delete.
31258 * sysdeps/unix/sparc/pipe.S: Delete.
31259 * sysdeps/unix/sparc/sysdep.S: Delete.
31260 * sysdeps/unix/sparc/sysdep.h: Delete.
31261 * sysdeps/unix/sparc/vfork.S: Delete.
31262 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31263 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31264 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31265 ret_ERRVAL, r0, r1, MOVE): Define.
31266 (JUMPTARGET): Remove.
31267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31268 sysdeps/unix/sparc/sysdep.h
31269 (ENTRY, END): Remove.
31270 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31271
31272 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31273
31274 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31275 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31276 -DIS_IN_build.
31277
31278 * timezone/README: Update upstream location and email address for
31279 tzcode and tzdata.
31280 * timezone/zdump.c: Update from tzcode 2012b.
31281 * timezone/zic.c: Likewise.
31282
31283 * configure.in (libc_cv_as_needed): Remove test.
31284 * configure: Regenerated.
31285 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31286 conditional definition.
31287 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31288 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31289 * config.make.in (have-as-needed): Remove variable.
31290
31291 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31292 Paul Pluzhnikov <ppluzhnikov@google.com>
31293
31294 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31295 strings correctly.
31296
31297 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31298
31299 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31300 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31301 * sysdeps/sh/strlen.S: Likewise.
31302
31303 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31304
31305 * sysdeps/unix/fork.S: Remove file.
31306 * sysdeps/unix/i386/fork.S: Likewise.
31307 * sysdeps/unix/sparc/fork.S: Likewise.
31308
31309 * sysdeps/unix/system.c: Remove file.
31310 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31311
31312 * sysdeps/unix/getegid.S: Remove file.
31313 * sysdeps/unix/geteuid.S: Likewise.
31314
31315 2012-04-24 Roland McGrath <roland@hack.frob.com>
31316
31317 * scripts/check-localplt.awk: New file.
31318 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31319 of diff.
31320 * scripts/data/localplt-generic.data: Add a comment.
31321
31322 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31323 NODE when __dir_mkfile failed.
31324 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31325 Reported by Ludovic Courtès <ludo@gnu.org>.
31326
31327 2012-04-24 Andreas Jaeger <aj@suse.de>
31328
31329 * Makerules (common-clean): Also remove gen-as-const-headers
31330 files.
31331
31332 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31333
31334 * Makerules (native-compile): Do not change working directory for
31335 build. Use $(OUTPUT_OPTION) in command.
31336 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31337
31338 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31339
31340 [BZ #13886]
31341 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31342 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31343 * math/libm-test.inc (floor_test): Add more tests.
31344 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31345
31346 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31347
31348 * sysdeps/unix/getdents.c: Remove file.
31349 * sysdeps/unix/sysv/getdents.c: Likewise.
31350 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31351
31352 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31353 sysdeps/unix/mman/syscalls.list.
31354 (mmap): Likewise.
31355 (mprotect): Likewise.
31356 (msync): Likewise.
31357 (munmap): Likewise.
31358 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31359 * sysdeps/unix/mman/syscalls.list: Remove.
31360 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31361
31362 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31363 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31364 * configure: Regenerated.
31365 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31366 $(libgcc_s_suffix).
31367 * config.make.in (libgcc_s_suffix): Remove variable.
31368
31369 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31370
31371 * sysdeps/unix/sysv/gethostname.c: Move to ...
31372 * sysdeps/posix/gethostname.c: ... here.
31373
31374 * sysdeps/unix/execve.S: Remove file.
31375
31376 * sysdeps/unix/_exit.S: Remove file.
31377
31378 2012-04-23 Andreas Jaeger <aj@suse.de>
31379
31380 [BZ #13739]
31381 * manual/Makefile: Remove make dist support, there's no
31382 need for a stand-alone documentation tar ball.
31383 (TEXI2DVI): Define always, it's not in Makeconfig.
31384 (dist): Removed.
31385 (tar-it): Removed.
31386 (edition): Removed.
31387 (glibc-doc-$(edition).tar): Removed
31388 (%.Z): Removed.
31389 (%.gz): Removed.
31390 (%.uu): Removed.
31391 (ETAGS): Remove, it's in Makeconfig.
31392 (move-if-change): Remove, it's in Makeconfig.
31393
31394 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31395
31396 [BZ #13970]
31397 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31398 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31399 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31400 (strtod_l, strtof_l, strtold_l): Remove __wur.
31401 It is not necessarily an error to ignore strtol's return value.
31402 One can reliably look at the stored endptr to decide whether
31403 the number had valid syntax.
31404
31405 2012-04-21 Andreas Jaeger <aj@suse.de>
31406
31407 [BZ #13739]
31408 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31409
31410 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31411
31412 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31413 * sysdeps/unix/sysv/Versions: Remove file.
31414
31415 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31416
31417 [BZ #13927]
31418 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31419
31420 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31421
31422 [BZ #7064]
31423 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31424 version from __vm86.
31425
31426 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31427
31428 * sysdeps/unix/common/lxstat.c: Remove file.
31429 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31430
31431 * sysdeps/unix/sysv/Makefile: Remove file.
31432
31433 * sysdeps/unix/sysv/direct.h: Remove file.
31434
31435 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31436 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31437 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31438 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31439 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31440 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31441 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31442
31443 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31444
31445 * sysdeps/unix/xmknod.c: Remove file.
31446 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31447
31448 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31449
31450 * sysdeps/unix/sysv/i386/time.S: Remove file.
31451
31452 * sysdeps/unix/fxstat.c: Remove file.
31453 * sysdeps/unix/xstat.c: Likewise.
31454 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31455
31456 * sysdeps/unix/sysv/sigaction.c: Remove file.
31457
31458 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31459 (sysdep_headers): Remove variable.
31460 [termio.h not in sysdep_headers] (generated): Likewise.
31461 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31462 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31463 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31464 * sysdeps/unix/sysv/tcflow.c: Likewise.
31465 * sysdeps/unix/sysv/tcflush.c: Likewise.
31466 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31467 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31468 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31469 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31470 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31471
31472 * sysdeps/unix/siglist.c: Remove file.
31473
31474 * sysdeps/unix/getppid.S: Remove file.
31475
31476 * sysdeps/unix/mkdir.c: Remove file.
31477 * sysdeps/unix/rmdir.c: Likewise.
31478
31479 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31480
31481 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31482 ERR_MAX value.
31483 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31484 errlist-compat value.
31485
31486 2012-04-18 David S. Miller <davem@davemloft.net>
31487
31488 * sysdeps/generic/memcopy.h (reg_char): Delete.
31489 * debug/strcat_chk.c: Use char, not reg_char.
31490 * debug/strcpy_chk.c: Likewise.
31491 * debug/strncat_chk.c: Likewise.
31492 * debug/strncpy_chk.c: Likewise.
31493 * string/memchr.c: Likewise.
31494 * string/memrchr.c: Likewise.
31495 * string/rawmemchr.c: Likewise.
31496 * string/strcat.c: Likewise.
31497 * string/strchr.c: Likewise.
31498 * string/strchrnul.c: Likewise.
31499 * string/strcmp.c: Likewise.
31500 * string/strcpy.c: Likewise.
31501 * string/strncat.c: Likewise.
31502 * string/strncmp.c: Likewise.
31503 * string/strncpy.c: Likewise.
31504
31505 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31506
31507 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31508 __builtin_memcopy is called when src and dest ranges are known to not
31509 overlap.
31510
31511 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31512
31513 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31514 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31515 fwd_align_merge macro call.
31516 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31517 bwd_align_merge macro call.
31518 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31519
31520 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31521
31522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31523 bwd_align_merge macros.
31524 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31525 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31526 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31527
31528 2012-04-18 David S. Miller <davem@davemloft.net>
31529
31530 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31531
31532 2012-04-18 Andreas Jaeger <aj@suse.de>
31533
31534 [BZ# 6794]
31535 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31536 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31537 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31538
31539 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31540 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31541 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31542
31543 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31544 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31545 Adjust for changed ldbl-128 files.
31546
31547 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31548 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31549 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31550
31551 2012-04-17 David S. Miller <davem@davemloft.net>
31552
31553 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31554
31555 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31556
31557 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31558 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31559 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31560 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31561 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31562 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31563
31564 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31565
31566 [BZ #6794]
31567 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31568 * math/libm-test.inc: Add ilogb errno and exception tests.
31569 * math/w_ilogb.c: New file: ilogb wrapper.
31570 * math/w_ilogbf.c: New file: ilogbf wrapper.
31571 * math/w_ilogbl.c: New file: ilogbl wrapper.
31572 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31573 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31574 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31575 exception being thrown with 0.0 as argument.
31576 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31577 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31578 exception being thrown with 0.0 as argument.
31579 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31580 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31581 exception being thrown with 0.0 as argument.
31582 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31583 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31584 exception being thrown with 0.0 as argument.
31585 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31586 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31587 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31588 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31589 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31590 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31591 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31592 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31593 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31594
31595 2012-04-17 Petr Baudis <pasky@ucw.cz>
31596
31597 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31598 with altivec.
31599
31600 2012-04-16 Marek Polacek <polacek@redhat.com>
31601
31602 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31603
31604 2012-04-16 Marek Polacek <polacek@redhat.com>
31605
31606 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31607 operands of fdivp instruction.
31608
31609 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31610
31611 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31612 * elf/tst-auditmod3b.c: Likewise.
31613 * elf/tst-auditmod4b.c: Likewise.
31614 * elf/tst-auditmod5b.c: Likewise.
31615 * elf/tst-auditmod6b.c: Likewise.
31616 * elf/tst-auditmod6c.c: Likewise.
31617 * elf/tst-auditmod7b.c: Likewise.
31618 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31619 * sysdeps/x86_64/preconfigure.in: Likewise.
31620 * sysdeps/x86_64/preconfigure: Regenerated.
31621
31622 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31623
31624 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31625 __ILP32__.
31626
31627 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31628
31629 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31630 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31631
31632 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31633
31634 [BZ #13973]
31635 * locale/iso-639.def: Fix gl language name. Spotted by
31636 Yaron Shahrabani.
31637
31638 2012-04-12 Roland McGrath <roland@hack.frob.com>
31639
31640 [BZ #2074]
31641 * libio/libio.h (__io_write_fn): Update comment.
31642
31643 2012-04-12 Petr Baudis <pasky@ucw.cz>
31644
31645 [BZ #2074]
31646 * stdio.texi (Hook Functions): The user provided writer function
31647 is not allowed to return -1.
31648
31649 2012-04-11 David S. Miller <davem@davemloft.net>
31650
31651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31652
31653 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31654
31655 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31656 Add a leading slash to rtkaio.
31657
31658 2012-04-11 Jim Meyering <meyering@redhat.com>
31659
31660 [BZ #11959]
31661 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31662 It is not necessarily an error to ignore fwrite's return
31663 value. One can reliably use ferror to test for errors after
31664 the fact.
31665
31666 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31667
31668 * bits/types.h (__snseconds_t): New type.
31669 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31670
31671 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31672 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31673 (__SNSECONDS_T_TYPE): Likewise.
31674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31675 (__SNSECONDS_T_TYPE): Likewise.
31676 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31677 (__SNSECONDS_T_TYPE): Likewise.
31678
31679 2012-04-10 Andreas Jaeger <aj@suse.de>
31680
31681 [BZ #2636]
31682 * manual/time.texi (Processor Time): Return type of times is
31683 elapsed real time since an arbitrary point in the past.
31684 (CPU Time): Move CLK_TCK from here...
31685 (Processor Time): ...to here. Correct description.
31686 * manual/conf.texi (Constants for Sysconf): Correct description of
31687 _SC_CLK_TCK.
31688
31689 2012-04-10 David S. Miller <davem@davemloft.net>
31690
31691 [BZ #13967]
31692 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31693 where the is a gap between DT_REL(A) and DT_JMPREL.
31694
31695 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31696
31697 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31698 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31699 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31700
31701 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31702
31703 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31704 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31705 (dl_main): Handle --inhibit-cache.
31706 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31707 _dl_inhibit_cache.
31708 * elf/dl-load.c (_dl_map_object): Use it.
31709 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31710
31711 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31712
31713 [BZ #13872]
31714 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31715 (__ieee754_powl): Saturate large exponents rather than testing for
31716 overflow of y*log2(x).
31717 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31718 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31719 exceptions.
31720
31721 [BZ #11521]
31722 * math/s_ctan.c: Include <float.h>.
31723 (__ctan): Avoid internal overflow or cancellation in calculating
31724 denominator.
31725 * math/s_ctanf.c: Likewise.
31726 * math/s_ctanl.c: Likewise.
31727 * math/s_ctanh.c: Likewise.
31728 * math/s_ctanhf.c: Likewise.
31729 * math/s_ctanhl.c: Likewise.
31730 * math/libm-test.inc (ctan_test): Add more tests.
31731 (ctanh_test): Likewise.
31732 * sysdeps/i386/fpu/libm-test-ulps: Update.
31733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31734
31735 2012-04-09 Andreas Jaeger <aj@suse.de>
31736
31737 [BZ #6894]
31738 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31739 is an optional BSD extension.
31740
31741 [BZ #10254]
31742 * manual/stdio.texi (Opening Streams): Document additional fopen
31743 parameters.
31744
31745 2012-04-09 Roland McGrath <roland@hack.frob.com>
31746
31747 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31748 %eax without telling the compiler.
31749
31750 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31751
31752 [BZ # 13963]
31753 * manual/install.texi: Use sourceware.org.
31754
31755 2012-04-09 Joseph Myers <joseph@codesourcery.com>
31756
31757 [BZ #13873]
31758 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31759 (__ieee754_pow): Generate overflow and underflow using huge*huge
31760 and tiny*tiny rather than just returning constant infinity or zero
31761 for large exponents.
31762 * math/libm-test.inc (pow_test): Require overflow exceptions for
31763 applicable cases of large exponents.
31764
31765 [BZ #706]
31766 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31767 (__ieee754_pow): Use iterative multiplication algorithm only for
31768 integer exponents with absolute value below 1024. Check for odd
31769 integer exponents when using algorithm for real exponents.
31770 * math/libm-test.inc (pow_test): Add more tests.
31771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31772
31773 2012-04-08 Joseph Myers <joseph@codesourcery.com>
31774
31775 [BZ #13705]
31776 * math/libm-test.inc (exp_test): Do not allow overflow exception
31777 on underflow test.
31778
31779 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31780
31781 [BZ #13705]
31782 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31783 instead of __kernel_standard_f.
31784
31785 2012-04-08 Mike Frysinger <vapier@gentoo.org>
31786
31787 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31788 * sysdeps/x86_64/memset_chk.S: Likewise.
31789
31790 2012-04-08 Andreas Jaeger <aj@suse.de>
31791
31792 [BZ #10153]
31793 * manual/startup.texi (Environment Access): Describe return value
31794 for putenv and setenv.
31795
31796 [BZ #6895]
31797 * manual/filesys.texi (Directory Entries): Add description for
31798 DT_LNK.
31799
31800 [BZ #6890]
31801 * manual/filesys.texi (Directory Entries): Clarify that it's file
31802 system not operating system in the description of DT_UNKNOWN.
31803
31804 [BZ #6578]
31805 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31806
31807 2012-04-08 Stephen Compall <s11@member.fsf.org>
31808
31809 [BZ #6649]
31810 * manual/llio.texi (Opening and Closing Files): Add cross
31811 reference to explain mode argument.
31812
31813 2012-04-07 Mike Frysinger <vapier@gentoo.org>
31814
31815 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31816 * sysdeps/x86_64/memset_chk.S: Likewise.
31817
31818 2012-04-07 David S. Miller <davem@davemloft.net>
31819
31820 * elf/elf.h (R_SPARC_WDISP10): Define.
31821 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31822 R_SPARC_SIZE32.
31823 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31824 R_SPARC_SIZE64 and R_SPARC_H34.
31825
31826 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31827
31828 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31829 conditions and remove no longer applicable assertion.
31830
31831 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31832
31833 * bits/byteswap.h: Include <features.h>.
31834 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31835 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31836
31837 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 * bits/byteswap.h (__bswap_16): Removed.
31840 Include <bits/byteswap-16.h> to get __bswap_16.
31841 * sysdeps/i386/bits/byteswap.h: Likewise.
31842 * sysdeps/s390/bits/byteswap.h: Likewise.
31843 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31844 * bits/byteswap-16.h: New file.
31845 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31846 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31847 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31848 * string/Makefile (headers): Add bits/byteswap-16.h.
31849
31850 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31851
31852 [BZ #13895]
31853 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31854 extra indirection.
31855 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31856 * nss/tst-nss-static.c: New.
31857
31858 2012-04-06 Robert Millan <rmh@gnu.org>
31859
31860 [BZ #6486]
31861 * manual/llio.texi (File Position Primitive): lseek
31862 refers to WHENCE when it really means OFFSET.
31863
31864 2012-04-06 Andreas Jaeger <aj@suse.de>
31865
31866 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31867 strncmp declarations.
31868
31869 * abilist/libc.abilist: Add __poll and __ppoll.
31870
31871 2012-04-05 David S. Miller <davem@davemloft.net>
31872
31873 * scripts/check-local-headers.sh: Accept a host triplet in the
31874 path matched by the exclude regexp.
31875
31876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31877 definition.
31878 * sysdeps/powerpc/powerpc32/dl-machine.h
31879 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31880 * sysdeps/s390/s390-32/dl-machine.h
31881 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31882 * sysdeps/sparc/sparc32/dl-machine.h
31883 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31884 * sysdeps/sparc/sparc64/dl-machine.h
31885 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31886
31887 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31888 lazy binding.
31889 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
31890 undefined symbol errors.
31891
31892 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
31893 DT_NEEDED entries.
31894
31895 2012-04-05 Michael Matz <matz@suse.de>
31896
31897 [BZ #13592]
31898 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31899
31900 2012-04-05 Andreas Jaeger <aj@suse.de>
31901
31902 [BZ #13908]
31903 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31904 comment.
31905
31906 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31907
31908 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31909 which ROUND is no valid rounding mode.
31910
31911 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31912
31913 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31914 read again.
31915 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31916
31917 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31918
31919 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31920 an exception using FPU order intentionally.
31921
31922 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31923
31924 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31925 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31926 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31927 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31928
31929 2012-04-05 Simon Josefsson <simon@josefsson.org>
31930
31931 [BZ #12340]
31932 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31933 EINVAL when BUFLEN is too smal.
31934
31935 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31936
31937 [BZ #13553]
31938 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31939 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31940
31941 2012-04-03 Andreas Jaeger <aj@suse.de>
31942
31943 [BZ #13938]
31944 * manual/setjmp.texi (System V contexts): Fix sentence.
31945
31946 [BZ #13926]
31947 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31948 New macro for this case.
31949 [!__GNUC__] (__bswap_64): New inline function for this case.
31950 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31951 * bits/byteswap.h: Likewise.
31952 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31953 ull, guard with __GLIBC_HAVE_LONG_LONG.
31954
31955 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31956 __GLIBC_HAVE_LONG_LONG.
31957
31958 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31959 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31960
31961 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31962
31963 [BZ #13691]
31964 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31965 inptr and inend, rather than using last_ch.
31966
31967 2012-04-02 David S. Miller <davem@davemloft.net>
31968
31969 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31970 * stdio-common/printf-parse.h (read_int): Change return type to
31971 'int', return -1 on INT_MAX overflow.
31972 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31973 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31974 overflows INT_MAX. Check for overflow of in-format-string precision
31975 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31976 SIZE_MAX not INT_MAX for integer overflow test.
31977 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31978 skip the construct in the format string but do not record anything.
31979 * stdio-common/bug22.c: Adjust to test both width/prevision
31980 INT_MAX overflow as well as total length INT_MAX overflow. Check
31981 explicitly for proper errno values.
31982
31983 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31984
31985 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31986 CHAR_MAX.
31987 * string/test-strcmp.c [! WIDE]: Likewise.
31988 * time/tst-mktime2.c: Likewise for INT_MAX.
31989 * string/test-string.h: #include <sys/param.h> for MIN.
31990
31991 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31992 * sysdeps/i386/init-first.c (init): Likewise.
31993 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31994 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31995 * sysdeps/sh/init-first.c (init): Likewise.
31996
31997 2012-04-01 Ulrich Drepper <drepper@gmail.com>
31998
31999 * po/ru.po: Update from translation team.
32000 * po/vi.po: Likewise.
32001
32002 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32003
32004 * resolv/nss_dns/dns-host.c: Merge copyright years.
32005
32006 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32007
32008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32009 Optimize memcpy with prefetch if
32010 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32011 src, dst pointers have unequal 16 byte alignments.
32012
32013 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32014
32015 [BZ #13928]
32016 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32017 from a CNAME entry and return the minimum ttl for the query.
32018 (gaih_getanswer_slice): Likewise.
32019
32020 2012-03-30 Jeff Law <law@redhat.com>
32021
32022 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32023 due to long keys.
32024 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32025 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32026
32027 * resolv/nss_dns/dns-host.c: Update copyright year.
32028
32029 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32030
32031 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32032 requests to save a system call. Fix check that all bytes are sent.
32033
32034 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32035 comments for sendmmsg.
32036
32037 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32038
32039 [BZ #13691]
32040 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32041 with only 1 character between 0x0041 and 0x01b0.
32042 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32043 * wcsmbs/tst-mbsnrtowcs.c: New file.
32044
32045 2012-03-29 David S. Miller <davem@davemloft.net>
32046
32047 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32048 small copies by hand.
32049
32050 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32051
32052 [BZ #13761]
32053 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32054 _nss_compat_initgroups_dyn): Fall back to malloc/free
32055 for large group memberships.
32056
32057 2012-03-28 David S. Miller <davem@davemloft.net>
32058
32059 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32060 that branches into memcpy.
32061 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32062 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32064 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32065 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32066 bits.
32067 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32068 implementation too.
32069 * sysdeps/sparc/mempcpy.S: New file.
32070
32071 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32072 the IFUNC routine in the libc case.
32073 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32074
32075 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32076 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32077 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32078 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32079 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32080 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32081 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32082 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32083
32084 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32085 loop to 256 bytes instead of 64 bytes and fix test signedness.
32086
32087 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32088 * sysdeps/sparc/sparc32/Makefile: rather than here...
32089 * sysdeps/sparc/sparc64/Makefile: and here.
32090
32091 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32092
32093 * malloc/mallocbug.c: Avoid warnings about unused variables.
32094
32095 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32096
32097 [BZ #13760]
32098 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32099 in the right place. Discard and retry query if response is
32100 larger than input buffer size.
32101
32102 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32103
32104 [BZ #369]
32105 [BZ #2678]
32106 [BZ #3866]
32107 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32108 x for large integer exponent.
32109 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32110 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32111 sign of result as needed afterwards.
32112 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32113 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32114 result for underflowing pow the same as for overflow.
32115 (__kernel_standard_l): Handle powl overflow and underflow here
32116 rather than calling __kernel_standard.
32117 * math/libm-test.inc (pow_test): Add more tests.
32118
32119 [BZ #3868]
32120 [BZ #13879]
32121 [BZ #13910]
32122 [BZ #13911]
32123 [BZ #13912]
32124 [BZ #13913]
32125 [BZ #13915]
32126 [BZ #13916]
32127 [BZ #13917]
32128 [BZ #13918]
32129 [BZ #13919]
32130 [BZ #13920]
32131 [BZ #13921]
32132 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32133 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32134 (__kernel_standard_l): New function.
32135 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32136 __kernel_standard.
32137 * math/w_acosl.c (__acosl): Likewise.
32138 * math/w_asinl.c (__asinl): Likewise.
32139 * math/w_atan2l.c (__atan2l): Likewise.
32140 * math/w_atanhl.c (__atanhl): Likewise.
32141 * math/w_coshl.c (__coshl): Likewise.
32142 * math/w_exp10l.c (__exp10l): Likewise.
32143 * math/w_exp2l.c (__exp2l): Likewise.
32144 * math/w_fmodl.c (__fmodl): Likewise.
32145 * math/w_hypotl.c (__hypotl): Likewise.
32146 * math/w_j0l.c (__j0l, __y0l): Likewise.
32147 * math/w_j1l.c (__j1l, __y1l): Likewise.
32148 * math/w_jnl.c (__jnl, __ynl): Likewise.
32149 * math/w_lgammal.c (__lgammal): Likewise.
32150 * math/w_log10l.c (__log10l): Likewise.
32151 * math/w_log2l.c (__log2l): Likewise.
32152 * math/w_logl.c (__logl): Likewise.
32153 * math/w_powl.c (__powl): Likewise.
32154 * math/w_remainderl.c (__remainderl): Likewise.
32155 * math/w_scalbl.c (sysv_scalbl): Likewise.
32156 * math/w_sinhl.c (__sinhl): Likewise.
32157 * math/w_sqrtl.c (__sqrtl): Likewise.
32158 * math/w_tgammal.c (__tgammal): Likewise.
32159 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32160 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32161 * math/libm-test.inc (acos_test): Add more tests.
32162 (acosh_test): Likewise.
32163 (asin_test): Likewise.
32164 (atanh_test): Likewise.
32165 (exp_test): Likewise.
32166 (exp10_test): Likewise.
32167 (exp2_test): Likewise.
32168 (expm1_test): Likewise.
32169 (lgamma_test): Likewise.
32170 (log_test): Likewise.
32171 (log10_test): Likewise.
32172 (log1p_test): Likewise.
32173 (log2_test): Likewise.
32174 (pow_test): Do not allow some spurious overflow exceptions.
32175 (sqrt_test): Add more tests.
32176 (tgamma_test): Likewise.
32177 (y0_test): Likewise.
32178 (y1_test): Likewise.
32179 (yn_test): Likewise.
32180
32181 2012-03-27 Anton Blanchard <anton@samba.org>
32182
32183 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32184 MAP_HUGETLB.
32185 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32186 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32187 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32188
32189 2012-03-27 David S. Miller <davem@davemloft.net>
32190
32191 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32192
32193 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32194 have-as-vis3 check.
32195
32196 2012-03-27 Andreas Jaeger <aj@suse.de>
32197
32198 * sysdeps/x86_64/elf/configure.in: Moved to ...
32199 * sysdeps/x86_64/configure.in: ... here.
32200 * sysdeps/x86_64/elf/start.S: Moved to ...
32201 * sysdeps/x86_64/start.S: ... here.
32202 * sysdeps/x86_64/elf/configure: Delete.
32203
32204 * sysdeps/x86_64/configure.in: Merge contents from
32205 sysdeps/i386/configure.in (without i686 check).
32206
32207 * sysdeps/i386/elf/Versions: Merge into ...
32208 * sysdeps/i386/Versions: ... this.
32209 * sysdeps/i386/elf/Versions: Delete file.
32210 * sysdeps/i386/elf/start.S: Moved to ...
32211 * sysdeps/i386/start.S: ...here.
32212 * sysdeps/i386/elf/configure.in: Merge into...
32213 * sysdeps/i386/configure.in: ...here.
32214 * sysdeps/i386/elf/configure.in: Delete file.
32215 * sysdeps/i386/elf/configure: Delete file.
32216
32217 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32218 * debug/backtracesyms.c: ... here.
32219 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32220 * debug/backtracesymsfd.c: ... here.
32221 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32222 * sysdeps/generic/ifunc-sel.h: ... here.
32223
32224 * sysdeps/unix/i386/start.c: Delete file.
32225 * sysdeps/unix/sparc/start.c: Delete file.
32226 * sysdeps/unix/start.c: Delete file.
32227
32228 * sysdeps/sh/elf/configure.in: Moved to ...
32229 * sysdeps/sh/configure.in: ... here.
32230 * sysdeps/sh/elf/start.S: Moved to ...
32231 * sysdeps/sh/start.S: ... here.
32232 * sysdeps/sh/elf/configure: Delete file.
32233
32234 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32235 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32236 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32237 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32238 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32239 * sysdeps/powerpc/powerpc64/start.S: here.
32240 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32241 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32242 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32243 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32244 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32245
32246 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32247 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32248 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32249 * sysdeps/powerpc/powerpc32/start.S: ... here.
32250 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32251 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32252 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32253
32254 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32255 * sysdeps/powerpc/ifunc-sel.h: ... here.
32256 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32257 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32258
32259 * sysdeps/sparc/elf/configure.in: Moved to ...
32260 * sysdeps/sparc/configure.in: ... here.
32261 * sysdeps/sparc/elf/configure: Delete file.
32262 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32263 * sysdeps/sparc/sparc32/start.S: ... here.
32264 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32265 * sysdeps/sparc/sparc64/start.S: ... here.
32266 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32267 * sysdeps/sparc/sparc32/Makefile: ... this.
32268 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32269 * sysdeps/sparc/sparc64/Makefile: ... this.
32270
32271 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32272 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32273 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32274 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32275 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32276 * sysdeps/s390/s390-32/setjmp.S: ... here.
32277 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32278 * sysdeps/s390/s390-32/configure.in: ... here.
32279 * sysdeps/s390/s390-32/elf/configure: Delete file.
32280 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32281 * sysdeps/s390/s390-32/start.S: ... here.
32282
32283 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32284 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32285 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32286 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32287 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32288 * sysdeps/s390/s390-64/setjmp.S: ... here.
32289 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32290 * sysdeps/s390/s390-64/configure.in: ... here
32291 * sysdeps/s390/s390-64/elf/configure: Delete file.
32292 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32293 * sysdeps/s390/s390-64/start.S: ... here.
32294 * sysdeps/s390/s390-64/elf/configure: Delete.
32295
32296 * configure.in: Remove support for elf directories in sysdeps.
32297
32298 * configure: Regenerated.
32299 * sysdeps/i386/configure: Regenerated.
32300 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32301 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32302 * sysdeps/s390/s390-32/configure: Regenerated.
32303 * sysdeps/s390/s390-64/configure: Regenerated.
32304 * sysdeps/sh/configure: Regenerated.
32305 * sysdeps/sparc/configure: Regenerated.
32306 * sysdeps/x86_64/configure: Regenerated.
32307
32308 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32309
32310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32311
32312 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32313 denormal result into account.
32314
32315 2012-03-25 Roland McGrath <roland@hack.frob.com>
32316
32317 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32318 Reported by Allan McRae <allan@archlinux.org>.
32319
32320 2012-03-23 Jeff Law <law@redhat.com>
32321
32322 * nss/getnssent.c (__nss_getent): Fix typo.
32323
32324 2012-03-23 David S. Miller <davem@davemloft.net>
32325
32326 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32327
32328 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32329
32330 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32331 to pad to uint64_t for each field.
32332 (dl_tls_index): Replace unsigned long with uint64_t.
32333
32334 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32335 Paul Pluzhnikov <ppluzhnikov@google.com>
32336
32337 [BZ #6528]
32338 * grp/Makefile (otherlibs): Don't set it.
32339 * inet/Makefile (otherlibs): Likewise.
32340 * login/Makefile (otherlibs): Likewise.
32341 * nscd/Makefile (otherlibs): Likewise.
32342 * posix/Makefile (otherlibs): Likewise.
32343 * pwd/Makefile (otherlibs): Likewise.
32344 * rt/Makefile (otherlibs): Likewise.
32345 * sunrpc/Makefile (otherlibs): Likewise.
32346 * nss/Makefile (otherlibs): Likewise.
32347 Add libnss_files to routines and static-only-routines.
32348 ($(objpfx)getent): Remove rule.
32349 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32350 static-only-routines.
32351
32352 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32353
32354 [BZ #13892]
32355 * math/s_cexp.c: Include <float.h>.
32356 (__cexp): Handle exp result overflowing not necessarily
32357 overflowing both real and imaginary parts of result.
32358 * math/s_cexpf.c: Likewise.
32359 * math/s_cexpl.c: Likewise.
32360 * math/libm-test.inc (cexp_test): Add more tests.
32361 * sysdeps/i386/fpu/libm-test-ulps: Update.
32362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32363
32364 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32365
32366 * include/link.h (ELFW): New macro.
32367 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32368 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32369
32370 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32371
32372 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32373 with uint64_t.
32374
32375 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32376
32377 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32378 declaration.
32379 (struct La_x32_retval): Likewise.
32380
32381 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32382
32383 * sysdeps/x86_64/preconfigure.in: New file.
32384 * sysdeps/x86_64/preconfigure: New generated file.
32385
32386 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32387
32388 [BZ #13824]
32389 * math/e_exp2l.c: Include <float.h>.
32390 (__ieee754_exp2l): Handle overflow and underflow cases
32391 separately. Only pass fractional part of argument to
32392 __ieee754_expl.
32393 * math/libm-test.inc (exp2_test): Add more tests.
32394
32395 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32396 negating x to take absolute value.
32397 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32398 Likewise.
32399 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32400 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32401 Likewise.
32402 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32403 computing low part if x was negated.
32404 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32405
32406 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32407
32408 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32409 la_x32_gnu_pltexit.
32410 (pltexit): Cast int_retval to ptrdiff_t.
32411 * elf/tst-auditmod3b.c: Likewise.
32412 * elf/tst-auditmod4b.c: Likewise.
32413 * elf/tst-auditmod5b.c: Likewise.
32414 * elf/tst-auditmod6b.c: Likewise.
32415 * elf/tst-auditmod6c.c: Likewise.
32416 * elf/tst-auditmod7b.c: Likewise.
32417
32418 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32419 and x32_gnu_pltexit.
32420
32421 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32422 __ELF_NATIVE_CLASS.
32423 (La_x32_regs): New macro.
32424 (La_x32_retval): Likewise.
32425 (la_x32_gnu_pltenter): New function prototype.
32426 (la_x32_gnu_pltexit): Likewise.
32427
32428 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32429
32430 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32431 exponent.
32432
32433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32434
32435 * configure.in (libc_cv_cc_nofma): Check for option to disable
32436 generation of FMA instructions.
32437 * configure: Regenerate.
32438 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32439 * sysdeps/ieee754/dbl-64/Makefile: New file.
32440 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32441 Remove brandred-fma4.
32442 (CFLAGS-brandred-fma4.c): Remove.
32443 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32444 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32445 define.
32446 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32447 define.
32448
32449 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32450
32451 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32452 LLONG_MAX != LONG_MAX.
32453 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32454 (_fitoa_word): Likewise.
32455 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32456 LLONG_MAX != LONG_MAX.
32457 * stdio-common/_itowa.h: Include <_itoa.h>.
32458 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32459 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32460 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32461 only if not defined.
32462 (_ITOA_WORD_TYPE): Likewise.
32463 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32464 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32465
32466 2012-03-21 David S. Miller <davem@davemloft.net>
32467
32468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32469
32470 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32471
32472 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32473 of x86_64 when setting libc_cv_slibdir, libdir and
32474 libc_cv_localedir.
32475 * sysdeps/unix/sysv/linux/configure: Regenerated.
32476
32477 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32478
32479 * manual/lang.texi (Old Varargs): Remove section.
32480 (How Variadic): Update menu.
32481 (va_start): Do not mention varargs.h.
32482
32483 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32484 Joseph Myers <joseph@codesourcery.com>
32485
32486 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32487 link test.
32488 * configure: Regenerated.
32489
32490 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32491
32492 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32493 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32494 conformtest.pl
32495
32496 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32497
32498 * NOTES: Remove.
32499 * Makefile (files-for-dist): Remove NOTES.
32500 (NOTES): Remove rule.
32501 * README: Don't refer to NOTES.
32502 * manual/creature.texi: Don't include macros.texi.
32503 * manual/intro.texi (creature.texi): Remove comment referring to
32504 NOTES.
32505
32506 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32507 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32508 * configure: Regenerated.
32509 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32510 LIBC_TRY_CC_OPTION.
32511 (libc_cv_as_i686): Likewise.
32512 (libc_cv_cc_avx): Likewise.
32513 (libc_cv_cc_sse2avx): Likewise.
32514 (libc_cv_cc_fma4): Likewise.
32515 (libc_cv_cc_novzeroupper): Likewise.
32516 * sysdeps/i386/configure: Regenerated.
32517
32518 [BZ #13883]
32519 * sysdeps/i386/fpu/s_cexp.S: Remove.
32520 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32521 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32522 * math/libm-test.inc (cexp_test): Add more tests.
32523 * sysdeps/i386/fpu/libm-test-ulps: Update.
32524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32525
32526 2012-03-21 Allan McRae <allan@archlinux.org>
32527
32528 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32529
32530 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32531
32532 [BZ #13871]
32533 * math/w_exp2.c: Do not include <float.h>.
32534 (o_threshold, u_threshold): Remove.
32535 (__exp2): Calculate result before checking finiteness and calling
32536 __kernel_standard.
32537 * math/w_exp2f.c: Likewise.
32538 * math/w_exp2l.c: Likewise.
32539 * math/libm-test.inc (exp2_test): Require overflow exception for
32540 1e6 input.
32541
32542 [BZ #3866]
32543 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32544 range of signed 64-bit integers before using fistpll. Remove
32545 checks for whether integers fit in mantissa bits.
32546 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32547 the range of signed 32-bit integers before using fistpl. Remove
32548 checks for whether integers fit in mantissa bits.
32549 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32550 (__ieee754_powl): Test for y outside the range of signed 64-bit
32551 integers before using fistpll. Reduce 64-bit values to 63-bit
32552 ones as needed.
32553 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32554 divide-by-zero is raised for zero to large negative powers.
32555 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32556 (__ieee754_powl): Test for y outside the range of signed 64-bit
32557 integers before using fistpll. Reduce 64-bit values to 63-bit
32558 ones as needed.
32559 * math/libm-test.inc (pow_test): Add more tests.
32560
32561 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32562
32563 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32564 <stdio-common/_itoa.h>.
32565 * debug/segfault.c: Likewise.
32566 * elf/dl-cache.c: Likewise.
32567 * elf/dl-minimal.c: Likewise.
32568 * elf/dl-misc.c: Likewise.
32569 * elf/dl-sysdep.c: Likewise.
32570 * elf/dl-version.c: Likewise.
32571 * elf/rtld.c: Likewise.
32572 * hurd/hurdsock.c: Likewise.
32573 * hurd/lookup-retry.c: Likewise.
32574 * malloc/malloc.c: Likewise.
32575 * malloc/mtrace.c: Likewise.
32576 * nscd/nscd_getgr_r.c: Likewise.
32577 * nscd/nscd_getpw_r.c: Likewise.
32578 * nscd/nscd_getserv_r.c: Likewise.
32579 * posix/getopt_init.c: Likewise.
32580 * posix/wordexp.c: Likewise.
32581 * stdio-common/_itoa.c: Likewise.
32582 * stdio-common/printf_fphex.c: Likewise.
32583 * stdio-common/vfprintf.c: Likewise.
32584 * string/_strerror.c: Likewise.
32585 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32586 * sysdeps/i386/i686/hp-timing.h: Likewise.
32587 * sysdeps/mach/_strerror.c: Likewise.
32588 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32589 * sysdeps/mach/hurd/sethostid.c: Likewise.
32590 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32591 * sysdeps/mach/xpg-strerror.c: Likewise.
32592 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32593 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32594 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32595 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32596 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32597 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32598 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32599 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32600 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32601 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32602 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32603 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32604 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32605 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32606 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32607 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32608 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32609 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32610 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32611 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32612 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32613
32614 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32615
32616 * stdio-common/_itoa.h: Moved to ...
32617 * sysdeps/generic/_itoa.h: Here.
32618
32619 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32620
32621 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32622 instead of "_itoa.h" and "_itowa.h".
32623 * stdio-common/vfprintf.: Likewise.
32624
32625 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32626
32627 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32628 <bits/wordsize.h>.
32629 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32630 (__signbit): Likwise.
32631 (llrintf): Likwise.
32632 (llrint): Likwise.
32633
32634 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32635
32636 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32637 __WORDSIZE != 64.
32638
32639 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32640
32641 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32642 OVERFLOW_EXCEPTION_OK.
32643 * math/libm-test.inc ("Philosophy"): Update comment about
32644 exception testing.
32645 (OVERFLOW_EXCEPTION): Define.
32646 (OVERFLOW_EXCEPTION_OK): Likewise.
32647 (INVALID_EXCEPTION_OK): Renumber.
32648 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32649 (IGNORE_ZERO_INF_SIGN): Likewise.
32650 (test_exceptions): Handle FE_OVERFLOW.
32651 (exp10_test): Expect overflow exceptions.
32652 (exp2_test): Likewise.
32653 (expm1_test): Likewise.
32654 (nextafter_test): Likewise.
32655 (pow_test): Likewise.
32656 (scalbn_test): Likewise.
32657 (scalbln_test): Likewise.
32658
32659 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32660
32661 * sysdeps/x86_64/bits/atomic.h
32662 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32663 64bit integer.
32664 (atomic_exchange_acq): Likewise.
32665 (__arch_exchange_and_add_body): Likewise.
32666 (__arch_add_body): Likewise.
32667 (atomic_add_negative): Likewise.
32668 (atomic_add_zero): Likewise.
32669
32670 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32671
32672 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32673 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32674
32675 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32676
32677 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32678 Check __x86_64__ instead of __WORDSIZE.
32679
32680 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32681
32682 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32683
32684 2012-03-19 David S. Miller <davem@davemloft.net>
32685
32686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32687
32688 * sysdeps/sparc/fpu/fenv_private.h: New file.
32689 * sysdeps/sparc/fpu/math_private.h: Use it.
32690 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32691 Remove.
32692 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32693 (libc_feholdexcept_setroundl): Remove.
32694 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32695 Remove.
32696 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32697 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32698
32699 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32700
32701 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32702 int64_t instead of long int.
32703 (INSERT_WORDS64): Likwise.
32704
32705 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32706
32707 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32708 _Unwind_GetCFA return to _Unwind_Ptr first.
32709
32710 2012-03-19 Joseph Myers <joseph@codesourcery.com>
32711
32712 [BZ #13629]
32713 * math/s_clog.c: Include <float.h>.
32714 (__clog): Scale large or subnormal inputs.
32715 * math/s_clogf.c: Likewise.
32716 * math/s_clogl.c: Likewise.
32717 * math/s_clog10.c: Include <float.h>.
32718 (M_LOG10_2): Define.
32719 (__clog10): Scale large or subnormal inputs.
32720 * math/s_clog10f.c: Likewise.
32721 * math/s_clog10l.c: Likewise.
32722 * math/libm-test.inc (clog_test): Add more tests.
32723 (clog10_test): Likewise.
32724 * sysdeps/i386/fpu/libm-test-ulps: Update.
32725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32726
32727 [BZ #11451]
32728 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32729 x and y.
32730 * math/libm-test.inc (atan2_test): Add another test.
32731
32732 * Makerules (common-objdir-compile): Remove.
32733 * sysdeps/unix/Makefile (config-generated): Do not add
32734 $(unix-generated) to variable.
32735 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32736 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32737 Remove rule.
32738 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32739 Likewise.
32740 [generic bits/local_lim.h] (before-compile): Do not append to
32741 variable.
32742 [generic bits/local_lim.h] (common-generated): Likewise.
32743 [generic sys/param.h] (before-compile): Do not append to variable.
32744 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32745 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32746 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32747 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32748 include.
32749 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32750 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32751 [generic sys/param.h] ($(addprefix
32752 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32753 [generic sys/param.h] (common-generated): Do not append to
32754 variable.
32755 [generic sys/param.h] (sysdep_headers): Likewise.
32756 [generic bits/errno.h] (before-compile): Do not append to
32757 variable.
32758 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32759 rule.
32760 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32761 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32762 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32763 [generic bits/errno.h] (common-generated): Do not append to
32764 variable.
32765 [generic bits/ioctls.h] (before-compile): Do not append to
32766 variable.
32767 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32768 rule.
32769 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32770 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32771 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32772 rule.
32773 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32774 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32775 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32776 [generic bits/ioctls.h] (common-generated): Do not append to
32777 variable.
32778 [generic sys/syscall.h] (syscall.h): Remove variable.
32779 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32780 rule.
32781 [generic sys/syscall.h] (before-compile): Do not append to
32782 variable.
32783 [generic sys/syscall.h] (common-generated): Likewise.
32784 * sysdeps/unix/errnos-tmpl.c: Remove file.
32785 * sysdeps/unix/errnos.awk: Likewise.
32786 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32787 * sysdeps/unix/ioctls.awk: Likewise.
32788 * sysdeps/unix/mk-local_lim.c: Likewise.
32789 * sysdeps/unix/snarf-ioctls: Likewise.
32790
32791 2012-03-19 Richard Henderson <rth@twiddle.net>
32792
32793 * sysdeps/i386/fpu/fenv_private.h: New file.
32794 * sysdeps/i386/fpu/math_private.h: Use it.
32795 (math_opt_barrier, math_force_eval): Remove.
32796 (libc_feholdexcept_setround_53bit): Remove.
32797 (libc_feupdateenv_53bit): Remove.
32798 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32799 (math_opt_barrier, math_force_eval): Remove.
32800 (libc_feholdexcept): Remove.
32801 (libc_feholdexcept_setround): Remove.
32802 (libc_fetestexcept, libc_fesetenv): Remove.
32803 (libc_feupdateenv_test): Remove.
32804 (libc_feupdateenv, libc_feholdsetround): Remove.
32805 (libc_feresetround): Remove.
32806
32807 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32808 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32809
32810 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32811 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32812 (libc_feupdateenv_testl): New.
32813 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32814 (libc_feupdateenv_testf): New.
32815 (libc_feupdateenv): Use libc_feupdateenv_test.
32816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32817 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32818
32819 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32820 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32821 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32822 (libc_feresetround_noex): New.
32823 (libc_feresetround_noexf): New.
32824 (libc_feresetround_noexl): New.
32825 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32826 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32827 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32828 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32829 SET_RESTORE_ROUND.
32830 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32831 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32832 (__cos): Likewise.
32833 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32834 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32835 SET_RESTORE_ROUND_NOEX.
32836 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32837 SET_RESTORE_ROUND_NOEXF.
32838 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32839 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32840 (libc_feholdsetroundf): New.
32841 (libc_feresetround, libc_feresetroundf): New.
32842
32843 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32844 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32845 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32846
32847 * sysdeps/generic/math_private.h: Include <fenv.h>.
32848 (default_libc_feholdexcept): New.
32849 (default_libc_feholdexcept_setround): New.
32850 (default_libc_fesetenv, default_libc_feupdateenv): New.
32851 (libc_feholdexcept): Only define if undefined.
32852 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32853 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32854 (libc_feholdexcept_setroundl): Likewise.
32855 (libc_feholdexcept_setround_53bit): Likewise.
32856 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32857 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32858 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32859 (libc_feupdateenv_53bit): Likewise.
32860 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32861 (libc_feholdexcept): Convert from macro to inline function.
32862 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32863 (libc_fesetenv, libc_feupdateenv): Likewise.
32864
32865 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32866 not previously defined.
32867 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32868 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32869 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32870 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32871 * sysdeps/ieee754/flt-32/math_private.h: New file.
32872 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32873 math_private.h below SET_FLOAT_WORD.
32874 (__isnan, __isinf_ns, __finite): Remove.
32875 (__isnanf, __isinf_nsf, __finitef): Remove.
32876
32877 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32878
32879 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32880
32881 2012-03-17 David S. Miller <davem@davemloft.net>
32882
32883 [BZ #6471]
32884 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32885 for 2.16.
32886
32887 2012-03-16 David S. Miller <davem@davemloft.net>
32888
32889 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32890 warnings.
32891
32892 [BZ #6471]
32893 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32894 properly.
32895 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32896 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32897 sysdep_routines when subdir is sysvipc.
32898 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32899 __getshmlba helper.
32900
32901 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32902
32903 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32904
32905 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32906 [__LP64__].
32907
32908 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32909
32910 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32911 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32912 (__lround): Renamed to ...
32913 (__llround): This. Replace long int with long long int.
32914 Define lround functions as aliases of llround functions.
32915 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32916
32917 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32918
32919 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32920 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32921 adresses to uintptr_t. Replace "long int" and "unsigned long
32922 int" with "greg_t" on va_arg.
32923
32924 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32925
32926 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32927 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32928
32929 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32930 Move e_machine check before EI_CLASS check. Handle x32
32931 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32932 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32933 SKIP_EM_IA_64 and include
32934 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32935
32936 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32937 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32938 (add_system_dir): New macro.
32939
32940 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32941 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32942
32943 2012-03-16 Joseph Myers <joseph@codesourcery.com>
32944
32945 [BZ #2551]
32946 [BZ #2552]
32947 [BZ #2553]
32948 [BZ #2554]
32949 [BZ #2562]
32950 [BZ #2563]
32951 [BZ #2565]
32952 [BZ #2566]
32953 [BZ #2576]
32954 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32955 (y0): Likewise.
32956 * math/w_j0f.c (j0f): Likewise.
32957 (y0f): Likewise.
32958 * math/w_j0l.c (__j0l): Likewise.
32959 (__y0l): Likewise.
32960 * math/w_j1.c (j1): Likewise.
32961 (y1): Likewise.
32962 * math/w_j1f.c (j1f): Likewise.
32963 (y1f): Likewise.
32964 * math/w_j1l.c (__j1l): Likewise.
32965 (__y1l): Likewise.
32966 * math/w_jn.c (jn): Likewise.
32967 (yn): Likewise.
32968 * math/w_jnf.c (jnf): Likewise.
32969 (ynf): Likewise.
32970 * math/w_jnl.c (__jnl): Likewise.
32971 (__ynl): Likewise.
32972 * math/libm-test.inc (j0_test): Add more tests.
32973 (j1_test): Likewise.
32974 (jn_test): Likewise. Add trailing semicolon to existing test.
32975 (y0_test): Likewise.
32976 (y1_test): Likewise.
32977 * sysdeps/i386/fpu/libm-test-ulps: Update.
32978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32979
32980 [BZ #13851]
32981 [BZ #13854]
32982 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32983 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32984 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32985 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32986 (__tanl): Set errno for infinite argument.
32987 * sysdeps/i386/fpu/mptan.c: Remove.
32988 * sysdeps/i386/fpu/s_tan.S: Likewise.
32989 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32990 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32991 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32992 * math/libm-test.inc (tan_test): Add more tests and enable more
32993 tests for double and long double.
32994 * sysdeps/i386/fpu/libm-test-ulps: Update.
32995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32996
32997 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32998
32999 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33000 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33001
33002 2012-03-16 Roland McGrath <roland@hack.frob.com>
33003
33004 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33005 * configure.in: Use it for both main tree and add-ons.
33006 * configure: Regenerated.
33007
33008 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33009
33010 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33011
33012 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33013
33014 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33015 in comment.
33016
33017 [BZ #13851]
33018 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33019 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33020 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33021 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33022 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33023 infinite argument.
33024 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33025 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33026 != 0 for prec == 2.
33027 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33028 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33029 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33030 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33031 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33032 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33033 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33034 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33035 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33036 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33037 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33038 * math/libm-test.inc (cos_test): Add more tests and enable more
33039 tests for long double.
33040 (sin_test): Likewise.
33041 (sincos_test): Likewise.
33042 * sysdeps/i386/fpu/libm-test-ulps: Update.
33043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33044
33045 2012-03-16 David S. Miller <davem@davemloft.net>
33046
33047 * sysdeps/sparc/fpu/math_private.h: New file.
33048
33049 2012-03-15 David S. Miller <davem@davemloft.net>
33050
33051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33052 file.
33053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33055 file.
33056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33061 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33062 sysdep routines.
33063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33064
33065 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33066 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33067
33068 * sysdeps/sparc/sparc-ifunc.h: New file.
33069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33070 sparc-ifunc.h
33071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33073 Likewise.
33074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33075 Likewise.
33076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33080 Likewise.
33081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33086 Likewise.
33087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33088 Likewise.
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33093 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33107 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33109 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33111 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33113
33114 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33115
33116 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33117 scaling.
33118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33119
33120 2012-03-15 Andreas Jaeger <aj@suse.de>
33121
33122 [BZ #13852]
33123 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33124 ieee754/flt-32 implementation for sin, cos and sincos.
33125 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33126 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33127 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33128 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33129 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33130 ieee754/flt-32 implementation for tan.
33131
33132 * math/libm-test.inc (cos_test): Enable some large input tests for
33133 float as well
33134 (sin_test): Likewise.
33135 (sincos_test): Likewise.
33136 (tan_test): Add tests for large input.
33137
33138 * sysdeps/i386/fpu/libm-test-ulps: Update.
33139
33140 2012-03-15 Andreas Jaeger <aj@suse.de>
33141
33142 [BZ #13658]
33143 * math/libm-test.inc (cos_test): Add more test cases.
33144 (sin_test): Likewise.
33145 (sincos_test): Likewise.
33146
33147 2012-03-15 Andreas Jaeger <aj@suse.de>
33148
33149 [BZ #13837]
33150 * math/libm-test.inc (cos_test): Add a test case for large input
33151 value.
33152 (sin_test): Likewise.
33153 (sincos_test): Likewise.
33154
33155 2012-03-15 Andreas Jaeger <aj@suse.de>,
33156 Joseph Myers <joseph@codesourcery.com>
33157
33158 [BZ #13658]
33159 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33160 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33161 * sysdeps/i386/fpu/branred.c: Likewise.
33162 * sysdeps/i386/fpu/dosincos.c: Likewise.
33163 * sysdeps/i386/fpu/mpa.c: Likewise.
33164 * sysdeps/i386/fpu/s_cos.S: Likewise.
33165 * sysdeps/i386/fpu/s_sin.S: Likewise.
33166 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33167 * sysdeps/i386/fpu/sincos32.c: Likewise.
33168
33169 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33170 Define.
33171 (libc_feupdateenv_53bit): Define.
33172 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33173 Define.
33174 (libc_feupdateenv_53bit): Define.
33175
33176 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33177 53 bit (without extend i386 double precision).
33178
33179 * math/libm-test.inc (sincos_test): Add tests for large input.
33180 (sin): Likewise.
33181 (cos): Likewise.
33182
33183 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33184
33185 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33186
33187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33188
33189 2012-03-15 David S. Miller <davem@davemloft.net>
33190
33191 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33192 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33193 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33194 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33207 file.
33208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33210 file.
33211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33213 file.
33214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33216 file.
33217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33218 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33219 fmin/fmax sysdep routines.
33220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33221
33222 2012-03-14 David S. Miller <davem@davemloft.net>
33223
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33248 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33253 routines.
33254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33255 file.
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33258 file.
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33261 file.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33264 file.
33265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33267 file.
33268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33270 file.
33271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33272 file.
33273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33274 file.
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33276 file.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33278 New file.
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33280 file.
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33282 file.
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33285 file.
33286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33288 file.
33289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33291 file.
33292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33294 VIS3 routines.
33295
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33297 New file.
33298
33299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33300
33301 * sysdeps/sparc/configure.in: New file.
33302 * sysdeps/sparc/configure: Generate.
33303 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33304 * configure: Regenerate.
33305 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33306 * config.make.in (have-as-vis3): New.
33307 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33308 available use -Av9d instead of -Av9a.
33309 * sysdeps/sparc/sparc64/Makefile: Likewise.
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33312 New file.
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33314 file.
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33316 New file.
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33318 file.
33319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33320 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33324
33325 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33326 fzeros/fnegs to load 0x80000000 into a float register instead of
33327 using the stack.
33328 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33329
33330 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33331
33332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33333 bits/syscall.h.
33334 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33335 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33336 ($(inst_includedir)/bits/syscall.h): Remove rule.
33337 ($(objpfx)bits/syscall.d): Include instead of
33338 $(objpfx)syscall-list.d.
33339 (generated): Change syscall-list.h and syscall-list.d to
33340 bits/syscall.h and bits/syscall.d.
33341
33342 2012-03-14 Roland McGrath <roland@hack.frob.com>
33343
33344 [BZ #13846]
33345 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33346
33347 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33348
33349 [BZ #13841]
33350 * math/s_csqrt.c: Include <float.h>.
33351 (__csqrt): Scale large or subnormal inputs.
33352 * math/s_csqrtf.c: Likewise.
33353 * math/s_csqrtl.c: Likewise.
33354 * math/libm-test.inc (csqrt_test): Add more tests.
33355 * sysdeps/i386/fpu/libm-test-ulps: Update.
33356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33357
33358 [BZ #13840]
33359 * math/libm-test.inc (hypot_test): Add more tests.
33360
33361 2012-03-13 David S. Miller <davem@davemloft.net>
33362
33363 [BZ #13840]
33364 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33365 double-precision for the calculation instead of scaling.
33366
33367 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33368
33369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33370 manipulate bits before adding and subtracting TWO52[sx].
33371 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33372 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33373 Likewise.
33374 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33375
33376 2012-03-13 David S. Miller <davem@davemloft.net>
33377
33378 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33379 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33381 rtld-global-offsets.h
33382 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33383
33384 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33385 large parameters.
33386
33387 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33388
33389 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33390 'err' in the ifdef scope in which it is actually used.
33391
33392 * nss/nss_db/db-init.c: Include string.h
33393
33394 2012-03-12 David S. Miller <davem@davemloft.net>
33395
33396 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33397 masking out of the most significant byte of random value used.
33398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33399 Fix coding style in previous change.
33400
33401 * sysdeps/unix/sysv/linux/kernel-features.h
33402 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33403 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33404 expression.
33405 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33406 later.
33407
33408 2012-03-11 David S. Miller <davem@davemloft.net>
33409
33410 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33411 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33412 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33413 for 'resultvar' otherwise things get truncated on 64-bit.
33414
33415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33416 Fix masking out of the most significant byte of random value used.
33417
33418 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33419
33420 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33421
33422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33423
33424 2012-03-09 David S. Miller <davem@davemloft.net>
33425
33426 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33427 variables with appropriate CPP guards.
33428 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33429 frame pointer, not the stack pointer. Correct layout comments. Fix test
33430 on resulting framesize and the management of the outregs buffer for pltexit.
33431 Preserve floating point return values across _dl_call_pltexit call.
33432 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33433 framesize and the management of the outregs buffer for pltexit.
33434 Preserve floating point return values across _dl_call_pltexit
33435 call.
33436 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33437 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33438 (print_exit): Fix format string for return register value.
33439
33440 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33441
33442 * sunrpc/Makefile (others): Add rpcgen.
33443 ($(objpfx)rpcgen): Remove special build rule and dependency on
33444 libc.
33445 * sunrpc/rpcgen.c: New file.
33446
33447 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33448
33449 [BZ #13673]
33450 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33451 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33452 * sysdeps/i386/crti.S: Likewise.
33453 * sysdeps/i386/crtn.S: Likewise.
33454 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33455 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33456 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33457 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33458 * sysdeps/sh/crti.S: Likewise.
33459 * sysdeps/sh/crtn.S: Likewise.
33460 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33461
33462 [BZ #13673]
33463 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33464 with URL.
33465 * locale/programs/locfile-kw.gperf: Likewise.
33466 * locale/programs/charmap-kw.h: Regenerated.
33467 * locale/programs/locfile-kw.h: Likewise.
33468
33469 [BZ #13673]
33470 * intl/plural.y: Replace FSF snail mail address with URL.
33471 * intl/plural.c: Regenerated.
33472
33473 2012-03-09 Richard Henderson <rth@twiddle.net>
33474
33475 * include/math_private.h: Remove file.
33476 * math/math_private.h: Move file ...
33477 * sysdeps/generic/math_private.h: ... here.
33478
33479 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33480 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33481 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33482
33483 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33484 and <math_private.h>.
33485 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33486 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33487 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33488 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33489 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33490 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33491 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33492 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33493 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33504 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33506 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33508 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33573 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33574 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33575 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33576 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33577 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33578 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33579 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33580 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33581 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33582 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33583 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33585 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33586 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33587 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33588 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33589 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33590 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33591 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33593 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33594 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33595 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33597 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33604 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33605 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33606 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33608 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33613 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33617 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33618 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33620 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33621 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33622 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33624 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33628 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33630 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33634 * sysdeps/ieee754/k_standard.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33750 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33755 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33757 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33795 * sysdeps/ieee754/s_lib_version.c: Likewise.
33796 * sysdeps/ieee754/s_matherr.c: Likewise.
33797 * sysdeps/ieee754/s_signgam.c: Likewise.
33798 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33799 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33800 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33801 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33802 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33803 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33804 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33805 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33806 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33807 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33808 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33809 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33810 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33811 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33812 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33813 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33814 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33815 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33816 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33819
33820 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33821
33822 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33823 * sunrpc/rpc_main.c: Likewise.
33824 * sunrpc/rpc_svcout.c: Likewise.
33825
33826 2012-03-09 David S. Miller <davem@davemloft.net>
33827
33828 * include/math_private.h: New file.
33829
33830 2012-03-09 Joseph Myers <joseph@codesourcery.com>
33831
33832 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33833 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33834 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33835 from <bits/socket_type.h>.
33836 (enum __socket_type): Don't define here.
33837 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33839 bits/socket_type.h.
33840
33841 [BZ #13566]
33842 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33843 checking __USE_GNU.
33844
33845 * Makerules ($(inst_includedir)/%.h): New rule.
33846 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33847 (install-others): Remove variable setting.
33848 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33849
33850 2012-03-08 Richard Henderson <rth@twiddle.net>
33851
33852 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33853 from macro to inline function; merge with the
33854 !__LIBC_INTERNAL_MATH_INLINES version.
33855 (__ieee754_sqrtf): Likewise.
33856
33857 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33858 to inline function.
33859 (__rintf, __floor, __floorf): Likewise.
33860
33861 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33862 macro to inline function.
33863 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33864
33865 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33866 not <math/math_private.h>.
33867
33868 2012-03-08 David S. Miller <davem@davemloft.net>
33869
33870 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33871 copyright year.
33872 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33873
33874 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33875
33876 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33877 normalization.
33878 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33879 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33880
33881 2012-03-08 Ulrich Drepper <drepper@gmail.com>
33882
33883 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33884 be defined individually, they must be defined as a block. Define
33885 S for printing a string instead of hidint the different by using a
33886 macro for adding the 'l'.
33887 * stdio-common/tst-fphex-wide.c: Adjust.
33888
33889 2012-03-07 Marek Polacek <polacek@redhat.com>
33890
33891 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33892
33893 2012-03-08 Marek Polacek <polacek@redhat.com>
33894
33895 [BZ #13806]
33896 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33897 * stdio-common/tst-fphex.c: Define a few macros to make the
33898 test reusable. Use them.
33899 * stdio-common/tst-fphex-wide.c: New file.
33900
33901 2012-03-08 Joseph Myers <joseph@codesourcery.com>
33902
33903 [BZ #6911]
33904 * manual/macros.texi (gnusystems): New macro.
33905 (nongnusystems): Likewise.
33906 (gnulinuxhurdsystems): Likewise.
33907 (gnuhurdsystems): Likewise..
33908 (gnulinuxsystems): Likewise.
33909 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33910 variants of the GNU system, not "GNU system".
33911 * manual/conf.texi: Likewise.
33912 * manual/errno.texi: Likewise. Update example of errno macro
33913 expansion.
33914 * manual/filesys.texi: Likewise.
33915 (getumask): Document as specific to GNU/Hurd.
33916 * manual/install.texi: Likewise. Reword some references to
33917 GNU/Linux.
33918 * manual/intro.texi: Likewise.
33919 * manual/io.texi: Likewise.
33920 (File Name Portability): Detail which constraints are inapplicable
33921 to all GNU systems and which are only inapplicable to GNU/Hurd.
33922 * manual/job.texi: Likewise.
33923 * manual/llio.texi: Likewise.
33924 (O_NOCTTY): Document as present on GNU/Linux.
33925 * manual/maint.texi: Likewise.
33926 * manual/memory.texi: Likewise.
33927 * manual/pattern.texi: Likewise.
33928 * manual/pipe.texi: Likewise.
33929 * manual/process.texi: Likewise.
33930 * manual/resource.texi: Likewise.
33931 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33932 child on GNU/Hurd.
33933 * manual/setjmp.texi: Likewise.
33934 * manual/signal.texi: Likewise.
33935 * manual/startup.texi: Likewise.
33936 * manual/stdio.texi: Likewise.
33937 * manual/terminal.texi: Likewise.
33938 (ONLCR): Document as POSIX.
33939 (OXTABS): Document availability on GNU/Linux as XTABS.
33940 (ONOEOT): Document availability separately from other bits.
33941 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33942 * manual/time.texi: Likewise.
33943 * manual/users.texi: Likewise.
33944 * INSTALL: Regenerated.
33945 * sysdeps/gnu/errlist.c: Regenerated.
33946
33947 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33948 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33949 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33950 puts.
33951 * configure: Regenerated.
33952
33953 2012-03-07 Joseph Myers <joseph@codesourcery.com>
33954
33955 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33956 default includes instead of AC_HEADER_CHECK.
33957 * sysdeps/i386/configure: Regenerated.
33958
33959 [BZ #10716]
33960 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33961 * math/s_cacoshf.c (__cacoshf): Likewise.
33962 * math/s_cacoshl.c (__cacoshl): Likewise.
33963 * math/s_casinh.c (__casinh): Set signs of result from argument.
33964 * math/s_casinhf.c (__casinhf): Likewise.
33965 * math/s_casinhl.c (__casinhl): Likewise.
33966 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33967 (casinh_test): Add more tests.
33968 * sysdeps/i386/fpu/libm-test-ulps: Update.
33969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33970
33971 2012-03-07 Ulrich Drepper <drepper@gmail.com>
33972
33973 * po/zh_TW.po: Update from translation team.
33974
33975 * login/Makefile (distribute): Remove variable.
33976 * catgets/Makefile: Likewise.
33977 * mach/Makefile: Likewise.
33978 * malloc/Makefile: Likewise.
33979 * misc/Makefile: Likewise.
33980 * iconv/Makefile: Likewise.
33981 * nscd/Makefile: Likewise.
33982 * hurd/Makefile: Likewise.
33983 * manual/Makefile: Likewise.
33984 * locale/Makefile: Likewise.
33985 * intl/Makefile: Likewise.
33986 * conform/Makefile: Likewise.
33987 * nss/Makefile: Likewise.
33988 * time/Makefile: Likewise.
33989 * soft-fp/Makefile: Likewise.
33990 * dirent/Makefile: Likewise.
33991 * gmon/Makefile: Likewise.
33992 * po/Makefile: Likewise.
33993 * rt/Makefile: Likewise.
33994 * socket/Makefile: Likewise.
33995 * math/Makefile: Likewise.
33996 * signal/Makefile: Likewise.
33997 * debug/Makefile: Likewise.
33998 * elf/Makefile: Likewise.
33999 * timezone/Makefile: Likewise.
34000 * stdlib/Makefile: Likewise.
34001 * iconvdata/Makefile: Likewise.
34002 * sunrpc/Makefile: Likewise.
34003 * io/Makefile: Likewise.
34004 * argp/Makefile: Likewise.
34005 * inet/Makefile: Likewise.
34006 * hesiod/Makefile: Likewise.
34007 * grp/Makefile: Likewise.
34008 * csu/Makefile: Likewise.
34009 * wctype/Makefile: Likewise.
34010 * crypt/Makefile: Likewise.
34011 * libio/Makefile: Likewise.
34012 * string/Makefile: Likewise.
34013 * nis/Makefile: Likewise.
34014 * resolv/Makefile: Likewise.
34015 * stdio-common/Makefile: Likewise.
34016 * wcsmbs/Makefile: Likewise.
34017 * dlfcn/Makefile: Likewise.
34018 * posix/Makefile: Likewise.
34019
34020 [BZ #6959]
34021 * timezone/Makefile: Don't install timezone files, just the programs
34022 and scripts.
34023
34024 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34025
34026 * nss/databases.def: Add missing gshadow entry.
34027
34028 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34029
34030 2012-03-06 Marek Polacek <polacek@redhat.com>
34031
34032 [BZ #13726]
34033 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34034 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34035 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34036 * stdio-common/tst-long-dbl-fphex.c: New file.
34037
34038 2012-03-06 David S. Miller <davem@davemloft.net>
34039
34040 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34041 (set_obp_int): New function.
34042 (get_obp_int): New function.
34043 (__get_clockfreq_via_dev_openprom): Likewise.
34044 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34045 Avoid unused variable warnings on 'val' and use builtin_expect.
34046 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34047 __builtin_expect.
34048 (INLINE_CLONE_SYSCALL): Likewise.
34049
34050 2012-03-05 David S. Miller <davem@davemloft.net>
34051
34052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34053
34054 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34055
34056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34057
34058 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34059 only for |x| >= 40.
34060 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34061
34062 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34063
34064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34065 Replace gettimeofday with __vdso_gettimeofday.
34066
34067 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34068 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34069 __vdso_clock_gettime and __vdso_getcpu.
34070
34071 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34072 time with __vdso_time.
34073
34074 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34075
34076 * manual/lang.texi (size_t): Note types to which size_t may be
34077 equivalent with the GNU C Library, but do not describe when
34078 differences between them are significant.
34079
34080 2012-03-05 Andreas Jaeger <aj@suse.de>
34081
34082 * sysdeps/i386/fpu/libm-test-ulps: Update.
34083
34084 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34085
34086 [BZ #3976]
34087 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34088 (__ieee754_pow): Save and restore rounding mode and use
34089 round-to-nearest for main computations.
34090 * math/libm-test.inc (pow_test_tonearest): New function.
34091 (pow_test_towardzero): Likewise.
34092 (pow_test_downward): Likewise.
34093 (pow_test_upward): Likewise.
34094 (main): Call the new functions.
34095 * sysdeps/i386/fpu/libm-test-ulps: Update.
34096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34097
34098 [BZ #3976]
34099 * math/libm-test.inc (cosh_test_tonearest): New function.
34100 (cosh_test_towardzero): Likewise.
34101 (cosh_test_downward): Likewise.
34102 (cosh_test_upward): Likewise.
34103 (sinh_test_tonearest): Likewise.
34104 (sinh_test_towardzero): Likewise.
34105 (sinh_test_downward): Likewise.
34106 (sinh_test_upward): Likewise.
34107 (main): Call the new functions.
34108 * sysdeps/i386/fpu/libm-test-ulps: Update.
34109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34110
34111 2012-03-05 Tom de Vries <tom@codesourcery.com>
34112
34113 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34114 default stack guard is set in last bytes.
34115 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34116
34117 2012-03-05 Kees Cook <keescook@chromium.org>
34118
34119 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34120
34121 [BZ #13656]
34122 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34123 possibly allocate from heap instead of stack.
34124 * stdio-common/bug-vfprintf-nargs.c: New file.
34125 * stdio-common/Makefile (tests): Add nargs overflow test.
34126
34127 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34128
34129 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34130
34131 2012-03-03 Marek Polacek <polacek@redhat.com>
34132
34133 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34134 * math/math_private.h: Likewise.
34135 * stdlib/tst-strtod.c: Likewise.
34136 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34137 * sysdeps/x86_64/bits/atomic.h: Likewise.
34138
34139 2012-03-02 David S. Miller <davem@davemloft.net>
34140
34141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34145 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34146 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34147 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34148 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34149
34150 2012-03-02 Roland McGrath <roland@hack.frob.com>
34151
34152 [BZ #13792]
34153 * manual/examples/README: New file, says the example source files
34154 can be used under GPL>=2.
34155 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34156 line containing just "*/".
34157 * manual/examples/add.c: Add copyright header (GPL>=2).
34158 * manual/examples/argp-ex1.c: Likewise.
34159 * manual/examples/argp-ex2.c: Likewise.
34160 * manual/examples/argp-ex3.c: Likewise.
34161 * manual/examples/argp-ex4.c: Likewise.
34162 * manual/examples/atexit.c: Likewise.
34163 * manual/examples/db.c: Likewise.
34164 * manual/examples/dir.c: Likewise.
34165 * manual/examples/dir2.c: Likewise.
34166 * manual/examples/execinfo.c: Likewise.
34167 * manual/examples/filecli.c: Likewise.
34168 * manual/examples/filesrv.c: Likewise.
34169 * manual/examples/fmtmsgexpl.c: Likewise.
34170 * manual/examples/genpass.c: Likewise.
34171 * manual/examples/inetcli.c: Likewise.
34172 * manual/examples/inetsrv.c: Likewise.
34173 * manual/examples/isockad.c: Likewise.
34174 * manual/examples/longopt.c: Likewise.
34175 * manual/examples/memopen.c: Likewise.
34176 * manual/examples/memstrm.c: Likewise.
34177 * manual/examples/mkfsock.c: Likewise.
34178 * manual/examples/mkisock.c: Likewise.
34179 * manual/examples/mygetpass.c: Likewise.
34180 * manual/examples/pipe.c: Likewise.
34181 * manual/examples/popen.c: Likewise.
34182 * manual/examples/rprintf.c: Likewise.
34183 * manual/examples/search.c: Likewise.
34184 * manual/examples/select.c: Likewise.
34185 * manual/examples/setjmp.c: Likewise.
34186 * manual/examples/sigh1.c: Likewise.
34187 * manual/examples/sigusr.c: Likewise.
34188 * manual/examples/stpcpy.c: Likewise.
34189 * manual/examples/strdupa.c: Likewise.
34190 * manual/examples/strftim.c: Likewise.
34191 * manual/examples/strncat.c: Likewise.
34192 * manual/examples/subopt.c: Likewise.
34193 * manual/examples/swapcontext.c: Likewise.
34194 * manual/examples/termios.c: Likewise.
34195 * manual/examples/testopt.c: Likewise.
34196 * manual/examples/testpass.c: Likewise.
34197 * manual/examples/timeval_subtract.c: Likewise.
34198
34199 [BZ #13792]
34200 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34201 function to ...
34202 * manual/timeval_subtract.c.texi: ... here, new file.
34203
34204 2012-03-02 David S. Miller <davem@davemloft.net>
34205
34206 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34207
34208 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34209
34210 [BZ #3976]
34211 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34212 (__sin): Save and restore rounding mode and use round-to-nearest
34213 for all computations.
34214 (__cos): Save and restore rounding mode and use round-to-nearest
34215 for all computations.
34216 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34217 <fenv.h>.
34218 (tan): Save and restore rounding mode and use round-to-nearest for
34219 all computations.
34220 * math/libm-test.inc (cos_test_tonearest): New function.
34221 (cos_test_towardzero): Likewise.
34222 (cos_test_downward): Likewise.
34223 (cos_test_upward): Likewise.
34224 (sin_test_tonearest): Likewise.
34225 (sin_test_towardzero): Likewise.
34226 (sin_test_downward): Likewise.
34227 (sin_test_upward): Likewise.
34228 (tan_test_tonearest): Likewise.
34229 (tan_test_towardzero): Likewise.
34230 (tan_test_downward): Likewise.
34231 (tan_test_upward): Likewise.
34232 (main): Call the new functions.
34233 * sysdeps/i386/fpu/libm-test-ulps: Update.
34234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34235
34236 [BZ #10135]
34237 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34238 small n, then large n, before computing and testing k+n.
34239 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34240 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34241 Likewise.
34242 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34243 Likewise.
34244 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34245 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34246 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34247 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34250 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34251 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34252 * math/libm-test.inc (scalbn_test): Add more tests.
34253 (scalbln_test): Likewise.
34254
34255 * manual/filesys.texi (mode_t): Describe constraints on size and
34256 signedness, not exact equivalence to a particular type.
34257 (ino_t): Likewise.
34258 (ino64_t): Likewise.
34259 (dev_t): Likewise.
34260 (nlink_t): Likewise.
34261 (blkcnt_t): Likewise.
34262 (blkcnt64_t): Likewise.
34263 * manual/llio.texi (off_t): Likewise.
34264
34265 [BZ #3976]
34266 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34267 (__ieee754_exp): Save and restore rounding mode and use
34268 round-to-nearest for all computations.
34269 * math/libm-test.inc (exp_test_tonearest): New function.
34270 (exp_test_towardzero): Likewise.
34271 (exp_test_downward): Likewise.
34272 (exp_test_upward): Likewise.
34273 (main): Call the new functions.
34274 * sysdeps/i386/fpu/libm-test-ulps: Update.
34275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34276
34277 2012-03-01 Chris Demetriou <cgd@google.com>
34278
34279 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34280 have predictable order.
34281
34282 2012-03-01 David S. Miller <davem@davemloft.net>
34283
34284 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34285
34286 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34287 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34288 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34289 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34290
34291 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34292 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34293 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34295 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34296 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34297 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34298 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34299 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34300
34301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34302
34303 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34304 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34305 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34306
34307 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34308 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34309 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34310 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34311 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34312 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34314 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34315 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34316 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34317 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34318 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34320 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34321 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34322 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34323 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34324 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34325 * sysdeps/sparc/elf/configure: Regenerated.
34326
34327 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34328
34329 * configure.in (AS, LD): Require binutils 2.20 or later.
34330 * configure: Regenerated.
34331 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34332 as required minimum version.
34333 * INSTALL: Regenerated.
34334
34335 [BZ #2541]
34336 [BZ #4108]
34337 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34338 before squaring exponent.
34339 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34340 bottom long double and 27 bits of top long double before squaring
34341 exponent.
34342 * math/libm-test.inc (erfc_test): Add more tests.
34343 * sysdeps/i386/fpu/libm-test-ulps: Update.
34344 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34346
34347 2012-03-01 Kai Tietz <ktietz@redhat.com>
34348
34349 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34350 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34351 containing bit-fields.
34352 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34353 * soft-fp/single.h (_FP_UNION_S): Likewise.
34354 * soft-fp/double.h (_FP_UNION_D): Likewise.
34355
34356 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34357
34358 [BZ #13786]
34359 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34360 not include ../strcmp.S.
34361 [USE_AS_STRNCASECMP_L]: Likewise.
34362 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34363 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34364 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34365 (__strncasecmp_l_ia32): Define as alias to
34366 __strncasecmp_l_nonascii.
34367
34368 [BZ #5794]
34369 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34370 * sysdeps/i386/fpu/libm-test-ulps: Update.
34371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34372
34373 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34375
34376 2012-02-29 Jeff Law <law@redhat.com>
34377
34378 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34379 out of bounds read.
34380
34381 2012-02-29 Marek Polacek <polacek@redhat.com>
34382
34383 [BZ #13706]
34384 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34385 * elf/Makefile: Add rules to run tst-unused-dep.out.
34386
34387 2012-02-28 David S. Miller <davem@davemloft.net>
34388
34389 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34390 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34393 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34394 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34395
34396 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34397
34398 * math/libm-test.inc (llround_test): Move one test from
34399 lround_test. Use TEST_f_L in moved test.
34400 (lround_test): Move misplaced test to llround_test. Add testcase
34401 from bug 2561.
34402
34403 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34404
34405 * sysdeps/x86_64/fpu/e_expf.S: New file.
34406 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34407
34408 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34409
34410 [BZ #13637]
34411 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34412 of remain_len that may cause incomplete multi-byte character and
34413 false match.
34414 * posix/bug-regex33.c: New file.
34415 * posix/Makefile (tests): Add bug-regex33.
34416
34417 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34418
34419 * manual/macros.texi: New file.
34420 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34421 * manual/libc.texinfo: Include macros.texi.
34422 * manual/creatute.texi: Likewise.
34423 * manual/install.texi: Likewise.
34424 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34425 @glibcadj{} in references to the GNU C Library.
34426 * manual/charset.texi: Likewise.
34427 * manual/conf.texi: Likewise.
34428 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34429 when not using those macros.
34430 * manual/creature.texi: Likewise.
34431 * manual/crypt.texi: Likewise.
34432 * manual/errno.texi: Likewise.
34433 * manual/filesys.texi: Likewise.
34434 * manual/header.texi: Likewise.
34435 * manual/install.texi: Likewise.
34436 * manual/intro.texi: Likewise.
34437 * manual/io.texi: Likewise.
34438 * manual/job.texi: Likewise.
34439 * manual/lang.texi: Likewise.
34440 * manual/libc.texiinfo: Likewise.
34441 * manual/llio.texi: Likewise.
34442 * manual/locale.texi: Likewise.
34443 * manual/maint.texi: Likewise.
34444 * manual/math.texi: Likewise.
34445 * manual/memory.texi: Likewise.
34446 * manual/message.texi: Likewise.
34447 * manual/nss.texi: Likewise.
34448 * manual/pattern.texi: Likewise.
34449 * manual/process.texi: Likewise.
34450 * manual/resource.texi: Likewise.
34451 * manual/search.texi: Likewise.
34452 * manual/setjmp.texi: Likewise.
34453 * manual/signal.texi: Likewise.
34454 * manual/socket.texi: Likewise.
34455 * manual/startup.texi: Likewise.
34456 * manual/stdio.texi: Likewise.
34457 * manual/string.texi: Likewise.
34458 * manual/sysinfo.texi: Likewise.
34459 * manual/syslog.texi: Likewise.
34460 * manual/terminal.texi: Likewise.
34461 * manual/time.texi: Likewise.
34462 * manual/users.texi: Likewise.
34463 * INSTALL: Regenerated.
34464 * NOTES: Regenerated.
34465 * sysdeps/gnu/errlist.c: Regenerated.
34466
34467 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34468
34469 * include/dirent.h: Include <dirstream.h> before
34470 <dirent/dirent.h>.
34471
34472 2012-02-28 David S. Miller <davem@davemloft.net>
34473
34474 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34475 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34476 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34477 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34478
34479 2012-02-27 David S. Miller <davem@davemloft.net>
34480
34481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34483 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34484 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34485
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34487 frame pointer instead of stack pointer relative arg slot.
34488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34489 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34490 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34491
34492 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34493
34494 [BZ #3992]
34495 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34496
34497 2012-02-27 David S. Miller <davem@davemloft.net>
34498
34499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34505 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34506 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34507
34508 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34509
34510 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34511 later. Allow versions 5-9.
34512 * configure: Regenerated.
34513 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34514 required minimum version and 4.6 as recommended version. Do not
34515 mention bugs in GCC 2.7 and 2.8.
34516 * INSTALL: Regenerated.
34517
34518 2012-02-27 David S. Miller <davem@davemloft.net>
34519
34520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34524 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34525 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34526 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34527 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34528
34529 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34530 manipulate bits before adding and subtracting TWO112[sx].
34531 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34532
34533 2012-02-27 Roland McGrath <roland@hack.frob.com>
34534
34535 [BZ #13775]
34536 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34537 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34538 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34539 being in POSIX, because they are in 1003.1-2008.
34540
34541 * rt/tst-aio.c: Include <fcntl.h>.
34542 * rt/tst-aio7.c: Likewise.
34543 * rt/tst-aio64.c: Likewise.
34544
34545 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34546
34547 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34548
34549 * manual/install.texi (--with-headers): Describe headers as
34550 interface headers, not private headers.
34551 (Specific advice for GNU/Linux systems): Describe use of headers
34552 from "make headers_install", not private headers from older
34553 kernels.
34554 * INSTALL: Regenerated.
34555 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34556 Change to 2.6.19.
34557 * sysdeps/unix/sysv/linux/configure: Regenerated.
34558
34559 * manual/llio.texi (fclean): Remove documentation.
34560
34561 * manual/Makefile (libc-texi-generated): New variable. Include
34562 version.texi.
34563 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34564 $(libc-texi-generated), not duplicated list of files.
34565 (version.texi, stamp-version): New rules.
34566 (realclean): Remove $(libc-texi-generated), not individual files
34567 from that list. Do not remove dir-add.texinfo.
34568 * manual/libc.texinfo: Comment out uses of edition numbers and
34569 references to printed manual. Remove last-updated dates.
34570 (EDITION): Comment out.
34571 (ISBN): Likewise.
34572 (VERSION, UPDATED): Remove.
34573 (version.texi): Include.
34574
34575 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34576
34577 * sysdeps/posix/spawni.c: Include <signal.h>.
34578 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34579 * sysdeps/pthread/aio_fsync.c: Likewise.
34580
34581 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34582
34583 * conform/Makefile (tests): Run only when not cross-compiling and
34584 when fast-check is not defined.
34585
34586 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34587 * conform/data/limits.h-data: Fixes for POSIX2008.
34588 * conform/run-conformtest.sh: Run all tests.
34589 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34590 headers.
34591 * include/bits/dlfcn.h: Likewise.
34592 * include/langinfo.h: Likewise.
34593 * include/monetary.h: Likewise.
34594 * include/sys/poll.h: Likewise.
34595
34596 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34597 for __USE_GNU.
34598 * posix/spawn.h: Define __need_sigset_t.
34599 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34600 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34601 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34602 to get sigevent_t only.
34603 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34604 only for __USE_GNU.
34605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34606 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34607 process_vm_writev only for __USE_GNU.
34608 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34609
34610 * conform/Makefile: For now ignore errors from run-conformtest.
34611 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34612 POSIX to avoid namespace pollution. Don't prepend headers.
34613 * conform/data/aio.h-data: Fixes for POSIX testing.
34614 * conform/data/fcntl.h-data: Likewise.
34615 * conform/data/glob.h-data: Likewise.
34616 * conform/data/grp.h-data: Likewise.
34617 * conform/data/pthread.h-data: Likewise.
34618 * conform/data/pwd.h-data: Likewise.
34619 * conform/data/signal.h-data: Likewise.
34620 * conform/data/spawn.h-data: Likewise.
34621 * conform/data/stdio.h-data: Likewise.
34622 * conform/data/stdlib.h-data: Likewise.
34623 * conform/data/stropts.h-data: Likewise.
34624 * conform/data/sys/mman.h-data: Likewise.
34625 * conform/data/sys/stat.h-data: Likewise.
34626 * conform/data/sys/types.h-data: Likewise.
34627 * conform/data/sys/wait.h-data: Likewise.
34628 * conform/data/time.h-data: Likewise.
34629 * conform/data/unistd.h-data: Likewise.
34630 * conform/data/utime.h-data: Likewise.
34631
34632 * io/sys/stat.h: fchmod was always in POSIX.
34633 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34634 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34635 * rt/aio.h: Define __need_timespec before including <time.h>.
34636 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34637 struct. Add forward declaration of pthread_attr_t and use it in
34638 sigevent.
34639 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34640 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34641 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34642 always remove CLK_TCK definition.
34643
34644 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34645
34646 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34647
34648 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34649
34650 * conform/run-conformtest.sh: New file.
34651 * conform/Makefile: Run run-conformtest for tests.
34652 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34653 support.
34654
34655 * conform/data/uchar.h-data: New file.
34656 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34657 * conform/data/arpa/inet.h-data: Likewise.
34658 * conform/data/assert.h-data: Likewise.
34659 * conform/data/complex.h-data: Likewise.
34660 * conform/data/cpio.h-data: Likewise.
34661 * conform/data/ctype.h-data: Likewise.
34662 * conform/data/dirent.h-data: Likewise.
34663 * conform/data/dlfcn.h-data: Likewise.
34664 * conform/data/errno.h-data: Likewise.
34665 * conform/data/fcntl.h-data: Likewise.
34666 * conform/data/float.h-data: Likewise.
34667 * conform/data/fmtmsg.h-data: Likewise.
34668 * conform/data/fnmatch.h-data: Likewise.
34669 * conform/data/ftw.h-data: Likewise.
34670 * conform/data/glob.h-data: Likewise.
34671 * conform/data/grp.h-data: Likewise.
34672 * conform/data/iconv.h-data: Likewise.
34673 * conform/data/inttypes.h-data: Likewise.
34674 * conform/data/langinfo.h-data: Likewise.
34675 * conform/data/libgen.h-data: Likewise.
34676 * conform/data/limits.h-data: Likewise.
34677 * conform/data/locale.h-data: Likewise.
34678 * conform/data/math.h-data: Likewise.
34679 * conform/data/monetary.h-data: Likewise.
34680 * conform/data/mqueue.h-data: Likewise.
34681 * conform/data/ndbm.h-data: Likewise.
34682 * conform/data/net/if.h-data: Likewise.
34683 * conform/data/netdb.h-data: Likewise.
34684 * conform/data/netinet/in.h-data: Likewise.
34685 * conform/data/nl_types.h-data: Likewise.
34686 * conform/data/poll.h-data: Likewise.
34687 * conform/data/pthread.h-data: Likewise.
34688 * conform/data/pwd.h-data: Likewise.
34689 * conform/data/regex.h-data: Likewise.
34690 * conform/data/sched.h-data: Likewise.
34691 * conform/data/search.h-data: Likewise.
34692 * conform/data/semaphore.h-data: Likewise.
34693 * conform/data/setjmp.h-data: Likewise.
34694 * conform/data/signal.h-data: Likewise.
34695 * conform/data/spawn.h-data: Likewise.
34696 * conform/data/stdarg.h-data: Likewise.
34697 * conform/data/stdio.h-data: Likewise.
34698 * conform/data/stdlib.h-data: Likewise.
34699 * conform/data/string.h-data: Likewise.
34700 * conform/data/strings.h-data: Likewise.
34701 * conform/data/stropts.h-data: Likewise.
34702 * conform/data/sys/ipc.h-data: Likewise.
34703 * conform/data/sys/mman.h-data: Likewise.
34704 * conform/data/sys/msg.h-data: Likewise.
34705 * conform/data/sys/resource.h-data: Likewise.
34706 * conform/data/sys/select.h-data: Likewise.
34707 * conform/data/sys/sem.h-data: Likewise.
34708 * conform/data/sys/shm.h-data: Likewise.
34709 * conform/data/sys/socket.h-data: Likewise.
34710 * conform/data/sys/stat.h-data: Likewise.
34711 * conform/data/sys/statvfs.h-data: Likewise.
34712 * conform/data/sys/time.h-data: Likewise.
34713 * conform/data/sys/timeb.h-data: Likewise.
34714 * conform/data/sys/times.h-data: Likewise.
34715 * conform/data/sys/types.h-data: Likewise.
34716 * conform/data/sys/uio.h-data: Likewise.
34717 * conform/data/sys/un.h-data: Likewise.
34718 * conform/data/sys/utsname.h-data: Likewise.
34719 * conform/data/sys/wait.h-data: Likewise.
34720 * conform/data/syslog.h-data: Likewise.
34721 * conform/data/tar.h-data: Likewise.
34722 * conform/data/termios.h-data: Likewise.
34723 * conform/data/utime.h-data: Likewise.
34724 * conform/data/utmpx.h-data: Likewise.
34725 * conform/data/varargs.h-data: Likewise.
34726 * conform/data/wchar.h-data: Likewise.
34727 * conform/data/wctype.h-data: Likewise.
34728 * conform/data/wordexp.h-data: Likewise.
34729
34730 * include/stropts.h: New file.
34731 * include/uchar.h: New file.
34732 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34733 * include/assert.h: Likewise.
34734 * include/ctype.h: Likewise.
34735 * include/dirent.h: Likewise.
34736 * include/dlfcn.h: Likewise.
34737 * include/fcntl.h: Likewise.
34738 * include/fnmatch.h: Likewise.
34739 * include/glob.h: Likewise.
34740 * include/grp.h: Likewise.
34741 * include/libio.h: Likewise.
34742 * include/locale.h: Likewise.
34743 * include/math.h: Likewise.
34744 * include/net/if.h: Likewise.
34745 * include/netdb.h: Likewise.
34746 * include/netinet/in.h: Likewise.
34747 * include/pthread.h: Likewise.
34748 * include/pwd.h: Likewise.
34749 * include/regex.h: Likewise.
34750 * include/sched.h: Likewise.
34751 * include/search.h: Likewise.
34752 * include/setjmp.h: Likewise.
34753 * include/signal.h: Likewise.
34754 * include/stdio.h: Likewise.
34755 * include/stdlib.h: Likewise.
34756 * include/string.h: Likewise.
34757 * include/sys/cdefs.h: Likewise.
34758 * include/sys/mman.h: Likewise.
34759 * include/sys/msg.h: Likewise.
34760 * include/sys/resource.h: Likewise.
34761 * include/sys/select.h: Likewise.
34762 * include/sys/socket.h: Likewise.
34763 * include/sys/stat.h: Likewise.
34764 * include/sys/statvfs.h: Likewise.
34765 * include/sys/time.h: Likewise.
34766 * include/sys/times.h: Likewise.
34767 * include/sys/uio.h: Likewise.
34768 * include/sys/utsname.h: Likewise.
34769 * include/sys/wait.h: Likewise.
34770 * include/termios.h: Likewise.
34771 * include/time.h: Likewise.
34772 * include/ulimit.h: Likewise.
34773 * include/unistd.h: Likewise.
34774 * include/utime.h: Likewise.
34775 * include/wchar.h: Likewise.
34776 * include/wctype.h: Likewise.
34777 * include/wordexp.h: Likewise.
34778
34779 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34780
34781 * time/time.h: TIME_UTC must be a macro.
34782 Make timespec_get available for ISO C11 only as well.
34783
34784 2012-02-24 Ulrich Drepper <drepper@gmail.com>
34785
34786 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34787 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34788
34789 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34790
34791 * configure.in: Use -o not -a in test for unsupported multi-arch.
34792
34793 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34794
34795 * manual/texinfo.tex: Update to version 2012-01-19.16.
34796
34797 2012-02-24 Joseph Myers <joseph@codesourcery.com>
34798
34799 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34800
34801 2012-02-24 Roland McGrath <roland@hack.frob.com>
34802
34803 [BZ #13738]
34804 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34805 * manual/fdl-1.3.texi: New file.
34806 * manual/fdl-1.1.texi: File removed.
34807
34808 [BZ #13738]
34809 * manual/libc.texinfo (FDL_VERSION): New @set.
34810 Use it for mention of FDL in cover text.
34811 (Documentation License): Use it in @include file name.
34812
34813 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34814 Roland McGrath <roland@hack.frob.com>
34815
34816 [BZ #5461]
34817 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34818 not LONG_LONG_MAX and LONG_LONG_MIN.
34819 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34820 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34821 name.
34822 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34823
34824 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34825
34826 [BZ #2547]
34827 [BZ #11365]
34828 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34829 manipulate bits before adding and subtracting TWO23[sx].
34830 * math/libm-test.inc (nearbyint_test): Add more tests.
34831
34832 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34833
34834 [BZ #2548]
34835 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34836 bits before adding and subtracting TWO23[sx].
34837 * math/libm-test.inc (rint_test): Add more tests.
34838 (rint_test_tonearest): Likewise.
34839 (rint_test_towardzero): Likewise.
34840 (rint_test_downward): Likewise.
34841 (rint_test_upward: Likewise.
34842
34843 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34844
34845 [BZ #10110]
34846 * include/stdc-predef.h: New file. Extracted from features.h.
34847 * include/features.h: Include stdc-predef.h.
34848 * Makefile (headers): Add stdc-predef.h.
34849 * CONFORMANCE (Compiler limitations): Update.
34850
34851 2012-02-22 Joseph Myers <joseph@codesourcery.com>
34852
34853 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34854
34855 2012-02-21 David S. Miller <davem@davemloft.net>
34856
34857 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34858 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34859
34860 2012-02-20 David S. Miller <davem@davemloft.net>
34861
34862 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34863 using a normal save/restore sequence, rather than allocating a
34864 dummy stack frame just to store a frame pointer and restore.
34865 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34866
34867 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34868
34869 * manual/install.texi: Fix stray word in line-wrapped comment.
34870
34871 2012-02-20 David S. Miller <davem@davemloft.net>
34872
34873 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34874 both binutils and gcc support GOTDATA.
34875
34876 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34877 "rd %pc" in the PIC register setup sequences.
34878
34879 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34880 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34881 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34882 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34883 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34884 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34885 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34888 (SYSCALL_ERROR_HANDLER): Likewise.
34889 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34890 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34892 (SYSCALL_ERROR_HANDLER): Likewise.
34893
34894 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34895 (HAVE_GCC_GOTDATA): New.
34896 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34897 relocation support in both binutils and gcc.
34898 * sysdeps/sparc/elf/configure: Regenerate.
34899
34900 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34901 * sysdeps/sparc/sparc32/elf/configure: Delete.
34902 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34903 * sysdeps/sparc/sparc64/elf/configure: Delete.
34904 * sysdeps/sparc/elf/configure.in: New file.
34905 * sysdeps/sparc/elf/configure: Generate.
34906
34907 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34908 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34909 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34910 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34911 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34912
34913 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34914
34915 * manual/install.texi: Do not mention specific glibc version
34916 numbers.
34917 * manual/libc.texinfo (VERSION, UPDATED): Update.
34918 (@copying): Use @copyright{} and range of years.
34919
34920 2012-02-21 Joseph Myers <joseph@codesourcery.com>
34921
34922 [BZ #13695]
34923 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34924 [crti.S not in sysdirs] (generated): Do not append.
34925 [crti.S not in sysdirs] (omit-deps): Likewise.
34926 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34927 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34928 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34929 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34930 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34931 Likewise.
34932 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34933 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34934 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34935 * csu/defs.awk: Remove file.
34936 * sysdeps/generic/initfini.c: Likewise.
34937 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34938 variable.
34939 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34940 Likewise.
34941
34942 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34943
34944 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34945 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34946 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34947 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34948 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34949 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34950 <bits/epoll.h>.
34951 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34952 (__EPOLL_PACKED): Define to empty if not defined by
34953 <bits/epoll.h>.
34954 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34955 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34956 bits/epoll.h.
34957
34958 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34959
34960 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34961 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34962 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34963 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34964 <bits/timerfd.h>.
34965 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34966 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34967 bits/timerfd.h.
34968
34969 2012-02-20 Joseph Myers <joseph@codesourcery.com>
34970
34971 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34972 in C locale.
34973 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34974 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34975 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34977
34978 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34979
34980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34981 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34982
34983 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34984
34985 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34986 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34987 defined.
34988 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34989 Likewise.
34990 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34991 entry for 2.16.
34992
34993 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34994
34995 * math/w_acos.c: Use non-signaling floating-point comparisons.
34996 * math/w_acosf.c: Likewise.
34997 * math/w_acosh.c: Likewise.
34998 * math/w_acoshf.c: Likewise.
34999 * math/w_acoshl.c: Likewise.
35000 * math/w_acosl.c: Likewise.
35001 * math/w_asin.c: Likewise.
35002 * math/w_asinf.c: Likewise.
35003 * math/w_asinl.c: Likewise.
35004 * math/w_atanh.c: Likewise.
35005 * math/w_atanhf.c: Likewise.
35006 * math/w_atanhl.c: Likewise.
35007 * math/w_exp2.c: Likewise.
35008 * math/w_exp2f.c: Likewise.
35009 * math/w_exp2l.c: Likewise.
35010 * math/w_j0.c: Likewise.
35011 * math/w_j0f.c: Likewise.
35012 * math/w_j0l.c: Likewise.
35013 * math/w_j1.c: Likewise.
35014 * math/w_j1f.c: Likewise.
35015 * math/w_j1l.c: Likewise.
35016 * math/w_jn.c: Likewise.
35017 * math/w_jnf.c: Likewise.
35018 * math/w_log.c: Likewise.
35019 * math/w_log10.c: Likewise.
35020 * math/w_log10f.c: Likewise.
35021 * math/w_log10l.c: Likewise.
35022 * math/w_log2.c: Likewise.
35023 * math/w_log2f.c: Likewise.
35024 * math/w_log2l.c: Likewise.
35025 * math/w_logf.c: Likewise.
35026 * math/w_logl.c: Likewise.
35027 * math/w_sqrt.c: Likewise.
35028 * math/w_sqrtf.c: Likewise.
35029 * math/w_sqrtl.c: Likewise.
35030 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35031 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35033 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35034 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35035
35036 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35037
35038 [BZ #9739]
35039 * manual/string.texi (strnlen): Use correct parameter name in
35040 equivalent expression.
35041
35042 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35043
35044 [BZ #11174]
35045 * manual/users.texi (seteuid): Consistently use neweuid for
35046 argument name.
35047
35048 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35049
35050 [BZ #13704]
35051 * manual/nss.texi (Services in the NSS configuration): Correct
35052 list of services in example configuration file.
35053
35054 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35055
35056 [BZ #11322]
35057 * manual/arith.texi: Remove statements about negative zero
35058 behaving identically to zero.
35059
35060 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35061
35062 [BZ #5993]
35063 * manual/install.texi: Do not document upgrading from libc5.
35064
35065 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35066
35067 [BZ #4596]
35068 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35069
35070 2012-02-18 David S. Miller <davem@davemloft.net>
35071
35072 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35073 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35074 %o7 across the call.
35075 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35076 instead.
35077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35078 SETUP_PIC_REG_LEAF.
35079 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35080 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35081 * sysdeps/sparc/crtn.S: Likewise.
35082
35083 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35084
35085 * aout/Makefile: Remove.
35086
35087 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35088
35089 [BZ #13058]
35090 * manual/examples/argp-ex1.c (main): Format definition in GNU
35091 style.
35092 * manual/examples/argp-ex2.c (main): Likewise.
35093 * manual/examples/argp-ex3.c (main): Likewise.
35094 * manual/examples/argp-ex4.c (main): Likewise.
35095 * manual/examples/longopt.c (main): Use new-style prototype
35096 definition.
35097 * manual/examples/strncat.c (main): Specify return type and use
35098 (void) for arguments.
35099 * manual/examples/subopt.c (main): Use char **argv argument.
35100
35101 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35102
35103 [BZ #5077]
35104 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35105 rounding modes.
35106
35107 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35108
35109 [BZ #6907]
35110 * manual/string.texi (strchr): Change when strchrnul is
35111 recommended.
35112
35113 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35114
35115 [BZ #174]
35116 * manual/locale.texi (setlocale): Document LOCPATH.
35117
35118 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35119
35120 [BZ #10210]
35121 * manual/process.texi (execle): Move @dots{} before last argument.
35122
35123 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35124
35125 [BZ #12047]
35126 * manual/charset.texi (Generic Charset Conversion): Fix typo
35127 (LC_TYPE -> LC_CTYPE).
35128
35129 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35130
35131 [BZ #5805]
35132 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35133 (scalbnf): Likewise.
35134 (scalbnl): Likewise.
35135 (scalbln): Likewise.
35136 (scalblnf): Likewise.
35137 (scalblnl): Likewise.
35138 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35139 (vwarnx): Likewise.
35140 (verr): Likewise.
35141 (verrx): Likewise.
35142 * manual/filesys.texi (telldir): Use braces around return type.
35143 * manual/llio.texi (mmap): Add space after comma.
35144 (mmap64): Likewise.
35145 * manual/math.texi (jn): Use @var{} on parameter names.
35146 (jnf): Likewise.
35147 (jnl): Likewise.
35148 (yn): Likewise.
35149 (ynf): Likewise.
35150 (ynl): Likewise.
35151 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35152 line.
35153 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35154 "...".
35155 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35156 (sched_get_priority_max): Likewise.
35157 * manual/signal.texi (sigvec): Add space after comma.
35158 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35159 names.
35160 (if_indextoname): Likewise.
35161 (if_freenameindex): Likewise.
35162 (sendto): Use ',' instead of '.' in prototype.
35163 * manual/startup.texi (syscall): Use @dots{} instead of literal
35164 "...".
35165 * manual/stdio.texi (__fpending): Separate initial words of
35166 paragraph from @deftypefun line.
35167 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35168 "...".
35169 (vsyslog): Use @var{} on parameter names.
35170 * manual/terminal.texi (stty): Use @var{} on parameter names.
35171 * manual/users.texi (getutmp): Use @var{} on parameter names.
35172 (getutmpx): Likewise.
35173
35174 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35175
35176 [BZ #6884]
35177 * manual/stdio.texi (fopen): Fix typos in description of
35178 ",ccs=STRING".
35179
35180 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35181
35182 [BZ #4026]
35183 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35184 get clock_id definition.
35185
35186 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35187
35188 [BZ #4822]
35189 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35190 (madvise): Cast every argument to void on its own.
35191
35192 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35193
35194 [BZ #9902]
35195 * manual/startup.texi (Exit Status): Fix typo.
35196
35197 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35198
35199 [BZ #10140]
35200 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35201 * manual/examples/argp-ex2.c: Likewise.
35202 * manual/examples/argp-ex3.c: Likewise.
35203
35204 2012-02-16 Richard Henderson <rth@redhat.com>
35205
35206 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35207 * sysdeps/s390/s390-32/initfini.c: Remove.
35208 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35209 * sysdeps/s390/s390-64/initfini.c: Remove.
35210
35211 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35212
35213 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35214 compiler output for sysdeps/generic/initfini.c.
35215 * sysdeps/sh/elf/initfini.c: Remove file.
35216
35217 2012-02-16 David S. Miller <davem@davemloft.net>
35218
35219 [BZ #11494]
35220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35221
35222 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35223 * sysdeps/sparc/crti.S: New file.
35224 * sysdeps/sparc/crtn.S: New file.
35225 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35226 * sysdeps/sparc/sparc64/Makefile: Likewise.
35227
35228 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35229
35230 [BZ #3335]
35231 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35232
35233 2012-02-15 Roland McGrath <roland@hack.frob.com>
35234
35235 [BZ #4822]
35236 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35237
35238 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35239 (write, read, close): Likewise.
35240 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35241
35242 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35243
35244 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35245 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35246 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35247 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35248 <bits/signalfd.h>.
35249 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35251 bits/signalfd.h.
35252
35253 2012-02-14 Marek Polacek <polacek@redhat.com>
35254
35255 * sysdeps/x86_64/crti.S: New file.
35256 * sysdeps/x86_64/crtn.S: New file.
35257 * sysdeps/x86_64/elf/initfini.c: Remove file.
35258
35259 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35260
35261 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35262 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35263 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35264 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35265 <bits/inotify.h>.
35266 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35268 bits/inotify.h.
35269
35270 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35271
35272 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35273 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35274 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35275 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35276 <bits/eventfd.h>.
35277 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35279 bits/eventfd.h.
35280
35281 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35282
35283 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35284 __feraiseexcept instead of feraiseexcept.
35285
35286 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35287 nanosleep invocations.
35288 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35289 strings, and add error checking for a nanosleep invocations.
35290
35291 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35292
35293 Replace FSF snail mail address with URLs, as per GNU coding standards.
35294 Most of the snail mail addresses were wrong anyway, and omitting
35295 them makes the source code easier to maintain. Almost all of the
35296 changes are to license notices and to locale LC_IDENTIFICATION
35297 addresses, except for this one:
35298 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35299 not its snail mail address.
35300
35301 2012-02-09 Richard Henderson <rth@twiddle.net>
35302
35303 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35304 of kernel-features.h.
35305
35306 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35307
35308 2012-02-08 Marek Polacek <polacek@redhat.com>
35309
35310 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35311 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35312 * sysdeps/gnu/_G_config.h: Likewise.
35313 * sysdeps/generic/_G_config.h: Likewise.
35314
35315 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35316
35317 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35318 tests.
35319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35320
35321 * sysdeps/powerpc/powerpc32/crti.S: New file.
35322 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35323 * sysdeps/powerpc/powerpc64/crti.S: New file.
35324 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35325
35326 * Makeconfig (have-initfini): Don't set.
35327 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35328 * configure.in (nopic_initfini): Don't substitute.
35329 * config.h.in (HAVE_INITFINI): Don't #undef.
35330 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35331 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35332
35333 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35334
35335 Support crti.S and crtn.S provided directly by architectures.
35336 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35337 [crti.S in sysdirs] (omit-deps): Likewise.
35338 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35339 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35340 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35341 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35342 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35343 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35344 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35345 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35346 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35347 compiler output for sysdeps/generic/initfini.c.
35348 * sysdeps/i386/elf/Makefile: Remove file.
35349 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35350
35351 2012-02-07 Marek Polacek <polacek@redhat.com>
35352
35353 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35354 * sysdeps/gnu/_G_config.h: Likewise.
35355 * sysdeps/mach/hurd/_G_config.h: Likewise.
35356
35357 2012-02-07 Marek Polacek <polacek@redhat.com>
35358
35359 * math/Makefile (tests): Add tst-CMPLX2.
35360 * math/tst-CMPLX2.c: New file.
35361
35362 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35363
35364 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35365
35366 * math/libm-test.inc (jn_test): Add missing L suffix.
35367
35368 2012-02-06 Marek Polacek <polacek@redhat.com>
35369
35370 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35371 * sysdeps/i386/fpu/e_powf.S: Likewise.
35372 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35373 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35374 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35375 * sysdeps/i386/fpu/e_pow.S: Likewise.
35376 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35378 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35379 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35380 * sysdeps/i386/fpu/e_log2.S: Likewise.
35381 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35382 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35383 * sysdeps/i386/fpu/e_powl.S: Likewise.
35384 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35385 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35386 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35387 * sysdeps/i386/fpu/e_logl.S: Likewise.
35388 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35389 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35390 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35391 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35392 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35393 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35394 * sysdeps/i386/fpu/e_log.S: Likewise.
35395 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35396 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35397 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35398 * sysdeps/i386/fpu/e_logf.S: Likewise.
35399 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35400 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35401 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35402 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35403 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35404 * sysdeps/i386/fpu/e_log10.S: Likewise.
35405 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35406 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35407 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35408 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35409 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35410 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35411 * sysdeps/i386/asm-syntax.h: Likewise.
35412 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35413 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35414 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35415 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35416 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35417 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35418 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35419 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35420 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35421 * sysdeps/powerpc/sysdep.h: Likewise.
35422 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35423 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35424
35425 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35426
35427 [BZ #411]
35428 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35429
35430 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35431
35432 * sysdeps/i386/sysdep.h: Include <features.h>.
35433 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35434 version.
35435
35436 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35437
35438 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35439 Define.
35440 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35441 LOAD_PIC_REG_STR.
35442
35443 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35444
35445 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35446 (SETUP_PIC_REG): Use GET_PC_THUNK.
35447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35448 macro.
35449
35450 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35451
35452 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35453 for non-PIC compilation.
35454 (SETUP_PIC_REG): Add .p2align directive.
35455 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35456 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35460 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35476 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35485 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35489 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35490 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35491 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35492 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35493 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35494 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35495 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35496
35497 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35498
35499 * math/tst-CMPLX.c: Include <stdio.h>.
35500
35501 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35502
35503 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35504 float.
35505 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35506 * sysdeps/sparc/bits/mathdef.h: Likewise.
35507
35508 2012-01-31 Marek Polacek <polacek@redhat.com>
35509
35510 * libio/libio.h: Don't define _PARAMS.
35511 * locale/programs/config.h: Don't define PARAMS.
35512 * stdlib/strtol_l.c: Likewise.
35513 (__strtol_l): Remove PARAMS from the prototype.
35514
35515 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35516
35517 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35518 names. Just use the correct names. Remove unnecessary wrapper
35519 functions.
35520 * malloc/arena.c: Likewise.
35521 * malloc/hooks.c: Likewise.
35522
35523 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35524 ARENA_TEST says not to. Simplify test for creation of a new arena.
35525 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35526
35527 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35528
35529 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35530 into tail calls.
35531 (update_get_addr): New function.
35532 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35533 GET_ADDR_MODULE parameter.
35534
35535 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35536
35537 * crypt/cert.c: Remove __STDC__ conditionals.
35538 * crypt/crypt-entry.c: Likewise.
35539 * crypt/crypt_util.c: Likewise.
35540 * libio/filedoalloc.c: Likewise.
35541 * libio/fileops.c: Likewise.
35542 * libio/genops.c: Likewise.
35543 * libio/iofclose.c: Likewise.
35544 * libio/iofdopen.c: Likewise.
35545 * libio/iofopen.c: Likewise.
35546 * libio/iofopen64.c: Likewise.
35547 * libio/iogetdelim.c: Likewise.
35548 * libio/iopopen.c: Likewise.
35549 * libio/obprintf.c: Likewise.
35550 * libio/oldfileops.c: Likewise.
35551 * libio/oldiofclose.c: Likewise.
35552 * libio/oldiofdopen.c: Likewise.
35553 * libio/oldiofopen.c: Likewise.
35554 * libio/oldiopopen.c: Likewise.
35555 * libio/wfiledoalloc.c: Likewise.
35556 * libio/wgenops.c: Likewise.
35557 * locale/programs/xmalloc.c: Likewise.
35558 * misc/syslog.c: Likewise.
35559 * stdio-common/xbug.c: Likewise.
35560 * string/memchr.c: Likewise.
35561 * string/memcmp.c: Likewise.
35562 * string/memrchr.c: Likewise.
35563 * string/rawmemchr.c: Likewise.
35564 * sysdeps/posix/getcwd.c: Likewise.
35565 * time/strftime_l.c: Likewise.
35566
35567 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35568
35569 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35570 * config.make.in (config-cflags-sse2avx): Define.
35571 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35572 Fix typo.
35573
35574 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35575
35576 * scripts/config.guess: Update from upstream config git repository.
35577 * scripts/config.sub: Likewise.
35578
35579 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35580
35581 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35582 (EM_NUM): Update.
35583 (R_TILEPRO_*, R_TILEGX_*): New macros.
35584
35585 * scripts/firstversions.awk: Fix bug in version range handling.
35586
35587 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35588
35589 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35590
35591 * include/sys/epoll.h: New file.
35592 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35593 libc_hidden_def.
35594
35595 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35596
35597 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35598 Avoid unnecessary __WORDSIZE == 64 test.
35599 (fmaxf): Use VEX format if possible.
35600 (fmax): Likewise.
35601 (fminf): Likewise.
35602 (fmin): Likewise.
35603
35604 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35605 * math/math_private.h: Remove libc_fegetround* and
35606 libc_fesetround*.
35607 * sysdeps/i386/configure.in: Check for -msse2avx.
35608 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35609 also if SSE2AVX is defined.
35610 Remove libc_fegetround* and libc_fesetround*.
35611 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35612 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35613 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35614 of HAS_YMM_USABLE.
35615 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35616 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35617 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35618 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35619 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35620
35621 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35622
35623 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35624
35625 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35626 size is not set.
35627 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35628
35629 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35630
35631 [BZ #13618]
35632 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35633 relocation.
35634 * Makeconfig (libm): Define.
35635 * elf/Makefile: Add rules to build and run tst-relsort1.
35636 * elf/tst-relsort1.c: New file.
35637 * elf/tst-relsort1mod1.c: New file.
35638 * elf/tst-relsort1mod2.c: New file.
35639
35640 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35641
35642 * math/s_ldexp.c: Remove __STDC__ conditionals.
35643 * math/s_ldexpf.c: Likewise.
35644 * math/s_ldexpl.c: Likewise.
35645 * math/s_nextafter.c: Likewise.
35646 * math/s_nexttowardf.c: Likewise.
35647 * math/s_significand.c: Likewise.
35648 * math/s_significandf.c: Likewise.
35649 * math/s_significandl.c: Likewise.
35650 * math/w_jnl.c: Likewise.
35651 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35652 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35653 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35654 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35655 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35656 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35657 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35658 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35659 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35660 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35661 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35662 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35663 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35664 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35665 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35666 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35668 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35670 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35672 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35673 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35675 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35676 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35677 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35678 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35679 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35682 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35683 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35685 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35686 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35687 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35688 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35689 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35690 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35691 * sysdeps/ieee754/k_standard.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35757 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35758 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35766 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35767 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35771 * sysdeps/ieee754/s_matherr.c: Likewise.
35772 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35773 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35774 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35776
35777 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35778
35779 * crypt/md5.h: Remove __STDC__ conditionals.
35780 * libio/libioP.h: Likewise.
35781 * locale/programs/config.h: Likewise.
35782 * sysdeps/generic/sysdep.h: Likewise.
35783 * sysdeps/i386/asm-syntax.h: Likewise.
35784 * sysdeps/s390/asm-syntax.h: Likewise.
35785 * sysdeps/unix/sysdep.h: Likewise.
35786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35788
35789 2012-01-26 Joseph Myers <joseph@codesourcery.com>
35790
35791 * libio/libio.h: Remove __STDC__ conditionals.
35792 * malloc/obstack.h: Likewise.
35793 * math/complex.h: Likewise.
35794 * math/math.h: Likewise.
35795 * sysdeps/generic/_G_config.h: Likewise.
35796 * sysdeps/gnu/_G_config.h: Likewise.
35797 * sysdeps/mach/hurd/_G_config.h: Likewise.
35798 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35799 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35800 * sysdeps/sparc/bits/mathdef.h: Likewise.
35801
35802 2012-01-26 Ulrich Drepper <drepper@gmail.com>
35803
35804 [BZ #13583]
35805 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
35806 Clean up HAS_* macros.
35807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
35808 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35809 possible.
35810 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35811 HAS_AVX.
35812 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35813 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35814 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35815 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35816 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35817
35818 2012-01-25 Joseph Myers <joseph@codesourcery.com>
35819
35820 * elf/tst-unique3.cc (gets): Remove declaration.
35821 * elf/tst-unique3lib.cc (gets): Likewise.
35822 * elf/tst-unique3lib2.cc (gets): Likewise.
35823 * elf/tst-unique4.cc (gets): Likewise.
35824
35825 2012-01-24 Ulrich Drepper <drepper@gmail.com>
35826
35827 * include/stdio.h: Add C++ protection. Add gets declarations and
35828 definitions.
35829 * debug/tst-chk1.c: Don't declare gets here.
35830 * stdio-common/tst-gets.c: Likewise.
35831
35832 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35833
35834 * posix/glob: Remove directory.
35835
35836 2012-01-24 Joseph Myers <joseph@codesourcery.com>
35837
35838 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35839
35840 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35841
35842 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35843 of the non-standard EPFNOSUPPORT.
35844
35845 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35846
35847 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35848 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35849 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35850
35851 2012-01-21 Ulrich Drepper <drepper@gmail.com>
35852
35853 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35854
35855 2012-01-20 Ulrich Drepper <drepper@gmail.com>
35856
35857 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35858 transient errors.
35859 * nscd/grpcache.c (cache_addgr): Likewise.
35860 * nscd/hstcache.c (cache_addhst): Likewise.
35861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35862 * nscd/pwdcache.c (cache_addpw): Likewise.
35863 * nscd/servicescache.c (cache_addserv): Likewise.
35864
35865 2012-01-16 Ulrich Drepper <drepper@gmail.com>
35866
35867 * malloc/malloc.c: Various cleanups.
35868 * malloc/hooks.c: Likewise.
35869
35870 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35871 * stdlib/bug-fmtmsg1.c: New file.
35872
35873 * stdlib/fmtmsg.c (init): Add missing unlock.
35874 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35875
35876 2012-01-12 Marek Polacek <polacek@redhat.com>
35877
35878 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35879 and _GNU_SOURCE.
35880
35881 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35882
35883 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35884 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35885 macro to ensure uniqueness of label name.
35886 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35887 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35888
35889 2012-01-11 Ulrich Drepper <drepper@gmail.com>
35890
35891 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35892
35893 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35894 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35895 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35897
35898 2012-01-10 Ulrich Drepper <drepper@gmail.com>
35899
35900 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35901
35902 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35903 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35904 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35905
35906 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35907
35908 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
35909 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35910 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35911 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
35912
35913 * math/bits/math-finite.h: Add ldexp support.
35914
35915 2012-01-10 Marek Polacek <polacek@redhat.com>
35916
35917 * locale/programs/localedef.h (show_archive_content): Add noreturn
35918 attribute.
35919
35920 2012-01-09 Ulrich Drepper <drepper@gmail.com>
35921
35922 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35923
35924 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35925
35926 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35927
35928 * io/Makefile (headers): Add bits/poll2.h.
35929
35930 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35931
35932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35933 typo #include statement.
35934
35935 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35936
35937 * include/sys/cdefs.h: Define __attribute_alloc_size.
35938 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35939 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35940 * elf/pldd.c: Likewise.
35941 * iconv/iconv_charmap.c: Likewise.
35942 * iconv/iconvconfig.c: Likewise.
35943 * iconv/strtab.c: Likewise.
35944 * locale/programs/locale.c: Likewise.
35945 * locale/programs/localedef.h: Likewise.
35946 * locale/programs/simple-hash.c: Likewise.
35947 * nscd/nscd.h: Likewise.
35948 * nss/makedb.c: Likewise.
35949 * sysdeps/generic/ldconfig.h: Likewise.
35950 * locale/programs/localedef.c: Remove xmalloc prototype.
35951 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35952
35953 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35954
35955 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35956 appropriate.
35957
35958 2012-01-08 Ulrich Drepper <drepper@gmail.com>
35959
35960 * math/Makefile (tests): Add tst-CMPLX.
35961 * math/tst-CMPLX.c: New file.
35962
35963 * math/complex.h (CMPLXL): Fix typo.
35964
35965 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35966 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35967 GLIBC_2.16.
35968 * debug/tst-chk1.c: Add poll and ppoll tests.
35969 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35970 * include/sys/poll.h: Add hidden proto for ppoll.
35971 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35972 * sysdeps/mach/hurd/ppoll.c: Likewise.
35973 * io/ppoll.c: Likewise.
35974 * debug/poll_chk.c: New file.
35975 * debug/ppoll_chk.c: New file.
35976 * include/bits/poll2.h: New file.
35977 * io/bits/poll2.h: New file.
35978
35979 [BZ #1350]
35980 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35981
35982 * configure.in: static is always set to yes. Remove.
35983 * config.make.in: Don't set build-static.
35984 * Makeconfig: Remove use of build-static.
35985 * dlfcn/Makefile: Likewise.
35986 * elf/Makefile: Likewise.
35987 * math/Makefile: Likewise.
35988 * misc/Makefile: Likewise.
35989 * nptl/Makefile: Likewise.
35990 * sysdeps/mach/hurd/Makefile: Likewise.
35991
35992 * configure.in: PWD_P is not used anymore.
35993 * config.make.in: Remove PWD_P entry.
35994
35995 * configure.in: Remove last remnants of RANLIB.
35996 No need to check for signed size_t anymore.
35997 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35998 and IA-64.
35999 Remove __builtin_expect test because we require at least gcc 3.4.
36000 * aclocal.m4: Likewise.
36001
36002 * wcsmbs/mbrtoc16.c: Implement using towc function.
36003 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36004 * wcsmbs/wcsmbsload.c: Likewise.
36005 * iconv/gconv_simple.c: Likewise.
36006 * iconv/gconv_int.h: Likewise.
36007 * iconv/gconv_builtin.h: Likewise.
36008 * iconv/iconv_prog.c: Remove CHAR16 handling.
36009
36010 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36011
36012 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36013
36014 * configure.in: Remove --with-elf and --enable-bounded options.
36015 Dont set base_machine for ia64. More non-ELF conditions removed.
36016 Remove testing and setting of leading underscore information.
36017 * config.make.in (build-bounded): Set to no.
36018 * config.h.in: Remove NO_UNDERSCORES entry.
36019 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36020 them.
36021 * csu/start.c: Remove !NO_UNDERSCORE code.
36022 * locale/localeinfo.h: Likewise.
36023 * sysdeps/generic/machine-gmon.h: Likewise.
36024 * sysdeps/generic/sysdep.h: Likewise.
36025 * sysdeps/i386/sysdep.h: Likewise.
36026 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36027 * sysdeps/mach/sysdep.h: Likewise.
36028 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36029 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36030 * sysdeps/sh/sysdep.h: Likewise.
36031 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36032 * sysdeps/unix/i386/sysdep.S: Likewise.
36033 * sysdeps/unix/sparc/start.c: Likewise.
36034 * sysdeps/unix/sparc/sysdep.S: Likewise.
36035 * sysdeps/unix/sparc/sysdep.h: Likewise.
36036 * sysdeps/unix/start.c: Likewise.
36037 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36038 * sysdeps/x86_64/sysdep.h: Likewise.
36039
36040 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36041
36042 [BZ #13553]
36043 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36044 for non-gcc.
36045 * argp/argp-fmtstream.h: Use const instead __const.
36046 * argp/argp.h: Likewise.
36047 * assert/assert.h: Likewise.
36048 * bits/fenv.h: Likewise.
36049 * bits/sched.h: Likewise.
36050 * bits/sigset.h: Likewise.
36051 * bits/sigthread.h: Likewise.
36052 * catgets/nl_types.h: Likewise.
36053 * conform/data/pthread.h-data: Likewise.
36054 * crypt/crypt-private.h: Likewise.
36055 * crypt/crypt.h: Likewise.
36056 * crypt/crypt_util.c: Likewise.
36057 * ctype/ctype.h: Likewise.
36058 * debug/execinfo.h: Likewise.
36059 * debug/mbsnrtowcs_chk.c: Likewise.
36060 * debug/mbsrtowcs_chk.c: Likewise.
36061 * debug/wcsnrtombs_chk.c: Likewise.
36062 * debug/wcsrtombs_chk.c: Likewise.
36063 * debug/wcstombs_chk.c: Likewise.
36064 * dirent/dirent.h: Likewise.
36065 * dlfcn/dlfcn.h: Likewise.
36066 * elf/neededtest4.c: Likewise.
36067 * grp/grp.h: Likewise.
36068 * gshadow/gshadow.h: Likewise.
36069 * iconv/gconv.h: Likewise.
36070 * iconv/gconv_int.h: Likewise.
36071 * iconv/gconv_simple.c: Likewise.
36072 * iconv/iconv.h: Likewise.
36073 * iconv/loop.c: Likewise.
36074 * iconv/skeleton.c: Likewise.
36075 * include/aio.h: Likewise.
36076 * include/aliases.h: Likewise.
36077 * include/argz.h: Likewise.
36078 * include/arpa/inet.h: Likewise.
36079 * include/assert.h: Likewise.
36080 * include/dirent.h: Likewise.
36081 * include/dlfcn.h: Likewise.
36082 * include/execinfo.h: Likewise.
36083 * include/fcntl.h: Likewise.
36084 * include/fenv.h: Likewise.
36085 * include/glob.h: Likewise.
36086 * include/grp.h: Likewise.
36087 * include/libintl.h: Likewise.
36088 * include/mntent.h: Likewise.
36089 * include/netdb.h: Likewise.
36090 * include/pwd.h: Likewise.
36091 * include/rpc/netdb.h: Likewise.
36092 * include/sched.h: Likewise.
36093 * include/search.h: Likewise.
36094 * include/shadow.h: Likewise.
36095 * include/signal.h: Likewise.
36096 * include/stdio.h: Likewise.
36097 * include/stdlib.h: Likewise.
36098 * include/string.h: Likewise.
36099 * include/sys/socket.h: Likewise.
36100 * include/sys/stat.h: Likewise.
36101 * include/sys/statfs.h: Likewise.
36102 * include/sys/statvfs.h: Likewise.
36103 * include/sys/syslog.h: Likewise.
36104 * include/sys/time.h: Likewise.
36105 * include/sys/uio.h: Likewise.
36106 * include/time.h: Likewise.
36107 * include/unistd.h: Likewise.
36108 * include/utmp.h: Likewise.
36109 * include/wchar.h: Likewise.
36110 * include/wctype.h: Likewise.
36111 * inet/aliases.h: Likewise.
36112 * inet/arpa/inet.h: Likewise.
36113 * inet/netinet/ether.h: Likewise.
36114 * inet/netinet/in.h: Likewise.
36115 * intl/libintl.h: Likewise.
36116 * io/bits/fcntl2.h: Likewise.
36117 * io/fcntl.h: Likewise.
36118 * io/ftw.h: Likewise.
36119 * io/sys/poll.h: Likewise.
36120 * io/sys/stat.h: Likewise.
36121 * io/sys/statfs.h: Likewise.
36122 * io/sys/statvfs.h: Likewise.
36123 * io/utime.h: Likewise.
36124 * libio/bits/stdio.h: Likewise.
36125 * libio/bits/stdio2.h: Likewise.
36126 * libio/libio.h: Likewise.
36127 * libio/libioP.h: Likewise.
36128 * libio/stdio.h: Likewise.
36129 * locale/lc-ctype.c: Likewise.
36130 * locale/locale.h: Likewise.
36131 * login/utmp.h: Likewise.
36132 * malloc/arena.c: Likewise.
36133 * malloc/malloc.c: Likewise.
36134 * malloc/malloc.h: Likewise.
36135 * malloc/mcheck.c: Likewise.
36136 * malloc/mtrace.c: Likewise.
36137 * math/bits/mathcalls.h: Likewise.
36138 * math/fenv.h: Likewise.
36139 * math/math_private.h: Likewise.
36140 * misc/bits/error.h: Likewise.
36141 * misc/bits/syslog.h: Likewise.
36142 * misc/err.h: Likewise.
36143 * misc/error.h: Likewise.
36144 * misc/fstab.h: Likewise.
36145 * misc/mntent.h: Likewise.
36146 * misc/regexp.h: Likewise.
36147 * misc/search.h: Likewise.
36148 * misc/sgtty.h: Likewise.
36149 * misc/sys/mman.h: Likewise.
36150 * misc/sys/syslog.h: Likewise.
36151 * misc/sys/uio.h: Likewise.
36152 * misc/sys/xattr.h: Likewise.
36153 * misc/ttyent.h: Likewise.
36154 * nis/rpcsvc/ypclnt.h: Likewise.
36155 * nss/nss.h: Likewise.
36156 * posix/bits/unistd.h: Likewise.
36157 * posix/fnmatch.h: Likewise.
36158 * posix/glob.h: Likewise.
36159 * posix/sched.h: Likewise.
36160 * posix/spawn.h: Likewise.
36161 * posix/sys/wait.h: Likewise.
36162 * posix/unistd.h: Likewise.
36163 * posix/wordexp.h: Likewise.
36164 * pwd/pwd.h: Likewise.
36165 * resolv/netdb.h: Likewise.
36166 * resource/sys/resource.h: Likewise.
36167 * rt/aio.h: Likewise.
36168 * rt/bits/mqueue2.h: Likewise.
36169 * rt/mqueue.h: Likewise.
36170 * shadow/shadow.h: Likewise.
36171 * signal/signal.h: Likewise.
36172 * socket/send.c: Likewise.
36173 * socket/sendto.c: Likewise.
36174 * socket/sys/socket.h: Likewise.
36175 * stdio-common/printf.h: Likewise.
36176 * stdlib/bits/stdlib.h: Likewise.
36177 * stdlib/fmtmsg.h: Likewise.
36178 * stdlib/monetary.h: Likewise.
36179 * stdlib/stdlib.h: Likewise.
36180 * stdlib/ucontext.h: Likewise.
36181 * streams/stropts.h: Likewise.
36182 * string/argz.h: Likewise.
36183 * string/bits/string2.h: Likewise.
36184 * string/string.h: Likewise.
36185 * string/strings.h: Likewise.
36186 * sunrpc/rpc/auth.h: Likewise.
36187 * sunrpc/rpc/auth_des.h: Likewise.
36188 * sunrpc/rpc/clnt.h: Likewise.
36189 * sunrpc/rpc/netdb.h: Likewise.
36190 * sunrpc/rpc/pmap_clnt.h: Likewise.
36191 * sunrpc/rpc/xdr.h: Likewise.
36192 * sysdeps/generic/inttypes.h: Likewise.
36193 * sysdeps/generic/net/if.h: Likewise.
36194 * sysdeps/generic/sys/swap.h: Likewise.
36195 * sysdeps/gnu/net/if.h: Likewise.
36196 * sysdeps/gnu/utmpx.h: Likewise.
36197 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36198 * sysdeps/i386/i486/bits/string.h: Likewise.
36199 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36200 * sysdeps/s390/bits/string.h: Likewise.
36201 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36202 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36203 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36204 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36205 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36206 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36207 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36208 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36209 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36210 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36211 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36212 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36213 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36214 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36215 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36216 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36217 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36219 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36220 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36221 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36222 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36223 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36224 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36225 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36226 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36227 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36228 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36229 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36230 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36231 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36232 * sysvipc/sys/ipc.h: Likewise.
36233 * sysvipc/sys/msg.h: Likewise.
36234 * sysvipc/sys/sem.h: Likewise.
36235 * sysvipc/sys/shm.h: Likewise.
36236 * termios/termios.h: Likewise.
36237 * time/sys/time.h: Likewise.
36238 * time/time.h: Likewise.
36239 * wcsmbs/bits/wchar2.h: Likewise.
36240 * wcsmbs/uchar.h: Likewise.
36241 * wcsmbs/wchar.h: Likewise.
36242 * wctype/wctype.h: Likewise.
36243
36244 [BZ #13551]
36245 * Makeconfig: Remove all but ELF support including AIX support.
36246 * Makerules: Likewise.
36247 * config.h.in: Likewise.
36248 * config.make.in: Likewise.
36249 * configure: Likewise.
36250 * configure.in: Likewise.
36251 * csu/Makefile: Likewise.
36252 * csu/version.c: Likewise.
36253 * debug/Makefile: Likewise.
36254 * dlfcn/Makefile: Likewise.
36255 * elf/Makefile: Likewise.
36256 * extra-lib.mk: Likewise.
36257 * iconv/Makefile: Likewise.
36258 * include/libc-symbols.h: Likewise.
36259 * include/shlib-compat.h: Likewise.
36260 * resolv/Makefile: Likewise.
36261 * resolv/res_libc.c: Likewise.
36262 * rt/Makefile: Likewise.
36263 * sysdeps/i386/asm-syntax.h: Likewise.
36264 * sysdeps/i386/sysdep.h: Likewise.
36265 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36266 * sysdeps/mach/sysdep.h: Likewise.
36267 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36268 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36269 * sysdeps/s390/asm-syntax.h: Likewise.
36270 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36272 * sysdeps/sh/sysdep.h: Likewise.
36273 * sysdeps/unix/sparc/sysdep.h: Likewise.
36274 * sysdeps/wordsize-32/divdi3.c: Likewise.
36275 * sysdeps/x86_64/sysdep.h: Likewise.
36276
36277 * argp/Versions: Remove _argp_unlock_xxx.
36278
36279 [BZ #13559]
36280 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36281 * abilist/libBrokenLocale.abilist: Likewise.
36282 * abilist/libanl.abilist: Likewise.
36283 * abilist/libc.abilist: Likewise.
36284 * abilist/libcrypt.abilist: Likewise.
36285 * abilist/libdl.abilist: Likewise.
36286 * abilist/libm.abilist: Likewise.
36287 * abilist/libnsl.abilist: Likewise.
36288 * abilist/libpthread.abilist: Likewise.
36289 * abilist/libresolv.abilist: Likewise.
36290 * abilist/librt.abilist: Likewise.
36291 * abilist/libthread_db.abilist: Likewise.
36292 * abilist/libutil.abilist: Likewise.
36293 * abilist/libnss_db.abilist: New file.
36294
36295 * scripts/abilist.awk: Add support for indirect functions.
36296
36297 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36298
36299 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36300
36301 * shlib-versions: Remove entries for ports architectures.
36302
36303 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36304 files in ports.
36305 * elf/stackguard-macros.h: Remove support for IA-64.
36306 * elf/tst-auditmod1.c: Likewise.
36307 * sysdeps/generic/ldsodefs.h: Likewise.
36308
36309 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36310 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36311 configure files.
36312
36313 [BZ #13552]
36314 * configure.in: Remove --enable-omitfp support.
36315 * FAQ.in: Adjust.
36316 * config.make.in: Likewise.
36317 * Makeconfig: Likewise.
36318 * manual/install.texi: Likewise.
36319
36320 In case anyone cares, the IA-64 architecture could move to ports.
36321 * sysdeps/ia64/*: Removed.
36322 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36323 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36324
36325 [BZ #13555]
36326 * configure.in: Remove entries for unsupported architectures.
36327
36328 [BZ #13533]
36329 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36330 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36331 routines.
36332 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36333 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36334 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36335 fall back to using wcrtomb.
36336 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36337 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36338 renaming.
36339 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36340 * wcsmbs/tst-c16c32-1.c: New file.
36341
36342 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36343 local variable.
36344
36345 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36346
36347 * elf/tst-unique3.cc: Add explicit declaration of gets.
36348 * elf/tst-unique3lib.cc: Likewise.
36349 * elf/tst-unique3lib2.cc: Likewise.
36350 * elf/tst-unique4.cc: Likewise.
36351
36352 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36353
36354 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36355
36356 [BZ #13566]
36357 * assert/assert.h (static_assert): Don't define for C++.
36358 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36359 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36360
36361 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36362
36363 * iconv/loop.c (single loop): Fix assertion in storing of
36364 remaining bytes.
36365
36366 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36367
36368 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36369
36370 * posix/getconf.c: Update copyright year.
36371 * nss/getent.c: Likewise.
36372 * nss/makedb.c: Likewise.
36373 * iconv/iconvconfig.c: Likewise.
36374 * iconv/iconv_prog.c: Likewise.
36375 * elf/ldconfig.c: Likewise.
36376 * elf/pldd.c: Likewise.
36377 * elf/sotruss.ksh: Likewise.
36378 * catgets/gencat.c: Likewise.
36379 * csu/version.c: Likewise.
36380 * elf/ldd.bash.in: Likewise.
36381 * elf/sprof.c (print_version): Likewise.
36382 * locale/programs/locale.c: Likewise.
36383 * locale/programs/localedef.c: Likewise.
36384 * login/programs/pt_chown.c: Likewise.
36385 * nscd/nscd.c (print_version): Likewise.
36386 * debug/xtrace.sh: Likewise.
36387 * malloc/memusage.sh: Likewise.
36388 * malloc/mtrace.pl: Likewise.
36389 * debug/catchsegv.sh: Likewise.
36390
36391 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36392
36393 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36394 pure attribute.
36395
36396 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36397
36398 [BZ #13533]
36399 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36400 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36401 transformations.
36402 * iconv/gconv_int.h: Likewise.
36403 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36404 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36405 from libc for GLIBC_2.16.
36406 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36407 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36408 * wcsmbs/uchar.h: Really define mbstate_t.
36409 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36410 * wcsmbs/c16rtomb.c: New file.
36411 * wcsmbs/mbrtoc16.c: New file.
36412 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36413 for C/POSIX locale.
36414 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36415 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36416
36417 * wcsmbs/wchar.h: Add missing __restrict.
36418
36419 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36420
36421 [BZ #13532]
36422 * time/Makefile (routines): Add timespec_get.
36423 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36424 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36425 timespec for ISO C11.
36426 * time/timespec_get.c: New file.
36427 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36428 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36429
36430 [BZ #13531]
36431 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36432 * stdlib/stdlib.h: Declare aligned_alloc.
36433 * Versions.def: Add GLIBC_2.16 for libc.
36434 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36435
36436 [BZ 13527]
36437 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36438 ISO C11.
36439
36440 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36441 code.
36442
36443 [BZ #13528]
36444 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36445
36446 [BZ #13529]
36447 * assert/assert.h (static_assert): Define.
36448
36449 * version.h: Update for 2.16 development version.
36450
36451 [BZ #13526]
36452 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36453 _ISOC11_SOURCE.
36454
36455 * version.h (RELEASE): Bump for 2.15 release.
36456 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36457
36458 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36459 Patch by Marek Polacek <mpolacek@redhat.com>.
36460
36461 * bits/byteswap.h: Protect long long constants with __extension__.
36462 * sysdeps/i386/bits/byteswap.h: Likewise.
36463 * sysdeps/ia64/bits/byteswap.h: Likewise.
36464 * sysdeps/s390/bits/byteswap.h: Likewise.
36465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36466
36467 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36468
36469 [BZ #13540]
36470 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36471 destination buffer.
36472 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36473
36474 2011-12-23 Marek Polacek <polacek@redhat.com>
36475
36476 * elf/dl-addr.c (determine_info): Add inline keyword.
36477 * elf/tst-auditmod4b.c (check_avx): Likewise.
36478 * elf/tst-auditmod6b.c (check_avx): Likewise.
36479 * elf/tst-auditmod6c.c (check_avx): Likewise.
36480 * elf/tst-auditmod7b.c (check_avx): Likewise.
36481
36482 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36483
36484 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36485 !__SSE_MATH__.
36486
36487 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36488
36489 [BZ #13540]
36490 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36491 processing for last bytes.
36492
36493 2011-08-06 Bruno Haible <bruno@clisp.org>
36494
36495 [BZ #13061]
36496 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36497 U+0385, not to U+1FEE.
36498
36499 [BZ #13062]
36500 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36501 entry for U+00A5 U+0301.
36502
36503 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36504
36505 [BZ #13166]
36506 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36507 buffer for the output is too small.
36508
36509 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36510 optimization.
36511
36512 [BZ #13185]
36513 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36514 SSE flags if possible.
36515
36516 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36517
36518 [BZ #13540]
36519 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36520 processing for last bytes.
36521
36522 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36523
36524 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36525 (syscall-list-default-options, syscall-list-default-condition)
36526 (syscall-list-includes): Define.
36527 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36528 list of ABIs and options and #if conditions for each ABI. Do not
36529 handle common syscalls between ABIs specially.
36530 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36531 Remove.
36532 (syscall-list-variants, syscall-list-32bit-options)
36533 (syscall-list-32bit-condition, syscall-list-64bit-options)
36534 (syscall-list-64bit-condition): Define.
36535 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36536 (syscall-list-variants, syscall-list-32bit-options)
36537 (syscall-list-32bit-condition, syscall-list-64bit-options)
36538 (syscall-list-64bit-condition): Define.
36539 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36540 Remove.
36541 (syscall-list-variants, syscall-list-32bit-options)
36542 (syscall-list-32bit-condition, syscall-list-64bit-options)
36543 (syscall-list-64bit-condition): Define.
36544 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36545 Remove.
36546 (syscall-list-variants, syscall-list-32bit-options)
36547 (syscall-list-32bit-condition, syscall-list-64bit-options)
36548 (syscall-list-64bit-condition): Define.
36549
36550 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36551
36552 * locale/iso-639.def: Add brx entry.
36553
36554 [BZ #13328]
36555 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36556 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36557
36558 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36559 __feraiseexcept_renamed.
36560
36561 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36562
36563 [BZ #13538]
36564 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36565 EPOLLET with unsigned values.
36566 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36567 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36568
36569 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36570 to large cancellation.
36571 * math/s_cacoshf.c: Likewise.
36572 * math/s_cacoshl.c: Likewise.
36573
36574 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36575
36576 [BZ #13305]
36577 [BZ #12786]
36578 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36579 * math/s_cacoshf.c: Likewise.
36580 * math/s_cacoshl.c: Likewise.
36581
36582 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36583
36584 [BZ #13439]
36585 * iconv/gconv.h: Define __GCONV_SWAP.
36586 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36587 * iconvdata/utf-16.c: Likewise.
36588 * iconvdata/utf-32.c: Likewise.
36589
36590 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36591
36592 [BZ #13524]
36593 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36594 numerator after shifting it by one limb.
36595
36596 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36597
36598 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36599 under [__USE_EXTERN_INLINES].
36600
36601 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36602
36603 [BZ #13446]
36604 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36605
36606 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36607
36608 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36609 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36610 optimized code.
36611 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36612 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36613 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36614 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36615 for strncasecmp/strncasecmp_l compilation.
36616 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36617 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36618
36619 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36620
36621 [BZ #13484]
36622 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36623 of __asm__.
36624
36625 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36626
36627 [BZ #13506]
36628 * time/tzfile.c (__tzfile_read): Check values from file header.
36629
36630 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36631
36632 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36633 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36634 * powerpc/powerpc32/dl-start.S: Likewise.
36635 * powerpc/powerpc32/elf/start.S: Likewise.
36636 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36637 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36638 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36639 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36640 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36641 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36642 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36643 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36644 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36645 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36646 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36647 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36648 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36649 * powerpc/powerpc32/memset.S: Likewise.
36650 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36651 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36652 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36653 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36654 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36655 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36656 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36657 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36658 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36659 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36660 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36661 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36662 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36663
36664 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36665
36666 * math/libm-test.inc: Added more nearbyint tests.
36667 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36669 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36670 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36671
36672 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36673
36674 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36675 FD_CLOEXEC.
36676
36677 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36678
36679 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36680 Add wcscpy-ssse3 wcscpy-c.
36681 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36682 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36683 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36684 * sysdeps/x86_64/wcschr.S: New file.
36685 * sysdeps/x86_64/wcsrchr.S: New file.
36686 * string/test-strcmp.c: Remove checking of wcscmp function for
36687 wrong alignments.
36688 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36689 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36690 wcsrchr-sse2 wcsrchr-c.
36691 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36692 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36693 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36694 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36695 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36696 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36697 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36698 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36699 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36700 * wcsmbc/wcschr.c (WCSCHR): New macro.
36701
36702 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36703
36704 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36705 * wcsmbs/test-wcsrchr.c: New file.
36706 * string/test-strrchr.c: Add wcsrchr support.
36707 (WIDE): New macro.
36708 * wcsmbs/test-wcscpy.c: New file.
36709 * string/test-strcpy.c: Add wcscpy support.
36710 (WIDE): New macro.
36711
36712 2011-12-10 Ulrich Drepper <drepper@gmail.com>
36713
36714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36715 the inner loop.
36716
36717 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36718
36719 [BZ #13472]
36720 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36721
36722 2011-12-04 Ulrich Drepper <drepper@gmail.com>
36723
36724 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
36725 Minor optimizations.
36726
36727 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36728 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36729 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36730
36731 2011-12-03 Ulrich Drepper <drepper@gmail.com>
36732
36733 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36734 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36735 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36736 for gcc to avoid warnings.
36737 * inet/Makefile (tests): Add tst-checks.
36738 * inet/tst-checks.c: New file.
36739
36740 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36741 warning.
36742
36743 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36744 __wmemcmp_sse2.
36745
36746 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36747 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36748
36749 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36750
36751 2011-12-02 Ulrich Drepper <drepper@gmail.com>
36752
36753 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36754 problem.
36755
36756 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36757
36758 2011-11-29 Joseph Myers <joseph@codesourcery.com>
36759
36760 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36761 conditional on GCC version.
36762 (__arch_compare_and_exchange_val_8_acq)
36763 (__arch_compare_and_exchange_val_16_acq)
36764 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36765 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36766 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36767
36768 2011-12-02 Joseph Myers <joseph@codesourcery.com>
36769
36770 * sysdeps/sh/backtrace.c: New file.
36771
36772 2011-12-02 Andreas Schwab <schwab@redhat.com>
36773
36774 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36775 parenthesis.
36776
36777 2011-12-01 Andreas Schwab <schwab@redhat.com>
36778
36779 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36780 falling back to utime.
36781
36782 2011-11-30 Andreas Schwab <schwab@redhat.com>
36783
36784 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36785 expectations for float.
36786
36787 2011-11-29 Andreas Schwab <schwab@redhat.com>
36788
36789 * locale/weight.h (findidx): Add parameter len.
36790 * locale/weightwc.h (findidx): Likewise.
36791 * posix/fnmatch_loop.c (FCT): Adjust caller.
36792 * posix/regcomp.c (build_equiv_class): Likewise.
36793 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36794 * posix/regexec.c (check_node_accept_bytes): Likewise.
36795 * string/strcoll_l.c (STRCOLL): Likewise.
36796 * string/strxfrm_l.c (STRXFRM): Likewise.
36797
36798 2011-11-17 Ulrich Drepper <drepper@gmail.com>
36799
36800 * Makefile.in: Remove CVSOPT handling.
36801 * configure.in: Remove use of AC_REVISION.
36802 * iconvdata/Makefile (distribute): No need to filter out CVS.
36803 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36804 handling.
36805
36806 2011-11-16 Andreas Schwab <schwab@redhat.com>
36807
36808 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36809 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36810 [USE_AS_STRNCASECMP_L]: Likewise.
36811 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36812 NO_TLS_DIRECT_SEG_REFS.
36813 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36814 Fix argument offsets for non-PIC.
36815 [USE_AS_STRNCASECMP_L]: Likewise.
36816 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36817 NO_TLS_DIRECT_SEG_REFS.
36818
36819 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36820
36821 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
36822 O_CLOEXEC.
36823 * locale/loadlocale.c (_nl_load_locale): Likewise.
36824
36825 2011-11-15 Andreas Schwab <schwab@redhat.com>
36826
36827 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36828 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36829 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36830 (SYSCALL_GETTIME): Set errno on error.
36831
36832 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36833 count references to noai6ai_cached.
36834
36835 2011-11-15 Ulrich Drepper <drepper@gmail.com>
36836
36837 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36838
36839 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36840 FD_CLOEXEC for /proc/self/maps.
36841
36842 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36843 FD_CLOEXEC for /proc/meminfo.
36844
36845 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36846 gai.conf.
36847
36848 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36849 FD_CLOEXEC for given file.
36850
36851 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36852
36853 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36854 FD_CLOEXEC for /etc/hosts.
36855 (_gethtent): Likewise.
36856
36857 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36858
36859 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36860 cancellation and set FD_CLOEXEC for /etc/netgroup.
36861
36862 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36863 reading /etc/publickey.
36864
36865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36866 allow cancellation when reading /etc/group.
36867
36868 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36869 cancellation.
36870 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36871
36872 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36873 when using data file.
36874
36875 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36876
36877 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36878 (write_nis_obj): Use "c" and "e" in fopen.
36879
36880 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36881
36882 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36883
36884 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36885
36886 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36887
36888 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36889 locale.alias.
36890
36891 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36892
36893 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36894
36895 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36896
36897 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36898 file parsing and set FD_CLOEXEC.
36899
36900 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36901
36902 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36903
36904 2011-11-14 Andreas Schwab <schwab@redhat.com>
36905
36906 * malloc/arena.c (arena_get2): Don't call reused_arena when
36907 _int_new_arena failed.
36908
36909 2011-11-14 Ulrich Drepper <drepper@gmail.com>
36910
36911 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36912 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36913 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36914 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36915 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36916 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36917 to compile strcasecmp and strncasecmp.
36918 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36919 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36920
36921 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36922
36923 2011-11-13 Ulrich Drepper <drepper@gmail.com>
36924
36925 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36926 locale-defines.sym to gen-as-const-headers.
36927 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36928 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36929 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36930 to compile strcasecmp and strncasecmp.
36931 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36932 strcasecmp_l and strncasecmp_l.
36933 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36934 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36935 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36936 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36937 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36938 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36939 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36940 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36941 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36942 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36943 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36944
36945 2011-11-12 Ulrich Drepper <drepper@gmail.com>
36946
36947 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36948 result of SYSDEP_GETTIME_CPU to retval.
36949 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36950 parameter list to macro. Remove trailing semicolon. Adjust users.
36951
36952 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36953 variable.
36954
36955 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36956 mantissa words.
36957 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36958
36959 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36960 from unused variable.
36961
36962 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36963 DWARF definitions.
36964 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36965 for assembling.
36966
36967 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36968 over namespaces.
36969
36970 * sunrpc/rpc_prot.c (rejected): Fix case value.
36971
36972 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36973 unsigned long long int to avoid warnings in shift.
36974
36975 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36976 of use of trans.
36977 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36978 variable tmp.
36979
36980 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36981 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36982 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36983
36984 * nis/nis_table.c (nis_list): Use variable of correct type for
36985 result of __follow_path call.
36986
36987 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36988
36989 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36990 of math functions ceil, trunc, floor, round, and sqrt, when
36991 avaliable on the platform.
36992 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36993 name clash.
36994 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36995 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36996 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36997
36998 2011-10-30 Marek Polacek <mpolacek@redhat.com>
36999
37000 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37001 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37002
37003 2011-11-11 Roland McGrath <roland@hack.frob.com>
37004
37005 * include/unistd.h: Fix __readlink return type.
37006 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37007
37008 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37009
37010 * stdlib/ucontext.h: Undo last change for makecontext.
37011
37012 2011-11-11 Andreas Schwab <schwab@redhat.com>
37013
37014 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37015
37016 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37017 * setjmp/setjmp.h: Mark functions as non-leaf.
37018 * setjmp/bits/setjmp2.h: Likewise.
37019 * stdlib/ucontext.h: Likewise.
37020
37021 2011-11-10 Andreas Schwab <schwab@redhat.com>
37022
37023 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37024 (reused_arena): Don't check arena limit.
37025 (arena_get2): Atomically check arena limit.
37026
37027 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37028
37029 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37030 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37031
37032 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37033 instructions.
37034
37035 2011-11-07 Andreas Schwab <schwab@redhat.com>
37036
37037 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37038 handler when locking.
37039
37040 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37041 Fix size of allocated buffer.
37042
37043 2011-11-04 Andreas Schwab <schwab@redhat.com>
37044
37045 [BZ #10103]
37046 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37047 declarations for long double functions.
37048 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37049
37050 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37051
37052 2011-11-03 Andreas Schwab <schwab@redhat.com>
37053
37054 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37055 installed.
37056
37057 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37058 is disabled.
37059
37060 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37061
37062 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37063
37064 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37065
37066 * include/alloca.h (stackinfo_alloca_round): Define.
37067 (extend_alloca): Use it.
37068 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37069 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37070 here.
37071
37072 * scripts/check-local-headers.sh: Ignore libaudit.h.
37073
37074 * nscd/Makefile (extra-objs): Make recursively expanded.
37075
37076 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37077
37078 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37079 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37080
37081 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37082 * posix/tst-rfc3484-2.c: Likewise.
37083 * posix/tst-rfc3484-3.c: Likewise.
37084
37085 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37086 process_vm_writev.
37087 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37088 process_vm_writev.
37089 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37090 process_vm_writev from libc using GLIBC_2.15 version.
37091
37092 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37093
37094 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37095
37096 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37097 stack usage.
37098
37099 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37100
37101 [BZ #13367]
37102 * nss/getent.c (initgroups_keys): Show error message in case no group
37103 names are given.
37104
37105 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37106 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37107 __bump_nl_timestamp.
37108 * nscd/connections (nscd_init): When host database is served open
37109 netlink socket and request notification about configuration changes.
37110 (main_loop_poll): Track netlink file descriptor and bump timestamp
37111 in case data becomes available.
37112 (main_loop_epoll): Likewise.
37113 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37114 (database_pers_head): Add extra_data fileds.
37115 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37116 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37117 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37118 Adjust caller.
37119 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37120 in6ai data, call __free_in6ai.
37121 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37122 Add -DHAVE_NETLINK.
37123 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37124 interface information. Reuse previous data if netlink timestamp
37125 is not changed.
37126 (__bump_nl_timestamp): New function.
37127 (__free_in6ai): New function.
37128
37129 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37130
37131 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37132 close_not_cancel_no_status here.
37133 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37134
37135 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37136
37137 [BZ #13276]
37138 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37139 return value.
37140
37141 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37142 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37143 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37144
37145 2011-07-03 Andreas Jaeger <aj@suse.de>
37146
37147 [BZ #10709]
37148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37149 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37150 * math/libm-test.inc (sin_test): Add test case.
37151
37152 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37153
37154 [BZ #13337]
37155 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37156 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37157
37158 * elf/chroot_canon.c (chroot_canon): Cleanups.
37159
37160 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37161
37162 [BZ #13335]
37163 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37164 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37165
37166 * string/test-strchr.c: Make usable for strchrnul testing.
37167 * string/test-strchrnul.c: New file.
37168 * string/Makefile (strop-tests): Add strchrnul.
37169
37170 * po/it.po: Update from translation team.
37171 * po/es.po: Likewise.
37172
37173 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37174
37175 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37176 the three constants needed as parameters. Drop the others.
37177 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37178 __m128i_strloadu_tolower.
37179 Create and initialize variable zero and use it in all the places
37180 where _mm_setzero_si128 was used.
37181
37182 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37183 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37184 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37185 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37186 anymore.
37187 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37188 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37189 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37190 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37191 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37192 __mpranred, __mptan.
37193 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37194 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37195 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37196 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37197 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37198 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37199 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37200 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37201 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37202
37203 2011-10-28 Andreas Schwab <schwab@redhat.com>
37204
37205 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37206 redefine if SHARED.
37207 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37208
37209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37210 wide char related routines to wcsmbs subdir.
37211
37212 2011-10-27 Andreas Schwab <schwab@redhat.com>
37213
37214 [BZ #13344]
37215 * misc/sys/cdefs.h (__THROWNL): Define.
37216 * posix/unistd.h: Use __THREADNL instead of __THREAD
37217 for memory synchronization functions.
37218
37219 2011-10-26 Roland McGrath <roland@hack.frob.com>
37220
37221 [BZ #13349]
37222 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37223 doesn't exist.
37224 * manual/stdio.texi (Obstack Streams): Node removed.
37225
37226 2011-10-26 Andreas Schwab <schwab@redhat.com>
37227
37228 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37229 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37230 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37231
37232 * math/math_private.h (math_force_eval): Allow non-addressable
37233 arguments.
37234 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37235
37236 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37237
37238 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37239 file is not needed.
37240
37241 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37242 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37243 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37244 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37246 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37248 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37249 Add AVX variants.
37250 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37251 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37252 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37253 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37254 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37255 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37256 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37257 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37258 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37259 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37260 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37261 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37262 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37263 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37264 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37265 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37266 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37267 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37268 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37269
37270 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37271 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37272
37273 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37274 place. Use VEX encoding when compiling for AVX.
37275
37276 2011-10-25 Andreas Schwab <schwab@redhat.com>
37277
37278 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37279 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37280
37281 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37282
37283 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37284
37285 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37286 useless if() expression.
37287 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37288 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37289 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37290 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37292 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37293 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37294 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37295 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37296 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37297 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37298 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37299 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37301 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37302 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37303 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37304 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37305 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37306
37307 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37308
37309 2011-10-25 Andreas Schwab <schwab@redhat.com>
37310
37311 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37312 condition.
37313 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37314
37315 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37316
37317 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37318 .text section. Avoid duplicate constants.
37319 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37320 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37321 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37322 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37329 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37331 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37333 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37334 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37335 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37336 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37338 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37339 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37340 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37342 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37343 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37344 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37345 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37346 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37347 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37348 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37349 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37350 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37351 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37352 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37353 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37354 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37355 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37356 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37357 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37358 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37359 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37360 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37361 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37362 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37363 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37364
37365 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37366
37367 * sysdeps/x86_64/dla.h: Move to ...
37368 * sysdeps/x86_64/fpu/dla.h: ...here.
37369 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37370 situations. Use __builtin_fma only for gcc 4.6 and up.
37371
37372 * config.make.in: Add have-mfma4 entry.
37373 * configure.in: Substitute libc_cv_cc_fma4.
37374 * math/Makefile (dbl-only-routines): Add sincostab.
37375 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37376 Use __sincostab not sincos.
37377 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37378 name is a macro.
37379 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37383 using __copysign.
37384 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37385 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37386 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37387 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37388 and __inv.
37389 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37390 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37391 __copysign.
37392 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37393 define aliases when function name is a macro.
37394 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37395 sysdeps/ieee754/dbl-64/sincos.tbl.
37396 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37397 fma4-enabled routines.
37398 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37399 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37400 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37401 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37402 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37403 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37404 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37405 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37406 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37407 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37408 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37409 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37410 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37411 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37412 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37413 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37414 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37415 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37416 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37417 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37418 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37419 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37420 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37421 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37422 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37424 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37425 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37428
37429 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37430 rename.
37431 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37433 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37434 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37435 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37436 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37437 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37438 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37439
37440 2011-10-24 Andreas Schwab <schwab@redhat.com>
37441
37442 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37443
37444 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37445
37446 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37447
37448 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37449 prediction.
37450 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37451
37452 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37453 Remove unused variable magic_bits.
37454 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37455
37456 * string/strnlen.c: Define and use STRNLEN macro.
37457 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37458 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37460 * wcsmbs/wcslen.c: Define and use WCSLEN.
37461 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37462 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37463 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37464 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37465 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37466 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37467 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37468
37469 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37470
37471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37472 strnlen-sse2-no-bsf.
37473 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37475 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37476 Add strnlen support.
37477 (USE_AS_STRNLEN): New macro.
37478 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37479 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37480 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37481 * sysdeps/x86_64/wcslen.S: New file.
37482
37483 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37484
37485 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37486 XMM-moves are used for copying on small sizes.
37487
37488 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37489
37490 * wcsmbs/Makefile (strop-tests): Add wcschr.
37491 * wcsmbs/test-wcschr.c: New file.
37492 * string/test-strchr.c: Update.
37493 Add wcschr support.
37494 (WIDE): New macro.
37495
37496 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37497
37498 * wcsmbs/Makefile (strop-tests): Add wcslen.
37499 * wcsmbs/test-wcslen.c: New file.
37500 * string/test-strlen.c: Update.
37501 Add wcslen support.
37502 (WIDE): New macro.
37503
37504 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37505
37506 * po/it.po: Update from translation team.
37507
37508 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37509
37510 * sysdeps/x86_64/wcscmp.S: Update.
37511 Fix wrong comparison semantics.
37512 wcscmp shall use signed comparison not unsigned.
37513 Don't use substraction to avoid overflow bug.
37514 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37515 * wcsmbc/wcscmp.c: Likewise.
37516 * string/test-strcmp.c: Likewise.
37517 Add new tests to check cases with negative values.
37518
37519 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37520
37521 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37522 * sysdeps/x86_64/dla.h: ...here. New file.
37523 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37525 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37532
37533 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37534
37535 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37536 __ynl_finite aliases.
37537
37538 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37539
37540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37541
37542 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37543 define DLA_FMA.
37544 [DLA_FMA] (EMULV): Use DLA_FMA.
37545 [DLA_FMA] (MUL12): Use EMULV.
37546 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37547 that are not needed.
37548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37550 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37555
37556 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37557
37558 * math/s_nan.c: Undef __nan.
37559 * math/s_nanf.c: Undef __nanf.
37560 * math/s_nanl.c: Undef __nanl.
37561 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37562 "math_private.h".
37563
37564 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37565
37566 * math/s_catan.c: Add branch predictions.
37567 * math/s_catanf.c: Likewise.
37568 * math/s_catanh.c: Likewise.
37569 * math/s_catanhf.c: Likewise.
37570 * math/s_catanhl.c: Likewise.
37571 * math/s_catanl.c: Likewise.
37572 * math/s_cexp.c: Likewise.
37573 * math/s_cexpf.c: Likewise.
37574 * math/s_cexpl.c: Likewise.
37575 * math/s_clog.c: Likewise.
37576 * math/s_clog10.c: Likewise.
37577 * math/s_clog10f.c: Likewise.
37578 * math/s_clog10l.c: Likewise.
37579 * math/s_clogf.c: Likewise.
37580 * math/s_clogl.c: Likewise.
37581 * math/s_csqrt.c: Likewise.
37582 * math/s_csqrtf.c: Likewise.
37583 * math/s_csqrtl.c: Likewise.
37584 * math/s_ctanf.c: Likewise.
37585 * math/s_ctanh.c: Likewise.
37586 * math/s_ctanhf.c: Likewise.
37587 * math/s_ctanhl.c: Likewise.
37588 * math/s_ctanl.c: Likewise.
37589
37590 * math/math_private.h: Define __nan, __nanf, __nanl.
37591 * math/s_cacosh.c: Include <math_private.h>.
37592 * math/s_cacoshl.c: Likewise.
37593 * math/s_casinh.c: Likewise.
37594 * math/s_casinhf.c: Likewise.
37595 * math/s_casinhl.c: Likewise.
37596 * math/s_ccos.c: Rely entire on ccosh.
37597 * math/s_ccosf.c: Rely entire on ccoshf.
37598 * math/s_ccosl.c: Rely entirely on ccoshl.
37599 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37600 Remove tests for FE_INVALID.
37601 * math/s_ccoshf.c: Likewise.
37602 * math/s_ccoshl.c: Likewise.
37603 * math/s_csin.c: Likewise.
37604 * math/s_csinf.c: Likewise.
37605 * math/s_csinh.c Likewise.
37606 * math/s_csinhf.c: Likewise.
37607 * math/s_csinhl.c: Likewise.
37608 * math/s_csinl.c: Likewise.
37609 * math/s_ctan.c: Likewise.
37610 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37611 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37612 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37613
37614 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37615
37616 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37617 compilation problems.
37618
37619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37620 __builtin_expect.
37621
37622 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37623
37624 * sysdeps/i386/configure.in: Test for -mfma4 option.
37625 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37626 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37627 COMMON_CPUID_INDEX_80000001.
37628 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37629 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37630 use it if FMA3 is not supported.
37631 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37632
37633 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37634 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37635
37636 2011-10-20 Andreas Schwab <schwab@redhat.com>
37637
37638 [BZ #12892]
37639 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37640 it would create a cycle with a link time dependency.
37641
37642 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37643
37644 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37645 instruction.
37646 * string/Makefile (strop-tests): Add rawmemchr.
37647 * string/test-rawmemchr.c: New file.
37648
37649 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37650 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37651 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37652 when compiling str{,n}casecmp and when AVX is available. Hook up
37653 new optimized code in initializers.
37654
37655 2011-10-19 Andreas Schwab <schwab@redhat.com>
37656
37657 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37658 __feraiseexcept instead of feraiseexcept.
37659
37660 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37661
37662 * math/math_private.h: Define defaults for libc_fetestexcept and
37663 libc_feupdateenv.
37664 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37665 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37666 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37667 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37669 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37670 libc_fetestexcept and libc_feupdateenv.
37671
37672 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37673 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37674 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37675 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37676 libc_feholdexcept_setround.
37677
37678 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37679 Add s_nearbyint-c and s_nearbyintf-c.
37680 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37681 nearbyintf inlines.
37682 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37684 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37686
37687 * math/math_private.h: Define defaults for libc_fegetround,
37688 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37689 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37690 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37691 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37692 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37693 standard functions.
37694 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37695 Remove comments and hacks for old compiler versions.
37696 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37697 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37698 libc_feholdexceptl.
37699
37700 2011-10-18 Andreas Schwab <schwab@redhat.com>
37701
37702 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
37703 (__feraiseexcept_renamed): Add __NTH.
37704 (feraiseexcept): Add __NTH. Rename local variables to fix
37705 namespace violations.
37706
37707 2011-10-17 Ulrich Drepper <drepper@gmail.com>
37708
37709 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37710
37711 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37712
37713 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37714 recently added interfaces.
37715 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37716
37717 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37718 about macro parameter expansion.
37719
37720 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37721 __NO_MATH_INLINES is defined. Cleanups.
37722
37723 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37724 and __floorf is target has SSE4.1.
37725 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37726 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37727 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37728 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37729
37730 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37731 name.
37732 (floorf): Likewise.
37733
37734 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37735
37736 2011-10-17 Andreas Schwab <schwab@redhat.com>
37737
37738 * misc/sys/cdefs.h: Fix last change.
37739
37740 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37741 database lookup.
37742
37743 2011-10-16 Ulrich Drepper <drepper@gmail.com>
37744
37745 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37746
37747 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37754 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37755 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37756 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37757 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37758 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37759 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37760 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37761 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37762 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37763 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37764 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37765 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37766 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37767 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37768 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37769
37770 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37771 ceil, ceilf, floor, floorf.
37772
37773 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37774 Perform IRELATIVE relocations last.
37775
37776 * elf/do-rel.h: Add another parameter nrelative, replacing the
37777 local variable with the same name. Change name of the function
37778 to end in Rel or Rela (uppercase).
37779 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37780 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37781 elf_dynamic_do_##reloc function.
37782
37783 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37784
37785 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37786 is sufficient, at least on modern CPUs.
37787
37788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37789
37790 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37791 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37792
37793 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37794 __expl_finite.
37795 * math/bits/math-finite.h: Add entries for exp.
37796 * math/e_expl.c: Add __*_finite alias.
37797 * sysdeps/i386/fpu/e_exp.S: Likewise.
37798 * sysdeps/i386/fpu/e_expf.S: Likewise.
37799 * sysdeps/i386/fpu/e_expl.c: Likewise.
37800 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37801 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37802 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37803 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37804 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37805 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37806 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37807
37808 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37809 is sufficient, at least on modern CPUs.
37810
37811 * ctype/ctype-info.c (__ctype_init): Define.
37812 * include/ctype.h (__ctype_init): Declare.
37813 (__ctype_b_loc): The variable is always initialized.
37814 (__ctype_toupper_loc): Likewise.
37815 (__ctype_tolower_loc): Likewise.
37816 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37817 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37818
37819 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37820
37821 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37822
37823 * configure.in: Also look in $cxxmachine/include for C++ system
37824 headers.
37825
37826 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37827
37828 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37829 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37830 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37831 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37832 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37833 (USE_AS_WMEMCMP): New macro.
37834 Fixing indents.
37835 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37836 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37837 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37838 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37840 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37841 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37842 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37843 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37844 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37845 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37846 (USE_AS_WMEMCMP): New macro.
37847 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37848 * sysdeps/string/test-memcmp.c: Update.
37849 Fix simple_wmemcmp.
37850 Add new tests.
37851 * wcsmbs/wmemcmp.c: Update.
37852 (WMEMCMP): New macro.
37853 Fix overflow bug.
37854
37855 2011-10-12 Andreas Jaeger <aj@suse.de>
37856
37857 [BZ #13268]
37858 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37859
37860 2011-10-15 Ulrich Drepper <drepper@gmail.com>
37861
37862 * libio/iofwide.c (do_length): Avoid warning.
37863
37864 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37865
37866 2011-10-14 Ulrich Drepper <drepper@gmail.com>
37867
37868 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37869
37870 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37871 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37872 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37873 * sysdeps/i386/i686/fpu/e_log.S: New file.
37874 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37875 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37876
37877 * ctype/ctype.h: Add support for inlined isXXX functions when
37878 compiling C++ code.
37879
37880 2011-10-14 Andreas Schwab <schwab@redhat.com>
37881
37882 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37883
37884 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37885
37886 2011-10-13 Roland McGrath <roland@hack.frob.com>
37887
37888 [BZ #13291]
37889 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37890
37891 2011-10-13 Andreas Schwab <schwab@redhat.com>
37892
37893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37894 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37895 feraiseexcept.
37896
37897 * sysdeps/x86_64/memrchr.S: Check for zero size.
37898
37899 * string/stratcliff.c: Add memrchr tests.
37900
37901 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37902
37903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37904 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37905 rawmemchr-sse2 rawmemchr-sse2-bsf.
37906 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37907 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37908 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37909 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37910 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37911 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37912 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37913 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37914 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37915 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37916 * string/memrchr.c (MEMRCHR): New macro.
37917
37918 2011-10-12 Ulrich Drepper <drepper@gmail.com>
37919
37920 Add integration with gcc's -ffinite-math-only and optimize wrapper
37921 functions in libm.
37922 * Versions.def: Define GLIBC_2.15 version for libm.
37923 * math/Makefile (headers): Add bits/math-finite.h.
37924 * math/bits/math-finite.h: New file.
37925 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37926 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37927 * math/e_acoshl.c: Add __*_finite alias.
37928 * math/e_acosl.c: Likewise.
37929 * math/e_asinl.c: Likewise.
37930 * math/e_atan2l.c: Likewise.
37931 * math/e_atanhl.c: Likewise.
37932 * math/e_coshl.c: Likewise.
37933 * math/e_exp10.c: Likewise.
37934 * math/e_exp10f.c: Likewise.
37935 * math/e_exp10l.c: Likewise.
37936 * math/e_exp2l.c: Likewise.
37937 * math/e_fmodl.c: Likewise.
37938 * math/e_gammal_r.c: Likewise.
37939 * math/e_hypotl.c: Likewise.
37940 * math/e_j0l.c: Likewise.
37941 * math/e_j1l.c: Likewise.
37942 * math/e_jnl.c: Likewise.
37943 * math/e_lgammal_r.c: Likewise.
37944 * math/e_log10l.c: Likewise.
37945 * math/e_log2l.c: Likewise.
37946 * math/e_logl.c: Likewise.
37947 * math/e_powl.c: Likewise.
37948 * math/e_sinhl.c: Likewise.
37949 * math/e_sqrtl.c: Likewise.
37950 * math/e_scalb.c: Completely rewritten and optimized.
37951 * math/e_scalbf.c: Likewise.
37952 * math/e_scalbl.c: Likewise.
37953 * math/w_acos.c: Likewise.
37954 * math/w_acosf.c: Likewise.
37955 * math/w_acosl.c: Likewise.
37956 * math/w_acosh.c: Likewise.
37957 * math/w_acoshf.c: Likewise.
37958 * math/w_acoshl.c: Likewise.
37959 * math/w_asin.c: Likewise.
37960 * math/w_asinf.c: Likewise.
37961 * math/w_asinl.c: Likewise.
37962 * math/w_atan2.c: Likewise.
37963 * math/w_atan2f.c: Likewise.
37964 * math/w_atan2l.c: Likewise.
37965 * math/w_atanh.c: Likewise.
37966 * math/w_atanhf.c: Likewise.
37967 * math/w_atanhl.c: Likewise.
37968 * math/w_exp10.c: Likewise.
37969 * math/w_exp10f.c: Likewise.
37970 * math/w_exp10l.c: Likewise.
37971 * math/w_fmod.c: Likewise.
37972 * math/w_fmodf.c: Likewise.
37973 * math/w_fmodl.c: Likewise.
37974 * math/w_j0.c: Likewise.
37975 * math/w_j0f.c: Likewise.
37976 * math/w_j0l.c: Likewise.
37977 * math/w_j1.c: Likewise.
37978 * math/w_j1f.c: Likewise.
37979 * math/w_j1l.c: Likewise.
37980 * math/w_jn.c: Likewise.
37981 * math/w_jnf.c: Likewise.
37982 * math/w_log.c: Likewise.
37983 * math/w_logf.c: Likewise.
37984 * math/w_logl.c: Likewise.
37985 * math/w_log10.c: Likewise.
37986 * math/w_log10f.c: Likewise.
37987 * math/w_log10l.c: Likewise.
37988 * math/w_log2.c: Likewise.
37989 * math/w_log2f.c: Likewise.
37990 * math/w_log2l.c: Likewise.
37991 * math/w_pow.c: Likewise.
37992 * math/w_powf.c: Likewise.
37993 * math/w_powl.c: Likewise.
37994 * math/w_remainder.c: Likewise.
37995 * math/w_remainderf.c: Likewise.
37996 * math/w_remainderl.c: Likewise.
37997 * math/w_scalb.c: Likewise.
37998 * math/w_scalbf.c: Likewise.
37999 * math/w_scalbl.c: Likewise.
38000 * math/w_sqrt.c: Likewise.
38001 * math/w_sqrtf.c: Likewise.
38002 * math/w_sqrtl.c: Likewise.
38003 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38004 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38005 used.
38006 * math/math_private.h: Declare __kernel_standard_f.
38007 * math/w_cosh.c: Remove cruft and optimize a bit.
38008 * math/w_coshf.c: Likewise.
38009 * math/w_coshl.c: Likewise.
38010 * math/w_exp2.c: Likewise.
38011 * math/w_exp2f.c: Likewise.
38012 * math/w_exp2l.c: Likewise.
38013 * math/w_hypot.c: Likewise.
38014 * math/w_hypotf.c: Likewise.
38015 * math/w_hypotl.c: Likewise.
38016 * math/w_lgamma.c: Likewise.
38017 * math/w_lgamma_r.c: Likewise.
38018 * math/w_lgammaf.c: Likewise.
38019 * math/w_lgammaf_r.c: Likewise.
38020 * math/w_lgammal.c: Likewise.
38021 * math/w_lgammal_r.c: Likewise.
38022 * math/w_sinh.c: Likewise.
38023 * math/w_sinhf.c: Likewise.
38024 * math/w_sinhl.c: Likewise.
38025 * math/w_tgamma.c: Likewise.
38026 * math/w_tgammaf.c: Likewise.
38027 * math/w_tgammal.c: Likewise.
38028 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38029 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38030 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38031 Minor optimizations. Pretty printing. Remove cruft.
38032 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38033 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38034 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38035 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38036 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38037 * sysdeps/i386/fpu/e_asin.S: Likewise.
38038 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38039 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38040 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38041 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38042 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38043 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38044 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38045 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38046 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38047 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38048 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38049 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38050 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38051 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38052 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38053 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38054 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38055 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38056 * sysdeps/i386/fpu/e_log.S: Likewise.
38057 * sysdeps/i386/fpu/e_log10.S: Likewise.
38058 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38059 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38060 * sysdeps/i386/fpu/e_log2.S: Likewise.
38061 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38062 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38063 * sysdeps/i386/fpu/e_logf.S: Likewise.
38064 * sysdeps/i386/fpu/e_logl.S: Likewise.
38065 * sysdeps/i386/fpu/e_pow.S: Likewise.
38066 * sysdeps/i386/fpu/e_powf.S: Likewise.
38067 * sysdeps/i386/fpu/e_powl.S: Likewise.
38068 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38069 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38070 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38071 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38072 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38073 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38074 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38075 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38076 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38095 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38096 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38098 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38100 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38101 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38103 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38104 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38105 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38106 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38108 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38109 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38110 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38111 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38112 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38113 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38114 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38115 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38116 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38117 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38118 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38142 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38148 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38149 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38152 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38153 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38157 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38168 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38169 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38170 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38171 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38172 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38173 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38174 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38175 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38176 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38177 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38178 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38179 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38180 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38181 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38182 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38183 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38184 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38185 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38186 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38187 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38188 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38189 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38190 (__isnanf): Likewise.
38191 (__isinf_ns): Likewise.
38192 (__isinf_nsf): Likewise.
38193 (__finite): Likewise.
38194 (__finitef): Likewise.
38195 (__ieee754_sqrt): Define as macro.
38196 (__ieee754_sqrtf): Define as macro.
38197 (__ieee754_sqrtl): Define as macro.
38198 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38199 inlined copy.
38200 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38201 __FINITE_MATH_ONLY__ consistent.
38202 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38203
38204 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38205
38206 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38207 of rawmemchr.
38208
38209 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38210
38211 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38212
38213 * po/ja.po: Update from translation team.
38214
38215 2011-10-08 Roland McGrath <roland@hack.frob.com>
38216
38217 * locale/programs/locarchive.c (prepare_address_space): New function.
38218 (create_archive, enlarge_archive, open_archive): Use it.
38219
38220 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38221 inside [SHARED], where it is used.
38222
38223 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38224
38225 * nss/getent.c (netgroup_keys): Remove unused variable.
38226 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38227
38228 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38229
38230 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38231 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38234 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38235 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38236 * math/Makefile (libm-calls): Add s_isinf_ns.
38237 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38238 * math/multc3.c: Likewise.
38239 * math/s_casin.c: Likewise.
38240 * math/s_casinf.c: Likewise.
38241 * math/s_casinl.c: Likewise.
38242 * math/s_ccos.c: Likewise.
38243 * math/s_ccosf.c: Likewise.
38244 * math/s_ccosl.c: Likewise.
38245 * math/s_ctan.c: Likewise.
38246 * math/s_ctanf.c: Likewise.
38247 * math/s_ctanh.c: Likewise.
38248 * math/s_ctanhf.c: Likewise.
38249 * math/s_ctanhl.c: Likewise.
38250 * math/s_ctanl.c: Likewise.
38251 * math/w_fmod.c: Likewise.
38252 * math/w_fmodf.c: Likewise.
38253 * math/w_fmodl.c: Likewise.
38254 * math/w_remainder.c: Likewise.
38255 * math/w_remainderf.c: Likewise.
38256 * math/w_remainderl.c: Likewise.
38257 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38258 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38259 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38260 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38261 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38262 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38263 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38264 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38265
38266 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38267 of the number.
38268 * stdio-common/printf_fphex.c: Likewise.
38269 * stdio-common/printf_size.c: Likewise.
38270
38271 * math/e_exp10.c: Include math_private.h using <...> not "...".
38272 * math/e_exp10f.c: Likewise.
38273 * math/e_exp10l.c: Likewise.
38274 * math/e_exp2l.c: Likewise.
38275 * math/e_j0l.c: Likewise.
38276 * math/e_j1l.c: Likewise.
38277 * math/e_jnl.c: Likewise.
38278 * math/e_lgammal_r.c: Likewise.
38279 * math/e_rem_pio2l.c: Likewise.
38280 * math/e_scalb.c: Likewise.
38281 * math/e_scalbf.c: Likewise.
38282 * math/e_scalbl.c: Likewise.
38283 * math/k_cosl.c: Likewise.
38284 * math/k_sinl.c: Likewise.
38285 * math/k_tanl.c: Likewise.
38286 * math/s_cacoshf.c: Likewise.
38287 * math/s_catan.c: Likewise.
38288 * math/s_catanf.c: Likewise.
38289 * math/s_catanh.c: Likewise.
38290 * math/s_catanhf.c: Likewise.
38291 * math/s_catanhl.c: Likewise.
38292 * math/s_catanl.c: Likewise.
38293 * math/s_ccosh.c: Likewise.
38294 * math/s_ccoshf.c: Likewise.
38295 * math/s_ccoshl.c: Likewise.
38296 * math/s_cexp.c: Likewise.
38297 * math/s_cexpf.c: Likewise.
38298 * math/s_cexpl.c: Likewise.
38299 * math/s_clog.c: Likewise.
38300 * math/s_clog10.c: Likewise.
38301 * math/s_clog10f.c: Likewise.
38302 * math/s_clog10l.c: Likewise.
38303 * math/s_clogf.c: Likewise.
38304 * math/s_clogl.c: Likewise.
38305 * math/s_csin.c: Likewise.
38306 * math/s_csinf.c: Likewise.
38307 * math/s_csinh.c: Likewise.
38308 * math/s_csinhf.c: Likewise.
38309 * math/s_csinhl.c: Likewise.
38310 * math/s_csinl.c: Likewise.
38311 * math/s_csqrt.c: Likewise.
38312 * math/s_csqrtf.c: Likewise.
38313 * math/s_csqrtl.c: Likewise.
38314 * math/s_ctan.c: Likewise.
38315 * math/s_ctanf.c: Likewise.
38316 * math/s_ctanh.c: Likewise.
38317 * math/s_ctanhf.c: Likewise.
38318 * math/s_ctanhl.c: Likewise.
38319 * math/s_ctanl.c: Likewise.
38320 * math/s_ldexp.c: Likewise.
38321 * math/s_ldexpf.c: Likewise.
38322 * math/s_ldexpl.c: Likewise.
38323 * math/s_significand.c: Likewise.
38324 * math/s_significandf.c: Likewise.
38325 * math/s_significandl.c: Likewise.
38326 * math/w_acos.c: Likewise.
38327 * math/w_acosf.c: Likewise.
38328 * math/w_acosh.c: Likewise.
38329 * math/w_acoshf.c: Likewise.
38330 * math/w_acoshl.c: Likewise.
38331 * math/w_acosl.c: Likewise.
38332 * math/w_asin.c: Likewise.
38333 * math/w_asinf.c: Likewise.
38334 * math/w_asinl.c: Likewise.
38335 * math/w_atan2.c: Likewise.
38336 * math/w_atan2f.c: Likewise.
38337 * math/w_atan2l.c: Likewise.
38338 * math/w_atanh.c: Likewise.
38339 * math/w_atanhf.c: Likewise.
38340 * math/w_atanhl.c: Likewise.
38341 * math/w_cosh.c: Likewise.
38342 * math/w_coshf.c: Likewise.
38343 * math/w_coshl.c: Likewise.
38344 * math/w_dremf.c: Likewise.
38345 * math/w_exp10.c: Likewise.
38346 * math/w_exp10f.c: Likewise.
38347 * math/w_exp10l.c: Likewise.
38348 * math/w_exp2.c: Likewise.
38349 * math/w_exp2f.c: Likewise.
38350 * math/w_fmod.c: Likewise.
38351 * math/w_fmodf.c: Likewise.
38352 * math/w_fmodl.c: Likewise.
38353 * math/w_hypot.c: Likewise.
38354 * math/w_hypotf.c: Likewise.
38355 * math/w_hypotl.c: Likewise.
38356 * math/w_j0.c: Likewise.
38357 * math/w_j0f.c: Likewise.
38358 * math/w_j0l.c: Likewise.
38359 * math/w_j1.c: Likewise.
38360 * math/w_j1f.c: Likewise.
38361 * math/w_j1l.c: Likewise.
38362 * math/w_jn.c: Likewise.
38363 * math/w_jnf.c: Likewise.
38364 * math/w_jnl.c: Likewise.
38365 * math/w_lgamma.c: Likewise.
38366 * math/w_lgamma_r.c: Likewise.
38367 * math/w_lgammaf.c: Likewise.
38368 * math/w_lgammaf_r.c: Likewise.
38369 * math/w_lgammal.c: Likewise.
38370 * math/w_lgammal_r.c: Likewise.
38371 * math/w_log.c: Likewise.
38372 * math/w_log10.c: Likewise.
38373 * math/w_log10f.c: Likewise.
38374 * math/w_log10l.c: Likewise.
38375 * math/w_log2.c: Likewise.
38376 * math/w_log2f.c: Likewise.
38377 * math/w_log2l.c: Likewise.
38378 * math/w_logf.c: Likewise.
38379 * math/w_logl.c: Likewise.
38380 * math/w_pow.c: Likewise.
38381 * math/w_powf.c: Likewise.
38382 * math/w_powl.c: Likewise.
38383 * math/w_remainder.c: Likewise.
38384 * math/w_remainderf.c: Likewise.
38385 * math/w_remainderl.c: Likewise.
38386 * math/w_scalb.c: Likewise.
38387 * math/w_scalbf.c: Likewise.
38388 * math/w_scalbl.c: Likewise.
38389 * math/w_sinh.c: Likewise.
38390 * math/w_sinhf.c: Likewise.
38391 * math/w_sinhl.c: Likewise.
38392 * math/w_sqrt.c: Likewise.
38393 * math/w_sqrtf.c: Likewise.
38394 * math/w_sqrtl.c: Likewise.
38395 * math/w_tgamma.c: Likewise.
38396 * math/w_tgammaf.c: Likewise.
38397 * math/w_tgammal.c: Likewise.
38398
38399 * po/ja.po: Update from translation team.
38400
38401 2011-09-29 Andreas Jaeger <aj@suse.de>
38402
38403 [BZ #13179]
38404 * sunrpc/netname.c (netname2host): Fix logic.
38405
38406 [BZ #6779]
38407 [BZ #6783]
38408 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38409 correctly.
38410 * math/w_remainder.c (__remainder): Likewise.
38411 * math/w_remainderf.c (__remainderf): Likewise.
38412 * math/libm-test.inc (remainder_test): Add test cases.
38413
38414 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38415
38416 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38417 sdiv_qrnnd.
38418
38419 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38420
38421 * string/test-memcmp.c: Avoid unncessary #defines.
38422 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38423
38424 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38425
38426 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38427 Use new sse2 version for core i3 - i7 as it's faster
38428 than sse42 version.
38429 (bit_Prefer_PMINUB_for_stringop): New.
38430 * sysdeps/x86_64/rawmemchr.S: Update.
38431 Replace with faster SSE2 version.
38432 * sysdeps/x86_64/memrchr.S: New file.
38433 * sysdeps/x86_64/memchr.S: Update.
38434 Replace with faster SSE2 version.
38435
38436 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38437
38438 * elf/dl-load.c (lose): Add cast to avoid warning.
38439
38440 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38441
38442 * po/ca.po: Update from translation team.
38443
38444 * inet/getnetgrent_r.c: Hook up nscd.
38445 * nscd/Makefile (routines): Add nscd_netgroup.
38446 (nscd-modules): Add netgroupcache.
38447 (CFLAGS-netgroupcache.c): Define.
38448 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38449 (cache_search): Add const to second parameter.
38450 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38451 INNETGR.
38452 (dbs): Add netgrdb entry.
38453 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38454 (verify_persistent_db): Handle netgrdb.
38455 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38456 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38457 GETFDNETGR.
38458 (netgroup_response_header): Define.
38459 (innetgroup_response_header): Define.
38460 (datahead): Add netgroup_response_header and innetgroup_response_header
38461 elements.
38462 * nscd/nscd.conf: Add entries for netgroup cache.
38463 * nscd/nscd.h (dbtype): Add netgrdb.
38464 (_PATH_NSCD_NETGROUP_DB): Define.
38465 (netgroup_iov_disabled): Declare.
38466 (xmalloc, xcalloc, xrealloc): Move declarations here.
38467 (cache_search): Adjust prototype.
38468 Add netgroup-related prototypes.
38469 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38470 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38471 (__nscd_innetgr): Declare.
38472 * nscd/selinux.c (perms): Use access_vector_t as element type and
38473 add netgroup-related initializers.
38474 * nscd/netgroupcache.c: New file.
38475 * nscd/nscd_netgroup.c: New file.
38476 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38477 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38478 For four parameters use innetgr.
38479 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38480 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38481 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38482 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38483
38484 * nscd/connections.c (register_traced_file): Don't register file
38485 for disabled databases.
38486
38487 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38488
38489 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38490
38491 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38492 from tree and freeing node.
38493
38494 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38495
38496 * nss/nsswitch.c (__nss_database_lookup): Handle
38497 nss_parse_service_list out of memory case.
38498
38499 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38500
38501 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38502 out of memory case.
38503
38504 2011-10-04 Andreas Schwab <schwab@redhat.com>
38505
38506 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38507 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38508 pass it down.
38509 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38510 elf_machine_rela, elf_machine_lazy_rel.
38511 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38512 (ELF_DYNAMIC_DO_REL): Likewise.
38513 (ELF_DYNAMIC_DO_RELA): Likewise.
38514 (ELF_DYNAMIC_RELOCATE): Likewise.
38515 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38516 to ELF_DYNAMIC_DO_REL.
38517 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38518 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38519 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38520 elf_machine_rela.
38521 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38522 skip_ifunc, don't call ifunc function if non-zero.
38523 (elf_machine_rela): Likewise.
38524 (elf_machine_lazy_rel): Likewise.
38525 (elf_machine_lazy_rela): Likewise.
38526 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38527 (elf_machine_lazy_rel): Likewise.
38528 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38529 Likewise.
38530 (elf_machine_lazy_rel): Likewise.
38531 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38532 Likewise.
38533 (elf_machine_lazy_rel): Likewise.
38534 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38535 (elf_machine_lazy_rel): Likewise.
38536 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38537 (elf_machine_lazy_rel): Likewise.
38538 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38539 (elf_machine_lazy_rel): Likewise.
38540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38541 (elf_machine_lazy_rel): Likewise.
38542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38543 (elf_machine_lazy_rel): Likewise.
38544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38545 (elf_machine_lazy_rel): Likewise.
38546
38547 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38548
38549 * nss/nss_files/files-init.c (_nss_files_init): Use static
38550 initialization for all the *_traced_file variables.
38551
38552 2011-09-28 Andreas Schwab <schwab@redhat.com>
38553
38554 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38555
38556 2011-09-27 Roland McGrath <roland@hack.frob.com>
38557
38558 [BZ #13226]
38559 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38560
38561 2011-09-27 Andreas Schwab <schwab@redhat.com>
38562
38563 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38564 Reread the line before reparsing it.
38565
38566 2011-09-26 Andreas Schwab <schwab@redhat.com>
38567
38568 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38569
38570 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38571 Maxim Kuvyrkov <maxim@codesourcery.com>
38572 Joseph Myers <joseph@codesourcery.com>
38573
38574 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38575 if needed for __stack_chk_guard.
38576
38577 2011-09-19 Roland McGrath <roland@hack.frob.com>
38578
38579 * sysdeps/posix/spawni.c (script_execute): Always define it.
38580 It will be optimized away if unused.
38581 (maybe_script_execute): New function.
38582 (__spawni): Call it.
38583
38584 * Makerules: Don't include tls.make.
38585 (config-tls): Always set to thread.
38586 * tls.make.c: File removed.
38587
38588 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38589
38590 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38591 * config.make.in (CPPFLAGS-config): New substituted variable.
38592
38593 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38594
38595 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38596
38597 [BZ #13192]
38598 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38599 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38600
38601 2011-09-15 Roland McGrath <roland@hack.frob.com>
38602
38603 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38604 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38605 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38606 (CALL_FAIL): Likewise.
38607 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38608 (CALL_FAIL): Macro removed.
38609 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38610
38611 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38612
38613 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38614 for __FINITE_MATH_ONLY__ == 1.
38615
38616 2011-09-15 Andreas Schwab <schwab@redhat.com>
38617
38618 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38619 __ieee754_sqrt instead of sqrt.
38620 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38621 __ieee754_sqrtf instead of sqrtf.
38622 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38623 __floorf instead of floorf.
38624 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38625 __floorf, __truncf instead of floorf, truncf.
38626
38627 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38628
38629 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38630
38631 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38632 __extern_always_inline.
38633 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38634 32-bit.
38635
38636 2011-09-14 Andreas Schwab <schwab@redhat.com>
38637
38638 * elf/rtld.c (dl_main): Also relocate in dependency order when
38639 doing symbol dependency testing.
38640
38641 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38642
38643 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38644 Always define `refsym'.
38645
38646 2011-09-13 Andreas Schwab <schwab@redhat.com>
38647
38648 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38649 (__FD_ELT): Renamed from __FDELT.
38650 * misc/bits/select2.h (__FD_ELT): Likewise.
38651 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38652 __FD_MASK instead of __FDELT, __FDMASK.
38653 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38654 Likewise.
38655 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38656 Likewise.
38657
38658 * elf/Makefile (gen-ldd): Fix pattern.
38659
38660 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38661 (init_tls): Likewise.
38662
38663 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38664
38665 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38666
38667 2011-09-12 Andreas Schwab <schwab@redhat.com>
38668
38669 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38670 `struct cmsghdr *' instead of `void *'.
38671 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38672 Likewise.
38673
38674 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38675
38676 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38677 if non-absolute.
38678 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38679 ldd_rewrite_script.
38680
38681 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38682
38683 * configure.in: Remove --with-tls option.
38684 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38685 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38686 out in case it is missing.
38687 * sysdeps/ia64/elf/configure.in: Likewise.
38688 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38689 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38690 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38691 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38692 * sysdeps/sh/elf/configure.in: Likewise.
38693 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38694 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38695 * sysdeps/x86_64/elf/configure.in: Likewise.
38696 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38697 * sysdeps/mach/hurd/tls.h: Likewise.
38698
38699 [BZ #13067]
38700 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38701
38702 [BZ #13090]
38703 * configure.in: Fix use of AC_INIT.
38704
38705 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38706
38707 2011-09-10 Ulrich Drepper <drepper@gmail.com>
38708
38709 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38710 __set_errno.
38711 * malloc/hooks.c: Likewise.
38712
38713 [BZ #11929]
38714 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38715 variables statically.
38716 (narenas): Initialize.
38717 (list_lock): Initialize.
38718 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38719 initializtion of main_arena and list_lock. Small cleanups.
38720 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38721 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38722 Add initializers to main_arena and mp_.
38723 (malloc_state): Remove pagesize member. Change all users to use
38724 GLRO(dl_pagesize).
38725
38726 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38727 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38728 is always initialized.
38729
38730 * malloc/malloc.c: Removed unused configurations and dead code.
38731 * malloc/arena.c: Likewise.
38732 * malloc/hooks.c: Likewise.
38733 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
38734
38735 * include/tls.h: Removed. USE___THREAD must always be defined.
38736 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38737 * elf/dl-libc.c: Likewise.
38738 * elf/dl-tsd.c: Likewise.
38739 * include/errno.h: Likewise.
38740 * include/netdb.h: Likewise.
38741 * include/resolv.h: Likewise.
38742 * inet/herrno-loc.c: Likewise.
38743 * inet/herrno.c: Likewise.
38744 * malloc/arena.c: Likewise.
38745 * malloc/hooks.c: Likewise.
38746 * malloc/malloc.c: Likewise.
38747 * resolv/res-state.c: Likewise.
38748 * resolv/res_libc.c: Likewise.
38749 * sysdeps/i386/dl-machine.h: Likewise.
38750 * sysdeps/ia64/dl-machine.h: Likewise.
38751 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38752 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38753 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38754 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38755 * sysdeps/sh/dl-machine.h: Likewise.
38756 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38757 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38758 * sysdeps/unix/i386/sysdep.S: Likewise.
38759 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38760 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38761 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38763 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38765 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38766 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38767 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38768 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38769 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38770 * sysdeps/x86_64/dl-machine.h: Likewise.
38771 * tls.make.c: Likewise.
38772
38773 * configure.in: Remove --with-__thread option. Make tests for
38774 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38775 tls_model attribute fail if no support is available. Remove
38776 USE_IN_LIBIO.
38777 * Makeconfig: Adjust for dropped configure option. All features are
38778 now mandatory.
38779 * Makerules: Likewise.
38780 * Versions.def: Likewise.
38781 * argp/argp-fmtstream.c: Likewise.
38782 * argp/argp-fmtstream.h: Likewise.
38783 * argp/argp-help.c: Likewise.
38784 * assert/assert.c: Likewise.
38785 * config.h.in: Likewise.
38786 * config.make.in: Likewise.
38787 * configure: Likewise.
38788 * configure.in: Likewise.
38789 * csu/Versions: Likewise.
38790 * csu/init.c: Likewise.
38791 * elf/tst-audit2.c: Likewise.
38792 * elf/tst-tls10.c: Likewise.
38793 * elf/tst-tls10.h: Likewise.
38794 * elf/tst-tls11.c: Likewise.
38795 * elf/tst-tls12.c: Likewise.
38796 * elf/tst-tls14.c: Likewise.
38797 * elf/tst-tlsmod11.c: Likewise.
38798 * elf/tst-tlsmod12.c: Likewise.
38799 * elf/tst-tlsmod13.c: Likewise.
38800 * elf/tst-tlsmod13a.c: Likewise.
38801 * elf/tst-tlsmod14a.c: Likewise.
38802 * elf/tst-tlsmod15b.c: Likewise.
38803 * elf/tst-tlsmod16a.c: Likewise.
38804 * elf/tst-tlsmod16b.c: Likewise.
38805 * elf/tst-tlsmod7.c: Likewise.
38806 * elf/tst-tlsmod8.c: Likewise.
38807 * elf/tst-tlsmod9.c: Likewise.
38808 * gmon/gmon.c: Likewise.
38809 * grp/fgetgrent_r.c: Likewise.
38810 * grp/putgrent.c: Likewise.
38811 * hurd/fopenport.c: Likewise.
38812 * include/libc-symbols.h: Likewise.
38813 * include/tls.h: Likewise.
38814 * intl/gettextP.h: Likewise.
38815 * intl/loadinfo.h: Likewise.
38816 * locale/global-locale.c: Likewise.
38817 * locale/localeinfo.h: Likewise.
38818 * mach/devstream.c: Likewise.
38819 * malloc/arena.c: Likewise.
38820 * malloc/set-freeres.c: Likewise.
38821 * misc/err.c: Likewise.
38822 * misc/getttyent.c: Likewise.
38823 * misc/mntent_r.c: Likewise.
38824 * posix/getopt.c: Likewise.
38825 * posix/wordexp.c: Likewise.
38826 * pwd/fgetpwent_r.c: Likewise.
38827 * resolv/Versions: Likewise.
38828 * resolv/res_hconf.c: Likewise.
38829 * shadow/fgetspent_r.c: Likewise.
38830 * shadow/putspent.c: Likewise.
38831 * stdio-common/printf_fphex.c: Likewise.
38832 * stdio-common/tmpfile.c: Likewise.
38833 * stdlib/abort.c: Likewise.
38834 * stdlib/fmtmsg.c: Likewise.
38835 * sunrpc/auth_unix.c: Likewise.
38836 * sunrpc/clnt_perr.c: Likewise.
38837 * sunrpc/clnt_tcp.c: Likewise.
38838 * sunrpc/clnt_udp.c: Likewise.
38839 * sunrpc/clnt_unix.c: Likewise.
38840 * sunrpc/openchild.c: Likewise.
38841 * sunrpc/svc_simple.c: Likewise.
38842 * sunrpc/svc_tcp.c: Likewise.
38843 * sunrpc/svc_udp.c: Likewise.
38844 * sunrpc/svc_unix.c: Likewise.
38845 * sunrpc/xdr.c: Likewise.
38846 * sunrpc/xdr_array.c: Likewise.
38847 * sunrpc/xdr_rec.c: Likewise.
38848 * sunrpc/xdr_ref.c: Likewise.
38849 * sunrpc/xdr_stdio.c: Likewise.
38850
38851 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38852
38853 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38854
38855 2011-07-03 Andreas Jaeger <aj@suse.de>
38856
38857 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38858 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38859 regenerate with gen-libm-tests.pl.
38860
38861 2010-05-12 Petr Baudis <pasky@suse.cz>
38862
38863 [BZ #11589]
38864 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38865 around j0() zero points by switching to j1().
38866 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38867 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38870
38871 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38872
38873 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38874 instead of 0.
38875 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
38876 instead of 0.
38877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38878 Patch in part by Pavel Roskin <proski@gnu.org>.
38879
38880 [BZ #13138]
38881 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38882 realloc.
38883 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38884 Free memory block if necessary.
38885
38886 [BZ #12847]
38887 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38888 be NULL. Don't lock in this case.
38889
38890 2011-09-09 Roland McGrath <roland@hack.frob.com>
38891
38892 * elf/elf.h (ELFOSABI_GNU): New macro.
38893 (ELFOSABI_LINUX): Define to that.
38894
38895 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38896
38897 * string/strncat.c (strncat): Undef the symbol in case it has been
38898 defined in bits/string.h.
38899
38900 2011-09-09 Ulrich Drepper <drepper@gmail.com>
38901
38902 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38903
38904 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
38905 link map.
38906
38907 2011-08-17 Andreas Jaeger <aj@suse.de>
38908
38909 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38910
38911 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38912 Ian Lance Taylor <iant@google.com>
38913
38914 * math/libm-test.inc (lround_test): New testcase.
38915 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38916
38917 2011-09-08 Ulrich Drepper <drepper@gmail.com>
38918
38919 * Makefile: Remove support for automatic cvs check-ins.
38920 * Makerules: Likewise.
38921 * config.make.in: Likewise.
38922 * configure.in: Likewise.
38923 * intl/Makefile: Likewise.
38924 * locale/Makefile: Likewise.
38925 * po/Makefile: Likewise.
38926 * posix/Makefile: Likewise.
38927 * sysdeps/gnu/Makefile: Likewise.
38928 * sysdeps/mach/hurd/Makefile: Likewise.
38929 * sysdeps/sparc/sparc32/Makefile: Likewise.
38930
38931 [BZ #13118]
38932 * posix/Makefile (bug-regex32-ENV): Define.
38933 Patch by John Stanley <jpsinthemix@verizon.net>.
38934
38935 * misc/Makefile (headers): Add bits/select2.h.
38936 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38937 * misc/bits/select2.h: New file.
38938 * include/bits/select2.h: New file.
38939 * debug/Makefile (routines): Add fdelt_chk.
38940 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38941 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38942 FD_ISSET.
38943 * debug/fdelt_chk.c: New file.
38944
38945 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38946 * wcsmbs/test-wmemcmp.c: Likewise.
38947 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
38948 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
38949
38950 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38951
38952 * string/Makefile (strop-tests): Add memcmp.
38953 * string/test-wmemcmp.c: New file.
38954 * string/test-memcmp.c: Add wmemcmp support.
38955
38956 2011-09-08 Roland McGrath <roland@hack.frob.com>
38957
38958 [BZ #13153]
38959 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38960 2011-07-19 change.
38961
38962 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38963 garbage value in a __mach_port_mod_refs call in the cases of the
38964 task-self and thread-self ports.
38965
38966 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38967
38968 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38969
38970 2011-09-08 Andreas Schwab <schwab@redhat.com>
38971
38972 * elf/dl-load.c (lose): Check for non-null L.
38973
38974 2011-09-07 Ulrich Drepper <drepper@gmail.com>
38975
38976 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38977
38978 * elf/dl-libc.c (dlerror_run): Pass back error code from
38979 dl_catch_error.
38980
38981 [BZ #13123]
38982 * elf/dl-load.c (lose): Free l_origin if it is valid.
38983
38984 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38985 names.
38986 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38987 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38988 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38989 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38990 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38991 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38992
38993 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38994
38995 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38996 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38997 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38998 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38999 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39000 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39001 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39002 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39003 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39004 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39005
39006 2011-08-15 Alan Modra <amodra@gmail.com>
39007
39008 [BZ #13092]
39009 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39010 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39011 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39012 ppc_mcount to static-only-routines.
39013 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39014 __mcount_internal.
39015 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39016 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39017
39018 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39019
39020 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39021 for finite and infinity parameters.
39022
39023 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39024
39025 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39026 and add nop instructions for throughput optimization.
39027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39028
39029 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39030
39031 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39032 aligned copy for power7 with vector-scalar instructions.
39033 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39034
39035 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39036
39037 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39038 AVX check.
39039
39040 2011-09-07 Andreas Schwab <schwab@redhat.com>
39041
39042 [BZ #13144]
39043 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39044 last change.
39045
39046 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39047
39048 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39049 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39050 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39051 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39052 clock_gettime.
39053
39054 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39055
39056 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39057 Forgot to demangle the pointer.
39058
39059 * sysdeps/i386/sysdep.h: Define atom_text_section.
39060 * sysdeps/x86_64/sysdep.h: Likewise.
39061 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39062 section with atom_text_section.
39063 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39064 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39065 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39066 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39067 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39068
39069 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39070 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39071 already be defined. Change to take two parameters and don't assign
39072 result to variable. Adjust all users.
39073 Define INTERNAL_GETTIME if not already defined.
39074 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39075 call.
39076 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39077 HAVE_CLOCK_GETTIME_VSYSCALL.
39078 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39079
39080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39081 gettimeofday vsyscall, just use time.
39082
39083 2011-09-06 Andreas Schwab <schwab@redhat.com>
39084
39085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39086 <errno.h>.
39087
39088 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39089
39090 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39091 syscall on x86-64.
39092 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39093 syscall.
39094 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39095 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39096 syscall if possible.
39097
39098 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39099
39100 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39101 e_ident. Don't pass to find_mapsXX.
39102 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39103
39104 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39105
39106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39107 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39108 * sysdeps/x86_64/multiarch/strchr.S: Update.
39109 Check bit_slow_BSF bit.
39110 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39111 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39112 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39113
39114 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39115
39116 [BZ #13134]
39117 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39118 before glibc 2.15.
39119 (tryshell): Define.
39120 (__spawni): Change last parameter to be flag. Test
39121 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39122 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39123 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39124 * posix/spawni.c: Likewise.
39125 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39126 * posix/spawnp.c: Likewise. Change normal version to use
39127 SPAWN_XFLAGS_USE_PATH.
39128 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39129 SPAWN_XFLAGS_TRY_SHELL.
39130
39131 [BZ #13150]
39132 * posix/glob.h: Remove gcc 1.x support.
39133
39134 [BZ #13068]
39135 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39136
39137 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39138
39139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39140 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39141 strrchr-sse2-bsf
39142 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39143 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39144 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39145 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39146 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39147 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39148
39149 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39150
39151 * sysdeps/x86_64/wcscmp.S: New file.
39152
39153 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39154 wcscmp-c wcscmp-sse2
39155 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39156 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39157 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39158 * wcsmbs/wcscmp.c: Allow renaming.
39159
39160 2011-09-05 David S. Miller <davem@davemloft.net>
39161
39162 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39163 stack slot, rather than the struct return pointer slot.
39164 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39165 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39167 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39168
39169 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39170
39171 * po/ja.po: Update from translation team.
39172
39173 [BZ #13144]
39174 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39175 kernel in 64-bit binaries.
39176
39177 2011-09-01 David S. Miller <davem@davemloft.net>
39178
39179 * elf/elf.h (HWCAP_SPARC_*): Move to..
39180 * sysdeps/sparc/sysdep.h: this new file and add new values.
39181 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39182 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39183 _DL_HWCAP_COUNT to 24.
39184 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39185 entries.
39186 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39187 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39188 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39189 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39190 instead of magic constants.
39191 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39192
39193 2011-08-31 David S. Miller <davem@davemloft.net>
39194
39195 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39196 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39197 Reimplement to do errno handling inline.
39198 (SYSCALL_ERROR_HANDLER): New macro.
39199 (__SYSCALL_STRING): Do not do errno handling in asm.
39200 (__CLONE_SYSCALL_STRING): Delete.
39201 (__INTERNAL_SYSCALL_STRING): Delete.
39202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39203 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39204 (PSEUDO): Reimplement to do errno handling inline.
39205 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39206 (SYSCALL_ERROR_HANDLER): New macro.
39207 (__SYSCALL_STRING): Do not do errno handling in asm.
39208 (__CLONE_SYSCALL_STRING): Delete.
39209 (__INTERNAL_SYSCALL_STRING): Delete.
39210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39211 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39212 i386.
39213 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39214 (inline_syscall*): Add 'err' argument.
39215 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39216 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39217 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39218 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39219
39220 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39221 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39222
39223 2011-08-30 Andreas Schwab <schwab@redhat.com>
39224
39225 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39226
39227 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39228
39229 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39230 directive.
39231
39232 2011-08-24 David S. Miller <davem@davemloft.net>
39233
39234 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39235
39236 2011-08-24 Andreas Schwab <schwab@redhat.com>
39237
39238 * elf/Makefile: Add rules to build and run unload8 test.
39239 * elf/unload8.c: New file.
39240 * elf/unload8mod1.c: New file.
39241 * elf/unload8mod1x.c: New file.
39242 * elf/unload8mod2.c: New file.
39243 * elf/unload8mod3.c: New file.
39244
39245 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39246 it wasn't used.
39247
39248 2011-08-23 David S. Miller <davem@davemloft.net>
39249
39250 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39251 subtract stack bias.
39252 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39253 %sp not %fp in calculations.
39254 (_JMPBUF_UNWINDS_ADJ): Likewise.
39255
39256 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39257 (aio_suspend): Call it to force an exception region around the
39258 AIO_MISC_WAIT() invocation.
39259
39260 2011-08-23 Andreas Schwab <schwab@redhat.com>
39261
39262 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39263 backslash.
39264
39265 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39266
39267 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39268 protection macro.
39269 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39270 and <dl-machine.h>.
39271 (Elf64_FuncDesc): Remove.
39272
39273 2011-08-22 David S. Miller <davem@davemloft.net>
39274
39275 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39276 sigaltstack check, add missing cfi directives.
39277 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39278 missing cfi directives, and sigaltstack handling.
39279
39280 2011-08-16 Andreas Schwab <schwab@redhat.com>
39281
39282 [BZ #11724]
39283 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39284 object is seen twice.
39285 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39286
39287 * elf/Makefile (distribute): Add tst-initorder2.c.
39288 (tests): Add tst-initorder2.
39289 (modules-names): Add tst-initorder2a tst-initorder2b
39290 tst-initorder2c tst-initorder2d. Add rules to build them.
39291 ($(objpfx)tst-initorder2.out): New rule.
39292 * elf/tst-initorder2.c: New file.
39293 * elf/tst-initorder2.exp: New file.
39294
39295 2011-08-22 Andreas Schwab <schwab@redhat.com>
39296
39297 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39298
39299 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39300 dependencies back to end of function.
39301
39302 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39303 $(elfobjdir)/ld.so.
39304
39305 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39306
39307 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39308 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39309 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39310 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39311 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39312 of __vdso_gettimeofday.
39313 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39314 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39315 attribute_hidden.
39316 (_libc_vdso_platform_setup): Remove initialization of
39317 __vdso_gettimeofday and __vdso_time.
39318
39319 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39320
39321 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39322 and fgetc_unlocked.
39323 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39324 getc_unlocked.
39325
39326 * elf/dl-open.c (add_to_global): Report additions to the global scope
39327 for LD_DEBUG=scopes.
39328 (dl_open_worker): Also print scope of newly loaded dependencies.
39329 (_dl_show_scope): Indicate if there is no scope.
39330
39331 [BZ #13114]
39332 * stdio-common/Makefile (tests): Add bug24.
39333 * stdio-common/bug24.c: New file.
39334
39335 2011-08-19 Andreas Jaeger <aj@suse.de>
39336
39337 [BZ #13114]
39338 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39339 non-existant file when using close-on-exec mode.
39340
39341 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39342
39343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39344 the very first instruction.
39345
39346 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39347 the CFI state in the end.
39348 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39349 inclusion of dl-trampoline.h.
39350 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39351
39352 2011-08-19 Andreas Schwab <schwab@redhat.com>
39353
39354 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39355 expectations for long double.
39356
39357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39358 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39359
39360 2011-08-14 David S. Miller <davem@davemloft.net>
39361
39362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39363 artificual limit depends upon the system page size.
39364
39365 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39366
39367 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39368 * resolv/Makefile: Define CFLAGS-libresolv.
39369
39370 2011-08-17 Andreas Schwab <schwab@redhat.com>
39371
39372 * nss/makedb.c (compute_tables): Make variables used in nested
39373 function static.
39374
39375 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39376
39377 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39378 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39379 if buffer was too small.
39380
39381 * elf/pldd.c (main): Attach to all threads in the process.
39382 Rewrite /proc handling to use *at functions.
39383
39384 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39385
39386 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39387 specifies first scope to show.
39388 (dl_open_worker): Update callers. Move printing scope of new
39389 object to before the relocation.
39390 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39391 * sysdeps/generic/ldsodefs.h: Update declaration.
39392
39393 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39394 string for the scope number.
39395
39396 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39397
39398 * nscd/servicescache.c (cache_addserv): Make sure written is always
39399 initialized.
39400
39401 2011-08-14 Roland McGrath <roland@hack.frob.com>
39402
39403 * sysdeps/i386/i486/bits/atomic.h
39404 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39405 statement expression, so as to suppress "set but not used" warning.
39406 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39407
39408 * string/strncat.c (STRNCAT): Use prototype definition.
39409
39410 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39411 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39412 -Iprograms here.
39413 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39414 (localedef-modules): Add localedef.
39415 (locale-modules): Add locale.
39416
39417 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39418 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39419 to avoid a warning.
39420
39421 2011-08-14 David S. Miller <davem@davemloft.net>
39422
39423 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39424 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39425
39426 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39427
39428 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39429 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39430 * elf/rtld.c (dl_main): Set l_name of vDSO.
39431 Call _dl_show_scope when DL_DEBUG_SCOPES.
39432 (process_dl_debug): Recognize scopes flag and also set it for all.
39433 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39434 Declare _dl_show_scope.
39435
39436 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39437 (do_dlopen): Pass caller_dlopen to dl_open.
39438 (__libc_dlopen_mode): Initialize caller_dlopen.
39439
39440 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39441 of libc. Make tolower call locale-independent. Optimize a bit by
39442 using isdigit instead of isalnum.
39443 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39444
39445 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39446
39447 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39448 was a dependency or dynamically loaded.
39449
39450 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39451
39452 * intl/l10nflist.c: Allow architecture-specific pop function.
39453 * sysdeps/x86_64/l10nflist.c: New file.
39454
39455 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39456 classification.
39457
39458 2011-08-10 Andreas Schwab <schwab@redhat.com>
39459
39460 * include/dirent.h: Add libc_hidden_proto for scandirat and
39461 scandirat64. Don't declare __scandirat64.
39462 * dirent/scandirat.c: Add libc_hidden_def.
39463 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39464 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39465
39466 2011-08-10 David S. Miller <davem@davemloft.net>
39467
39468 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39469 enum.
39470 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39471 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39472 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39473
39474 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39475
39476 * Versions.def [libc]: Add GLIBC_2.15.
39477 * dirent/Makefile (routines): Add scandirat and scandirat64.
39478 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39479 GLIBC_2.15.
39480 * dirent/dirent.h: Declare scandirat and scandirat64.
39481 * dirent/scandirat.c: New file.
39482 * dirent/scandirat64.c: New file.
39483 * sysdeps/wordsize-64/scandirat.c: New file.
39484 * sysdeps/wordsize-64/scandirat64.c: New file.
39485 * dirent/opendir.c: Define opendirat.
39486 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39487 using scandirat.
39488 * dirent/scandir64.c: Adjust for scandir.c change.
39489 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39490 __scandirat64, and __scandir_cancel_handler.
39491 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39492 additional parameter and use openat instead of open (outside of ld.so).
39493 Add new __opendir as wrapper around __opendirat.
39494 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39495 here without requiring old scandirat implementation.
39496
39497 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39498
39499 * dirent/scandir.c (cancel_handler): Renamed to
39500 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39501 defined. Adjust users.
39502 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39504
39505 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39506
39507 * string/test-string.h (IMPL): Use __STRING to expand name and then
39508 stringify it.
39509
39510 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39511 of cleanups.
39512
39513 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39514
39515 * string/Makefile: Update.
39516 (strop-tests): Append strncat.
39517 * string/test-wcscmp.c: New file.
39518 New comprehensive test for wcscmp.
39519 * string/test-strcmp.c: Update.
39520 (WIDE): New define.
39521
39522 2011-07-22 Andreas Schwab <schwab@redhat.com>
39523
39524 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39525 line.
39526
39527 2011-07-26 Andreas Schwab <schwab@redhat.com>
39528
39529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39530 encoding to ACE if AI_IDN.
39531
39532 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39533
39534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39535 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39536
39537 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39538
39539 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39540 Fix overflow bug in strncat.
39541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39542
39543 * string/test-strncat.c: Update.
39544 Add new tests for checking overflow bugs.
39545
39546 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39547
39548 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39549 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39550 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39551 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39552 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39553 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39554 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39555 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39556 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39557
39558 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39559 (USE_AS_STRCAT): Define.
39560 Add strcat and strncat support.
39561 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39562
39563 2011-07-25 Andreas Schwab <schwab@redhat.com>
39564
39565 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39566 __n bigger than INT_MAX+1.
39567 (__strncmp_g): Likewise.
39568
39569 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39570
39571 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39572 * libio/stido.h: Likewise.
39573
39574 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39575 (AF_NFC): Define.
39576 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39577 (AF_NFC): Define.
39578
39579 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39580 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39581 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39582 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39583 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39584
39585 [BZ #13021]
39586 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39587 installed.
39588
39589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39590 typo.
39591 (_dl_x86_64_save_sse): Likewise.
39592
39593 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39594
39595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39596 OSXSAVE.
39597 (_dl_x86_64_save_sse): Likewise.
39598
39599 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39600
39601 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39602
39603 2011-07-21 Andreas Schwab <schwab@redhat.com>
39604
39605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39606 change.
39607 (_dl_x86_64_save_sse): Use correct AVX check.
39608
39609 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39610
39611 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39612 bug in strncpy/strncat.
39613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39614
39615 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39616
39617 * string/tester.c (test_strcat): Add tests for different alignments
39618 of source and destination.
39619 (test_strncat): Likewise.
39620
39621 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39622
39623 [BZ #12852]
39624 * posix/glob.c (glob): Check passed in values before using them in
39625 expressions to avoid some overflows.
39626 (glob_in_dir): Likewise.
39627
39628 [BZ #13007]
39629 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39630 check for AVX enablement so that we don't crash with old kernels and
39631 new hardware.
39632 * elf/tst-audit4.c: Add same checks here.
39633 * elf/tst-audit6.c: Likewise.
39634
39635 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39636
39637 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39638
39639 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39640
39641 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39642
39643 * po/cs.po: Update from translation team.
39644 * po/bg.po: Likewise.
39645
39646 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39647
39648 * misc/sys/cdefs.h: Add support for const attribute.
39649 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39650 to gnu_dev_{major,minor,makedev} functions.
39651
39652 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39653
39654 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39655
39656 2011-07-20 Andreas Schwab <schwab@redhat.com>
39657
39658 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39659 strlen results.
39660
39661 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39662
39663 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39664 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39665 register in order to avoid conflicts with the soft frame pointer
39666 being held in r11 when necessary.
39667 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39668 (INTERNAL_VSYSCALL_NCS): Likewise.
39669
39670 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39671
39672 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39673 * elf/dl-fini.c (_dl_fini): Adjust caller.
39674 * elf/dl-close.c (_dl_close_worker): Likewise.
39675 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39676
39677 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39678
39679 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39680 "aux_cache->nlibs < 0".
39681
39682 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39683 in the reload-count case.
39684
39685 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39686
39687 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39688 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39689 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39690 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39691 * sysdeps/x86_64/multiarch/strcat.S: New file.
39692 * sysdeps/x86_64/multiarch/strncat.S: New file.
39693 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39694 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39695 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39696 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39698 (USE_AS_STRCAT): Define.
39699 Add strcat and strncat support.
39700 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39701 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39702 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39703 * string/strncat.c: Update.
39704 (USE_AS_STRNCAT): Define.
39705 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39706 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39707 and i7.
39708 * sysdeps/x86_64/multiarch/init-arch.h
39709 (bit_Prefer_PMINUB_for_stringop): New.
39710 (index_Prefer_PMINUB_for_stringop): Likewise.
39711 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39712 bit_Prefer_PMINUB_for_stringop.
39713
39714 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39715
39716 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39717 buffer64.
39718 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39719 of casting of buffer.
39720 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39721 buffer32 and buffer64.
39722 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39723 writes instead of casting of buffer.
39724 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39725 buffer32.
39726 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39727 casting of buffer.
39728
39729 2011-07-19 Andreas Schwab <schwab@redhat.com>
39730
39731 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39732
39733 2011-07-19 Ulrich Drepper <drepper@gmail.com>
39734
39735 * nscd/nscd.c (termination_handler): Don't do anything for a database
39736 if it has not yet been initialized.
39737
39738 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39739
39740 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39741
39742 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39743
39744 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39745
39746 2011-07-18 Ulrich Drepper <drepper@gmail.com>
39747
39748 * po/nl.po: Update from translation team.
39749 * po/sv.po: Likewise.
39750
39751 2011-07-16 Roland McGrath <roland@hack.frob.com>
39752
39753 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39754 now disallowed by GCC.
39755
39756 * configure.in (use-default-link): Default to yes if a test -shared
39757 link meets our qualifications.
39758 * configure: Regenerated.
39759
39760 * config.make.in (output-format): New variable.
39761 * configure.in: Check for ld --print-output-format support.
39762 * configure: Regenerated.
39763 * Makerules ($(common-objpfx)format.lds)
39764 [$(output-format) != unknown]: Just use $(output-format),
39765 instead of the linker-script munging.
39766
39767 2011-07-14 Roland McGrath <roland@hack.frob.com>
39768
39769 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39770 of $(common-objpfx)shlib.lds.
39771 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39772
39773 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39774 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39775
39776 * configure.in (-z relro check): Adjust test code to add a large
39777 writable data section after it.
39778 * configure: Regenerated.
39779
39780 2011-07-11 Roland McGrath <roland@hack.frob.com>
39781
39782 * configure.in (-z relro check): Fix test code to make the variable
39783 truly const.
39784 * configure: Regenerated.
39785
39786 2011-07-11 Ulrich Drepper <drepper@gmail.com>
39787
39788 * nscd/nscd.h (struct traced_file): Define.
39789 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39790 elements. Add traced_files.
39791 (inotify_fd): Declare.
39792 (register_traced_file): Declare.
39793 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39794 (inotify_fd): Export.
39795 (resolv_conf_descr): Remove.
39796 (nscd_init): Move inotify descriptor creation to main.
39797 Don't register files for notification here.
39798 (register_traced_file): New function.
39799 (invalidate_cache): Don't use reset_res to determine whether to call
39800 res_init, go through the list of registered files.
39801 (main_loop_poll): The inotify descriptors are now stored in the
39802 structures for the traced files.
39803 (main_loop_epoll): Likewise
39804 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39805 to __nss_disable_nscd.
39806 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39807 for a database anymore. Check the records for all the registered
39808 files instead.
39809 * nss/Makefile (libnss_files-routines): Add files-init.
39810 (libnss_db-routines): Add db-init.
39811 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39812 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39813 * nss/nss_db/db-init.c: New file.
39814 * nss/nss_files/files-init.c: New file.
39815 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39816 __nss_lookup_function.
39817 (__nss_lookup_function): Call nss_load_library.
39818 (nss_load_all_libraries): New function.
39819 (__nss_disable_nscd): Take parameter with callback function for files
39820 to register. Set is_nscd. Load all the DSOs for the NSS modules
39821 used for the cached services.
39822 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39823 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39824 options for features to all the files in nscd.
39825
39826 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39827
39828 2011-07-10 Roland McGrath <roland@hack.frob.com>
39829
39830 * csu/elf-init.c (__libc_csu_init): Comment typo.
39831
39832 2011-07-09 Ulrich Drepper <drepper@gmail.com>
39833
39834 * po/pl.po: Update from translation team.
39835 * po/ja.po: Likewise.
39836 * po/ru.po: Likewise.
39837 * po/ko.po: Likewise.
39838 * po/fr.po: Likewise.
39839
39840 2011-07-09 Roland McGrath <roland@hack.frob.com>
39841
39842 * configure.in (.ctors/.dtors header and trailer check):
39843 Use an empirical test on a built program.
39844 * configure: Regenerated.
39845
39846 * configure.in (-z relro check): Use an empirical test on a built DSO.
39847 Detect, but do not require, on ia64.
39848 * configure: Regenerated.
39849
39850 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39851 Update tests that use readelf to use $READELF instead.
39852 * configure: Regenerated.
39853
39854 2011-07-08 Ulrich Drepper <drepper@gmail.com>
39855
39856 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39857 if the result is not used.
39858
39859 2011-07-05 Andreas Jaeger <aj@suse.de>
39860
39861 [BZ#9696]
39862 * stdlib/tst-strtod.c: Add testcase.
39863
39864 2011-07-07 Ulrich Drepper <drepper@gmail.com>
39865
39866 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
39867 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
39868 The latter has a higher limit. Take additional parameter to pass to
39869 the new function.
39870 (__pathconf): Pass file to __statfs_link_max.
39871 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39872 __statfs_link_max.
39873 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39874 __statfs_link_max.
39875
39876 [BZ #12868]
39877 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39878 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39879 Handle Lustre.
39880 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39881 (__statfs_filesize_max): Likewise.
39882 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39883
39884 2011-07-05 Andreas Jaeger <aj@suse.de>
39885
39886 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39887
39888 2011-07-06 Marek Polacek <mpolacek@redhat.com>
39889
39890 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39891 `status' variable.
39892 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39893 Likewise.
39894
39895 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39896
39897 * Makefile (strop-tests): Add strncat.
39898 * string/test-strncat.c: New file.
39899
39900 2011-06-30 Marek Polacek <mpolacek@redhat.com>
39901
39902 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39903
39904 2011-06-21 Andreas Jaeger <aj@suse.de>
39905
39906 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39907 Copy rule from iconvdata/Makefile.
39908
39909 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39910
39911 [BZ #12922]
39912 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39913 but no long options are defined, just return 'W'.
39914
39915 2011-06-22 Marek Polacek <mpolacek@redhat.com>
39916
39917 [BZ #9696]
39918 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39919
39920 2011-07-06 Ulrich Drepper <drepper@gmail.com>
39921
39922 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39923 netgroups to read.
39924 (innetgr): Likewise.
39925
39926 2011-07-05 Roland McGrath <roland@hack.frob.com>
39927
39928 * config.make.in (install_root): Default to $(DESTDIR).
39929
39930 2011-07-05 Ulrich Drepper <drepper@gmail.com>
39931
39932 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39933
39934 2011-07-02 Roland McGrath <roland@hack.frob.com>
39935
39936 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39937
39938 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39939 containing directory rather than embedding absolute directory names.
39940
39941 * scripts/check-local-headers.sh: Rewritten using awk.
39942 Match by word, not by line. Print error messages for matches.
39943 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39944
39945 * Makerules [shlib-lds-flags empty]:
39946 ($(common-objpfx)libc_pic.opts): New target.
39947 ($(common-objpfx)libc_pic.os.clean): New target.
39948 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39949
39950 * config.make.in (OBJCOPY): New variable.
39951 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39952 * configure: Regenerated.
39953
39954 * config.make.in (use-default-link): New variable.
39955 * configure.in (use_default_link): Grok --with-default-link to set it.
39956 * configure: Regenerated.
39957 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39958 (shlib-lds, shlib-lds-flags): Define to empty.
39959
39960 * Makerules (shlib-lds): New variable.
39961 (shlib-lds-flags): New variable.
39962 (build-shlib, build-moduile, build-module-asneeded): Use it.
39963 ($(common-objpfx)libc.so): Use $(shlib-lds).
39964 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39965 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39966
39967 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39968 DT_FLAGS/DT_FLAGS_1 with zero flags.
39969
39970 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39971 linker script munging.
39972
39973 2011-07-02 Ulrich Drepper <drepper@gmail.com>
39974
39975 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39976 as 128-bit value.
39977 * crypt/sha512.c (sha512_process_block): Perform total addition using
39978 128-bit if possible.
39979 (__sha512_finish_ctx): Likewise.
39980 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39981 as 64-bit value.
39982 * crypt/sha256.c (SWAP64): Define.
39983 (sha256_process_block): Perform total addition using 64-bit if
39984 possible.
39985 (__sha256_finish_ctx): Likewise.
39986
39987 2011-07-01 Ulrich Drepper <drepper@gmail.com>
39988
39989 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39990 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39991 * nscd/hstcache.c (cache_addhst): Likewise.
39992 * nscd/grpcache.c (cache_addgr): Likewise.
39993 * nscd/aicache.c (addhstaiX): Likewise
39994 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39995
39996 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
39997
39998 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40000 * nscd/hstcache.c (cache_addhst): Likewise.
40001 * nscd/grpcache.c (cache_addgr): Likewise.
40002 * nscd/aicache.c (addhstaiX): Likewise
40003
40004 2011-07-01 Andreas Schwab <schwab@redhat.com>
40005
40006 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40007 domain only when needed.
40008
40009 2011-06-30 Andreas Schwab <schwab@redhat.com>
40010
40011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40012 is always restored.
40013
40014 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40015
40016 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40017 are re-adding the entry.
40018 * nscd/servicescache.c (cache_addserv): Likewise.
40019
40020 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40021
40022 * sysdeps/generic/dl-irel.h: fix protection against multiple
40023 inclusions.
40024 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40025
40026 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40027
40028 [BZ #12935]
40029 * malloc/memusage.sh: Fix quoting in message.
40030 * debug/xtrace.sh: Likewise.
40031
40032 * configure.in: Remove support for --experimental-malloc option, make
40033 it the default.
40034 * config.make.in: Likewise.
40035 * malloc/Makefile: Likewise.
40036
40037 2011-06-27 Andreas Schwab <schwab@redhat.com>
40038
40039 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40040 two-byte characters.
40041
40042 2011-06-27 Roland McGrath <roland@hack.frob.com>
40043
40044 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40045 AC_CACHE_CHECK invocation.
40046 * configure: Regenerated.
40047
40048 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40049
40050 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40051
40052 [BZ #12350]
40053 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40054 bit from old_res_options.
40055
40056 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40057
40058 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40059 value type for setfct.
40060
40061 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40062
40063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40064 __gettimeofday instead of gettimeofday.
40065
40066 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40067
40068 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40069
40070 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40071
40072 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40073
40074 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40075 info.
40076
40077 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40078
40079 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40080 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40081 strcpy-sse2-unaligned strncpy-sse2-unaligned
40082 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40083 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40084 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40085 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40086 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40087 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40089 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40090 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40091 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40092 (STRCPY): Support SSE2 and SSSE3 versions.
40093
40094 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40095
40096 [BZ #12874]
40097 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40098 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40099 kernels which artificially limit size of requests.
40100
40101 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40102
40103 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40104 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40105 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40106 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40107 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40108 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40109 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40110 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40111 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40112 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40113 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40114 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40115 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40116 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40117 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40119 Enable unaligned load optimization for Intel Core i3, i5 and i7
40120 processors.
40121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40122 Define.
40123 (index_Fast_Unaligned_Load): Define.
40124 (HAS_FAST_UNALIGNED_LOAD): Define.
40125
40126 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40127
40128 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40129
40130 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40131
40132 [BZ #12907]
40133 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40134 until it is clear that the information is realy needed.
40135 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40136
40137 2011-06-22 Andreas Schwab <schwab@redhat.com>
40138
40139 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40140
40141 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40142
40143 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40144 /sys/devices/system/cpu/online if it is usable.
40145
40146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40147 reading the information from the /proc filesystem to once a second.
40148
40149 2011-06-21 Andreas Jaeger <aj@suse.de>
40150
40151 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40152 NULL after inclusion of kernel headers.
40153
40154 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40155
40156 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40157 calls to internal_setent.
40158
40159 [BZ #12885]
40160 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40161 addresses using gethostbyname4_r ignore IPv4 addresses.
40162
40163 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40164 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40165
40166 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40167
40168 2011-06-20 David S. Miller <davem@davemloft.net>
40169
40170 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40171 inclusions.
40172 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40173
40174 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40175 (elf_irel): Use it.
40176 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40177 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40178 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40179 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40180 * sysdeps/x86_64/dl-irel.h: Likewise.
40181
40182 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40183 * elf/dl-sym.c: Likewise.
40184
40185 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40186
40187 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40188 need to dereference resplen2.
40189
40190 2011-06-14 Andreas Schwab <schwab@redhat.com>
40191
40192 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40193
40194 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40195
40196 * Makeconfig: Define vardbdir and inst_vardbdir.
40197 * nss/Makefile: Add rules to install db-Makefile.
40198
40199 * nss/nss_db/db-XXX.c: Cleanup.
40200
40201 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40202 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40203 GLIBC_PRIVATE.
40204 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40205 * nss/makedb.c: Implement -g option to specify that value strings
40206 are generated and should not be added to table iterated over for
40207 get*ent calls.
40208 * nss/nss_db/db-initgroups.c: New file.
40209
40210 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40211 interface.
40212
40213 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40214 (internal_getgrouplist): Adjust to name change.
40215 Update use_initgroups_entry if this is not the first call.
40216 * nss/databases.def: Add initgroups entry.
40217
40218 * nss/makedb.c (compute_tables): Check result of multiple hash table
40219 sizes to minimize maximum chain length.
40220
40221 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40222
40223 * Versions.def: Add entry for libnss_db.
40224 * shlib-versions: Likewise.
40225 * nss/Makefile: Add rules to build libnss_db.
40226 * nss/Versions: Add libnss_db information. Organize libnss_files
40227 entries better.
40228 * nss/db-Makefile: Add gshadow support. Change rules for the new
40229 makedb progra. Some minor improvements to generate smaller files.
40230 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40231 here from...
40232 * nss/makedb.c: ...here.
40233 Improve database format to be smaller and require less memory at
40234 runtime.
40235 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40236 db anymore.
40237 * nss/nss_db/db-netgrp.c: Likewise.
40238 * nss/nss_db/db-open.c: Likewise.
40239 * nss/nss_files/flies-XXX.x: Adjust comments.
40240 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40241 * nss/nss_files/files-grp.c: Likewise.
40242 * nss/nss_files/files-hosts.c: Likewise.
40243 * nss/nss_files/files-network.c: Likewise.
40244 * nss/nss_files/files-proto.c: Likewise.
40245 * nss/nss_files/files-pwd.c: Likewise.
40246 * nss/nss_files/files-rpc.c: Likewise.
40247 * nss/nss_files/files-service.c: Likewise.
40248 * nss/nss_files/files-sgrp.c: Likewise.
40249 * nss/nss_files/files-spwd.c: Likewise.
40250 * nss/nss_db/db-alias.c: Removed.
40251 * nss/nss_db/dummy-db.h: Removed.
40252
40253 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40254
40255 * nss/makedb.c: Rewritten to not use database library.
40256 * nss/Makefile: Update to build new makedb program.
40257
40258 2011-06-14 Andreas Jaeger <aj@suse.de>
40259
40260 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40261 memset declaration.
40262
40263 2011-06-10 Andreas Schwab <schwab@redhat.com>
40264
40265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40266 tmpbuf.
40267
40268 2011-06-10 Roland McGrath <roland@hack.frob.com>
40269
40270 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40271 * elf/Makefile ($(objpfx)ld.so): Likewise.
40272
40273 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40274 Don't list ld.so twice in dependencies.
40275
40276 * posix/bug-regex31.c: Include <stdlib.h>.
40277
40278 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40279
40280 * nis/nss_compat/compat-spwd.c
40281 (getspent_next_nss_netgr): Remove unused variable.
40282 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40283
40284 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40285 nonmembers" output to use the right array.
40286
40287 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40288
40289 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40290
40291 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40292 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40293 * catgets/gencat.c (read_input_file): Likewise.
40294 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40295
40296 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40297 variable definition inside #if's controlling its use.
40298
40299 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40300
40301 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40302
40303 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40304
40305 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40306 unreachable code.
40307
40308 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40309
40310 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40311 * configure: Regenerated.
40312
40313 * Makerules: Revert last change.
40314 * elf/Makefile: Likewise.
40315
40316 2011-06-09 Roland McGrath <roland@hack.frob.com>
40317
40318 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40319 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40320 (reloc-link): Likewise.
40321
40322 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40323
40324 * elf/Makefile: Add rules to build pldd.
40325 * elf/pldd.c: New file.
40326 * elf/pldd-xx.c: New file.
40327
40328 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40329
40330 * version.h: Update for 2.15 development version.
40331
40332 2011-06-07 David S. Miller <davem@davemloft.net>
40333
40334 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40335 ifuncs.
40336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40337 elf_machine_lazy_rel): Likewise.
40338 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40339 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40340 elf_machine_lazy_rel): Likewise.
40341 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40342 dl_hwcap via passed in argument.
40343 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40344 Likewise.
40345
40346 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40347
40348 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40349
40350 2011-06-06 Roland McGrath <roland@hack.frob.com>
40351
40352 [BZ #12849]
40353 * manual/fdl-1.1.texi: New file, verbatim from:
40354 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40355 * manual/lgpl-2.1.texi: New file, verbatim from:
40356 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40357 * manual/Makefile (licenses): New variable, list those new file names.
40358 (texis): Use it.
40359 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40360
40361 * manual/fdl.texi: File removed.
40362 * manual/lesser.texi: File removed.
40363 * manual/libc.texinfo (Copying, Documentation License):
40364 Use new @include file names, put @appendix directive before @include.
40365
40366 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40367
40368 [BZ #12841]
40369 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40370 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40371 (mq_open): Add __NTH.
40372
40373 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40374
40375 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40376 Assume Intel Core i3/i5/i7 processor if AVX is available.
40377
40378 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40379
40380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40381 typo.
40382
40383 2011-05-31 Andreas Schwab <schwab@redhat.com>
40384
40385 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40386 memory. Use alloca_account. Fix memory leak when retrying.
40387
40388 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40389
40390 * version.h (RELEASE): Bump for 2.14 release.
40391 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40392
40393 * config.make.in (RANLIB): Remove entry.
40394
40395 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40396
40397 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40398 (libc.pot): Work around missing support for .ksh extension in xgettext.
40399
40400 [BZ #12684]
40401 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40402 if both request failed.
40403 (send_dg): In case of server errors clear resplen or *resplen2.
40404
40405 [BZ #12454]
40406 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40407 when there are multiple maps.
40408 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40409 (_dl_fini): Remove test here.
40410
40411 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40412
40413 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40414
40415 [BZ #12350]
40416 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40417 bit from old_res_options.
40418 (gaih_inet): Likewise.
40419
40420 [BZ #11099]
40421 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40422 as signed.
40423
40424 * resolv/res_init.c (res_setoptions): Make the code more compact.
40425
40426 [BZ #11558]
40427 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40428 set RES_USEVC.
40429
40430 [BZ #11634]
40431 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40432
40433 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40434
40435 [BZ #11781]
40436 * malloc/malloc.h: Declare malloc hook variables as volatile.
40437
40438 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40439 in last patch.
40440
40441 [BZ #11799]
40442 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40443 raise in the comment.
40444 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40445 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40446 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40447
40448 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40449
40450 [BZ #12811]
40451 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40452 grow the buffers more if it already has to be sufficient.
40453 (build_wcs_upper_buffer): Likewise.
40454 * posix/regexec.c (check_matching): Likewise.
40455 (clean_state_log_if_needed): Likewise.
40456 (extend_buffers): Don't enlarge buffers beyond size of the input
40457 buffer.
40458 Patches mostly by Emil Wojak <emil@wojak.eu>.
40459 * posix/bug-regex32.c: New file.
40460 * posix/Makefile (tests): Add bug-regex32.
40461
40462 * locale/findlocale.c (_nl_find_locale): Return right away if
40463 _nl_explode_name failed.
40464 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40465
40466 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40467
40468 * debug/xtrace.sh: Unify messages.
40469 * malloc/memusage.sh: Likewise.
40470
40471 [BZ #12813]
40472 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40473 time symbol from vDSO. Substitute with vsyscall if not available.
40474 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40475 __vdso_time.
40476
40477 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40478 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40479 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40480 Add sendmmsg and internal_sendmmsg.
40481 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40482 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40483 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40484
40485 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40486 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40487 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40488
40489 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40490
40491 [BZ #12813]
40492 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40493 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40494 available.
40495 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40496 __vdso_getcpu.
40497
40498 [BZ #12814]
40499 * iconvdata/Makefile (tests): Add bug-iconv9.
40500 * iconvdata/bug-iconv9.c: New file.
40501
40502 2011-05-27 Andreas Schwab <schwab@redhat.com>
40503
40504 [BZ #12814]
40505 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40506
40507 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40508
40509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40510 (struct user_regs_struct): Change intcs field back to cs.
40511
40512 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40513
40514 * po/ja.po: Update from translation team.
40515
40516 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40517
40518 [BZ #12795]
40519 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40521
40522 2011-05-20 Andreas Schwab <schwab@redhat.com>
40523
40524 * stdlib/longlong.h: Update from GCC.
40525
40526 2011-05-23 Andreas Schwab <schwab@redhat.com>
40527
40528 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40529 parameter name.
40530 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40531 Add parameter name.
40532 (__sysconf): Pass it down.
40533
40534 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40535
40536 [BZ #12671]
40537 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40538 some situations.
40539 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40540 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40541 add in in __libc_use_alloca calls. Adjust callers.
40542 (glob): Use malloc in some situations.
40543
40544 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40545 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40546 pltexit.
40547
40548 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40549
40550 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40551 and CLOCK_BOOTTIME_ALARM.
40552
40553 [BZ #12782]
40554 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40555 is returned.
40556
40557 * string/_strerror.c (__strerror_r): Print negative errors as signed
40558 numbers.
40559
40560 [BZ #12777]
40561 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40562 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40563 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40564
40565 * configure.in: Fix typo in redirection and correct removal of test
40566 files in two cases.
40567
40568 [BZ #12788]
40569 * locale/setlocale.c (new_composite_name): Fix test to check for
40570 identical name of all categories.
40571
40572 [BZ #12792]
40573 * libio/filedoalloc.c (local_isatty): New function.
40574 (_IO_file_doallocate): Use local_isatty.
40575 * stdio-common/perror.c (perror): In case a new stream is used
40576 forward the stream error.
40577 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40578 error flag.
40579
40580 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40581
40582 [BZ #11869]
40583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40584 alloca.
40585 * include/alloca.h (extend_alloca_account): Define.
40586
40587 [BZ #11857]
40588 * posix/regex.h: Fix comments with documentation of user-accessible
40589 fields after compilation and describe correct free'ing of pattern
40590 after re_compile_pattern.
40591 Patch by Reuben Thomas <rrt@sc3d.org>.
40592
40593 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40594
40595 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40596 and -mno-altivec to prevent the compiler from using Altivec and/or
40597 VSX instructions when the corresponding registers are not available.
40598
40599 2011-05-19 Andreas Schwab <schwab@redhat.com>
40600
40601 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40602
40603 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40604
40605 * libio/freopen.c (freopen): Use __dup2, not dup2.
40606 * libio/freopen64.c (freopen64): Likewise.
40607
40608 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40609
40610 [BZ #12775]
40611 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40612 * math/Makefile (tests): Add test-powl.
40613 (CFLAGS-test-powl.c): Define.
40614 * math/test-powl.c: New file.
40615
40616 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40617
40618 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40619
40620 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40621
40622 [BZ #11837]
40623 * iconvdata/gb18030.c: Update to GB18020-2005.
40624
40625 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40626
40627 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40628 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40629 Patch by Aharon Robbins <arnold@skeeve.com>.
40630
40631 [BZ #11892]
40632 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40633 on the stack.
40634
40635 [BZ #11895]
40636 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40637 through underflows.
40638
40639 [BZ #12766]
40640 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40641 point to strings before performing equality test for error_one_per_line
40642 mode.
40643
40644 [BZ #11697]
40645 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40646
40647 [BZ #11820]
40648 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40649 (struct user_fpregs_struct): Avoid __uint*_t types.
40650
40651 [BZ #6420]
40652 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40653 symbol info. Use it instead of calling _dl_addr locally.
40654 (lock_and_info): New function.
40655 (tr_freehook): Call lock_and_info and pass symbol info as additional
40656 parameter to tr_where.
40657 (tr_mallochook): Likewise.
40658 (tr_reallochook): Likewise.
40659 (tr_memalignhook): Likewise.
40660
40661 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40662 used and couldn't be at all thread-safe.
40663
40664 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40665
40666 * libio/freopen.c (freopen): Don't close old file descriptor
40667 before the new one is opened. Instead dup the new file descriptor
40668 to the old one after the new stream is created.
40669 * libio/freopen64.c (freopen64): Likewise.
40670 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40671 * libio/fileops.c (_IO_new_file_close_it): Handle new
40672 _IO_FLAGS2_NOCLOSE flag.
40673 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40674 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40675 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40676 _IO_FLAGS2_NOCLOSE flag.
40677 * include/unistd.h: Add hidden_proto for dup3.
40678 Define __have_dup3.
40679 * io/dup3.c: Define hidden symbol.
40680 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40681
40682 [BZ #7101]
40683 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40684 when an incomplete long option is used.
40685 * posix/tst-getopt_long1.c: New file.
40686 * posix/Makefile (tests): Add tst-getopt_long1.
40687
40688 [BZ #10138]
40689 * scripts/config.guess: Update from autoconf-2.68.
40690 * scripts/config.sub: Likewise.
40691
40692 [BZ #10157]
40693 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40694 tests into ...
40695 (has_cpuclock): ...this. New function.
40696 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40697 macro here based on has_cpuclock code.
40698
40699 [BZ #10149]
40700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40701 First byte (not low byte) is now always NUL.
40702 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40703
40704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40705 Use non-cancelable interfaces.
40706
40707 [BZ #9809]
40708 * locale/iso-639.def: Add entry for Sorani.
40709
40710 [BZ #11901]
40711 * include/stdlib.h: Move include protection to the right place.
40712 Define abort_msg_s. Declare __abort_msg with it.
40713 * stdlib/abort.c (__abort_msg): Adjust type.
40714 * assert/assert.c (__assert_fail_base): New function. Majority
40715 of code from __assert_fail. Allocate memory for __abort_msg with
40716 mmap.
40717 (__assert_fail): Now call __assert_fail_base.
40718 * assert/assert-perr.c: Remove bulk of implementation. Use
40719 __assert_fail_base.
40720 * include/assert.hL Declare __assert_fail_base.
40721 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40722 mmap.
40723 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40724
40725 2011-05-14 Ulrich Drepper <drepper@gmail.com>
40726
40727 [BZ #11952]
40728 [BZ #12453]
40729 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40730 until all modules are registered in the DTV.
40731 * elf/Makefile: Add rules to build and run tst-tls19.
40732 * elf/tst-tls19.c: New file.
40733 * elf/tst-tls19mod1.c: New file.
40734 * elf/tst-tls19mod2.c: New file.
40735 * elf/tst-tls19mod3.c: New file.
40736 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40737
40738 [BZ #12083]
40739 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40740 correctly.
40741
40742 [BZ #12601]
40743 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40744 two-byte sequence errors.
40745 * iconvdata/Makefile (tests): Add bug-iconv8.
40746 * iconvdata/bug-iconv8.c: New file.
40747
40748 [BZ #12626]
40749 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40750 buf2 definition.
40751
40752 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40753
40754 [BZ #12432]
40755 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40756 (dummy_getcfa): New function.
40757 (init): Get _Unwind_GetCFA address, use dummy if not found.
40758 (backtrace_helper): In recursion check, also check whether CFA changes.
40759 (__backtrace): Completely initialize arg.
40760
40761 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
40762 storing incomplete byte sequence in state object. Avoid testing for
40763 guaranteed too small input if we know there is enough data available.
40764
40765 2011-05-11 Andreas Schwab <schwab@redhat.com>
40766
40767 * Makeconfig (+link-pie): Indent.
40768 * Rules (binaries-pie): Define if $(have-fpie) and
40769 $(build-shared).
40770 (binaries-shared): Also filter out $(binaries-pie).
40771 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40772 * nscd/Makefile (others-pie): Add nscd.
40773 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40774 ($(objpfx)nscd): Remove command override.
40775 * login/Makefile (others-pie): Add pt_chown.
40776 ($(objpfx)pt_chown): Remove command override.
40777 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40778 remove command overrides.
40779
40780 2011-05-13 Ulrich Drepper <drepper@gmail.com>
40781
40782 * libio/tst_putwc.c: Fix error messages.
40783
40784 [BZ #12724]
40785 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40786 currently writing and seek to current position when not.
40787 * libio/Makefile (tests): Add bug-fclose1.
40788 * libio/bug-fclose1.c: New file.
40789
40790 2011-05-12 Ulrich Drepper <drepper@gmail.com>
40791
40792 [BZ #12511]
40793 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40794 don't set DF_1_NODELETE here.
40795 (do_lookup_x): When entering new entry test for copy relocation
40796 and if necessary set DF_1_NODELETE flag.
40797 * elf/tst-unique4.cc: New file.
40798 * elf/tst-unique4.h: New file.
40799 * elf/tst-unique4lib.cc: New file.
40800 * elf/Makefile: Add rules to build and run tst-unique4.
40801 Patch by Piotr Bury <pbury@goahead.com>.
40802
40803 2011-05-11 Ulrich Drepper <drepper@gmail.com>
40804
40805 [BZ #12052]
40806 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40807
40808 [BZ #12625]
40809 * misc/mntent_r.c (addmntent): Flush the stream after the output
40810
40811 [BZ #12393]
40812 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40813 (is_trusted_path_normalize): Skip initial colon. Append slash
40814 to empty buffer. Duplicate is_trusted_path code but allow
40815 constructed patch to be prefix.
40816 (is_dst): Allow $ORIGIN followed by /.
40817 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40818 Correct testing of result of is_trusted_path_normalize
40819 (decompose_rpath): Fix warning.
40820
40821 2011-05-10 Ulrich Drepper <drepper@gmail.com>
40822
40823 [BZ #11257]
40824 * grp/initgroups.c (internal_getgrouplist): When we found the service
40825 list through the initgroups entry in nsswitch.conf do not always
40826 continue on a successful lookup. Don't always use the
40827 __nss_group_database value if it is set.
40828 * nss/nsswitch.conf (initgroups): Change action for successful db
40829 lookup to continue for compatibility.
40830
40831 2011-05-09 Ulrich Drepper <drepper@gmail.com>
40832
40833 [BZ #11532]
40834 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40835 and CP774 modules.
40836 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40837 and CP774 modules.
40838 * iconvdata/tst-tables.sh: Likewise.
40839 * iconvdata/cp770.c: New file.
40840 * iconvdata/cp771.c: New file.
40841 * iconvdata/cp772.c: New file.
40842 * iconvdata/cp773.c: New file.
40843 * iconvdata/cp774.c: New file.
40844 * iconvdata/testdata/CP770: New file.
40845 * iconvdata/testdata/CP770..UTF8: New file.
40846 * iconvdata/testdata/CP771: New file.
40847 * iconvdata/testdata/CP771..UTF8: New file.
40848 * iconvdata/testdata/CP772: New file.
40849 * iconvdata/testdata/CP772..UTF8: New file.
40850 * iconvdata/testdata/CP773: New file.
40851 * iconvdata/testdata/CP773..UTF8: New file.
40852 * iconvdata/testdata/CP774: New file.
40853 * iconvdata/testdata/CP774..UTF8: New file.
40854
40855 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40856 END CHARMAP line.
40857 * iconvdata/gen-8bit-gap.sh: Likewise.
40858 * iconvdata/gen-8bit.sh: Likewise.
40859
40860 * locale/iso-639.def: Add ary entry.
40861
40862 [BZ #11258]
40863 * locale/C-translit.h.in: Add U20A1 transliteration.
40864
40865 [BZ #12178]
40866 * locale/iso-639.def: Add wae entry.
40867 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40868
40869 [BZ #12545]
40870 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40871 for n.
40872
40873 [BZ #12711]
40874 * locale/C-translit.h.in: Add entry for U20B9.
40875 Patch by pravin.d.s@gmail.com.
40876
40877 2011-05-08 Ulrich Drepper <drepper@gmail.com>
40878
40879 [BZ #12713]
40880 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40881 ENAMETOOLONG use generic getcwd.
40882 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40883 in rtld. Use *stat64.
40884 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
40885 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
40886 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
40887 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40888 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40889 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40890 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40891 __fstatat64 macros.
40892 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40893 * dirent/rewinddir.c: Add libc_hidden_def.
40894 * sysdeps/mach/hurd/rewinddir.c: Likewise.
40895 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
40896
40897 * include/dirent.h (__alloc_dir): Add flags parameter.
40898 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40899 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40900 __alloc_dir.
40901 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40902 from fdopendir if O_CLOEXEC is already set.
40903
40904 2011-03-15 Alan Modra <amodra@gmail.com>
40905
40906 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40907 l_tls_firstbyte_offset non-zero. Save padding offset in
40908 l_tls_firstbyte_offset for later use.
40909 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40910 freeing static tls block.
40911
40912 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40913
40914 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40915 where #ifdef was intended. The intent is to prevent ARG_MAX from
40916 being defined by the kernel headers.
40917
40918 2011-05-07 Ulrich Drepper <drepper@gmail.com>
40919
40920 [BZ #12734]
40921 * resolv/resolv.h: Define RES_NOTLDQUERY.
40922 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40923 no-tld-query and set RES_NOTLDQUERY.
40924 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40925 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40926 modern BIND to search name as TLD unless forbidden.
40927
40928 2011-05-07 Petr Baudis <pasky@suse.cz>
40929 Ulrich Drepper <drepper@gmail.com>
40930
40931 [BZ #12393]
40932 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40933 (is_trusted_path): ...to here.
40934 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
40935 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
40936 using is_trusted_path_normalize() in setuid scripts.
40937
40938 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40939
40940 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40941 __BEGIN/__END_DECLS.
40942
40943 2011-05-06 Ulrich Drepper <drepper@gmail.com>
40944
40945 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40946 NSS_STATUS_NOTFOUND if no record was found.
40947
40948 2011-05-05 Andreas Schwab <schwab@redhat.com>
40949
40950 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40951 (headers-not-in-tirpc): Remove rpc/netdb.h
40952 * resolv/netdb.h: Revert last change.
40953
40954 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40955
40956 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40957 circular dependency between libgcc.a and libc.a.
40958
40959 2011-05-05 Andreas Schwab <schwab@redhat.com>
40960
40961 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40962 * nis/Makefile: Don't install rpcsvc/*.
40963 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40964 instead of <rpc/types.h>.
40965 (MAXHOSTNAMELEN): Define.
40966
40967 2011-05-03 Andreas Schwab <schwab@redhat.com>
40968
40969 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40970
40971 2011-04-28 Maciej Babinski <mbabinski@google.com>
40972
40973 [BZ #12714]
40974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40975 gethostbyname4_r when IPv6 results are possible.
40976
40977 2011-05-02 Ulrich Drepper <drepper@gmail.com>
40978
40979 [BZ #12723]
40980 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40981 _PC_PIPE_BUF handling.
40982
40983 2011-04-30 Bruno Haible <bruno@clisp.org>
40984
40985 [BZ #12717]
40986 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40987 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40988 to 'int'.
40989 * inet/getnameinfo.c (getnameinfo): Likewise.
40990
40991 2011-04-29 Ulrich Drepper <drepper@gmail.com>
40992
40993 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40994 to groups setting in database lookup.
40995 * nss/nsswitch.conf: Add initgroups entry.
40996
40997 2011-04-22 Ulrich Drepper <drepper@gmail.com>
40998
40999 [BZ #12685]
41000 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41001 mode string.
41002 Patch by Eric Blake <eblake@redhat.com>.
41003
41004 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41005
41006 * sunrpc/Makefile (need-export-routines): Add svc_run.
41007 (routines): Remove svc_run.
41008 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41009 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41010 * sunrpc/svc_run.c (svc_run): Likewise.
41011 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41012
41013 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41014
41015 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41016 problem in reallocation in last patch.
41017
41018 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41019
41020 * sunrpc/Makefile: Move inclusion of Rules.
41021
41022 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41023
41024 * nss/nss_files/files-initgroups.c: New file.
41025 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41026 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41027 _nss_files_initgroups_dyn.
41028
41029 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41030
41031 * elf/elf.h (R_ARM_IRELATIVE): Define.
41032
41033 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41034
41035 * po/ru.po: Update from translation team.
41036
41037 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41038
41039 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41040 dependencies.
41041
41042 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41043
41044 [BZ #12653]
41045 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41046 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41049 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41050
41051 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41052
41053 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41054 differing bytes.
41055 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41056 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41057 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41058
41059 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41060
41061 [BZ #12420]
41062 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41063 storing it.
41064 * stdlib/bug-getcontext.c: New file.
41065 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41066
41067 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41068
41069 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41070 instructions into .machine "z9-109".
41071 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41072 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41073
41074 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41075
41076 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41077 between environment variables and auxiliary vector.
41078
41079 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41080
41081 * Makefile: Add rules to build linkobj/libc.so.
41082 * include/libc-symbols.h: Define libc_hidden_nolink.
41083 * include/rpc/auth.h: Mark functions which are to be hidden.
41084 * include/rpc/auth_des.h: Likewise.
41085 * include/rpc/auth_unix.h: Likewise.
41086 * include/rpc/clnt.h: Likewise.
41087 * include/rpc/des_crypt.h: Likewise.
41088 * include/rpc/key_prot.h: Likewise.
41089 * include/rpc/pmap_clnt.h: Likewise.
41090 * include/rpc/pmap_prot.h: Likewise.
41091 * include/rpc/pmap_rmt.h: Likewise.
41092 * include/rpc/rpc_msg.h: Likewise.
41093 * include/rpc/svc.h: Likewise.
41094 * include/rpc/svc_auth.h: Likewise.
41095 * include/rpc/xdr.h: Likewise.
41096 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41097 * nss/Makefile: Likewise.
41098 * sunrpc/Makefile: Don't install headers. Build library with normal
41099 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41100 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41101 for the compat linking library. Remove use of INTDEF/INTUSE.
41102 * sunrpc/auth_none.c: Likewise.
41103 * sunrpc/auth_unix.c: Likewise.
41104 * sunrpc/authdes_prot.c: Likewise.
41105 * sunrpc/authuxprot.c: Likewise.
41106 * sunrpc/clnt_gen.c: Likewise.
41107 * sunrpc/clnt_perr.c: Likewise.
41108 * sunrpc/clnt_raw.c: Likewise.
41109 * sunrpc/clnt_simp.c: Likewise.
41110 * sunrpc/clnt_tcp.c: Likewise.
41111 * sunrpc/clnt_udp.c: Likewise.
41112 * sunrpc/clnt_unix.c: Likewise.
41113 * sunrpc/des_crypt.c: Likewise.
41114 * sunrpc/des_soft.c: Likewise.
41115 * sunrpc/get_myaddr.c: Likewise.
41116 * sunrpc/key_call.c: Likewise.
41117 * sunrpc/key_prot.c: Likewise.
41118 * sunrpc/netname.c: Likewise.
41119 * sunrpc/pm_getmaps.c: Likewise.
41120 * sunrpc/pm_getport.c: Likewise.
41121 * sunrpc/pmap_clnt.c: Likewise.
41122 * sunrpc/pmap_prot.c: Likewise.
41123 * sunrpc/pmap_prot2.c: Likewise.
41124 * sunrpc/pmap_rmt.c: Likewise.
41125 * sunrpc/publickey.c: Likewise.
41126 * sunrpc/rpc_cmsg.c: Likewise.
41127 * sunrpc/rpc_common.c: Likewise.
41128 * sunrpc/rpc_dtable.c: Likewise.
41129 * sunrpc/rpc_prot.c: Likewise.
41130 * sunrpc/rpc_thread.c: Likewise.
41131 * sunrpc/rtime.c: Likewise.
41132 * sunrpc/svc.c: Likewise.
41133 * sunrpc/svc_auth.c: Likewise.
41134 * sunrpc/svc_authux.c: Likewise.
41135 * sunrpc/svc_raw.c: Likewise.
41136 * sunrpc/svc_run.c: Likewise.
41137 * sunrpc/svc_simple.c: Likewise.
41138 * sunrpc/svc_tcp.c: Likewise.
41139 * sunrpc/svc_udp.c: Likewise.
41140 * sunrpc/svc_unix.c: Likewise.
41141 * sunrpc/svcauth_des.c: Likewise.
41142 * sunrpc/xcrypt.c: Likewise.
41143 * sunrpc/xdr.c: Likewise.
41144 * sunrpc/xdr_array.c: Likewise.
41145 * sunrpc/xdr_float.c: Likewise.
41146 * sunrpc/xdr_intXX_t.c: Likewise.
41147 * sunrpc/xdr_mem.c: Likewise.
41148 * sunrpc/xdr_rec.c: Likewise.
41149 * sunrpc/xdr_ref.c: Likewise.
41150 * sunrpc/xdr_sizeof.c: Likewise.
41151 * sunrpc/xdr_stdio.c: Likewise.
41152
41153 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41154
41155 [BZ #12650]
41156 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41157 * sysdeps/ia64/dl-tls.h: Likewise.
41158 * sysdeps/powerpc/dl-tls.h: Likewise.
41159 * sysdeps/s390/dl-tls.h: Likewise.
41160 * sysdeps/sh/dl-tls.h: Likewise.
41161 * sysdeps/sparc/dl-tls.h: Likewise.
41162 * sysdeps/x86_64/dl-tls.h: Likewise.
41163 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41164
41165 2011-03-14 Andreas Schwab <schwab@redhat.com>
41166
41167 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41168 rpath element also skip the following colon.
41169 (expand_dynamic_string_token): Add is_path parameter and pass
41170 down to DL_DST_REQUIRED and _dl_dst_substitute.
41171 (decompose_rpath): Call expand_dynamic_string_token with
41172 non-zero is_path. Ignore empty rpaths.
41173 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41174 with zero is_path.
41175
41176 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41177
41178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41179 Make cancelable.
41180
41181 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41182
41183 [BZ #12655]
41184 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41185 Patch by Filipe David Manana <fdmanana@apache.org>.
41186
41187 2011-04-07 Andreas Schwab <schwab@redhat.com>
41188
41189 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41190 Maintain aligned stack.
41191 (CHECK_RSP): Remove unused macro.
41192
41193 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41194
41195 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41196 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41197
41198 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41199
41200 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41201
41202 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41203
41204 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41205
41206 [BZ #12518]
41207 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41208 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41209 * sysdeps/x86_64/memmove.c: New file.
41210 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41211 (memcpy): Renamed to ...
41212 (__new_memcpy): This.
41213 (memcpy): Provide GLIBC_2_14 memcpy.
41214 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41215 (memcpy): Provide GLIBC_2_2_5 memcpy.
41216
41217 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41218
41219 [BZ #12631]
41220 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41221
41222 2011-03-30 Andreas Schwab <schwab@redhat.com>
41223
41224 * misc/syncfs.c: New file.
41225 * misc/Makefile (routines): Add syncfs.
41226 * posix/unistd.h: Declare syncfs.
41227 * sysdeps/unix/syscalls.list: Add syncfs.
41228
41229 2011-04-01 Andreas Schwab <schwab@redhat.com>
41230
41231 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41232 open_by_handle_at.
41233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41235 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41236 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41237 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41238 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41240
41241 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41242
41243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41244 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41245 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41246 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41247 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41248 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41249 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41250
41251 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41252 sync_file_range.c with -fexceptions.
41253 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41254 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41255 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41256 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41257 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41258 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41259 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41260 sync_file_range as cancellation point
41261 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41262 now a wrapper around __call_sync_file_range with cancellation handling.
41263 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41264 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41265 function name to __call_sync_file_range.
41266 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41267 Add call_sync_file_range.
41268
41269 2011-04-01 Andreas Schwab <schwab@redhat.com>
41270
41271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41272 bits/timex.h.
41273
41274 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41275
41276 * iconv/iconv.h: Fix typo in comment.
41277 * io/fcntl.h: Likewise.
41278 * libio/stdio.h: Likewise.
41279 * posix/spawn.h: Likewise.
41280 * posix/unistd.h: Likewise.
41281 * stdlib/stdlib.h: Likewise.
41282 * time/time.h: Likewise.
41283 * wcsmbs/wchar.h: Likewise.
41284
41285 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41286 open_by_handle): Add.
41287 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41288 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41289 Augment a few comments.
41290 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41291 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41292 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41294 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41295 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41296 open_by_handle.
41297
41298 * io/fcntl.h (AT_EMPTY_PATH): Define.
41299
41300 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41301
41302 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41303 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41304 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41305 to...
41306 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41307 * Versions.def: Add GLIBC_2.14.
41308 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41309 Export.
41310
41311 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41312
41313 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41314 round counter.
41315 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41316
41317 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41318
41319 [BZ #12597]
41320 * string/test-strncmp.c (do_page_test): New function.
41321 (check2): Likewise.
41322 (test_main): Call check2.
41323 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41324
41325 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41326
41327 [BZ #12587]
41328 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41329 Handle cache information in CPU leaf 4.
41330 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41331
41332 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41333
41334 [BZ #12583]
41335 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41336 character representation.
41337 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41338
41339 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41340
41341 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41342 END(__isnan) to END(__isnanf) to match function entry point/label
41343 EALIGN(__isnanf,...).
41344
41345 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41346
41347 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41348
41349 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41350
41351 [BZ #12510]
41352 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41353 copy from the symbol referenced in the relocation to initialize the
41354 used variable.
41355 Patch by Piotr Bury <pbury@goahead.com>.
41356 * elf/Makefile: Add rules to build and tst-unique3.
41357 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41358 * elf/tst-unique3.cc: New file.
41359 * elf/tst-unique3.h: New file.
41360 * elf/tst-unique3lib.cc: New file.
41361 * elf/tst-unique3lib2.cc: New file.
41362
41363 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41364
41365 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41366
41367 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41368 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41369 to _start.
41370
41371 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41372
41373 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41374 to-be-loaded object along a path to loader is ld.so.
41375
41376 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41377 Ulrich Drepper <drepper@gmail.com>
41378
41379 * sysdeps/x86_64/memset.S: After aligning destination, code
41380 branches to different locations depending on the value of
41381 misalignment, when multiarch is enabled. Fix this.
41382
41383 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41384
41385 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41386 Set _x86_64_preferred_memory_instruction for AMD processsors.
41387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41388 Set bit_Prefer_SSE_for_memop for AMD processors.
41389
41390 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41391
41392 * libio/fmemopen.c (fmemopen): Optimize a bit.
41393
41394 2011-03-03 Andreas Schwab <schwab@redhat.com>
41395
41396 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41397
41398 2011-03-03 Roland McGrath <roland@redhat.com>
41399
41400 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41401
41402 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41403
41404 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41405 __bzero_ultra1 instead of __memset_ultra1.
41406
41407 2011-02-23 Andreas Schwab <schwab@redhat.com>
41408 Ulrich Drepper <drepper@gmail.com>
41409
41410 [BZ #12509]
41411 * include/link.h (struct link_map): Add l_orig_initfini.
41412 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41413 returning unsuccessfully.
41414 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41415 close of a file loaded at startup, restore the original l_initfini
41416 list.
41417 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41418 list, store the pointer.
41419 * elf/Makefile ($(objpfx)noload-mem): New rule.
41420 (noload-ENV): Define.
41421 (tests): Add $(objpfx)noload-mem.
41422 * elf/noload.c: Include <memcheck.h>.
41423 (main): Call mtrace. Close all opened handles.
41424
41425 2011-02-17 Andreas Schwab <schwab@redhat.com>
41426
41427 [BZ #12454]
41428 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41429 dependencies are missing.
41430
41431 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41432
41433 Fix __if_freereq crash: Unlike the generic version which uses free,
41434 Hurd needs munmap.
41435 * sysdeps/mach/hurd/ifreq.h: New file.
41436
41437 2011-01-27 Petr Baudis <pasky@suse.cz>
41438 Ulrich Drepper <drepper@gmail.com>
41439
41440 [BZ 12445]#
41441 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41442 to extend_alloca().
41443 * stdio-common/bug23.c: New file.
41444 * stdio-common/Makefile (tests): Add bug23.
41445
41446 2010-09-28 Andreas Schwab <schwab@redhat.com>
41447 Ulrich Drepper <drepper@gmail.com>
41448
41449 [BZ #12489]
41450 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41451 before performing relro protection. At old place add assertion
41452 to make sure nothing changed.
41453
41454 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41455 Glauber de Oliveira Costa <glommer@gmail.com>
41456
41457 * elf/elf.h: Add new ARM TLS relocs.
41458
41459 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41460
41461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41462 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41463 cast from r3.
41464 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41465 'tests' variable.
41466 * sysdeps/wordsize-64/tst-writev.c: New file.
41467
41468 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41469
41470 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41471 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41472 insns in _dl_start to prevent a TOC reference before relocs are
41473 resolved.
41474
41475 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41476
41477 [BZ #12469]
41478 * Makeconfig: Remove RANLIB definition.
41479 * Makerules: Don't use RANLIB.
41480 * aclocal.m4: Remove ranlib test.
41481 * configure.in: No need to check for ranlib.
41482 * elf/rtld-Rules: Don't use RANLIB.
41483
41484 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41485
41486 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41487 protection macro.
41488 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41489 inclusion protection macro.
41490
41491 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41492 SIGRTMIN and SIGRTMAX and print information in that case only when
41493 SIGRTMIN is defined.
41494
41495 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41496
41497 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41498 arginfo fn returning -1.
41499
41500 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41501 and thousands string is zero terminated.
41502
41503 2011-02-03 Andreas Schwab <schwab@redhat.com>
41504
41505 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41506 sysdeps/unix/sysv/linux/bits/socket.h.
41507
41508 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41509
41510 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41511 (__CPU_COUNT): Remove old macros.
41512 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41513 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41514 (__CPU_ALLOC, __CPU_FREE): Add macros.
41515 (__sched_cpualloc, __sched_cpufree): Add declarations.
41516
41517 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41518
41519 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41520 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41521 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41522 (readdhstai): Return value of addhstaiX call.
41523 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41524 (addgrbyX): Return value returned by cache_addgr.
41525 (readdgrbyname): Return value returned by addgrbyX.
41526 (readdgrbygid): Likewise.
41527 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41528 (addpwbyX): Return value returned by cache_addpw.
41529 (readdpwbyname): Return value returned by addhstbyX.
41530 (readdpwbyuid): Likewise.
41531 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41532 (addservbyX): Return value returned by cache_addserv.
41533 (readdservbyname): Return value returned by addservbyX:
41534 (readdservbyport): Likewise.
41535 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41536 (addhstbyX): Return value returned by cache_addhst.
41537 (readdhstbyname): Return value returned by addhstbyX.
41538 (readdhstbyaddr): Likewise.
41539 (readdhstbynamev6): Likewise.
41540 (readdhstbyaddrv6): Likewise.
41541 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41542 (readdinitgroups): Return value returned by addinitgroupsX.
41543 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41544 (prune_cache): Keep track of timeout value of re-added entries.
41545 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41546 * nscd/nscd.h: Adjust prototypes of readd* functions.
41547
41548 2011-02-04 Roland McGrath <roland@redhat.com>
41549
41550 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41551 (nis_stats): Likewise.
41552 * nis/nis_modify.c (nis_modify): Likewise.
41553 * nis/nis_remove.c (nis_remove): Likewise.
41554 * nis/nis_add.c (nis_add): Likewise.
41555
41556 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41557
41558 * posix/fnmatch_loop.c: Add some consts.
41559
41560 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41561
41562 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41563
41564 [BZ #12460]
41565 * config.make.in (config-cflags-novzeroupper): Define.
41566 * configure.in: Substitute libc_cv_cc_novzeroupper.
41567 * elf/Makefile (AVX-CFLAGS): Define.
41568 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41569 (CFLAGS-tst-auditmod4a.c): Likewise.
41570 (CFLAGS-tst-auditmod4b.c): Likewise.
41571 (CFLAGS-tst-auditmod6b.c): Likewise.
41572 (CFLAGS-tst-auditmod6c.c): Likewise.
41573 (CFLAGS-tst-auditmod7b.c): Likewise.
41574 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41575
41576 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41577
41578 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41579 function to the callback.
41580 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41581
41582 2011-02-02 Andreas Schwab <schwab@redhat.com>
41583
41584 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41585 of errno.
41586
41587 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41588
41589 [BZ #11724]
41590 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41591 of constructors.
41592 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41593 of destructors.
41594 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41595
41596 [BZ #11724]
41597 * elf/Makefile: Add rules to build and run new test.
41598 * elf/tst-initorder.c: New file.
41599 * elf/tst-initorder.exp: New file.
41600 * elf/tst-initordera1.c: New file.
41601 * elf/tst-initordera2.c: New file.
41602 * elf/tst-initordera3.c: New file.
41603 * elf/tst-initordera4.c: New file.
41604 * elf/tst-initorderb1.c: New file.
41605 * elf/tst-initorderb2.c: New file.
41606 * elf/tst-order-a1.c: New file.
41607 * elf/tst-order-a2.c: New file.
41608 * elf/tst-order-a3.c: New file.
41609 * elf/tst-order-a4.c: New file.
41610 * elf/tst-order-b1.c: New file.
41611 * elf/tst-order-b2.c: New file.
41612 * elf/tst-order-main.c: New file.
41613 New test case by George Gensure <werkt0@gmail.com>.
41614
41615 2010-10-01 Andreas Schwab <schwab@redhat.com>
41616
41617 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41618 decoding ACE if AI_CANONIDN.
41619
41620 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41621
41622 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41623
41624 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41625
41626 * version.h (RELEASE): Bump for 2.13 release.
41627 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41628
41629 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41630
41631 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41632 MADV_NOHUGEPAGE.
41633 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41634 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41635 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41636 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41637 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41638 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41639
41640 * posix/getconf.c: Update copyright year.
41641 * catgets/gencat.c: Likewise.
41642 * csu/version.c: Likewise.
41643 * debug/catchsegv.sh: Likewise.
41644 * debug/xtrace.sh: Likewise.
41645 * elf/ldconfig.c: Likewise.
41646 * elf/ldd.bash.in: Likewise.
41647 * elf/sprof.c (print_version): Likewise.
41648 * iconv/iconv_prog.c: Likewise.
41649 * iconv/iconvconfig.c: Likewise.
41650 * locale/programs/locale.c: Likewise.
41651 * locale/programs/localedef.c: Likewise.
41652 * malloc/memusage.sh: Likewise.
41653 * malloc/mtrace.pl: Likewise.
41654 * nscd/nscd.c (print_version): Likewise.
41655 * nss/getent.c: Likewise.
41656
41657 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41658 PF_CAIF, and PF_ALG.
41659 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41660
41661 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41662
41663 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41664 (modules-names): Use them.
41665 (ifunc-test-modules, ifunc-pie-tests): Define.
41666 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41667 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41668 (test-extras): Likewise.
41669 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41670 $(compile-command.c).
41671 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41672 (all-built-dso): Define.
41673 (check-textrel.out, check-execstack.out): Depend on it.
41674
41675 * configure.in: Don't override --enable-multi-arch.
41676
41677 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41678
41679 [BZ #6812]
41680 * nscd/hstcache.c (tryagain): Define.
41681 (cache_addhst): Return tryagain not notfound for temporary errors.
41682 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41683 failed.
41684
41685 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41686
41687 [BZ #10563]
41688 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41689 to make the syscall.
41690 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41691
41692 [BZ #12378]
41693 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41694 and fall back to matching as normal character if the string ends before
41695 the matching ']' is found. This is what POSIX requires.
41696 * posix/testfnm.c: Adjust test result.
41697 * posix/globtest.sh: Adjust test result. Add new test.
41698 * posix/tst-fnmatch.input: Likewise.
41699 * posix/tst-fnmatch2.c: Add new test.
41700
41701 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41702
41703 * elf/Makefile (check-execstack): Revert last change. Depend on
41704 check-execstack.h.
41705 (check-execstack.h): New target.
41706 (generated): Add check-execstack.h.
41707 * elf/check-execstack.c: Include "check-execstack.h".
41708 (main): Revert last change.
41709 (handle_file): Return zero if GNU_STACK is absent and
41710 DEFAULT_STACK_PERMS doesn't include PF_X.
41711
41712 2011-01-13 Ulrich Drepper <drepper@gmail.com>
41713
41714 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41715 in child fails because the descriptor is already closed.
41716 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41717 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41718 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
41719
41720 [BZ #12397]
41721 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41722 syscall.
41723
41724 [BZ #10484]
41725 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41726 temporary buffer used to handle multi lookups locally.
41727 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
41728
41729 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41730
41731 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41732 loader is ld.so.
41733
41734 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41735
41736 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41737 alignment for SSE2.
41738
41739 2011-01-12 Ulrich Drepper <drepper@gmail.com>
41740
41741 [BZ #12394]
41742 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41743 characters. When rounding increased number of integer digits recompute
41744 number of groups.
41745 * stdio-common/tst-grouping.c: New file.
41746 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41747
41748 2011-01-09 Ulrich Drepper <drepper@gmail.com>
41749
41750 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41751 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41752
41753 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41754 void.
41755 * bits/select.h: Likewise.
41756
41757 2011-01-08 Ulrich Drepper <drepper@gmail.com>
41758
41759 * po/ja.po: Update from translation team.
41760
41761 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
41762
41763 [BZ #11155]
41764 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41765 implementation just like for lxstat, fxstatat, et al.
41766
41767 2010-12-27 Jim Meyering <meyering@redhat.com>
41768
41769 [BZ #12348]
41770 * posix/regexec.c (build_trtable): Return failure indication upon
41771 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41772
41773 2010-12-25 Ulrich Drepper <drepper@gmail.com>
41774
41775 [BZ #12201]
41776 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41777 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41778 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41779 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41780
41781 [BZ #12207]
41782 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41783
41784 [BZ #12204]
41785 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41786 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41787
41788 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41789
41790 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41791 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41792 script has SORT_BY_INIT_PRIORITY.
41793 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41794 NO_CTORS_DTORS_SECTIONS is defined.
41795 * elf/soinit.c: Likewise.
41796 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41797 NO_CTORS_DTORS_SECTIONS is defined.
41798 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41799 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41800 * sysdeps/sh/init-first.c: Likewise.
41801 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41802
41803 2010-12-24 Ulrich Drepper <drepper@gmail.com>
41804
41805 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41806 always use the slow path.
41807
41808 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41809
41810 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41811 similar rule which adds the sysdep directories to the header search in
41812 order to pick up the correct platform stackinfo.h.
41813 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41814 perform test if it is, otherwise return successfully without testing.
41815 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41816 DEFAULT_STACK_PERMS define in stackinfo.h.
41817 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41818 defined in stackinfo.h.
41819 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41820 DEFAULT_STACK_PERMS defined in stackinfo.h.
41821 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41822 * sysdeps/ia64/stackinfo.h: Likewise.
41823 * sysdeps/s390/stackinfo.h: Likewise.
41824 * sysdeps/sh/stackinfo.h: Likewise.
41825 * sysdeps/sparc/stackinfo.h: Likewise.
41826 * sysdeps/x86_64/stackinfo.h: Likewise.
41827 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41828 PF_X for powerpc64. Retain PF_X for powerpc32.
41829
41830 2010-12-19 Ulrich Drepper <drepper@gmail.com>
41831
41832 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41833 accurately.
41834 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41835 GETDENTS_64BIT_ALIGNED.
41836
41837 2010-12-14 Ulrich Drepper <dreper@gmail.com>
41838
41839 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
41840
41841 2010-12-10 Andreas Schwab <schwab@redhat.com>
41842
41843 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41844 _GNU_SOURCE.
41845
41846 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41847 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41848 Remove __restrict.
41849 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41850 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41851
41852 2010-12-09 Ulrich Drepper <drepper@gmail.com>
41853
41854 [BZ #11655]
41855 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41856 are initialized.
41857
41858 2010-12-09 Jakub Jelinek <jakub@redhat.com>
41859
41860 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41861
41862 2010-12-03 Ulrich Drepper <drepper@gmail.com>
41863
41864 * po/it.po: Update from translation team.
41865
41866 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41867
41868 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41869 unused codes.
41870
41871 2010-11-30 Ulrich Drepper <drepper@gmail.com>
41872
41873 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41874
41875 2010-11-24 Andreas Schwab <schwab@redhat.com>
41876
41877 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41878 specially.
41879 (gaih_getanswer_slice): Likewise.
41880
41881 2010-10-20 Jakub Jelinek <jakub@redhat.com>
41882
41883 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41884
41885 2010-05-31 Petr Baudis <pasky@suse.cz>
41886
41887 [BZ #11149]
41888 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41889 silently even in the chroot mode.
41890
41891 2010-11-22 Ulrich Drepper <drepper@gmail.com>
41892
41893 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41894 last patch a bit. Pretty printing
41895
41896 2010-05-31 Petr Baudis <pasky@suse.cz>
41897
41898 [BZ #10085]
41899 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41900 initialization of skip_initgroups_dyn.
41901
41902 2010-11-19 Ulrich Drepper <drepper@gmail.com>
41903
41904 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41905 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41906
41907 2010-11-16 Ulrich Drepper <drepper@gmail.com>
41908
41909 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41910
41911 2010-11-11 Andreas Schwab <schwab@redhat.com>
41912
41913 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41914 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41915 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41916 ($(objpfx)tst-fnmatch-mem): New rule.
41917 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41918 * posix/tst-fnmatch.c (main): Call mtrace.
41919
41920 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41921
41922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41923 Support Intel processor model 6 and model 0x2c.
41924
41925 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
41926
41927 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41928 signed comparison.
41929
41930 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41931
41932 [BZ #12205]
41933 * string/test-strncasecmp.c (check_result): New function.
41934 (do_one_test): Use it.
41935 (check1): New function.
41936 (test_main): Use it.
41937 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41938 Support strcasecmp and strncasecmp.
41939
41940 2010-11-08 Ulrich Drepper <drepper@gmail.com>
41941
41942 [BZ #12194]
41943 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41944 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41945
41946 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41947
41948 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41949 IFUNC support.
41950 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41951 memset-x86-64.
41952 * sysdeps/x86_64/multiarch/bzero.S: New file.
41953 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41954 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41955 * sysdeps/x86_64/multiarch/memset.S: New file.
41956 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41957 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41958 Set bit_Prefer_SSE_for_memop for Intel processors.
41959 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41960 Define.
41961 (index_Prefer_SSE_for_memop): Define.
41962 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41963
41964 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
41965
41966 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41967 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41968
41969 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41970
41971 [BZ #12191]
41972 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41973 (__x86_64_raw_data_cache_size_half): Likewise.
41974 (__x86_64_raw_shared_cache_size): Likewise.
41975 (__x86_64_raw_shared_cache_size_half): Likewise.
41976
41977 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41978 (__x86_64_raw_data_cache_size_half): Likewise.
41979 (__x86_64_raw_shared_cache_size): Likewise.
41980 (__x86_64_raw_shared_cache_size_half): Likewise.
41981 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41982 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41983 and __x86_64_raw_shared_cache_size_half. Round
41984 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41985 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41986 to multiple of 256 bytes.
41987
41988 2010-11-03 Ulrich Drepper <drepper@gmail.com>
41989
41990 [BZ #12167]
41991 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41992 of inacessible symlinks. Verify result of symlink before returning it.
41993 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41994 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41995
41996 2010-10-28 Erich Ritz <erichritz@gmail.com>
41997
41998 * math/math.h (isinf): Fix typo in comment.
41999
42000 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42001
42002 * po/da.po: Update from translation team.
42003
42004 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42005
42006 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42007 is added to the list.
42008
42009 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42010 Ulrich Drepper <drepper@gmail.com>
42011
42012 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42013 the global list here. Move code to...
42014 (_dl_add_to_namespace_list): ...here. New function.
42015 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42016 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42017 * elf/dl-load.c (lose): Don't remove the element from the list.
42018 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42019 (_dl_map_object): Likewise.
42020
42021 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42022
42023 [BZ #12159]
42024 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42025 into all bytes of SSE register.
42026 Patch by Richard Li <richardpku@gmail.com>.
42027
42028 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42029
42030 [BZ #12140]
42031 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42032 perturbing.
42033
42034 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42035
42036 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42037 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42038 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42039 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42041 submachine.
42042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42043
42044 2010-10-22 Andreas Schwab <schwab@redhat.com>
42045
42046 * include/dlfcn.h (__RTLD_SECURE): Define.
42047 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42048 mode & __RTLD_SECURE instead.
42049 (open_path): Rename preloaded parameter to secure.
42050 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42051 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42052 * elf/dl-deps.c (openaux): Likewise.
42053 * elf/rtld.c (struct map_args): Remove is_preloaded.
42054 (map_doit): Don't use it.
42055 (dl_main): Likewise.
42056 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42057 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42058
42059 2010-09-09 Andreas Schwab <schwab@redhat.com>
42060
42061 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42062 (sysd-rules-targets): Remove duplicates.
42063 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42064 rtld-%.$o dependency.
42065
42066 2010-10-18 Andreas Schwab <schwab@redhat.com>
42067
42068 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42069 _dl_map_object do it.
42070
42071 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42072
42073 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42074 fast fma builtins, define the macros in the C99 standard.
42075 (FP_FAST_FMAF): Likewise.
42076 (FP_FAST_FMAL): Likewise.
42077 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42078
42079 * bits/mathdef.h: Update copyright year.
42080 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42081
42082 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42083
42084 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42085 builtins, define the macros in the C99 standard.
42086 (FP_FAST_FMAF): Likewise.
42087 (FP_FAST_FMAL): Likewise.
42088 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42089 multiply/add.
42090 (FP_FAST_FMAF): Likewise.
42091
42092 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42093
42094 [BZ #3268]
42095 * math/libm-test.inc (fma_test): Some new testcases.
42096 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42097 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42098 y and infinite z. Do multiplication by C already in long double.
42099 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42100 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42101 y and infinite z. Do bitwise or of inexact bit into u.d.
42102 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42103 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42104 * sysdeps/i386/fpu/s_fma.S: Removed.
42105 * sysdeps/i386/fpu/s_fmal.S: Removed.
42106
42107 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42108
42109 [BZ #3268]
42110 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42111 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42112 computation is not scheduled after fetestexcept. Fix value
42113 of minimum denormal long double.
42114
42115 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42116
42117 [BZ #3268]
42118 * math/libm-test.inc (fma_test): Add some more tests.
42119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42120 correctly.
42121
42122 2010-10-15 Andreas Schwab <schwab@redhat.com>
42123
42124 * scripts/data/localplt-s390-linux-gnu.data: New file.
42125 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42126
42127 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42128
42129 [BZ #3268]
42130 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42131 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42132 instead of dbl-64.
42133 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42134 inlines.
42135 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42136 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42137 if one of x and y is very large and the other is subnormal.
42138 * sysdeps/s390/fpu/s_fmaf.c: New file.
42139 * sysdeps/s390/fpu/s_fma.c: New file.
42140 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42141 * sysdeps/powerpc/fpu/s_fma.S: New file.
42142 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42143 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42144 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42145
42146 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42147
42148 [BZ #3268]
42149 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42150 fma tests.
42151 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42152 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42153 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42154 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42155 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42156 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42157 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42158
42159 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42160
42161 [BZ #12078]
42162 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42163 * posix/bug-regex31.input: Add test case.
42164
42165 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42166
42167 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42168 * posix/bug-regex31.input: New file.
42169
42170 [BZ #12078]
42171 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42172 (parse_sub_exp): Fix last change, use postorder.
42173
42174 * posix/bug-regex31.c: New file.
42175 * posix/Makefile: Add rules to build and run bug-regex31.
42176
42177 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42178
42179 [BZ #12078]
42180 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42181
42182 [BZ #12108]
42183 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42184 to have entries in sys_siglist.
42185
42186 [BZ #12093]
42187 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42188 be NULL.
42189
42190 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42191
42192 [BZ #3268]
42193 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42194 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42195 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42196 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42197 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42198 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42199 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42200 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42201 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42202 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42203 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42204 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42205 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42206 * math/ftestexcept.c (fetestexcept): Likewise.
42207 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42208 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42209 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42210 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42211 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42212 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42213 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42214
42215 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42216
42217 [BZ #12107]
42218 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42219 newline.
42220
42221 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42222
42223 * string/bug-strstr1.c: New file.
42224 * string/Makefile: Add rules to build and run bug-strstr1.
42225
42226 2010-10-05 Eric Blake <eblake@redhat.com>
42227
42228 [BZ #12092]
42229 * string/str-two-way.h (two_way_long_needle): Always clear memory
42230 when skipping input due to the shift table.
42231
42232 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42233
42234 [BZ #12005]
42235 * malloc/mcheck.c: Handle large requests.
42236
42237 [BZ #12077]
42238 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42239 for strncmp and strncasecmp.
42240 * string/stratcliff.c: Add tests for strcmp and strncmp.
42241 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42242
42243 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42244
42245 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42246 __set_fpscr.
42247
42248 2010-09-30 Andreas Jaeger <aj@suse.de>
42249
42250 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42251 (CGROUP_SUPER_MAGIC): Define.
42252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42253 Handle btrfs and cgroup file systems.
42254 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42255 Likewise.
42256
42257 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42258
42259 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42260 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42261
42262 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42263
42264 [BZ #12067]
42265 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42266 trying to locate the ELF header.
42267
42268 2010-09-27 Andreas Schwab <schwab@redhat.com>
42269
42270 [BZ #11611]
42271 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42272 Mask out sign-bit copies when constructing f_fsid.
42273
42274 2010-09-24 Petr Baudis <pasky@suse.cz>
42275
42276 * debug/stack_chk_fail_local.c: Add missing licence exception.
42277 * debug/warning-nop.c: Likewise.
42278
42279 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42280
42281 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42282 implementing getdents64 using getdents syscall, set d_type if
42283 __ASSUME_GETDENTS32_D_TYPE.
42284
42285 2010-09-16 Andreas Schwab <schwab@redhat.com>
42286
42287 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42288 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42289
42290 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42291
42292 [BZ #12037]
42293 * posix/unistd.h: Undo change of feature selection for ftruncate from
42294 2010-01-11.
42295
42296 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42297
42298 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42299 detection.
42300
42301 2010-09-20 Andreas Schwab <schwab@redhat.com>
42302
42303 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42304 fanotify_mark.
42305 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42306
42307 2010-09-14 Andreas Schwab <schwab@redhat.com>
42308
42309 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42310 variables after CHECK_SP call.
42311 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42312
42313 2010-09-13 Andreas Schwab <schwab@redhat.com>
42314 Ulrich Drepper <drepper@redhat.com>
42315
42316 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42317 re-relocationg ld.so.
42318 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42319 _dl_init_paths call.
42320 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42321 here anymore.
42322
42323 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42324
42325 * resolv/res_init.c (__res_vinit): Count the default server we added.
42326
42327 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42328 Ulrich Drepper <drepper@redhat.com>
42329
42330 [BZ #11968]
42331 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42332 (____longjmp_chk): Use %ebx for saving value across system call.
42333 Add unwind info.
42334
42335 2010-09-06 Andreas Schwab <schwab@redhat.com>
42336
42337 * manual/Makefile: Don't mix pattern rules with normal rules.
42338
42339 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42340
42341 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42342 operation.
42343 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42344 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42345 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42346 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42347 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42348 Likewise.
42349
42350 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42351
42352 [BZ #11979]
42353 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42354 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42355
42356 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42357
42358 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42359 * sysdeps/x86_64/addmul_1.S: Likewise.
42360 * sysdeps/x86_64/lshift.S: Likewise.
42361 * sysdeps/x86_64/mul_1.S: Likewise.
42362 * sysdeps/x86_64/rshift.S: Likewise.
42363 * sysdeps/x86_64/sub_n.S: Likewise.
42364 * sysdeps/x86_64/submul_1.S: Likewise.
42365
42366 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42367
42368 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42369 Define __sched_param instead of SCHED_* and sched_param when
42370 <bits/sched.h> is included with __need_schedparam defined.
42371 * bits/sched.h [__need_schedparam]
42372 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42373 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42374 (__defined_schedparam): Define to 1.
42375 (__sched_param): New structure, identical to sched_param.
42376 (__need_schedparam): Undefine.
42377
42378 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42379
42380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42381 (epoll_create1): Declare.
42382
42383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42384
42385 2010-08-31 Andreas Schwab <schwab@redhat.com>
42386
42387 [BZ #7066]
42388 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42389 shifting retval into place.
42390
42391 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42392
42393 * nis/rpcsvc/nis.h: Update copyright notice.
42394 * nis/rpcsvc/nis.x: Likewise.
42395 * nis/rpcsvc/nis_callback.h: Likewise.
42396 * nis/rpcsvc/nis_callback.x: Likewise.
42397 * nis/rpcsvc/nis_object.x: Likewise.
42398 * nis/rpcsvc/nis_tags.h: Likewise.
42399 * nis/rpcsvc/yp.h: Likewise.
42400 * nis/rpcsvc/yp.x: Likewise.
42401 * nis/rpcsvc/ypupd.h: Likewise.
42402 * nis/yp_xdr.c: Likewise.
42403 * nis/ypupdate_xdr.c: Likewise.
42404
42405 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42406 mainly the body of pmap_getport. Add parameters to specify timeouts.
42407 (pmap_getport): Use __libc_rpc_getport.
42408 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42409 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42410 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42411
42412 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42413
42414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42415 fanotify_mark.
42416
42417 2010-08-27 Roland McGrath <roland@redhat.com>
42418
42419 * sysdeps/i386/i686/multiarch/Makefile
42420 (CFLAGS-varshift.c): New variable.
42421
42422 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42423
42424 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42425 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42426
42427 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42428
42429 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42430
42431 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42432
42433 * sysdeps/x86_64/strlen.S: Unroll the loop.
42434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42435 strlen-sse2 strlen-sse2-bsf.
42436 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42437 __strlen_no_bsf if bit_Slow_BSF is set.
42438 (__strlen_sse42): Removed.
42439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42440 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42441
42442 2010-08-25 Roland McGrath <roland@redhat.com>
42443
42444 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42445 * sysdeps/x86_64/multiarch/varshift.c: New file.
42446 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42447 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42448 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42449 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42450
42451 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42452
42453 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42454 strlen-sse2 strlen-sse2-bsf.
42455 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42456 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42457 (__strlen_sse2): Removed.
42458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42461 bit_Slow_BSF for Atom.
42462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42463 (index_Slow_BSF): Define.
42464 (HAS_SLOW_BSF): Define.
42465
42466 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42467
42468 [BZ #10851]
42469 * resolv/res_init.c (__res_vinit): When no server address at all
42470 is given default to loopback.
42471
42472 2010-08-24 Roland McGrath <roland@redhat.com>
42473
42474 * configure.in: Remove config-name.h generation.
42475 * configure: Regenerated.
42476 * config-name.in: File removed.
42477 * scripts/config-uname.sh: New file.
42478 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42479 ($(objdir)config-name.h): New target.
42480
42481 * sunrpc/rpc_parse.h: Avoid nested comment.
42482
42483 2010-08-24 Richard Henderson <rth@redhat.com>
42484 Ulrich Drepper <drepper@redhat.com>
42485 H.J. Lu <hongjiu.lu@intel.com>
42486
42487 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42488 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42489 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42490 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42491 _mm_alignr_epi8 with _mm_loadu_si128.
42492 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42493 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42494 (__m128i_shift_right): Removed.
42495 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42496 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42497 * sysdeps/x86_64/multiarch/varshift.h: New file.
42498 * sysdeps/x86_64/multiarch/varshift.S: New file.
42499
42500 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42501
42502 * configure.in: Move assembler checks to before sysdep dir checking.
42503
42504 2010-08-20 Petr Baudis <pasky@suse.cz>
42505
42506 * LICENSES: Sync the sunrpc license.
42507
42508 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42509
42510 * sunrpc/auth_des.c: Update copyright notice once again.
42511 * sunrpc/auth_none.c: Likewise.
42512 * sunrpc/auth_unix.c: Likewise.
42513 * sunrpc/authdes_prot.c: Likewise.
42514 * sunrpc/authuxprot.c: Likewise.
42515 * sunrpc/bindrsvprt.c: Likewise.
42516 * sunrpc/clnt_gen.c: Likewise.
42517 * sunrpc/clnt_perr.c: Likewise.
42518 * sunrpc/clnt_raw.c: Likewise.
42519 * sunrpc/clnt_simp.c: Likewise.
42520 * sunrpc/clnt_tcp.c: Likewise.
42521 * sunrpc/clnt_udp.c: Likewise.
42522 * sunrpc/clnt_unix.c: Likewise.
42523 * sunrpc/des_crypt.c: Likewise.
42524 * sunrpc/des_soft.c: Likewise.
42525 * sunrpc/get_myaddr.c: Likewise.
42526 * sunrpc/getrpcport.c: Likewise.
42527 * sunrpc/key_call.c: Likewise.
42528 * sunrpc/key_prot.c: Likewise.
42529 * sunrpc/openchild.c: Likewise.
42530 * sunrpc/pm_getmaps.c: Likewise.
42531 * sunrpc/pm_getport.c: Likewise.
42532 * sunrpc/pmap_clnt.c: Likewise.
42533 * sunrpc/pmap_prot.c: Likewise.
42534 * sunrpc/pmap_prot2.c: Likewise.
42535 * sunrpc/pmap_rmt.c: Likewise.
42536 * sunrpc/rpc/auth.h: Likewise.
42537 * sunrpc/rpc/auth_unix.h: Likewise.
42538 * sunrpc/rpc/clnt.h: Likewise.
42539 * sunrpc/rpc/des_crypt.h: Likewise.
42540 * sunrpc/rpc/key_prot.h: Likewise.
42541 * sunrpc/rpc/netdb.h: Likewise.
42542 * sunrpc/rpc/pmap_clnt.h: Likewise.
42543 * sunrpc/rpc/pmap_prot.h: Likewise.
42544 * sunrpc/rpc/pmap_rmt.h: Likewise.
42545 * sunrpc/rpc/rpc.h: Likewise.
42546 * sunrpc/rpc/rpc_des.h: Likewise.
42547 * sunrpc/rpc/rpc_msg.h: Likewise.
42548 * sunrpc/rpc/svc.h: Likewise.
42549 * sunrpc/rpc/svc_auth.h: Likewise.
42550 * sunrpc/rpc/types.h: Likewise.
42551 * sunrpc/rpc/xdr.h: Likewise.
42552 * sunrpc/rpc_clntout.c: Likewise.
42553 * sunrpc/rpc_cmsg.c: Likewise.
42554 * sunrpc/rpc_common.c: Likewise.
42555 * sunrpc/rpc_cout.c: Likewise.
42556 * sunrpc/rpc_dtable.c: Likewise.
42557 * sunrpc/rpc_hout.c: Likewise.
42558 * sunrpc/rpc_main.c: Likewise.
42559 * sunrpc/rpc_parse.c: Likewise.
42560 * sunrpc/rpc_parse.h: Likewise.
42561 * sunrpc/rpc_prot.c: Likewise.
42562 * sunrpc/rpc_sample.c: Likewise.
42563 * sunrpc/rpc_scan.c: Likewise.
42564 * sunrpc/rpc_scan.h: Likewise.
42565 * sunrpc/rpc_svcout.c: Likewise.
42566 * sunrpc/rpc_tblout.c: Likewise.
42567 * sunrpc/rpc_util.c: Likewise.
42568 * sunrpc/rpc_util.h: Likewise.
42569 * sunrpc/rpcinfo.c: Likewise.
42570 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42571 * sunrpc/rpcsvc/key_prot.x: Likewise.
42572 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42573 * sunrpc/rpcsvc/mount.x: Likewise.
42574 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42575 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42576 * sunrpc/rpcsvc/rex.x: Likewise.
42577 * sunrpc/rpcsvc/rstat.x: Likewise.
42578 * sunrpc/rpcsvc/rusers.x: Likewise.
42579 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42580 * sunrpc/rpcsvc/spray.x: Likewise.
42581 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42582 * sunrpc/rtime.c: Likewise.
42583 * sunrpc/svc.c: Likewise.
42584 * sunrpc/svc_auth.c: Likewise.
42585 * sunrpc/svc_authux.c: Likewise.
42586 * sunrpc/svc_raw.c: Likewise.
42587 * sunrpc/svc_run.c: Likewise.
42588 * sunrpc/svc_simple.c: Likewise.
42589 * sunrpc/svc_tcp.c: Likewise.
42590 * sunrpc/svc_udp.c: Likewise.
42591 * sunrpc/svc_unix.c: Likewise.
42592 * sunrpc/svcauth_des.c: Likewise.
42593 * sunrpc/xcrypt.c: Likewise.
42594 * sunrpc/xdr.c: Likewise.
42595 * sunrpc/xdr_array.c: Likewise.
42596 * sunrpc/xdr_float.c: Likewise.
42597 * sunrpc/xdr_mem.c: Likewise.
42598 * sunrpc/xdr_rec.c: Likewise.
42599 * sunrpc/xdr_ref.c: Likewise.
42600 * sunrpc/xdr_sizeof.c: Likewise.
42601 * sunrpc/xdr_stdio.c: Likewise.
42602
42603 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42604 handling.
42605
42606 2010-08-19 Andreas Schwab <schwab@redhat.com>
42607
42608 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42609
42610 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42611
42612 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42613 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42614 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42615 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42616 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42617 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42618 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42619 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42620 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42621 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42622 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42623 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42624 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42625 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42626
42627 2010-07-26 Anton Blanchard <anton@samba.org>
42628
42629 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42630 * malloc/arena.c (heap_trim): Likewise.
42631
42632 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42633
42634 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42635 here. Not...
42636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42637 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42638
42639 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42640
42641 * sysdeps/i386/elf/Makefile: New file.
42642
42643 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42644
42645 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42646 from fanotify_init.
42647 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42649
42650 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42651
42652 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42653 of strncasecmp_l.
42654 * sysdeps/multiarch/strcmp.S: Likewise.
42655
42656 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42657
42658 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42659 strncase_l-nonascii.
42660 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42661 Add strncase_l-ssse3.
42662 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42663 * sysdeps/x86_64/strcmp.S: Likewise.
42664 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42665 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42666 * sysdeps/x86_64/strncase.S: New file.
42667 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42668 * sysdeps/x86_64/strncase_l.S: New file.
42669 * string/Makefile (strop-tests): Add strncasecmp.
42670 * string/test-strncasecmp.c: New file.
42671
42672 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42673 warning.
42674
42675 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42676 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42677
42678 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42679
42680 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42681
42682 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42683
42684 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42685 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42686 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42687
42688 2010-05-01 Alan Modra <amodra@gmail.com>
42689
42690 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42691 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42692 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42693 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42694 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42695 tidying. Don't tail-call __sigjmp_save for static lib.
42696 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42697 save location.
42698 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42699 (CALL_MCOUNT): Add eh info, and nop after bl.
42700 (TAIL_CALL_SYSCALL_ERROR): New macro.
42701 (PSEUDO_RET): Use it.
42702 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42703 Correct save location of integer regs and cr.
42704 (_dl_profile_resolve): Correct cr save location. Delete nops
42705 after bl when SHARED. Reduce cfi size a little by better
42706 placement of cfi directives.
42707 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42708 make a stack frame. Instead use parm save area as a temp.
42709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42710 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42712 Don't make a stack frame for parent, use parm save area.
42713 Increase child stack frame to 112 bytes. Don't save unused reg,
42714 and adjust reg usage. Set up cfi on error recovery and
42715 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42717 (__makecontext): Add dummy nop after jump to exit.
42718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42719 Use correct parm save area and cr save, reduce stack frame.
42720 Correct cfi for possible PSEUDO_RET frame setup.
42721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42722 Branch to local label emitted by PSEUDO_RET rather than
42723 __syscall_error.
42724
42725 2010-08-12 Andreas Schwab <schwab@redhat.com>
42726
42727 [BZ #11904]
42728 * locale/programs/locale.c (print_assignment): New function.
42729 (show_locale_vars): Use it.
42730
42731 2010-08-11 Ulrich Drepper <drepper@redhat.com>
42732
42733 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42734 field.
42735 (struct statfs64): Likewise.
42736 (_STATFS_F_FLAGS): Define.
42737 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42738 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42739 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42740 (ST_VALID): Define locally.
42741 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42742 __statvfs_getflags, use the provided value.
42743 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42744 __ASSUME_STATFS_F_FLAGS.
42745
42746 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42747
42748 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42749 Add sys/fanotify.h.
42750 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42751 fanotify_mask for GLIBC_2.13.
42752 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42753 fanotify_init and fanotify_mark.
42754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42755 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42756
42757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42758 Add prlimit.
42759 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42760 prlimit64 for GLIBC_2.13.
42761 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42762 prlimit64.
42763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42764 syscall.
42765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42766 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42767 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42768 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42769 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42770 add prlimit alias.
42771 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42772
42773 [BZ #11903]
42774 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42775 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42776
42777 * nss/Makefile: Add rules to build and run tst-nss-test1.
42778 * shlib-versions: Add entry for libnss_test1.
42779 * nss/nss_test1.c: New file.
42780 * nss/tst-nss-test1.c: New file.
42781
42782 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42783 (__nss_configure_lookup): Set appropriate entry in
42784 __nss_configure_lookup to true.
42785 * nss/nsswitch.h: Define enum with indeces of databases in
42786 databases and __nss_database_custom arrays. Declare
42787 __nss_database_custom.
42788 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42789 to avoid using nscd when custom rules are installed.
42790 * nss/getXXbyYY_r.c: Likewise.
42791 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42792
42793 * nss/nss_files/files-parse.c: Whitespace fixes.
42794
42795 2010-08-09 Ulrich Drepper <drepper@redhat.com>
42796
42797 [BZ #11883]
42798 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42799 * posix/fnmatch_loop.c: Likewise.
42800
42801 2010-07-17 Andi Kleen <ak@linux.intel.com>
42802
42803 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42804 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42805 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42806 * Versions.def [GLIBC_2.13]: Add.
42807
42808 2010-08-06 Ulrich Drepper <drepper@redhat.com>
42809
42810 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42811 Also fail if tpwd after pwuid call is NULL.
42812
42813 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42814
42815 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42816 when converting to ms.
42817
42818 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42819
42820 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42821 EOPNOTSUPP errors with ENOTTY.
42822 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42823 EOPNOTSUPP errors with ENOTTY.
42824
42825 2010-07-31 Ulrich Drepper <drepper@redhat.com>
42826
42827 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42828 Add strcasecmp_l-ssse3.
42829 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42830 strcasecmp.
42831 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42832 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42833 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42834
42835 2010-07-30 Ulrich Drepper <drepper@redhat.com>
42836
42837 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42838
42839 * string/Makefile (strop-tests): Add strcasecmp.
42840 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42841 strcasecmp_l-nonascii.
42842 (gen-as-const-headers): Add locale-defines.sym.
42843 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42844 * sysdeps/x86_64/strcasecmp.S: New file.
42845 * sysdeps/x86_64/strcasecmp_l.S: New file.
42846 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42847 * sysdeps/x86_64/locale-defines.sym: New file.
42848 * string/test-strcasecmp.c: New file.
42849
42850 * string/test-strcasestr.c: Test both ends of the range of characters.
42851 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42852
42853 2010-07-29 Roland McGrath <roland@redhat.com>
42854
42855 [BZ #11856]
42856 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42857
42858 2010-07-27 Ulrich Drepper <drepper@redhat.com>
42859
42860 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42861 for ld.so.
42862
42863 2010-07-27 Andreas Schwab <schwab@redhat.com>
42864
42865 * manual/memory.texi (Malloc Tunable Parameters): Document
42866 M_PERTURB.
42867
42868 2010-07-26 Roland McGrath <roland@redhat.com>
42869
42870 [BZ #11840]
42871 * configure.in (-fgnu89-inline check): Set and substitute
42872 gnu89_inline, not libc_cv_gnu89_inline.
42873 * configure: Regenerated.
42874 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42875
42876 2010-07-26 Ulrich Drepper <drepper@redhat.com>
42877
42878 * string/test-strnlen.c: New file.
42879 * string/Makefile (strop-tests): Add strnlen.
42880 * string/tester.c (test_strnlen): Add a few more test cases.
42881 * string/tst-strlen.c: Better error reporting.
42882
42883 * sysdeps/x86_64/strnlen.S: New file.
42884
42885 2010-07-24 Ulrich Drepper <drepper@redhat.com>
42886
42887 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42888 lower-latency instructions.
42889
42890 2010-07-23 Ulrich Drepper <drepper@redhat.com>
42891
42892 * string/test-strcasestr.c: New file.
42893 * string/test-strstr.c: New file.
42894 * string/Makefile (strop-tests): Add strstr and strcasestr.
42895 * string/str-two-way.h: Don't undefine MAX.
42896 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42897
42898 2010-07-21 Andreas Schwab <schwab@redhat.com>
42899
42900 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42901 strcasestr-nonascii.
42902 (CFLAGS-strcasestr-nonascii.c): Define.
42903 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42904 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42905 Remove unused attribute.
42906
42907 2010-07-20 Roland McGrath <roland@redhat.com>
42908
42909 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42910 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42911 ld.so.cache was broken. With it, there is no way to disable dsocaps
42912 like LD_HWCAP_MASK can disable hwcaps.
42913
42914 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42915
42916 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42917
42918 2010-07-16 Ulrich Drepper <drepper@redhat.com>
42919
42920 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42921 call in strcasestr.
42922 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42923 __strcasestr_sse42_nonascii.
42924 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42925 strcasestr-nonascii.c.
42926 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42927
42928 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
42929
42930 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42932 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42934
42935 2010-07-09 Ulrich Drepper <drepper@redhat.com>
42936
42937 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42938 fcntl.
42939
42940 2010-07-06 Andreas Schwab <schwab@redhat.com>
42941
42942 [BZ #11577]
42943 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42944 dl_signal_cerror.
42945
42946 2010-07-06 Ulrich Drepper <drepper@redhat.com>
42947
42948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42949 _PC_PIPE_BUF using F_GETPIPE_SZ.
42950
42951 2010-07-05 Roland McGrath <roland@redhat.com>
42952
42953 * manual/arith.texi (Rounding Functions): Fix rint description
42954 implicit in round description.
42955
42956 2010-07-02 Ulrich Drepper <drepper@redhat.com>
42957
42958 * elf/Makefile: Fix linking for a few tests to make recent linker
42959 happy.
42960
42961 2010-06-30 Andreas Schwab <schwab@redhat.com>
42962
42963 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42964 $(common-objpfx)libc_nonshared.a.
42965
42966 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
42967
42968 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42969 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42970 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42971 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42972 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42973 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42974 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42975 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42990 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42991 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42992 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42993 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42994 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42995 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42996 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42997 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42998 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42999 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43000 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43001 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43016
43017 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43018
43019 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43020 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43021 * string/memmove.c (memmove): Renamed to ...
43022 (MEMMOVE): ...this. Default to memmove.
43023 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43024 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43025 (END_CHK): Define.
43026 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43027 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43028 mempcpy-ssse3-back memmove-ssse3-back.
43029 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43030 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43032 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43033 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43034 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43035 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43036 * sysdeps/x86_64/multiarch/memmove.c: New file.
43037 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43038 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43039 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43040 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43041 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43042 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43043 Define.
43044 (index_Fast_Copy_Backward): Define.
43045 (HAS_ARCH_FEATURE): Define.
43046 (HAS_FAST_REP_STRING): Define.
43047 (HAS_FAST_COPY_BACKWARD): Define.
43048
43049 2010-06-21 Andreas Schwab <schwab@redhat.com>
43050
43051 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43052 Restore proper fallback handling.
43053
43054 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43055
43056 [BZ #11701]
43057 * posix/group_member.c (__group_member): Correct checking loop.
43058
43059 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43060 OOM in getpwuid_r correctly. Return error number when the caller
43061 should return, otherwise -1.
43062 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43063 call returning > 0 value.
43064 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43065
43066 2010-06-07 Andreas Schwab <schwab@redhat.com>
43067
43068 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43069 libc_nonshared.a from targets in modules-names.
43070
43071 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43072
43073 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43074 requires it.
43075
43076 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43077
43078 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43079 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43080 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43081 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43082
43083 2010-06-02 Andreas Schwab <schwab@redhat.com>
43084
43085 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43086
43087 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43088
43089 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43090 and F_GETPIPE_SZ.
43091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43092 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43093 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43096 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43097
43098 2010-06-14 Roland McGrath <roland@redhat.com>
43099
43100 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43101
43102 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43103
43104 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43105 __REDIRECT followed by __THROW.
43106 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43107 * posix/getopt.h (getopt): Likewise.
43108
43109 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43110
43111 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43112 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43113 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43114 in AT_FLAGS.
43115 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43116 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43117
43118 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43119
43120 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43121
43122 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43123
43124 [BZ #11640]
43125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43126 Properly check family and model.
43127
43128 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43129
43130 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43131
43132 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43133
43134 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43135
43136 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43137
43138 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43139 symbol reference.
43140
43141 2010-05-19 Andreas Schwab <schwab@redhat.com>
43142
43143 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43144 symbol reference.
43145
43146 2010-05-21 Andreas Schwab <schwab@redhat.com>
43147
43148 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43149 and internal_recvmmsg.
43150 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43151 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43152 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43153 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43154
43155 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43156 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43157 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43158
43159 2010-05-20 Andreas Schwab <schwab@redhat.com>
43160
43161 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43162
43163 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43164
43165 POWER7 optimizations.
43166 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43167 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43168
43169 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43170
43171 * version.h: Update for 2.13 development version.
43172
43173 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43174
43175 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43176 exceptions. Return 0.
43177
43178 2010-05-07 Roland McGrath <roland@redhat.com>
43179
43180 * elf/ldconfig.c (main): Add a const.
43181
43182 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43183
43184 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43185 (args_options): Add no-idn option.
43186 (ahosts_keys_int): Add idn_flags to ai_flags.
43187 (parse_option): Handle 'i' option to clear idn_flags.
43188
43189 * malloc/malloc.c (_int_free): Possible race in the most recently
43190 added check. Only act on the data if no current modification
43191 happened.
43192
43193 See ChangeLog.17 for earlier changes.