]> sourceware.org Git - glibc.git/blob - ChangeLog
6ccf04111bf368bdbd4d8edd1c5d48e55dc25321
[glibc.git] / ChangeLog
1 2014-05-06 Andreas Schwab <schwab@suse.de>
2
3 [BZ #16912]
4 * gmon/mcount.c (_MCOUNT_DECL): Use
5 atomic_compare_and_exchange_bool_acq instead of
6 catomic_compare_and_exchange_bool_acq.
7
8 2014-05-05 Roland McGrath <roland@hack.frob.com>
9
10 * elf/Makefile (others, install-bin): Remove pldd.
11 (pldd-modules): Variable removed.
12 ($(objpfx)pldd): Target removed.
13 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14 (others, install-bin): Append pldd here.
15 ($(objpfx)pldd): New target.
16
17 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18 to 0, so the first #if test emitted later doesn't see it undefined.
19 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
20 * sysdeps/gnu/errlist.c: Regenerated.
21
22 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23
24 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
25 [libc_hidden_builtin_def]: Define to empty value.
26 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
27 [libc_hidden_builtin_def]: Likewise.
28 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29 [libc_hidden_builtin_def]: Likewise.
30 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
31 [libc_hidden_builtin_def]: Likewise.
32 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
33 __redirect_memcpy and define ifunc as default hidden symbol.
34 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36
37 2014-05-04 Adam Conrad <adconrad@0c3.net>
38
39 * locale/iso-4217.def: Reintroduce XDR currency.
40
41 2014-05-04 Allan McRae <allan@archlinux.org>
42
43 * po/eo.po: Update Esperanto translation from translation project.
44
45 2014-05-02 Carlos O'Donell <carlos@redhat.com>
46
47 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
48 and FEATURE_INDEX_MAX to 1.
49 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50
51 2014-05-01 Steve Ellcey <sellcey@mips.com>
52
53 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
54 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
55 * iconvdata/big5.c (ONE_DIRECTION): Define.
56 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
57 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
58 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
59 * iconvdata/cp932.c (ONE_DIRECTION): Define.
60 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
61 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
62 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
63 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
64 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
65 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
66 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
67 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
68 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
69 * iconvdata/gbk.c (ONE_DIRECTION): Define.
70 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
71 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
72 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
73 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
74 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
75 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
76 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
77 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
78 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
79 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
80 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
81 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
82 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
83 * iconvdata/iso646.c (ONE_DIRECTION): Define.
84 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
85 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
86 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
87 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
88 * iconvdata/johab.c (ONE_DIRECTION): Define.
89 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
90 * iconvdata/sjis.c (ONE_DIRECTION): Define.
91 * iconvdata/t.61.c (ONE_DIRECTION): Define.
92 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
93 * iconvdata/tscii.c (ONE_DIRECTION): Define.
94 * iconvdata/uhc.c (ONE_DIRECTION): Define.
95 * iconvdata/unicode.c (ONE_DIRECTION): Define.
96 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
97 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
98 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
99
100 2014-05-01 Roland McGrath <roland@hack.frob.com>
101
102 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
103 (_IO_JUMPS_OFFSET): Define to 0.
104
105 * nptl/sysdeps/pthread/bits/libc-lock.h
106 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
107 (__libc_lock_define_initialized_recursive): Always define using
108 initializer. Modern compilers treat uninitialized (implicit zero) and
109 explicit zero initializers the same (i.e. put the datum in bss).
110
111 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
112
113 * nscd/nscd-client.h: Include <string.h>.
114
115 2014-05-01 David S. Miller <davem@davemloft.net>
116
117 [BZ #16885]
118 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
119 multiple zero bytes exist at the end of a string.
120 Reported by Aurelien Jarno <aurelien@aurel32.net>
121
122 * string/test-strcmp.c (check): Add explicit test for situations where
123 there are multiple zero bytes after the first.
124
125 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
126
127 [BZ #16890]
128 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
129 when compiling wprintf.
130 * stdio-common/tstdiomisc.c (t3): New function.
131 (main): Call it.
132
133 2014-05-01 Steve Ellcey <sellcey@mips.com>
134
135 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
136 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
137 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
138 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
139
140 2014-05-01 Steve Ellcey <sellcey@mips.com>
141
142 * stdlib/longlong.h: Updated from GCC.
143
144 2014-05-01 Will Newton <will.newton@linaro.org>
145 Bernard Ogden <bernie.ogden@linaro.org>
146
147 * NEWS: Update fixed bug list.
148
149 [BZ #15119]
150 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
151
152 2014-04-30 David S. Miller <davem@davemloft.net>
153
154 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
155 (libc_feholdexcept_setround_sparc_ctx): New function.
156 (libc_fesetenv_sparc_ctx): Likewise.
157 (libc_feupdateenv_sparc_ctx): Likewise.
158 (libc_feholdsetround_sparc_ctx): Likewise.
159 (libc_feholdexcept_setround_ctx): Define.
160 (libc_feholdexcept_setroundf_ctx): Likewise.
161 (libc_feholdexcept_setroundl_ctx): Likewise.
162 (libc_fesetenv_ctx): Likewise.
163 (libc_fesetenvf_ctx): Likewise.
164 (libc_fesetenvl_ctx): Likewise.
165 (libc_feupdateenv_ctx): Likewise.
166 (libc_feupdateenvf_ctx): Likewise.
167 (libc_feupdateenvl_ctx): Likewise.
168 (libc_feresetround_ctx): Likewise.
169 (libc_feresetroundf_ctx): Likewise.
170 (libc_feresetroundl_ctx): Likewise.
171 (libc_feholdsetround_ctx): Likewise.
172 (libc_feholdsetroundf_ctx): Likewise.
173 (libc_feholdsetroundl_ctx): Likewise.
174
175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
176 with __USE_GNU instead of XOPEN cpp guards.
177
178 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
179 0.
180
181 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
182 with XOPEN cpp guards.
183
184 2014-04-30 Julian Brown <julian@codesourcery.com>
185
186 [BZ #16888]
187 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
188 handling.
189
190 2014-04-30 Joseph Myers <joseph@codesourcery.com>
191
192 [BZ #9894]
193 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
194 Change to 2.6.32.
195 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
196 * sysdeps/unix/sysv/linux/configure: Regenerated.
197 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
198 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
199 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
200 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
201 * README: Update reference to required Linux kernel version.
202 * manual/install.texi (Linux): Update reference to required Linux
203 kernel headers version.
204 * INSTALL: Regenerated.
205
206 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
207 header inclusion.
208 [POSIX] (limits.h): Likewise.
209 [POSIX] (math.h): Likewise.
210 [POSIX] (sys/wait.h): Likewise.
211 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
212 function.
213 [POSIX] (stddef.h): Do not allow header inclusion.
214
215 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
216
217 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
218
219 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
220
221 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
222 Return immediately after lll_futex_wake.
223
224 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
225
226 [BZ #16791]
227 * nscd/nscd-client.h (datahead_init_common): Initialize entire
228 structure.
229 (datahead_init_pos): Call datahead_init_common early.
230 (datahead_init_neg): Likewise.
231
232 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
233 datahead_init_neg): New functions.
234 * nscd/aicache.c (addhstaiX): Use them.
235 * nscd/grpcache.c (cache_addgr): Likewise.
236 * nscd/hstcache.c (cache_addhst): Likewise.
237 * nscd/initgrcache.c (addinitgroupsX): Likewise.
238 * nscd/netgroupcache.c (do_notfound): Likewise.
239 (addgetnetgrentX): Likewise.
240 (addinnetgrX): Likewise.
241 * nscd/pwdcache.c (cache_addpw): Likewise.
242 * nscd/servicescache.c (cache_addserv): Likewise.
243
244 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
245 Atsushi Onoe <atsushi@onoe.org>
246
247 [BZ #14308]
248 [BZ #12994]
249 [BZ #13651]
250 * resolv/res_query.c (__libc_res_nsearch): Return if at least
251 one response is valid.
252 * resolv/res_send.c (send_dg): Check for validity of other
253 response if the current response is a referral.
254
255 2014-04-29 Steve Ellcey <sellcey@mips.com>
256
257 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
258
259 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
260
261 [BZ #16823]
262 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
263 Always divide by positive zero when computing -Inf result.
264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
265 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
266
267 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
268
269 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
270 FPSCR if value do not change.
271 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
272 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
273 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
274 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
275 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
276 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
277 function.
278
279 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
280
281 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
282 * sysdeps/unix/sysv/linux/hppa: Move directory from
283 ports/systeps/unix/sysv/linux/hppa.
284 * README: Update listing for hppa-*-linux-gnu.
285
286 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
287
288 [BZ #16754]
289 * manual/stdio.texi (Hook functions): Fix types of stream hook
290 functions.
291 [BZ #16854]
292 * socket/sys/socket.h: Fix typo in comment.
293
294 2014-04-28 Wilco <wdijkstr@arm.com>
295
296 * sysdeps/arm/fenv_private.h: New file.
297 * sysdeps/arm/math_private.h: New file.
298 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
299
300 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
301
302 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
303 with __int128_t.
304 (La_x86_64_retval): Likewise.
305
306 2014-04-24 Ian Bolton <ian.bolton@arm.com>
307
308 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
309 fpsr if value didn't change.
310 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
311 to fpcr if value didn't change.
312 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
313 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
314 fpsr or fpcr if value didn't change.
315 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
316 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
317 fpcr if value didn't change.
318 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
319 to fpsr if value didn't change.
320
321 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
322
323 * nptl/tst-sem3.c: Use test-skeleton.c
324 (main): Rename to do_test. Use return instead of
325 exit.
326 * nptl/tst-sem4.c: Use test-skeleton.c
327 (main): Rename to do_test.
328
329 2014-04-22 David S. Miller <davem@davemloft.net>
330
331 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
332 (struct sigaction): New struct member __glibc_reserved0, change
333 type of sa_flags to int.
334
335 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
336
337 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
338 (COUNT_LEADING_ZEROS_0): Define for AArch64.
339
340 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
341
342 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
343 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
344
345 2014-04-22 Will Newton <will.newton@linaro.org>
346 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
347
348 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
349 (__longjmp): Add longjmp and longjmp_target SystemTap
350 probes.
351 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
352 (__sigsetjmp): Add setjmp SystemTap probe.
353
354 2014-04-17 Carlos O'Donell <carlos@redhat.com>
355
356 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
357 match manual order.
358
359 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
360
361 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
362
363 * sysdeps/powerpc/fpu/fenv_private.h
364 (libc_feholdexcept_setroundl_ctx): Define to
365 libc_feholdexcept_setround_ppc_ctx.
366 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
367 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
368 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
369 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
370
371 2014-04-17 Ian Bolton <ian.bolton@arm.com>
372
373 * sysdeps/aarch64/math-tests.h: New file.
374
375 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
376
377 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
378 New.
379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
380 Check and set bit_AVX2_Usable.
381 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
382 macro.
383 (bit_AVX2): Likewise.
384 (index_AVX2_Usable): Likewise.
385 (CPUID_AVX2): Likewise.
386 (HAS_AVX2): Likewise.
387
388 2014-04-17 Will Newton <will.newton@linaro.org>
389
390 * manual/setjmp.texi (System V contexts): Add note that
391 calling setcontext on a context created by a call to a
392 signal handler is undefined. Update text to note that
393 setcontext from a signal handler is possible but not
394 recommended.
395
396 [BZ #16629]
397 * stdlib/tst-setcontext.c: Include signal.h.
398 (main): Check that the signal stack before and
399 after swapcontext is the same.
400
401 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
402 Re-implement to restore registers in user code and avoid
403 rt_sigreturn system call.
404
405 2014-04-17 Wilco <wdijkstr@arm.com>
406
407 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
408 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
409 * math/test-fenv.c: Skip exception trap tests on targets which only
410 support non-stop mode.
411
412 2014-04-17 Ian Bolton <ian.bolton@arm.com>
413 Wilco Dijkstra <wilco.dijkstra@arm.com>
414
415 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
416 (libc_feholdsetround_aarch64_ctx)
417 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
418 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
419 (libc_feresetround_ctx, libc_feresetroundf_ctx)
420 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
421 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
422 (libc_feresetround_noexl_ctx): Define.
423
424 2014-04-16 Richard Henderson <rth@redhat.com>
425
426 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
427
428 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
429 unwind tables.
430
431 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
432 const from the non-libc, non-ldso copy.
433
434 * sysdeps/alpha/libm-test-ulps: Regenerate.
435
436 2014-04-16 Ian Bolton <ian.bolton@arm.com>
437 Wilco Dijkstra <wilco.dijkstra@arm.com>
438
439 * sysdeps/aarch64/fpu/math_private.h: New file.
440
441 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
442
443 * sysdeps/aarch64/libm-test-ulps: Regenerate.
444
445 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
446
447 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
448 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
449 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
450 Intel MPX bound registers before _dl_profile_fixup.
451 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
452 registers after _dl_profile_fixup. Save and restore bound
453 registers bnd0/bnd1 when calling _dl_call_pltexit.
454 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
455 (LR_BND_OFFSET): Likewise.
456 (LRV_BND0_OFFSET): Likewise.
457 (LRV_BND1_OFFSET): Likewise.
458
459 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
460
461 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
462 to...
463 * sysdeps/mach/hurd/i386/tls.h: ... here.
464 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
465 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
466 fields.
467
468 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
469
470 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
471
472 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
473
474 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
475
476 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
477
478 [BZ #14770]
479 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
480 * sysdeps/s390/configure: Regenerate.
481
482 [BZ #16824]
483 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
484 Set round-to-nearest internally to reduce error accumulation.
485
486 2014-04-16 Alan Modra <amodra@gmail.com>
487
488 [BZ #16740]
489 [BZ #16619]
490 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
491 * math/libm-test.inc (frexp_test_data): Add tests.
492 * NEWS: Update fixed bug list.
493
494 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
495
496 * benchtests/Makefile: Depend on libraries in build directory.
497 (bench-math): Separate out math tests.
498 (bench-pthread): Separate out pthread tests.
499 (bench): Include math and pthread tests.
500
501 2014-04-14 Carlos O'Donell <carlos@redhat.com>
502
503 [BZ #16831]
504 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
505 _dl_debug_initialize.
506
507 * configure.ac: Remove SELinux header check.
508 * configure: Regenerate.
509 * nscd/selinux.c (perms): Array of const char* to permission names.
510 (nscd_request_avc_has_perm): Call security_deny_unknown to find
511 default policy. Call string_to_security_class and string_to_av_perm to
512 translate strings. Enforce default policy and call avs_has_perm with
513 results of translated strings.
514
515 2014-04-13 David S. Miller <davem@davemloft.net>
516
517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
518
519 2014-04-12 Allan McRae <allan@archlinux.org>
520
521 [BZ #16838]
522 * manual/string.texi (Collation Functions): Fix qsort argument
523 order in example.
524 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
525
526 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
527
528 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
529 Make the test a no-op if there are no exceptions defined.
530
531 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
532
533 * elf/Makefile (tests): make tst-dlopen-aout conditional on
534 enable-hardcoded-path-in-tests
535
536 2014-04-11 Will Newton <will.newton@linaro.org>
537
538 * benchtests/Makefile (extra-objs): Add json-lib.o.
539 (bench-func): Tidy up JSON output.
540 * benchtests/bench-skeleton.c: Include json-lib.h.
541 (main): Use JSON library functions to do output of
542 benchmark results.
543 * benchtests/bench-timing-type.c (main): Output the
544 timing type simply, leaving formatting to the user.
545 * benchtests/json-lib.c: New file.
546 * benchtests/json-lib.h: Likewise.
547
548 2014-04-11 Torvald Riegel <triegel@redhat.com>
549
550 [BZ #15215]
551 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
552 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
553 memory barriers. Add comments.
554 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
555 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
556 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
557 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
558 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
559 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
560
561 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
562
563 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
564 * sysdeps/s390/s390-64/configure.ac: ... this ...
565 * sysdeps/s390/configure.ac: ... to here.
566 * sysdeps/s390/s390-32/configure: Delete file.
567 * sysdeps/s390/s390-64/configure: Delete file.
568 * sysdeps/s390/configure: Regenerate.
569
570 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
571
572 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
573
574 2014-04-11 Will Newton <will.newton@linaro.org>
575
576 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
577 to zero if it is not defined elsewhere. (mtrim): Test
578 the value of MALLOC_DEBUG with #if rather than #ifdef.
579
580 2014-04-10 Torvald Riegel <triegel@redhat.com>
581
582 * benchtests/pthread_once-inputs: New file.
583 * benchtests/pthread_once-source.c: New file.
584 * benchtests/README: Update documentation.
585
586 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
587 H.J. Lu <hongjiu.lu@intel.com>
588
589 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
590 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
591 * sysdeps/x86_64/configure: Regenerated.
592 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
593 macro.
594 (REGISTER_SAVE_RAX): Likewise.
595 (REGISTER_SAVE_RCX): Likewise.
596 (REGISTER_SAVE_RDX): Likewise.
597 (REGISTER_SAVE_RSI): Likewise.
598 (REGISTER_SAVE_RDI): Likewise.
599 (REGISTER_SAVE_R8): Likewise.
600 (REGISTER_SAVE_R9): Likewise.
601 (REGISTER_SAVE_BND0): Likewise.
602 (REGISTER_SAVE_BND1): Likewise.
603 (REGISTER_SAVE_BND2): Likewise.
604 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
605 bound registers when calling _dl_fixup.
606
607 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
608
609 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
610 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
611 of its definition.
612 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
613 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
614 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
615 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
616 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
617 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
618 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
619
620 2014-04-09 Peter Brett <peter@peter-b.co.uk>
621
622 [BZ #15514]
623 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
624 pathconf(_PC_NAME_MAX).
625
626 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
627
628 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
629 Remove macro usage.
630 (__PTHREAD_SPINS): Move definition to ...
631 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
632 (__PTHREAD_SPINS): ... here.
633 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
634 (__PTHREAD_SPIN): Likewise.
635 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
636 (__PTHREAD_SPIN): Likewise.
637 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
638 (__PTHREAD_SPIN): Likewise.
639 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
640 (__PTHREAD_SPIN): Likewise.
641 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
642 (__PTHREAD_SPIN): Likewise.
643 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
644 (__PTHREAD_SPIN): Likewise.
645 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
646 (__PTHREAD_SPIN): Likewise.
647 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
648 (__PTHREAD_SPIN): Likewise.
649 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
650 (__PTHREAD_SPIN): Likewise.
651 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
652 (__PTHREAD_SPIN): Likewise.
653 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
654 (__PTHREAD_SPIN): Likewise.
655 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
656 (__PTHREAD_SPIN): Likewise.
657
658 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
659 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
660 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
661 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
662 imply folder.
663 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
664 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
665 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
666 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
667 correct imply path.
668 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
669 strlen symbol for non multi-arch builds.
670 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
671 missing hidden_def and weak_alias.
672
673 2014-04-08 Carlos O'Donell <carlos@redhat.com>
674
675 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
676
677 2014-04-07 Will Newton <will.newton@linaro.org>
678
679 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
680 and contents. [!_LIBC] Remove #ifndef and contents.
681 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
682 * string/memccpy.c (__memccpy): Use ANSI prototype.
683 * string/memfrob.c (memfrob): Likewise.
684 * string/strcoll.c (STRCOLL): Likewise.
685 * string/strlen.c (strlen): Likewise.
686 * string/strtok.c (STRTOK): Likewise.
687 * string/strcat.c: Remove unused #include of memcopy.h.
688 (strcat): Use ANSI prototype.
689 * string/strchr.c: Remove unused #include of memcopy.h.
690 (strchr): Use ANSI prototype.
691 * string/strcmp.c: Remove unused #include of memcopy.h.
692 (strcmp): Use ANSI prototype.
693 * string/strcpy.c: Remove unused #include of memcopy.h.
694 (strcpy): Use ANSI prototype.
695
696 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
697
698 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
699 * config.make.in (config-extra-cppflags): Set it from
700 libc_extra_cppflags.
701 * configure.ac (libc_extra_cflags): Make it accumulate over
702 configure fragments.
703 (libc_extra_cppflags): New flag.
704 * configure. Regenerate.
705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
706 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
707 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
709
710 [BZ #16815]
711 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
712 result for FE_DOWNWARD rounding mode.
713 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
714 Likewise.
715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
716
717 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
718
719 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
720 in function argument name.
721
722 2014-04-03 David Svoboda <svoboda@cert.org>
723
724 [BZ #5666]
725 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
726 explicitly.
727
728 2014-04-03 Roland McGrath <roland@hack.frob.com>
729
730 * elf/dl-unmap-segments.h: New file.
731 * sysdeps/generic/ldsodefs.h
732 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
733 * elf/dl-close.c: Include <dl-unmap-segments.h>.
734 * elf/dl-fptr.c: Likewise.
735 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
736 * sysdeps/aarch64/tlsdesc.c: Likewise.
737 * sysdeps/arm/tlsdesc.c: Likewise.
738 * sysdeps/i386/tlsdesc.c: Likewise.
739 * sysdeps/tile/dl-runtime.c: Likewise.
740 * sysdeps/x86_64/tlsdesc.c: Likewise.
741 * elf/dl-load.h: New file.
742 * elf/dl-load.c: Include it.
743 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
744 Macros moved to dl-load.h.
745 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
746 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
747 Use _dl_unmap_segments in place of __munmap.
748 Break out segment-mapping loop into ...
749 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
750
751 2014-04-03 Will Newton <will.newton@linaro.org>
752
753 * elf/dl-lookup.c (do_lookup_x): Remove comment
754 referring to nested function and move variable
755 declarations down to before first use.
756
757 2014-04-02 Joseph Myers <joseph@codesourcery.com>
758
759 [BZ #16799]
760 [BZ #16800]
761 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
762 with 0 numerator.
763 * math/s_catanf.c (__catanf): Likewise.
764 * math/s_catanh.c (__catanh): Likewise.
765 * math/s_catanhf.c (__catanhf): Likewise.
766 * math/s_catanhl.c (__catanhl): Likewise.
767 * math/s_catanl.c (__catanl): Likewise.
768 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
769 by positive zero when computing -Inf result.
770 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
771 (catanh_test): Likewise.
772 * sysdeps/i386/fpu/libm-test-ulps: Update.
773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
774
775 [BZ #16789]
776 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
777 instead of using underflowing value in computing result.
778 * math/s_clog10.c (__clog10): Likewise.
779 * math/s_clog10f.c (__clog10f): Likewise.
780 * math/s_clog10l.c (__clog10l): Likewise.
781 * math/s_clogf.c (__clogf): Likewise.
782 * math/s_clogl.c (__clogl): Likewise.
783 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
784 (clog10_test): Likewise.
785 * sysdeps/i386/fpu/libm-test-ulps: Update.
786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
787
788 2014-04-02 Alan Modra <amodra@gmail.com>
789
790 [BZ #16739]
791 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
792 output when value is near a power of two. Use int64_t for lx and
793 remove casts. Use decimal rather than hex exponent constants.
794 Don't use long double multiplication when double will suffice.
795 * math/libm-test.inc (nextafter_test_data): Add tests.
796 * NEWS: Add 16739 and 16786 to bug list.
797
798 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
799
800 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
801
802 2014-04-01 Will Newton <will.newton@linaro.org>
803
804 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
805 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
806
807 2014-04-01 Florian Weimer <fweimer@redhat.com>
808
809 [BZ #13347]
810 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
811 * nptl/tst-setuid2.c: New file.
812 * nptl/Makefile (xtests): Add tst-setuid2.
813
814 2014-04-01 Alan Modra <amodra@gmail.com>
815
816 [BZ #16786]
817 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
818
819 2014-03-31 Joseph Myers <joseph@codesourcery.com>
820
821 [BZ #6803]
822 [BZ #6804]
823 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
824 set errno as appropriate.
825 * math/w_scalbf.c (__scalbf): Likewise.
826 * math/w_scalbl.c (__scalbl): Likewise.
827 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
828 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
829 * math/libm-test.inc (scalb_test_data): Add errno expectations.
830 Add more NaN tests.
831
832 [BZ #16349]
833 * math/w_atan2.c: Include <errno.h>.
834 (__atan2): Set errno for result underflowing to zero.
835 * math/w_atan2f.c: Include <errno.h>.
836 (__atan2f): Set errno for result underflowing to zero.
837 * math/w_atan2l.c: Include <errno.h>.
838 (__atan2l): Set errno for result underflowing to zero.
839 * math/auto-libm-test-in: Don't allow missing errno for some atan2
840 tests.
841 * math/auto-libm-test-out: Regenerated.
842
843 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
844
845 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
846 Encode instruction correctly in little endian.
847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
848 Likewise.
849 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
850 Likewise.
851 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
852 Likewise.
853 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
854 Likewise.
855
856 2014-03-31 Joseph Myers <joseph@codesourcery.com>
857
858 [BZ #9894]
859 * sysdeps/unix/sysv/linux/kernel-features.h
860 [__sparc__ && !__arch64__ && !__sparc_v9__]
861 (__ASSUME_SET_ROBUST_LIST): Do not define.
862 [__sparc__ && !__arch64__ && !__sparc_v9__]
863 (__ASSUME_FUTEX_LOCK_PI): Likewise.
864 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
865 Likewise.
866 * sysdeps/unix/sysv/linux/arm/kernel-features.h
867 (__ASSUME_FUTEX_LOCK_PI): Undefine.
868 (__ASSUME_REQUEUE_PI): Likewise.
869 (__ASSUME_SET_ROBUST_LIST): Likewise.
870 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
871 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
872 Undefine.
873 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
874 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
875 Likewise.
876 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
877 Likewise.
878 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
879 Likewise.
880 * sysdeps/unix/sysv/linux/mips/kernel-features.h
881 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
882 Undefine.
883 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
884 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
885 Likewise.
886
887 [BZ #16648]
888 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
890 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
891
892 2014-03-31 Will Newton <will.newton@linaro.org>
893
894 * benchtests/Makefile (bench): Add ffs and ffsll to list
895 of tests.
896 * benchtests/ffs-inputs: New file.
897 * benchtests/ffsll-inputs: Likewise.
898
899 2014-03-29 Joseph Myers <joseph@codesourcery.com>
900
901 [BZ #16770]
902 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
903 too large before casting to int.
904 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
905 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
906 * math/libm-test.inc (scalb_test_data): Add more tests.
907
908 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
909
910 * benchtests/Makefile (DETAILED_OPT): New make option.
911 (bench-func): Run benchmark program with -d if DETAILED_OPT is
912 set.
913 * benchtests/bench-skeleton.c: Include stdbool.h.
914 (main): Store and print timings per input.
915 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
916 member to each argument value.
917 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
918 (_print_arg_data): Initialize per-input timing to 0.
919
920 * benchtests/Makefile (timing-type): New binary.
921 (bench-clean): Also remove bench-timing-type.
922 (bench): New target for timing-type.
923 (bench-func): Print output in JSON format.
924 * benchtests/bench-skeleton.c (main): Print output in JSON
925 format.
926 * benchtests/bench-timing-type.c: New file.
927 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
928 (TIMING_PRINT_STATS): Remove.
929 * benchtests/scripts/bench.py (_print_arg_data): Store variant
930 name separately.
931
932 * benchtests/bench-modf.c: Remove.
933 * benchtests/modf-inputs: New inputs file.
934
935 2014-03-28 Joseph Myers <joseph@codesourcery.com>
936
937 [BZ #16362]
938 * math/s_clog10.c (M_PI_LOG10E): New macro.
939 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
940 imaginary parts are 0.
941 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
942 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
943 imaginary parts are 0.
944 * math/s_clog10l.c (M_PI_LOG10El): New macro.
945 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
946 imaginary parts are 0.
947 * math/libm-test.inc (clog10_test_data): Update expected results
948 for when real and imaginary parts are 0.
949
950 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
951
952 * elf/dl-load.c: Finish conversion of __builtin_expect into
953 __glibc_{un}likely.
954
955 2014-03-27 Joseph Myers <joseph@codesourcery.com>
956
957 [BZ #16348]
958 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
959 1+x for argument with exponent below -67.
960 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
961 Likewise.
962 * math/auto-libm-test-in: Add more tests of exp.
963 * math/auto-libm-test-out: Regenerated.
964
965 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
966
967 [BZ #16759]
968 * inet/getnetgrent_r.c (get_nonempty_val): New function.
969 (nscd_getnetgrent): Use it.
970
971 [BZ #16760]
972 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
973 of stpcpy.
974
975 2014-03-27 Andi Kleen <ak@linux.intel.com>
976
977 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
978 (lll_robust_lock, lll_cond_lock, lll_timedlock)
979 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
980 (lll_robust_unlock): Remove out of line section. Use cfi
981 intrinsics.
982 (LLL_STUB_UNWIND_INFO*): Remove.
983 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
984 (lll_robust_lock, lll_cond_lock, lll_timedlock)
985 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
986 (lll_robust_unlock): Remove out of line section. Use cfi
987 intrinsics.
988 (LLL_STUB_UNWIND_INFO*): Remove.
989
990 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
991
992 [BZ #16758]
993 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
994 blank values.
995
996 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
997
998 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
999
1000 2014-03-26 Joseph Myers <joseph@codesourcery.com>
1001
1002 [BZ #16198]
1003 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
1004 fnstenv.
1005 * math/test-fenv-preserve.c: New file.
1006 * math/Makefile (tests): Add test-fenv-preserve.
1007
1008 2014-03-26 Will Newton <will.newton@linaro.org>
1009
1010 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
1011
1012 2014-03-25 Roland McGrath <roland@hack.frob.com>
1013
1014 * scripts/versionlist.awk: Partition the version sets and emit all
1015 GLIBC_* (sorted) before all others (sorted).
1016
1017 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1018
1019 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
1020 GLIBC_2.2.5 version.
1021
1022 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023
1024 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
1025 calls.
1026
1027 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
1028 previous change.
1029
1030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1031
1032 2014-03-25 Andreas Schwab <schwab@suse.de>
1033
1034 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
1035 label to be used after in6ailist is initialized.
1036
1037 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1038
1039 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1040 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1041
1042 2014-03-25 Joseph Myers <joseph@codesourcery.com>
1043
1044 [BZ #16357]
1045 [BZ #16599]
1046 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
1047 min_plus_half.
1048 (fp_formats): Update initializers.
1049 (init_fp_formats): Initialize new field.
1050 (output_for_one_input_case): Allow underflow for results up to
1051 min_plus_half.
1052 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
1053 * math/auto-libm-test-in: Don't mark some underflows from asin and
1054 atanh as spurious.
1055 * math/auto-libm-test-out: Regenerated.
1056 * sysdeps/i386/fpu/libm-test-ulps: Update.
1057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1058
1059 2014-03-25 Andreas Schwab <schwab@suse.de>
1060
1061 * libio/Makefile (tst-ftell-partial-wide-ENV)
1062 (tst-ftell-active-handler-ENV): Define.
1063
1064 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
1065
1066 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
1067
1068 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1069
1070 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
1071
1072 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1073
1074 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
1075 * sysdeps/x86_64/fpu/multiarch/e_exp.c
1076 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
1077
1078 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1079
1080 [BZ #16634]
1081 * elf/dl-load.c (open_verify): Add mode parameter.
1082 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
1083 (open_path): Change from boolean 'secure' to complete flag 'mode'
1084 (_dl_map_object): Adjust.
1085 * elf/Makefile (tests): Add tst-dlopen-aout.
1086 * elf/tst-dlopen-aout.c: New test.
1087
1088 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1089
1090 [BZ #16714]
1091 * sysdeps/unix/sysv/linux/s390/bits/stat.h
1092 (struct stat): Rename member pad0 to __glibc_reserved0.
1093
1094 [BZ #16712]
1095 * sysdeps/s390/s390-32/bits/wordsize.h
1096 (__WORDSIZE32_SIZE_ULONG): New define.
1097 * sysdeps/s390/s390-64/bits/wordsize.h
1098 (__WORDSIZE32_SIZE_ULONG): Likewise.
1099 * sysdeps/generic/stdint.h (SIZE_MAX):
1100 Define as UL if __WORDSIZE32_SIZE_ULONG.
1101
1102 [BZ #16713]
1103 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
1104 (__glibc_reserved0): New variable.
1105 (sa_flags): Change type to int.
1106
1107 * posix/Makefile (before-compile): Use += before-compile instead
1108 of a :=.
1109
1110 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1111 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
1112
1113 2014-03-20 Andreas Schwab <schwab@suse.de>
1114
1115 [BZ #16743]
1116 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
1117 non-matching result from nscd.
1118
1119 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1120
1121 * scripts/bench.py: Moved to ...
1122 * benchtests/scripts/bench.py: ... here.
1123 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
1124
1125 2014-03-24 Andreas Schwab <schwab@suse.de>
1126
1127 [BZ #16002]
1128 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
1129 alloca_account and account alloca use for struct in6ailist.
1130
1131 2014-03-24 Joseph Myers <joseph@codesourcery.com>
1132
1133 [BZ #16284]
1134 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
1135 rounding mode to recompute results that overflow to infinity or
1136 underflow to zero.
1137 * math/auto-libm-test-in: Don't mark tests as expected to fail for
1138 bug 16284.
1139 * math/auto-libm-test-out: Regenerated.
1140 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
1141 (ccosh_test): Likewise.
1142 (csin_test_data): Use plus_oflow.
1143 (csin_test): Use ALL_RM_TEST.
1144 (csinh_test_data): Use plus_oflow.
1145 (csinh_test): Use ALL_RM_TEST.
1146 * sysdeps/i386/fpu/libm-test-ulps: Update.
1147 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1148
1149 2014-03-21 Joseph Myers <joseph@codesourcery.com>
1150
1151 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
1152 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
1153 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
1154
1155 [BZ #16731]
1156 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
1157 when x - 1 is zero.
1158 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
1159 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
1160 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1161 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
1162 argument is 1.
1163 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
1164 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
1165 zero.
1166 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
1167 * sysdeps/i386/fpu/libm-test-ulps: Update.
1168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1169
1170 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1171
1172 * scripts/bench.pl: Remove file.
1173 * scripts/bench.py: New benchmark script.
1174 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
1175 * benchtests/README: Mention python dependency.
1176 * scripts/pylintrc: New file.
1177 * scripts/pylint: New file.
1178
1179 * bits/mathdef.h: Use #ifdef instead of #if.
1180 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
1181 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1182 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
1183 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1184 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
1185 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
1186
1187 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1188 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1189
1190 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
1191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
1192 and strpbrk-ppc64 objects.
1193 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1194 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
1195 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
1196 multiarch strpbrk for POWER7.
1197 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
1198 multiarch strpbrk for PPC64.
1199 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
1200 ifunc selector.
1201 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
1202 strpbrk for POWER7.
1203
1204 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1205
1206 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
1207 (atan_test): Likewise.
1208 (atanh_test_data): Use NO_TEST_INLINE for two tests.
1209 (atanh_test): Use ALL_RM_TEST.
1210 (atan2_test_data): Likewise.
1211 (cabs_test): Likewise.
1212 (cacosh_test): Likewise.
1213 (carg_test): Likewise.
1214 (casin_test): Likewise.
1215 (casinh_test): Likewise.
1216 (cbrt_test): Likewise.
1217 (csqrt_test): Likewise.
1218 (erf_test): Likewise.
1219 (erfc_test): Likewise.
1220 (pow10_test): Likewise.
1221 (exp2_test): Likewise.
1222 (hypot_test): Likewise.
1223 (j0_test): Likewise.
1224 (j1_test): Likewise.
1225 (lgamma_test): Likewise.
1226 (gamma_test): Likewise.
1227 (sincos_test): Likewise.
1228 (tanh_test): Likewise.
1229 (y0_test): Likewise.
1230 (y1_test): Likewise.
1231 * sysdeps/i386/fpu/libm-test-ulps: Update.
1232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1233
1234 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
1237 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
1238 and strcspn-ppc64 objects.
1239 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1240 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
1241 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
1242 multiarch strcspn for POWER7.
1243 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
1244 multiarch strcspn for PPC64.
1245 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
1246 ifunc selector.
1247 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
1248 strcspn for POWER7.
1249
1250 2014-03-20 Joseph Myers <joseph@codesourcery.com>
1251
1252 * math/gen-libm-test.pl (generate_testfile): Expect only function
1253 name as argument to AUTO_TESTS_* and pass results for all rounding
1254 modes to parse_args.
1255 (parse_auto_input): Separate inputs of automatic tests from
1256 outputs before storing in %auto_tests.
1257 * math/libm-test.inc (acos_test_data): Update call to
1258 AUTO_TESTS_f_f.
1259 (acos_test): Use ALL_RM_TEST.
1260 (acos_tonearest_test_data): Remove.
1261 (acos_test_tonearest): Likewise.
1262 (acos_towardzero_test_data): Likewise.
1263 (acos_test_towardzero): Likewise.
1264 (acos_downward_test_data): Likewise.
1265 (acos_test_downward): Likewise.
1266 (acos_upward_test_data): Likewise.
1267 (acos_test_upward): Likewise.
1268 (acosh_test_data): Update call to AUTO_TESTS_f_f.
1269 (asin_test_data): Likewise.
1270 (asin_test): Use ALL_RM_TEST.
1271 (asin_tonearest_test_data): Remove.
1272 (asin_test_tonearest): Likewise.
1273 (asin_towardzero_test_data): Likewise.
1274 (asin_test_towardzero): Likewise.
1275 (asin_downward_test_data): Likewise.
1276 (asin_test_downward): Likewise.
1277 (asin_upward_test_data): Likewise.
1278 (asin_test_upward): Likewise.
1279 (asinh_test_data): Update call to AUTO_TESTS_f_f.
1280 (atan_test_data): Likewise.
1281 (atanh_test_data): Likewise.
1282 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
1283 (cabs_test_data): Update call to AUTO_TESTS_c_f.
1284 (carg_test_data): Likewise.
1285 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
1286 (ccos_test_data): Update call to AUTO_TESTS_c_c.
1287 (ccosh_test_data): Likewise.
1288 (cexp_test_data): Likewise.
1289 (clog_test_data): Likewise.
1290 (clog10_test_data): Likewise.
1291 (cos_test_data): Update call to AUTO_TESTS_f_f.
1292 (cos_test): Use ALL_RM_TEST.
1293 (cos_tonearest_test_data): Remove.
1294 (cos_test_tonearest): Likewise.
1295 (cos_towardzero_test_data): Likewise.
1296 (cos_test_towardzero): Likewise.
1297 (cos_downward_test_data): Likewise.
1298 (cos_test_downward): Likewise.
1299 (cos_upward_test_data): Likewise.
1300 (cos_test_upward): Likewise.
1301 (cosh_test_data): Update call to AUTO_TESTS_f_f.
1302 (cosh_test): Use ALL_RM_TEST.
1303 (cosh_tonearest_test_data): Remove.
1304 (cosh_test_tonearest): Likewise.
1305 (cosh_towardzero_test_data): Likewise.
1306 (cosh_test_towardzero): Likewise.
1307 (cosh_downward_test_data): Likewise.
1308 (cosh_test_downward): Likewise.
1309 (cosh_upward_test_data): Likewise.
1310 (cosh_test_upward): Likewise.
1311 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
1312 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
1313 (ctan_test_data): Likewise.
1314 (ctan_test): Use ALL_RM_TEST.
1315 (ctan_tonearest_test_data): Remove.
1316 (ctan_test_tonearest): Likewise.
1317 (ctan_towardzero_test_data): Likewise.
1318 (ctan_test_towardzero): Likewise.
1319 (ctan_downward_test_data): Likewise.
1320 (ctan_test_downward): Likewise.
1321 (ctan_upward_test_data): Likewise.
1322 (ctan_test_upward): Likewise.
1323 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
1324 (ctanh_test): Use ALL_RM_TEST.
1325 (ctanh_tonearest_test_data): Remove.
1326 (ctanh_test_tonearest): Likewise.
1327 (ctanh_towardzero_test_data): Likewise.
1328 (ctanh_test_towardzero): Likewise.
1329 (ctanh_downward_test_data): Likewise.
1330 (ctanh_test_downward): Likewise.
1331 (ctanh_upward_test_data): Likewise.
1332 (ctanh_test_upward): Likewise.
1333 (erf_test_data): Update call to AUTO_TESTS_f_f.
1334 (erfc_test_data): Likewise.
1335 (exp_test_data): Likewise.
1336 (exp_test): Use ALL_RM_TEST.
1337 (exp_tonearest_test_data): Remove.
1338 (exp_test_tonearest): Likewise.
1339 (exp_towardzero_test_data): Likewise.
1340 (exp_test_towardzero): Likewise.
1341 (exp_downward_test_data): Likewise.
1342 (exp_test_downward): Likewise.
1343 (exp_upward_test_data): Likewise.
1344 (exp_test_upward): Likewise.
1345 (exp10_test_data): Update call to AUTO_TESTS_f_f.
1346 (exp10_test): Use ALL_RM_TEST.
1347 (exp10_tonearest_test_data): Remove.
1348 (exp10_test_tonearest): Likewise.
1349 (exp10_towardzero_test_data): Likewise.
1350 (exp10_test_towardzero): Likewise.
1351 (exp10_downward_test_data): Likewise.
1352 (exp10_test_downward): Likewise.
1353 (exp10_upward_test_data): Likewise.
1354 (exp10_test_upward): Likewise.
1355 (exp2_test_data): Update call to AUTO_TESTS_f_f.
1356 (expm1_test_data): Likewise.
1357 (expm1_test): Use ALL_RM_TEST.
1358 (expm1_tonearest_test_data): Remove.
1359 (expm1_test_tonearest): Likewise.
1360 (expm1_towardzero_test_data): Likewise.
1361 (expm1_test_towardzero): Likewise.
1362 (expm1_downward_test_data): Likewise.
1363 (expm1_test_downward): Likewise.
1364 (expm1_upward_test_data): Likewise.
1365 (expm1_test_upward): Likewise.
1366 (fma_test_data): Update call to AUTO_TESTS_fff_f.
1367 (fma_test): Use ALL_RM_TEST.
1368 (fma_towardzero_test_data): Remove.
1369 (fma_test_towardzero): Likewise.
1370 (fma_downward_test_data): Likewise.
1371 (fma_test_downward): Likewise.
1372 (fma_upward_test_data): Likewise.
1373 (fma_test_upward): Likewise.
1374 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
1375 (j0_test_data): Update call to AUTO_TESTS_f_f.
1376 (j1_test_data): Likewise.
1377 (jn_test_data): Update call to AUTO_TESTS_if_f.
1378 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
1379 (log_test_data): Update call to AUTO_TESTS_f_f.
1380 (log10_test_data): Likewise.
1381 (log1p_test_data): Likewise.
1382 (log2_test_data): Likewise.
1383 (pow_test_data): Update call to AUTO_TESTS_ff_f.
1384 (pow_tonearest_test_data): Likewise.
1385 (sin_test_data): Update call to AUTO_TESTS_f_f.
1386 (sin_test): Use ALL_RM_TEST.
1387 (sin_tonearest_test_data): Remove.
1388 (sin_test_tonearest): Likewise.
1389 (sin_towardzero_test_data): Likewise.
1390 (sin_test_towardzero): Likewise.
1391 (sin_downward_test_data): Likewise.
1392 (sin_test_downward): Likewise.
1393 (sin_upward_test_data): Likewise.
1394 (sin_test_upward): Likewise.
1395 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
1396 (sinh_test_data): Update call to AUTO_TESTS_f_f.
1397 (sinh_test): Use ALL_RM_TEST.
1398 (sinh_tonearest_test_data): Remove.
1399 (sinh_test_tonearest): Likewise.
1400 (sinh_towardzero_test_data): Likewise.
1401 (sinh_test_towardzero): Likewise.
1402 (sinh_downward_test_data): Likewise.
1403 (sinh_test_downward): Likewise.
1404 (sinh_upward_test_data): Likewise.
1405 (sinh_test_upward): Likewise.
1406 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
1407 (sqrt_test): Use ALL_RM_TEST.
1408 (sqrt_tonearest_test_data): Remove.
1409 (sqrt_test_tonearest): Likewise.
1410 (sqrt_towardzero_test_data): Likewise.
1411 (sqrt_test_towardzero): Likewise.
1412 (sqrt_downward_test_data): Likewise.
1413 (sqrt_test_downward): Likewise.
1414 (sqrt_upward_test_data): Likewise.
1415 (sqrt_test_upward): Likewise.
1416 (tan_test_data): Update call to AUTO_TESTS_f_f.
1417 (tan_test): Use ALL_RM_TEST.
1418 (tan_tonearest_test_data): Remove.
1419 (tan_test_tonearest): Likewise.
1420 (tan_towardzero_test_data): Likewise.
1421 (tan_test_towardzero): Likewise.
1422 (tan_downward_test_data): Likewise.
1423 (tan_test_downward): Likewise.
1424 (tan_upward_test_data): Likewise.
1425 (tan_test_upward): Likewise.
1426 (tanh_test_data): Update call to AUTO_TESTS_f_f.
1427 (tgamma_test_data): Likewise.
1428 (y0_test_data): Likewise.
1429 (y1_test_data): Likewise.
1430 (yn_test_data): Update call to AUTO_TESTS_if_f.
1431 (main): Do not call removed functions.
1432
1433 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1434
1435 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
1436 (ldexp_test_data): Remove.
1437 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
1438 scalbn_test_data.
1439 (scalb_test): Use ALL_RM_TEST.
1440
1441 2014-03-19 Andreas Schwab <schwab@suse.de>
1442
1443 * nscd/nscd.service: Also invalidate netgroup cache on reload.
1444
1445 2014-03-19 Joseph Myers <joseph@codesourcery.com>
1446
1447 [BZ #16649]
1448 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1449 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
1450 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
1451 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1452 (__ASSUME_PREADV): Undefine.
1453 (__ASSUME_PWRITEV): Likewise.
1454
1455 2014-03-18 Roland McGrath <roland@hack.frob.com>
1456
1457 * bits/mman-linux.h: Add comment about non-Linux use.
1458 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1459 bits/mman-linux.h resting place.
1460
1461 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1462 * bits/mman-linux.h: ... here.
1463
1464 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1465
1466 * conform/conformtest.pl: Add standard definition when calling C
1467 preprocessor on data files.
1468 (checknamespace): Remove unused variable.
1469
1470 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1471
1472 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1473 minus_oflow, plus_uflow and minus_uflow in expected results.
1474 * math/libm-test.inc (scalbn_test_data): Add more tests of
1475 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1476 minus_uflow.
1477 (scalbn_test): Use ALL_RM_TEST.
1478 (scalbln_test_data): Add more tests of negative arguments. Use
1479 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1480 (scalbln_test): Use ALL_RM_TEST.
1481
1482 2014-03-18 Roland McGrath <roland@hack.frob.com>
1483
1484 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1485
1486 2014-03-18 Will Newton <will.newton@linaro.org>
1487
1488 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1489 inaccurate comment.
1490
1491 2014-03-18 Joseph Myers <joseph@codesourcery.com>
1492
1493 * Makerules [!subdir] (check-abi): Exit with error status if a
1494 test failed.
1495
1496 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1497
1498 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1499 for rint. Include results for all rounding modes.
1500 (nearbyint_test): Use ALL_RM_TEST.
1501 (rint_test_data): Include all tests used for nearbyint.
1502
1503 2014-03-17 Will Newton <will.newton@linaro.org>
1504
1505 * nptl/sysdeps/pthread/pthread.h: Revert previous
1506 change.
1507
1508 * sysdeps/generic/ldsodefs.h: Revert previous
1509 change.
1510
1511 * libio/genops.c: Revert previous change.
1512 * libio/libioP.h: Likewise.
1513 * stdio-common/vfprintf.c: Likewise.
1514
1515 * sysdeps/generic/math_private.h: Revert previous
1516 change.
1517
1518 * sysdeps/generic/math_private.h: Check whether
1519 HAVE_RM_CTX is defined with #ifdef rather
1520 than #if.
1521
1522 * argp/argp-fmtstream.h: Check whether
1523 __STRICT_ANSI__ is defined with #ifdef rather
1524 than #if.
1525 * argp/argp.h: Likewise.
1526
1527 * libio/genops.c: Check whether
1528 _IO_JUMPS_OFFSET is defined with #ifdef rather
1529 than #if.
1530 * libio/libioP.h: Likewise.
1531 * stdio-common/vfprintf.c: Likewise.
1532
1533 * sysdeps/generic/ldsodefs.h: Check whether
1534 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1535 than #if.
1536
1537 * nptl/sysdeps/pthread/pthread.h: Check
1538 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1539 its value.
1540
1541 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1542
1543 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1544 setting O_APPEND.
1545 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1546 test case.
1547
1548 [BZ #16680]
1549 * libio/fileops.c (_IO_file_open): Seek to end of file but
1550 don't cache the offset.
1551 (get_file_offset): Remove function.
1552 (do_ftell): Use cached offset when available.
1553 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1554 don't cache the offset.
1555 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1556 case.
1557 (do_one_test): Call it.
1558 (do_ftell_test): Fix up expected old offset for a+ mode.
1559 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1560 available.
1561
1562 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1563 up test status with function return status.
1564 (do_write_test): Likewise.
1565 (do_append_test): Likewise.
1566
1567 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1568 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1569 Remove.
1570
1571 2014-03-17 Joseph Myers <joseph@codesourcery.com>
1572
1573 * math/gen-libm-test.pl (parse_args): Handle results specified for
1574 each rounding mode separately.
1575 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1576 tests and results from lrint_tonearest_test_data,
1577 lrint_towardzero_test_data, lrint_downward_test_data and
1578 lrint_upward_test_data.
1579 (lrint_test): Use ALL_RM_TEST.
1580 (lrint_tonearest_test_data): Remove.
1581 (lrint_test_tonearest): Likewise.
1582 (lrint_towardzero_test_data): Likewise.
1583 (lrint_test_towardzero): Likewise.
1584 (lrint_downward_test_data): Likewise.
1585 (lrint_test_downward): Likewise.
1586 (lrint_upward_test_data): Likewise.
1587 (lrint_test_upward): Likewise.
1588 (llrint_test_data): Merge in per-rounding-mode tests and results
1589 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1590 llrint_downward_test_data and llrint_upward_test_data.
1591 (llrint_test): Use ALL_RM_TEST.
1592 (llrint_tonearest_test_data): Remove.
1593 (llrint_test_tonearest): Likewise.
1594 (llrint_towardzero_test_data): Likewise.
1595 (llrint_test_towardzero): Likewise.
1596 (llrint_downward_test_data): Likewise.
1597 (llrint_test_downward): Likewise.
1598 (llrint_upward_test_data): Likewise.
1599 (llrint_test_upward): Likewise.
1600 (rint_test_data): Merge in per-rounding-mode tests and results
1601 from rint_tonearest_test_data, rint_towardzero_test_data,
1602 rint_downward_test_data and rint_upward_test_data. Add
1603 per-rounding-mode results for tests not in those arrays.
1604 (rint_test): Use ALL_RM_TEST.
1605 (rint_tonearest_test_data): Remove.
1606 (rint_test_tonearest): Likewise.
1607 (rint_towardzero_test_data): Likewise.
1608 (rint_test_towardzero): Likewise.
1609 (rint_downward_test_data): Likewise.
1610 (rint_test_downward): Likewise.
1611 (rint_upward_test_data): Likewise.
1612 (rint_test_upward): Likewise.
1613 (main): Don't call removed functions.
1614
1615 2014-03-14 Roland McGrath <roland@hack.frob.com>
1616
1617 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1618 "Compiled on ..." crapola. It is anti-useful.
1619
1620 2014-03-14 Joseph Myers <joseph@codesourcery.com>
1621
1622 * scripts/evaluate-test.sh: Handle fourth argument to determine
1623 whether test run should stop on failure.
1624 * Makeconfig (stop-on-test-failure): New variable.
1625 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1626 $(stop-on-test-failure).
1627 * Makefile (tests): Give a summary of results from testing and
1628 exit with failure status if they include an ERROR or FAIL.
1629 (xtests): Likewise.
1630 * manual/install.texi (Configuring and compiling): Mention
1631 stop-on-test-failure=y.
1632 * INSTALL: Regenerated.
1633
1634 2014-03-14 Roland McGrath <roland@hack.frob.com>
1635
1636 * scripts/versionlist.awk: New file.
1637 * Makerules [$(build-shared) = yes]
1638 (postclean-generated): Add Versions.def, not Versions.def.v and
1639 Versions.def.v.i.
1640 ($(common-objpfx)Versions.def.v.i): Target removed.
1641 ($(common-objpfx)Versions.def): New target.
1642 ($(common-objpfx)Versions.all): Depend on that rather that
1643 $(common-objpfx)Versions.def.v.
1644 * Versions.def: File removed.
1645
1646 * Makeconfig (+gccwarn): Add -Wundef.
1647 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1648 a dl-sysdep.h breaking its contract.
1649 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1650 * include/stackinfo.h: New file.
1651 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1652 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1653 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1654 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1655 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1656 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1657 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1658 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1659 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1660 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1661 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1662 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1663 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1664 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1665 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1666
1667 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1668
1669 [BZ #16707]
1670 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1671 implementation.
1672 * math/libm-test.inc (round_test_data): Add more tests.
1673
1674 [BZ #16706]
1675 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1676 implementation.
1677 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1678
1679 [BZ #16701]
1680 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1681 implementation.
1682 * math/libm-test.inc (ceil_test_data): Add more tests.
1683
1684 * math/libm-test.inc (trunc_test_data): Add more tests related to
1685 BZ#16414.
1686
1687 2014-03-14 Roland McGrath <roland@hack.frob.com>
1688
1689 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1690 with #if rather than #ifdef.
1691 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1692
1693 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1694
1695 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1696 first. Disable AVX-512 GCC support if assembler doesn't support
1697 it.
1698 * sysdeps/x86_64/configure: Regenerated.
1699
1700 2014-03-13 Carlos O'Donell <carlos@redhat.com>
1701
1702 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1703 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1704 (__old_pthread_attr_setstack): Likewise.
1705 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1706 [!_STACK_GROWS_DOWN]: Likewise.
1707
1708 2014-03-13 Mike Frysinger <vapier@gentoo.org>
1709
1710 * config.make.in (have-bash2): Delete.
1711 * configure.ac (libc_cv_have_bash2): Delete.
1712 * configure: Regenerate.
1713 * elf/Makefile (common-ldd-rewrite): Rename to ...
1714 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1715 (sh-ldd-rewrite): Delete.
1716 (bash-ldd-rewrite): Delete.
1717 (have-bash2): Delete checks.
1718 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
1719 ldd-rewrite.
1720
1721 * config.make.in (have-ksh): Delete.
1722 (KSH): Delete.
1723 * configure.ac (libc_cv_have_ksh): Delete.
1724 * configure: Regenerate.
1725
1726 * elf/Makefile: Delete $(have-ksh) check.
1727 ($(objpfx)sotruss): Change KSH to BASH.
1728 * elf/sotruss.ksh: Rename to ...
1729 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1730 function style to match POSIX. Drop ksh vim mode setting.
1731
1732 * manual/time.texi (Specifying the Time Zone with TZ): Change
1733 Tuesday to Thursday.
1734
1735 * debug/tst-longjmp_chk2.c: Update header comment.
1736 (stackoverflow_handler): Add comment. Call assert on pass value.
1737
1738 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1739
1740 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1741 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1742 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1743 (La_x86_64_vector): Add zmm.
1744 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1745 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1746 ($(objpfx)tst-audit10): New target.
1747 ($(objpfx)tst-audit10.out): Likewise.
1748 (tst-audit10-ENV): New.
1749 (AVX512-CFLAGS): Likewise.
1750 (CFLAGS-tst-audit10.c): Likewise.
1751 (CFLAGS-tst-auditmod10a.c): Likewise.
1752 (CFLAGS-tst-auditmod10b.c): Likewise.
1753 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1754 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1755 * sysdeps/x86_64/configure: Regenerated.
1756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1757 AVX-512 zmm register support.
1758 (_dl_x86_64_save_sse): Likewise.
1759 (_dl_x86_64_restore_sse): Likewise.
1760 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1761 size vector registers.
1762 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1763 (ZMM_SIZE): Likewise.
1764 * sysdeps/x86_64/tst-audit10.c: New file.
1765 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1766 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1767
1768 2014-03-13 Roland McGrath <roland@hack.frob.com>
1769
1770 * configure.ac (HAVE_EHDR_START): New check.
1771 * configure: Regenerated.
1772 * config.h.in (HAVE_EHDR_START): New #undef.
1773 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1774 assuming the lowest-addressed segment maps the start of the file.
1775
1776 2014-03-13 Joseph Myers <joseph@codesourcery.com>
1777
1778 * INSTALL: Regenerated.
1779
1780 2014-03-13 Will Newton <will.newton@linaro.org>
1781
1782 * manual/setjmp.texi (System V contexts): Improve
1783 clarity and grammar of documentation.
1784
1785 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1786
1787 [BZ #16381]
1788 * elf/Makefile (tests): Add tst-pie2.
1789 (tests-pie): Add tst-pie2.
1790 * elf/tst-pie2.c: New file.
1791 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1792 for ET_EXEC.
1793 * elf/rtld.c (map_doit): Load executable as lt_executable.
1794 (dl_main): Likewise.
1795
1796 2014-03-12 Joseph Myers <joseph@codesourcery.com>
1797
1798 [BZ #16642]
1799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1800 (__ASSUME_PSELECT): Undefine.
1801
1802 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1803
1804 [BZ #16689]
1805 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1806 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1807 static build.
1808 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1809 selector for static builds.
1810
1811 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1812
1813 [BZ #16695]
1814 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1815 key in the buffer.
1816
1817 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1818
1819 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
1820 IFUNC selector for static builds.
1821
1822 2014-03-11 Joseph Myers <joseph@codesourcery.com>
1823
1824 * sysdeps/mips/math_private.h [__mips_hard_float]
1825 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1826 libc_feresetround_mips_ctx.
1827 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1828 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1829 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1830
1831 [BZ #16677]
1832 * math/s_nextafter.c (__nextafter): Do not return value from
1833 overflowing computation.
1834 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1835 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1837 Likewise.
1838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1839 Likewise.
1840 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1841 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1842
1843 2014-03-11 Roland McGrath <roland@hack.frob.com>
1844
1845 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1846 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1847 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1848 the new mov targetting sp.
1849
1850 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1851
1852 [BZ #16683]
1853 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1854 Define it for static builds as well.
1855 (NO_BZERO_IMPL): Likewise.
1856
1857 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1858
1859 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1860 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1861 multiarch strspn for PPC64.
1862 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1863 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1865 (__libc_ifunc_impl_list): Likewise.
1866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1867 multiarch optimizations
1868 * string/strspn.c (strspn): Using macro to redefine symbol name.
1869
1870 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1871 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1872
1873 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1874 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1875 multiarch strncat for PPC64.
1876 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1877 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1879 (__libc_ifunc_impl_list): Likewise.
1880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1881 multiarch optimizations
1882
1883 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1884
1885 [BZ #16639]
1886 * nscd/nscd.service: Make service type forking.
1887
1888 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1889
1890 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1891 sign in non default rounding modes.
1892 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1893
1894 2014-03-08 Joseph Myers <joseph@codesourcery.com>
1895
1896 * math/libm-test.inc (ALL_RM_TEST): New macro.
1897 (ceil_test): Use ALL_RM_TEST.
1898 (cimag_test): Likewise.
1899 (conj_test): Likewise.
1900 (copysign_test): Likewise.
1901 (cproj_test): Likewise.
1902 (creal_test): Likewise.
1903 (fabs_test): Likewise.
1904 (floor_test): Likewise.
1905 (fmax_test): Likewise.
1906 (fmin_test): Likewise.
1907 (fmod_test): Likewise.
1908 (fpclassify_test): Likewise.
1909 (frexp_test): Likewise.
1910 (ilogb_test): Likewise.
1911 (isfinite_test): Likewise.
1912 (finite_test): Likewise.
1913 (isgreater_test): Likewise.
1914 (isgreaterequal_test): Likewise.
1915 (isinf_test): Likewise.
1916 (isless_test): Likewise.
1917 (islessequal_test): Likewise.
1918 (islessgreater_test): Likewise.
1919 (isnan_test): Likewise.
1920 (isnormal_test): Likewise.
1921 (issignaling_test): Likewise.
1922 (isunordered_test): Likewise.
1923 (logb_test): Likewise.
1924 (logb_downward_test_data): Remove.
1925 (logb_test_downward): Likewise.
1926 (lround_test): Use ALL_RM_TEST.
1927 (llround_test): Likewise.
1928 (modf_test): Likewise.
1929 (nexttoward_test): Likewise.
1930 (remainder_test): Likewise.
1931 (drem_test): Likewise.
1932 (remainder_tonearest_test_data): Likewise.
1933 (remainder_test_tonearest): Likewise.
1934 (drem_test_tonearest): Likewise.
1935 (remainder_towardzero_test_data): Likewise.
1936 (remainder_test_towardzero): Likewise.
1937 (drem_test_towardzero): Likewise.
1938 (remainder_downward_test_data): Likewise.
1939 (remainder_test_downward): Likewise.
1940 (drem_test_downward): Likewise.
1941 (remainder_upward_test_data): Likewise.
1942 (remainder_test_upward): Likewise.
1943 (drem_test_upward): Likewise.
1944 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1945 (round_test): Use ALL_RM_TEST.
1946 (signbit_test): Likewise.
1947 (trunc_test): Likewise.
1948 (significand_test): Likewise.
1949 (main): Don't call removed functions.
1950
1951 2014-03-07 Joseph Myers <joseph@codesourcery.com>
1952
1953 [BZ #16674]
1954 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1955 || __USE_XOPEN2K8].
1956 (ILL_ILLOPN): Likewise.
1957 (ILL_ILLADR): Likewise.
1958 (ILL_ILLTRP): Likewise.
1959 (ILL_PRVOPC): Likewise.
1960 (ILL_PRVREG): Likewise.
1961 (ILL_COPROC): Likewise.
1962 (ILL_BADSTK): Likewise.
1963 (FPE_INTDIV): Likewise.
1964 (FPE_INTOVF): Likewise.
1965 (FPE_FLTDIV): Likewise.
1966 (FPE_FLTOVF): Likewise.
1967 (FPE_FLTUND): Likewise.
1968 (FPE_FLTRES): Likewise.
1969 (FPE_FLTINV): Likewise.
1970 (FPE_FLTSUB): Likewise.
1971 (SEGV_MAPERR): Likewise.
1972 (SEGV_ACCERR): Likewise.
1973 (BUS_ADRALN): Likewise.
1974 (BUS_ADRERR): Likewise.
1975 (BUS_OBJERR): Likewise.
1976 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1977 (TRAP_TRACE): Likewise.
1978 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1979 __USE_XOPEN2K8].
1980 (CLD_KILLED): Likewise.
1981 (CLD_DUMPED): Likewise.
1982 (CLD_TRAPPED): Likewise.
1983 (CLD_STOPPED): Likewise.
1984 (CLD_CONTINUED): Likewise.
1985 (POLL_IN): Likewise.
1986 (POLL_OUT): Likewise.
1987 (POLL_MSG): Likewise.
1988 (POLL_ERR): Likewise.
1989 (POLL_PRI): Likewise.
1990 (POLL_HUP): Likewise.
1991 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1992 Likewise.
1993 (ILL_ILLOPN): Likewise.
1994 (ILL_ILLADR): Likewise.
1995 (ILL_ILLTRP): Likewise.
1996 (ILL_PRVOPC): Likewise.
1997 (ILL_PRVREG): Likewise.
1998 (ILL_COPROC): Likewise.
1999 (ILL_BADSTK): Likewise.
2000 (FPE_INTDIV): Likewise.
2001 (FPE_INTOVF): Likewise.
2002 (FPE_FLTDIV): Likewise.
2003 (FPE_FLTOVF): Likewise.
2004 (FPE_FLTUND): Likewise.
2005 (FPE_FLTRES): Likewise.
2006 (FPE_FLTINV): Likewise.
2007 (FPE_FLTSUB): Likewise.
2008 (SEGV_MAPERR): Likewise.
2009 (SEGV_ACCERR): Likewise.
2010 (BUS_ADRALN): Likewise.
2011 (BUS_ADRERR): Likewise.
2012 (BUS_OBJERR): Likewise.
2013 (BUS_MCEERR_AR): Likewise.
2014 (BUS_MCEERR_AO): Likewise.
2015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2016 (TRAP_TRACE): Likewise.
2017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2018 __USE_XOPEN2K8].
2019 (CLD_KILLED): Likewise.
2020 (CLD_DUMPED): Likewise.
2021 (CLD_TRAPPED): Likewise.
2022 (CLD_STOPPED): Likewise.
2023 (CLD_CONTINUED): Likewise.
2024 (POLL_IN): Likewise.
2025 (POLL_OUT): Likewise.
2026 (POLL_MSG): Likewise.
2027 (POLL_ERR): Likewise.
2028 (POLL_PRI): Likewise.
2029 (POLL_HUP): Likewise.
2030 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
2031 (ILL_ILLOPN): Likewise.
2032 (ILL_ILLADR): Likewise.
2033 (ILL_ILLTRP): Likewise.
2034 (ILL_PRVOPC): Likewise.
2035 (ILL_PRVREG): Likewise.
2036 (ILL_COPROC): Likewise.
2037 (ILL_BADSTK): Likewise.
2038 (FPE_INTDIV): Likewise.
2039 (FPE_INTOVF): Likewise.
2040 (FPE_FLTDIV): Likewise.
2041 (FPE_FLTOVF): Likewise.
2042 (FPE_FLTUND): Likewise.
2043 (FPE_FLTRES): Likewise.
2044 (FPE_FLTINV): Likewise.
2045 (FPE_FLTSUB): Likewise.
2046 (SEGV_MAPERR): Likewise.
2047 (SEGV_ACCERR): Likewise.
2048 (BUS_ADRALN): Likewise.
2049 (BUS_ADRERR): Likewise.
2050 (BUS_OBJERR): Likewise.
2051 (BUS_MCEERR_AR): Likewise.
2052 (BUS_MCEERR_AO): Likewise.
2053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2054 (TRAP_TRACE): Likewise.
2055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2056 __USE_XOPEN2K8].
2057 (CLD_KILLED): Likewise.
2058 (CLD_DUMPED): Likewise.
2059 (CLD_TRAPPED): Likewise.
2060 (CLD_STOPPED): Likewise.
2061 (CLD_CONTINUED): Likewise.
2062 (POLL_IN): Likewise.
2063 (POLL_OUT): Likewise.
2064 (POLL_MSG): Likewise.
2065 (POLL_ERR): Likewise.
2066 (POLL_PRI): Likewise.
2067 (POLL_HUP): Likewise.
2068 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
2069 Likewise.
2070 (ILL_ILLOPN): Likewise.
2071 (ILL_ILLADR): Likewise.
2072 (ILL_ILLTRP): Likewise.
2073 (ILL_PRVOPC): Likewise.
2074 (ILL_PRVREG): Likewise.
2075 (ILL_COPROC): Likewise.
2076 (ILL_BADSTK): Likewise.
2077 (ILL_BADIADDR): Likewise.
2078 (ILL_BREAK): Likewise.
2079 (FPE_INTDIV): Likewise.
2080 (FPE_INTOVF): Likewise.
2081 (FPE_FLTDIV): Likewise.
2082 (FPE_FLTOVF): Likewise.
2083 (FPE_FLTUND): Likewise.
2084 (FPE_FLTRES): Likewise.
2085 (FPE_FLTINV): Likewise.
2086 (FPE_FLTSUB): Likewise.
2087 (FPE_DECOVF): Likewise.
2088 (FPE_DECDIV): Likewise.
2089 (FPE_DECERR): Likewise.
2090 (FPE_INVASC): Likewise.
2091 (FPE_INVDEC): Likewise.
2092 (SEGV_MAPERR): Likewise.
2093 (SEGV_ACCERR): Likewise.
2094 (SEGV_PSTKOVF): Likewise.
2095 (BUS_ADRALN): Likewise.
2096 (BUS_ADRERR): Likewise.
2097 (BUS_OBJERR): Likewise.
2098 (BUS_MCEERR_AR): Likewise.
2099 (BUS_MCEERR_AO): Likewise.
2100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2101 (TRAP_TRACE): Likewise.
2102 (TRAP_BRANCH): Likewise.
2103 (TRAP_HWBKPT): Likewise.
2104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2105 __USE_XOPEN2K8].
2106 (CLD_KILLED): Likewise.
2107 (CLD_DUMPED): Likewise.
2108 (CLD_TRAPPED): Likewise.
2109 (CLD_STOPPED): Likewise.
2110 (CLD_CONTINUED): Likewise.
2111 (POLL_IN): Likewise.
2112 (POLL_OUT): Likewise.
2113 (POLL_MSG): Likewise.
2114 (POLL_ERR): Likewise.
2115 (POLL_PRI): Likewise.
2116 (POLL_HUP): Likewise.
2117 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
2118 (ILL_ILLOPN): Likewise.
2119 (ILL_ILLADR): Likewise.
2120 (ILL_ILLTRP): Likewise.
2121 (ILL_PRVOPC): Likewise.
2122 (ILL_PRVREG): Likewise.
2123 (ILL_COPROC): Likewise.
2124 (ILL_BADSTK): Likewise.
2125 (FPE_INTDIV): Likewise.
2126 (FPE_INTOVF): Likewise.
2127 (FPE_FLTDIV): Likewise.
2128 (FPE_FLTOVF): Likewise.
2129 (FPE_FLTUND): Likewise.
2130 (FPE_FLTRES): Likewise.
2131 (FPE_FLTINV): Likewise.
2132 (FPE_FLTSUB): Likewise.
2133 (SEGV_MAPERR): Likewise.
2134 (SEGV_ACCERR): Likewise.
2135 (BUS_ADRALN): Likewise.
2136 (BUS_ADRERR): Likewise.
2137 (BUS_OBJERR): Likewise.
2138 (BUS_MCEERR_AR): Likewise.
2139 (BUS_MCEERR_AO): Likewise.
2140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2141 (TRAP_TRACE): Likewise.
2142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2143 __USE_XOPEN2K8].
2144 (CLD_KILLED): Likewise.
2145 (CLD_DUMPED): Likewise.
2146 (CLD_TRAPPED): Likewise.
2147 (CLD_STOPPED): Likewise.
2148 (CLD_CONTINUED): Likewise.
2149 (POLL_IN): Likewise.
2150 (POLL_OUT): Likewise.
2151 (POLL_MSG): Likewise.
2152 (POLL_ERR): Likewise.
2153 (POLL_PRI): Likewise.
2154 (POLL_HUP): Likewise.
2155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
2156 (ILL_ILLOPN): Likewise.
2157 (ILL_ILLADR): Likewise.
2158 (ILL_ILLTRP): Likewise.
2159 (ILL_PRVOPC): Likewise.
2160 (ILL_PRVREG): Likewise.
2161 (ILL_COPROC): Likewise.
2162 (ILL_BADSTK): Likewise.
2163 (FPE_INTDIV): Likewise.
2164 (FPE_INTOVF): Likewise.
2165 (FPE_FLTDIV): Likewise.
2166 (FPE_FLTOVF): Likewise.
2167 (FPE_FLTUND): Likewise.
2168 (FPE_FLTRES): Likewise.
2169 (FPE_FLTINV): Likewise.
2170 (FPE_FLTSUB): Likewise.
2171 (SEGV_MAPERR): Likewise.
2172 (SEGV_ACCERR): Likewise.
2173 (BUS_ADRALN): Likewise.
2174 (BUS_ADRERR): Likewise.
2175 (BUS_OBJERR): Likewise.
2176 (BUS_MCEERR_AR): Likewise.
2177 (BUS_MCEERR_AO): Likewise.
2178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2179 (TRAP_TRACE): Likewise.
2180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2181 __USE_XOPEN2K8].
2182 (CLD_KILLED): Likewise.
2183 (CLD_DUMPED): Likewise.
2184 (CLD_TRAPPED): Likewise.
2185 (CLD_STOPPED): Likewise.
2186 (CLD_CONTINUED): Likewise.
2187 (POLL_IN): Likewise.
2188 (POLL_OUT): Likewise.
2189 (POLL_MSG): Likewise.
2190 (POLL_ERR): Likewise.
2191 (POLL_PRI): Likewise.
2192 (POLL_HUP): Likewise.
2193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
2194 (ILL_ILLOPN): Likewise.
2195 (ILL_ILLADR): Likewise.
2196 (ILL_ILLTRP): Likewise.
2197 (ILL_PRVOPC): Likewise.
2198 (ILL_PRVREG): Likewise.
2199 (ILL_COPROC): Likewise.
2200 (ILL_BADSTK): Likewise.
2201 (FPE_INTDIV): Likewise.
2202 (FPE_INTOVF): Likewise.
2203 (FPE_FLTDIV): Likewise.
2204 (FPE_FLTOVF): Likewise.
2205 (FPE_FLTUND): Likewise.
2206 (FPE_FLTRES): Likewise.
2207 (FPE_FLTINV): Likewise.
2208 (FPE_FLTSUB): Likewise.
2209 (SEGV_MAPERR): Likewise.
2210 (SEGV_ACCERR): Likewise.
2211 (BUS_ADRALN): Likewise.
2212 (BUS_ADRERR): Likewise.
2213 (BUS_OBJERR): Likewise.
2214 (BUS_MCEERR_AR): Likewise.
2215 (BUS_MCEERR_AO): Likewise.
2216 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2217 (TRAP_TRACE): Likewise.
2218 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2219 __USE_XOPEN2K8].
2220 (CLD_KILLED): Likewise.
2221 (CLD_DUMPED): Likewise.
2222 (CLD_TRAPPED): Likewise.
2223 (CLD_STOPPED): Likewise.
2224 (CLD_CONTINUED): Likewise.
2225 (POLL_IN): Likewise.
2226 (POLL_OUT): Likewise.
2227 (POLL_MSG): Likewise.
2228 (POLL_ERR): Likewise.
2229 (POLL_PRI): Likewise.
2230 (POLL_HUP): Likewise.
2231 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
2232 (ILL_ILLOPN): Likewise.
2233 (ILL_ILLADR): Likewise.
2234 (ILL_ILLTRP): Likewise.
2235 (ILL_PRVOPC): Likewise.
2236 (ILL_PRVREG): Likewise.
2237 (ILL_COPROC): Likewise.
2238 (ILL_BADSTK): Likewise.
2239 (ILL_DBLFLT): Likewise.
2240 (ILL_HARDWALL): Likewise.
2241 (FPE_INTDIV): Likewise.
2242 (FPE_INTOVF): Likewise.
2243 (FPE_FLTDIV): Likewise.
2244 (FPE_FLTOVF): Likewise.
2245 (FPE_FLTUND): Likewise.
2246 (FPE_FLTRES): Likewise.
2247 (FPE_FLTINV): Likewise.
2248 (FPE_FLTSUB): Likewise.
2249 (SEGV_MAPERR): Likewise.
2250 (SEGV_ACCERR): Likewise.
2251 (BUS_ADRALN): Likewise.
2252 (BUS_ADRERR): Likewise.
2253 (BUS_OBJERR): Likewise.
2254 (BUS_MCEERR_AR): Likewise.
2255 (BUS_MCEERR_AO): Likewise.
2256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2257 (TRAP_TRACE): Likewise.
2258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2259 __USE_XOPEN2K8].
2260 (CLD_KILLED): Likewise.
2261 (CLD_DUMPED): Likewise.
2262 (CLD_TRAPPED): Likewise.
2263 (CLD_STOPPED): Likewise.
2264 (CLD_CONTINUED): Likewise.
2265 (POLL_IN): Likewise.
2266 (POLL_OUT): Likewise.
2267 (POLL_MSG): Likewise.
2268 (POLL_ERR): Likewise.
2269 (POLL_PRI): Likewise.
2270 (POLL_HUP): Likewise.
2271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
2272 (ILL_ILLOPN): Likewise.
2273 (ILL_ILLADR): Likewise.
2274 (ILL_ILLTRP): Likewise.
2275 (ILL_PRVOPC): Likewise.
2276 (ILL_PRVREG): Likewise.
2277 (ILL_COPROC): Likewise.
2278 (ILL_BADSTK): Likewise.
2279 (FPE_INTDIV): Likewise.
2280 (FPE_INTOVF): Likewise.
2281 (FPE_FLTDIV): Likewise.
2282 (FPE_FLTOVF): Likewise.
2283 (FPE_FLTUND): Likewise.
2284 (FPE_FLTRES): Likewise.
2285 (FPE_FLTINV): Likewise.
2286 (FPE_FLTSUB): Likewise.
2287 (SEGV_MAPERR): Likewise.
2288 (SEGV_ACCERR): Likewise.
2289 (BUS_ADRALN): Likewise.
2290 (BUS_ADRERR): Likewise.
2291 (BUS_OBJERR): Likewise.
2292 (BUS_MCEERR_AR): Likewise.
2293 (BUS_MCEERR_AO): Likewise.
2294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
2295 (TRAP_TRACE): Likewise.
2296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
2297 __USE_XOPEN2K8].
2298 (CLD_KILLED): Likewise.
2299 (CLD_DUMPED): Likewise.
2300 (CLD_TRAPPED): Likewise.
2301 (CLD_STOPPED): Likewise.
2302 (CLD_CONTINUED): Likewise.
2303 (POLL_IN): Likewise.
2304 (POLL_OUT): Likewise.
2305 (POLL_MSG): Likewise.
2306 (POLL_ERR): Likewise.
2307 (POLL_PRI): Likewise.
2308 (POLL_HUP): Likewise.
2309 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
2310 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2311
2312 [BZ #16670]
2313 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
2314 before #include of <time.h>.
2315 [!__USE_XOPEN2K] (__need_timespec): Likewise.
2316 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
2317 (test-xfail-UNIX98/sched.h/conform): Likewise.
2318
2319 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
2320
2321 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
2322 error absence of trapping exception support.
2323 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
2324
2325 2014-03-07 Joseph Myers <joseph@codesourcery.com>
2326
2327 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
2328 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
2329 * timezone/Makefile (testdata): Move definition above include of
2330 Rules.
2331 (test-zones): New variable.
2332 (tests-special): Add zone files.
2333 (build-testdata): Use $(evaluate-test).
2334
2335 * elf/Makefile (tests-special): Rename tests to end with .out.
2336 ($(objpfx)noload-mem): Likewise.
2337 ($(objpfx)tst-leaks1-mem): Likewise.
2338 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
2339 * iconv/Makefile (xtests-special): Change test-iconvconfig to
2340 $(objpfx)test-iconvconfig.out.
2341 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
2342 set -e inside subshell and redirect output to file.
2343 * iconvdata/Makefile (generated): Rename tests to end with .out.
2344 Correct type.
2345 (tests-special): Rename tests to end with .out.
2346 ($(objpfx)mtrace-tst-loading): Likewise.
2347 * intl/Makefile (generated): Likewise.
2348 (tests-special): Likewise.
2349 ($(objpfx)mtrace-tst-gettext): Likewise.
2350 * misc/Makefile (generated): Likewise.
2351 (tests-special): Likewise.
2352 ($(objpfx)tst-error1-mem): Likewise.
2353 * nptl/Makefile (tests-special): Likewise.
2354 ($(objpfx)tst-stack3-mem): Likewise.
2355 (generated): Likewise.
2356 * posix/Makefile (generated): Likewise.
2357 (tests-special): Likewise.
2358 (xtests-special): Likewise.
2359 ($(objpfx)tst-fnmatch-mem): Likewise.
2360 ($(objpfx)bug-regex2-mem): Likewise.
2361 ($(objpfx)bug-regex14-mem): Likewise.
2362 ($(objpfx)bug-regex21-mem): Likewise.
2363 ($(objpfx)bug-regex31-mem): Likewise.
2364 ($(objpfx)tst-vfork3-mem): Likewise.
2365 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
2366 ($(objpfx)tst-pcre-mem): Likewise.
2367 ($(objpfx)tst-boost-mem): Likewise.
2368 ($(objpfx)bug-ga2-mem): Likewise.
2369 ($(objpfx)bug-glob2-mem): Likewise.
2370 * resolv/Makefile (generate): Likewise.
2371 (tests-special): Likewise.
2372 (xtests-special): Likewise.
2373 (generated): Likewise.
2374 ($(objpfx)mtrace-tst-leaks): Likewise.
2375 ($(objpfx)mtrace-tst-leaks2): Likewise.
2376
2377 * scripts/merge-test-results.sh: New file.
2378 * Makefile (tests-special-notdir): New variable.
2379 (tests): Run merge-test-results.sh.
2380 (xtests): Likewise.
2381 * Rules (tests-special-notdir): New variable.
2382 (xtests-special-notdir): Likewise.
2383 (tests): Run merge-test-results.sh
2384 (xtests): Likewise.
2385
2386 * Makeconfig (test-xfail-name): New variable.
2387 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
2388 compute variable name for expected failures.
2389 * conform/Makefile (conformtest-headers-data): New variable.
2390 (conformtest-standards): Likewise.
2391 (conformtest-headers-ISO): Likewise.
2392 (conformtest-headers-ISO99): Likewise.
2393 (conformtest-headers-ISO11): Likewise.
2394 (conformtest-headers-POSIX): Likewise.
2395 (conformtest-headers-XPG3): Likewise.
2396 (conformtest-headers-XPG4): Likewise.
2397 (conformtest-headers-UNIX98): Likewise.
2398 (conformtest-headers-XOPEN2K): Likewise.
2399 (conformtest-headers-POSIX2008): Likewise.
2400 (conformtest-headers-XOPEN2K8): Likewise.
2401 (conformtest-header-list-base): Likewise.
2402 (conformtest-header-list-tests): Likewise.
2403 (conformtest-header-base): Likewise.
2404 (conformtest-header-tests): Likewise.
2405 (tests-special): Add $(conformtest-header-list-tests). If
2406 [$(fast-check) && !$(cross-compiling)], add
2407 $(conformtest-header-tests) instead of
2408 $(objpfx)run-conformtest.out.
2409 (generated): Add $(conformtest-header-list-base). If
2410 [$(fast-check) && !$(cross-compiling)], add
2411 $(conformtest-header-base). Remove previous setting.
2412 ($(conformtest-header-list-tests)): New target.
2413 (test-xfail-run-conformtest): Remove variable.
2414 ($(objpfx)run-conformtest.out): Remove target.
2415 (test-xfail-ISO11/complex.h/conform): New variable.
2416 (test-xfail-ISO11/stdalign.h/conform): Likewise.
2417 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
2418 (test-xfail-XPG3/varargs.h/conform): Likewise.
2419 (test-xfail-XPG4/varargs.h/conform): Likewise.
2420 (test-xfail-UNIX98/varargs.h/conform): Likewise.
2421 (test-xfail-XPG4/ndbm.h/conform): Likewise.
2422 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
2423 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
2424 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
2425 (test-xfail-XPG3/fcntl.h/conform): Likewise.
2426 (test-xfail-XPG3/ftw.h/conform): Likewise.
2427 (test-xfail-XPG3/grp.h/conform): Likewise.
2428 (test-xfail-XPG3/langinfo.h/conform): Likewise.
2429 (test-xfail-XPG3/limits.h/conform): Likewise.
2430 (test-xfail-XPG3/pwd.h/conform): Likewise.
2431 (test-xfail-XPG3/search.h/conform): Likewise.
2432 (test-xfail-XPG3/signal.h/conform): Likewise.
2433 (test-xfail-XPG3/stdio.h/conform): Likewise.
2434 (test-xfail-XPG3/stdlib.h/conform): Likewise.
2435 (test-xfail-XPG3/string.h/conform): Likewise.
2436 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
2437 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
2438 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
2439 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2440 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2441 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2442 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2443 (test-xfail-XPG3/termios.h/conform): Likewise.
2444 (test-xfail-XPG3/time.h/conform): Likewise.
2445 (test-xfail-XPG3/unistd.h/conform): Likewise.
2446 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2447 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2448 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2449 (test-xfail-XPG4/netdb.h/conform): Likewise.
2450 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2451 (test-xfail-XPG4/signal.h/conform): Likewise.
2452 (test-xfail-XPG4/stdio.h/conform): Likewise.
2453 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2454 (test-xfail-XPG4/stropts.h/conform): Likewise.
2455 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2456 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2457 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2458 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2459 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2460 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2461 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2462 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2463 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2464 (test-xfail-XPG4/termios.h/conform): Likewise.
2465 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2466 (test-xfail-XPG4/unistd.h/conform): Likewise.
2467 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2468 (test-xfail-POSIX/sched.h/conform): Likewise.
2469 (test-xfail-POSIX/signal.h/conform): Likewise.
2470 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2471 (test-xfail-POSIX/tar.h/conform): Likewise.
2472 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2473 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2474 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2475 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2476 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2477 (test-xfail-UNIX98/sched.h/conform): Likewise.
2478 (test-xfail-UNIX98/signal.h/conform): Likewise.
2479 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2480 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2481 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2482 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2483 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2484 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2485 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2486 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2487 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2488 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2489 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2490 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2491 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2492 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2493 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2494 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2495 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2496 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2497 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2498 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2499 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2500 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2501 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2502 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2503 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2504 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2505 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2506 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2507 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2508 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2509 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2510 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2511 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2512 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2513 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2514 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2515 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2516 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2517 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2518 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2519 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2520 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2521 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2522 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2523 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2524 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2525 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2526 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2527 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2528 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2529 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2530 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2531 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2532 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2533 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2534 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2535 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2536 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2537 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2538 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2539 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2540 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2541 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2542 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2543 (conformtest-cc-flags): Likewise.
2544 ($(conformtest-header-tests): New target.
2545 * conform/check-header-lists.sh: New file.
2546 * conform/run-conformtest.sh: Remove.
2547
2548 * conform/conformtest.pl: Allow ' and \ in values given for
2549 constants.
2550 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2551 inclusion.
2552 [POSIX] (sys/types.h): Likewise.
2553 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2554 inclusion.
2555 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2556 inclusion.
2557 * conform/data/signal.h-data (SIGIO): Remove expectation.
2558 [XPG3] (SIGBUS): Do not expect.
2559 [POSIX || XPG3] (SIGPOLL): Likewise.
2560 [POSIX || XPG3] (SIGPROF): Likewise.
2561 [POSIX || XPG3] (SIGSYS): Likewise.
2562 [XPG3] (SIGTRAP): Likewise.
2563 [POSIX || XPG3] (SIGURG): Likewise.
2564 [POSIX || XPG3] (SIGVTALRM): Likewise.
2565 [POSIX || XPG3] (SIGXCPU): Likewise.
2566 [POSIX || XPG3] (SIGXFSZ): Likewise.
2567 [POSIX] (SA_SIGINFO): Expect.
2568 [XPG3] (siginfo_t): Do not expect type or contents.
2569 [POSIX] (si_pid): Do not expect element.
2570 [POSIX] (si_uid): Likewise.
2571 [POSIX] (si_addr): Likewise.
2572 [POSIX] (si_status): Likewise.
2573 [POSIX] (si_band): Likewise.
2574 [XPG4] (si_value): Likewise.
2575 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2576 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2577 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2578 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2579 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2580 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2581 [POSIX || XPG3] (ILL_COPROC): Likewise.
2582 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2583 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2584 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2585 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2586 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2587 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2588 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2589 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2590 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2591 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2592 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2593 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2594 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2595 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2596 [POSIX || XPG3] (CLD_EXITED): Likewise.
2597 [POSIX || XPG3] (CLD_KILLED): Likewise.
2598 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2599 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2600 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2601 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2602 [POSIX || XPG3] (POLL_IN): Likewise.
2603 [POSIX || XPG3] (POLL_OUT): Likewise.
2604 [POSIX || XPG3] (POLL_MSG): Likewise.
2605 [POSIX || XPG3] (POLL_ERR): Likewise.
2606 [POSIX || XPG3] (POLL_PRI): Likewise.
2607 [POSIX || XPG3] (POLL_HUP): Likewise.
2608 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2609 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2610 (SIG*): Do not allow.
2611 [XPG3] (si_*): Likewise.
2612 [XPG3] (SI_*): Likewise.
2613 [XPG3 || XPG4] (sigev_*): Likewise.
2614 [XPG3 || XPG4] (SIGEV_*): Likewise.
2615 [XPG3 || XPG4] (sival_*): Likewise.
2616 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2617 [POSIX || XPG3] (BUS_*): Likewise.
2618 [POSIX || XPG3] (CLD_*): Likewise.
2619 [POSIX || XPG3] (FPE_*): Likewise.
2620 [POSIX || XPG3] (ILL_*): Likewise.
2621 [POSIX || XPG3] (POLL_*): Likewise.
2622 [POSIX || XPG3] (SEGV_*): Likewise.
2623 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2624 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2625 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2626 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2627 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2628 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2629 Specify type and value.
2630 (TVERSLEN): Likewise.
2631 (REGTYPE): Likewise.
2632 (AREGTYPE): Likewise.
2633 (LNKTYPE): Likewise.
2634 (SYMTYPE): Likewise.
2635 (CHRTYPE): Likewise.
2636 (BLKTYPE): Likewise.
2637 (DIRTYPE): Likewise.
2638 (FIFOTYPE): Likewise.
2639 (CONTTYPE): Likewise.
2640 (TSUID): Likewise.
2641 (TSGID): Likewise.
2642 (TSVTX): Likewise.
2643 (TUREAD): Likewise.
2644 (TUWRITE): Likewise.
2645 (TUEXEC): Likewise.
2646 (TGREAD): Likewise.
2647 (TGWRITE): Likewise.
2648 (TGEXEC): Likewise.
2649 (TOREAD): Likewise.
2650 (TOWRITE): Likewise.
2651 (TOEXEC): Likewise.
2652 [POSIX] (TSVTX): Expect constant.
2653
2654 2014-03-06 Joseph Myers <joseph@codesourcery.com>
2655
2656 * Makefile (tests): Change dependencies to ....
2657 (tests-special): ... additions to this variable.
2658 (tests): Depend on $(tests-special).
2659 * Makerules (check-abi-list): New variable.
2660 (check-abi): Depend on $(check-abi-list).
2661 [$(subdir) = elf] (tests-special): Add
2662 $(objpfx)check-abi-libc.out.
2663 [$(build-shared) = yes && subdir] (tests-special): Add
2664 $(check-abi-list).
2665 [$(build-shared) = yes && subdir] (tests): Do not depend on
2666 check-abi.
2667 * Rules (tests): Depend on $(tests-special).
2668 (xtests): Depend on $(xtests-special).
2669 * catgets/Makefile (tests): Change dependencies to ....
2670 (tests-special): ... additions to this variable.
2671 * conform/Makefile (tests): Change dependencies to ....
2672 (tests-special): ... additions to this variable.
2673 * elf/Makefile (tests): Change dependencies to ....
2674 (tests-special): ... additions to this variable.
2675 * grp/Makefile (tests): Change dependencies to ....
2676 (tests-special): ... additions to this variable.
2677 * iconv/Makefile (xtests): Change dependencies to ....
2678 (xtests-special): ... additions to this variable.
2679 * iconvdata/Makefile (tests): Change dependencies to ....
2680 (tests-special): ... additions to this variable.
2681 * intl/Makefile (tests): Change dependencies to ....
2682 (tests-special): ... additions to this variable. Also add
2683 $(objpfx)tst-gettext.out.
2684 * io/Makefile (tests): Change dependencies to ....
2685 (tests-special): ... additions to this variable.
2686 * libio/Makefile (tests): Change dependencies to ....
2687 (tests-special): ... additions to this variable.
2688 * malloc/Makefile (tests): Change dependencies to ....
2689 (tests-special): ... additions to this variable.
2690 * misc/Makefile (tests): Change dependencies to ....
2691 (tests-special): ... additions to this variable.
2692 * nptl/Makefile (tests): Change dependencies to ....
2693 (tests-special): ... additions to this variable.
2694 * nptl_db/Makefile (tests): Change dependencies to ....
2695 (tests-special): ... additions to this variable.
2696 * posix/Makefile (tests): Change dependencies to ....
2697 (tests-special): ... additions to this variable.
2698 (xtests): Change dependencies to ....
2699 (xtests-special): ... additions to this variable.
2700 * resolv/Makefile (tests): Change dependencies to ....
2701 (tests-special): ... additions to this variable.
2702 (xtests): Change dependencies to ....
2703 (xtests-special): ... additions to this variable.
2704 * stdio-common/Makefile (tests): Change dependencies to ....
2705 (tests-special): ... additions to this variable.
2706 (do-tst-unbputc): Remove target.
2707 (do-tst-printf): Likewise.
2708 * stdlib/Makefile (tests): Change dependencies to ....
2709 (tests-special): ... additions to this variable.
2710 * string/Makefile (tests): Change dependencies to ....
2711 (tests-special): ... additions to this variable.
2712 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2713 (tests-special): ... additions to this variable.
2714
2715 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2716 whole file.
2717 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2718 whole file.
2719 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2720 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2721
2722 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2723 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2724 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2725 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2726 * conform/data/libgen.h-data [XPG3]: Likewise.
2727 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2728 * conform/data/ndbm.h-data [XPG3]: Likewise.
2729 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2730 * conform/data/netdb.h-data [XPG3]: Likewise.
2731 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2732 * conform/data/poll.h-data [XPG3]: Likewise.
2733 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2734 * conform/data/strings.h-data [XPG3]: Likewise.
2735 * conform/data/stropts.h-data [XPG3]: Likewise.
2736 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2737 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2738 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2739 Likewise.
2740 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2741 * conform/data/sys/time.h-data [XPG3]: Likewise.
2742 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2743 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2744 * conform/data/sys/un.h-data [XPG3]: Likewise.
2745 * conform/data/syslog.h-data [XPG3]: Likewise.
2746 * conform/data/ucontext.h-data [XPG3]: Likewise.
2747 * conform/data/utmpx.h-data [XPG3]: Likewise.
2748 * conform/data/varargs.h-data [UNIX98]: Enable file.
2749
2750 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2751
2752 * math/libm-test.inc (struct test_f_f_data): Move expected results
2753 into structure for each rounding mode.
2754 (struct test_ff_f_data): Likewise.
2755 (struct test_ff_f_data_nexttoward): Likewise.
2756 (struct test_fi_f_data): Likewise.
2757 (struct test_fl_f_data): Likewise.
2758 (struct test_if_f_data): Likewise.
2759 (struct test_fff_f_data): Likewise.
2760 (struct test_c_f_data): Likewise.
2761 (struct test_f_f1_data): Likewise.
2762 (struct test_fF_f1_data): Likewise.
2763 (struct test_ffI_f1_data): Likewise.
2764 (struct test_c_c_data): Likewise.
2765 (struct test_cc_c_data): Likewise.
2766 (struct test_f_i_data): Likewise.
2767 (struct test_ff_i_data): Likewise.
2768 (struct test_f_l_data): Likewise.
2769 (struct test_f_L_data): Likewise.
2770 (struct test_fFF_11_data): Likewise.
2771 (RM_): New macro.
2772 (RM_FE_DOWNWARD): Likewise.
2773 (RM_FE_TONEAREST): Likewise.
2774 (RM_FE_TOWARDZERO): Likewise.
2775 (RM_FE_UPWARD): Likewise.
2776 (RUN_TEST_LOOP_f_f): Update references to expected results.
2777 (RUN_TEST_LOOP_2_f): Likewise.
2778 (RUN_TEST_LOOP_fff_f): Likewise.
2779 (RUN_TEST_LOOP_c_f): Likewise.
2780 (RUN_TEST_LOOP_f_f1): Likewise.
2781 (RUN_TEST_LOOP_fF_f1): Likewise.
2782 (RUN_TEST_LOOP_fI_f1): Likewise.
2783 (RUN_TEST_LOOP_ffI_f1): Likewise.
2784 (RUN_TEST_LOOP_c_c): Likewise.
2785 (RUN_TEST_LOOP_cc_c): Likewise.
2786 (RUN_TEST_LOOP_f_i): Likewise.
2787 (RUN_TEST_LOOP_f_i_tg): Likewise.
2788 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2789 (RUN_TEST_LOOP_f_b): Likewise.
2790 (RUN_TEST_LOOP_f_b_tg): Likewise.
2791 (RUN_TEST_LOOP_f_l): Likewise.
2792 (RUN_TEST_LOOP_f_L): Likewise.
2793 (RUN_TEST_LOOP_fFF_11): Likewise.
2794 * math/gen-libm-test.pl (parse_args): Output four copies of
2795 expected results for each test.
2796
2797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2798 (__ASSUME_UTIMES): Remove.
2799 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2800 (__ASSUME_UTIMES): Likewise.
2801
2802 * math/gen-auto-libm-tests.c: Update comment on output format.
2803 (output_for_one_input_case): Generate before-rounding and
2804 after-rounding information as conditions on output flags not
2805 floating-point format.
2806 * math/auto-libm-test-out: Regenerated.
2807 * math/gen-libm-test.pl (cond_value): New function.
2808 (or_cond_value): Use cond_value.
2809 (generate_testfile): Handle conditional exceptions.
2810
2811 2014-03-05 Joseph Myers <joseph@codesourcery.com>
2812
2813 * math/libm-test.inc (max_valid_error): New variable.
2814 (init_max_error): Take new argument specifying whether function
2815 results are exactly determined. Set max_valid_error and bound
2816 other variables for errors based on this argument.
2817 (set_max_error): Do not record results above max_valid_error.
2818 (check_float_internal): Only accept errors of up to 0.5ulps if
2819 also at most max_valid_error.
2820 (START): Take new argument EXACT and pass it to init_max_error.
2821 (acos_test): Update call to START.
2822 (acos_test_tonearest): Likewise.
2823 (acos_test_towardzero): Likewise.
2824 (acos_test_downward): Likewise.
2825 (acos_test_upward): Likewise.
2826 (acosh_test): Likewise.
2827 (asin_test): Likewise.
2828 (asin_test_tonearest): Likewise.
2829 (asin_test_towardzero): Likewise.
2830 (asin_test_downward): Likewise.
2831 (asin_test_upward): Likewise.
2832 (asinh_test): Likewise.
2833 (atan_test): Likewise.
2834 (atanh_test): Likewise.
2835 (atan2_test): Likewise.
2836 (cabs_test): Likewise.
2837 (cacos_test): Likewise.
2838 (cacosh_test): Likewise.
2839 (carg_test): Likewise.
2840 (casin_test): Likewise.
2841 (casinh_test): Likewise.
2842 (catan_test): Likewise.
2843 (catanh_test): Likewise.
2844 (cbrt_test): Likewise.
2845 (ccos_test): Likewise.
2846 (ccosh_test): Likewise.
2847 (ceil_test): Likewise.
2848 (cexp_test): Likewise.
2849 (cimag_test): Likewise.
2850 (clog_test): Likewise.
2851 (clog10_test): Likewise.
2852 (conj_test): Likewise.
2853 (copysign_test): Likewise.
2854 (cos_test): Likewise.
2855 (cos_test_tonearest): Likewise.
2856 (cos_test_towardzero): Likewise.
2857 (cos_test_downward): Likewise.
2858 (cos_test_upward): Likewise.
2859 (cosh_test): Likewise.
2860 (cosh_test_tonearest): Likewise.
2861 (cosh_test_towardzero): Likewise.
2862 (cosh_test_downward): Likewise.
2863 (cosh_test_upward): Likewise.
2864 (cpow_test): Likewise.
2865 (cproj_test): Likewise.
2866 (creal_test): Likewise.
2867 (csin_test): Likewise.
2868 (csinh_test): Likewise.
2869 (csqrt_test): Likewise.
2870 (ctan_test): Likewise.
2871 (ctan_test_tonearest): Likewise.
2872 (ctan_test_towardzero): Likewise.
2873 (ctan_test_downward): Likewise.
2874 (ctan_test_upward): Likewise.
2875 (ctanh_test): Likewise.
2876 (ctanh_test_tonearest): Likewise.
2877 (ctanh_test_towardzero): Likewise.
2878 (ctanh_test_downward): Likewise.
2879 (ctanh_test_upward): Likewise.
2880 (erf_test): Likewise.
2881 (erfc_test): Likewise.
2882 (exp_test): Likewise.
2883 (exp_test_tonearest): Likewise.
2884 (exp_test_towardzero): Likewise.
2885 (exp_test_downward): Likewise.
2886 (exp_test_upward): Likewise.
2887 (exp10_test): Likewise.
2888 (exp10_test_tonearest): Likewise.
2889 (exp10_test_towardzero): Likewise.
2890 (exp10_test_downward): Likewise.
2891 (exp10_test_upward): Likewise.
2892 (pow10_test): Likewise.
2893 (exp2_test): Likewise.
2894 (expm1_test): Likewise.
2895 (expm1_test_tonearest): Likewise.
2896 (expm1_test_towardzero): Likewise.
2897 (expm1_test_downward): Likewise.
2898 (expm1_test_upward): Likewise.
2899 (fabs_test): Likewise.
2900 (fdim_test): Likewise.
2901 (floor_test): Likewise.
2902 (fma_test): Likewise.
2903 (fma_test_towardzero): Likewise.
2904 (fma_test_downward): Likewise.
2905 (fma_test_upward): Likewise.
2906 (fmax_test): Likewise.
2907 (fmin_test): Likewise.
2908 (fmod_test): Likewise.
2909 (fpclassify_test): Likewise.
2910 (frexp_test): Likewise.
2911 (hypot_test): Likewise.
2912 (ilogb_test): Likewise.
2913 (isfinite_test): Likewise.
2914 (finite_test): Likewise.
2915 (isgreater_test): Likewise.
2916 (isgreaterequal_test): Likewise.
2917 (isinf_test): Likewise.
2918 (isless_test): Likewise.
2919 (islessequal_test): Likewise.
2920 (islessgreater_test): Likewise.
2921 (isnan_test): Likewise.
2922 (isnormal_test): Likewise.
2923 (issignaling_test): Likewise.
2924 (isunordered_test): Likewise.
2925 (j0_test): Likewise.
2926 (j1_test): Likewise.
2927 (jn_test): Likewise.
2928 (ldexp_test): Likewise.
2929 (lgamma_test): Likewise.
2930 (gamma_test): Likewise.
2931 (lrint_test): Likewise.
2932 (lrint_test_tonearest): Likewise.
2933 (lrint_test_towardzero): Likewise.
2934 (lrint_test_downward): Likewise.
2935 (lrint_test_upward): Likewise.
2936 (llrint_test): Likewise.
2937 (llrint_test_tonearest): Likewise.
2938 (llrint_test_towardzero): Likewise.
2939 (llrint_test_downward): Likewise.
2940 (llrint_test_upward): Likewise.
2941 (log_test): Likewise.
2942 (log10_test): Likewise.
2943 (log1p_test): Likewise.
2944 (log2_test): Likewise.
2945 (logb_test): Likewise.
2946 (logb_test_downward): Likewise.
2947 (lround_test): Likewise.
2948 (llround_test): Likewise.
2949 (modf_test): Likewise.
2950 (nearbyint_test): Likewise.
2951 (nextafter_test): Likewise.
2952 (nexttoward_test): Likewise.
2953 (pow_test): Likewise.
2954 (pow_test_tonearest): Likewise.
2955 (pow_test_towardzero): Likewise.
2956 (pow_test_downward): Likewise.
2957 (pow_test_upward): Likewise.
2958 (remainder_test): Likewise.
2959 (drem_test): Likewise.
2960 (remainder_test_tonearest): Likewise.
2961 (drem_test_tonearest): Likewise.
2962 (remainder_test_towardzero): Likewise.
2963 (drem_test_towardzero): Likewise.
2964 (remainder_test_downward): Likewise.
2965 (drem_test_downward): Likewise.
2966 (remainder_test_upward): Likewise.
2967 (drem_test_upward): Likewise.
2968 (remquo_test): Likewise.
2969 (rint_test): Likewise.
2970 (rint_test_tonearest): Likewise.
2971 (rint_test_towardzero): Likewise.
2972 (rint_test_downward): Likewise.
2973 (rint_test_upward): Likewise.
2974 (round_test): Likewise.
2975 (scalb_test): Likewise.
2976 (scalbn_test): Likewise.
2977 (scalbln_test): Likewise.
2978 (signbit_test): Likewise.
2979 (sin_test): Likewise.
2980 (sin_test_tonearest): Likewise.
2981 (sin_test_towardzero): Likewise.
2982 (sin_test_downward): Likewise.
2983 (sin_test_upward): Likewise.
2984 (sincos_test): Likewise.
2985 (sinh_test): Likewise.
2986 (sinh_test_tonearest): Likewise.
2987 (sinh_test_towardzero): Likewise.
2988 (sinh_test_downward): Likewise.
2989 (sinh_test_upward): Likewise.
2990 (sqrt_test): Likewise.
2991 (sqrt_test_tonearest): Likewise.
2992 (sqrt_test_towardzero): Likewise.
2993 (sqrt_test_downward): Likewise.
2994 (sqrt_test_upward): Likewise.
2995 (tan_test): Likewise.
2996 (tan_test_tonearest): Likewise.
2997 (tan_test_towardzero): Likewise.
2998 (tan_test_downward): Likewise.
2999 (tan_test_upward): Likewise.
3000 (tanh_test): Likewise.
3001 (tgamma_test): Likewise.
3002 (trunc_test): Likewise.
3003 (y0_test): Likewise.
3004 (y1_test): Likewise.
3005 (yn_test): Likewise.
3006 (significand_test): Likewise.
3007
3008 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
3009 individual tests in comment.
3010 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
3011 (prev_max_error): New variable.
3012 (prev_real_max_error): Likewise.
3013 (prev_imag_max_error): Likewise.
3014 (compare_ulp_data): Don't refer to test names in comment.
3015 (find_test_ulps): Remove function.
3016 (find_function_ulps): Likewise.
3017 (find_complex_function_ulps): Likewise.
3018 (init_max_error): Take function name as argument. Look up ulps
3019 for that function.
3020 (print_ulps): Remove function.
3021 (print_max_error): Use prev_max_error instead of calling
3022 find_function_ulps.
3023 (print_complex_max_error): Use prev_real_max_error and
3024 prev_imag_max_error instead of calling find_complex_function_ulps.
3025 (check_float_internal): Take max_ulp parameter instead of calling
3026 find_test_ulps. Don't call print_ulps.
3027 (check_float): Update call to check_float_internal.
3028 (check_complex): Update calls to check_float_internal.
3029 (START): Pass argument to init_max_error.
3030 * math/gen-libm-test.pl (%results): Don't include "kind"
3031 information.
3032 (parse_ulps): Don't handle ulps of individual tests.
3033 (print_ulps_file): Likewise.
3034 (output_ulps): Likewise.
3035 * math/README.libm-test: Update.
3036 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
3037 individual tests.
3038 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
3039 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
3040 * sysdeps/arm/libm-test-ulps: Likewise.
3041 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
3042 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3043 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
3044 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3045 * sysdeps/microblaze/libm-test-ulps: Likewise.
3046 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3047 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3048 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3049 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3050 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3051 * sysdeps/sh/libm-test-ulps: Likewise.
3052 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3053 * sysdeps/tile/libm-test-ulps: Likewise.
3054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3055
3056 2014-03-04 Joseph Myers <joseph@codesourcery.com>
3057
3058 * math/libm-test.inc (print_complex_max_error): Check separately
3059 whether real and imaginary errors are within allowed range and
3060 pass 0 to print_complex_function_ulps instead of value within
3061 allowed range.
3062
3063 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3064
3065 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
3066 formatting.
3067 (get_handles_fopen): Likewise.
3068 (do_write_test): Likewise.
3069
3070 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
3071
3072 * libio/fileops.c (do_ftell): Use cached offset when
3073 available.
3074 * libio/iofwide.c (do_ftell_wide): Likewise.
3075 * libio/iofdopen.c (_IO_new_fdopen): Don't use
3076 _IO_file_attach.
3077 * libio/wfileops.c (_IO_fwide): Don't cache offset.
3078
3079 [BZ #16532]
3080 * libio/libioP.h (get_file_offset): New function.
3081 * libio/fileops.c (get_file_offset): Likewise.
3082 (do_ftell): Likewise.
3083 (_IO_new_file_seekoff): Split out ftell logic.
3084 * libio/wfileops.c (do_ftell_wide): Likewise.
3085 (_IO_wfile_seekoff): Split out ftell logic.
3086 * libio/tst-ftell-active-handler.c: New test case.
3087 * libio/Makefile (tests): Add it.
3088
3089 2014-03-03 Roland McGrath <roland@hack.frob.com>
3090
3091 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
3092 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
3093
3094 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
3095
3096 [BZ #16639]
3097 * nscd/connections.c (nscd_init): Call do_exit.
3098 (start_threads): Call do_exit and notify_parent.
3099 (begin_drop_privileges): Call do_exit.
3100 (finish_drop_privileges): Likewise.
3101 * nscd/selinux.c (preserve_capabilities): Likewise.
3102 (install_real_capabilities): Likewise.
3103 (nscd_selinux_enabled): Likewise.
3104 (avc_create_thread): Likewise.
3105 (avc_alloc_lock): Likewise.
3106 (nscd_avc_init): Likewise.
3107 * nscd/nscd.c (parent_fd): New static variable.
3108 (main): Create a pipe between parent and child processes.
3109 Skip closing parent_fd.
3110 (monitor_child): New function.
3111 (do_exit): Likewise.
3112 (notify_parent): Likewise.
3113 * nscd/nscd.h (notify_parent): Likewise.
3114 (do_exit): Likewise.
3115
3116 2014-03-03 Carlos O'Donell <carlos@redhat.com>
3117
3118 * malloc/malloc.c (__libc_calloc): Revert last change.
3119
3120 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3121
3122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3123
3124 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3125
3126 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
3127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
3128 implementation.
3129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3130 (__libc_ifunc_impl_list): Likewise.
3131 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
3132 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
3133 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
3134 * string/strrchr.c: Define STRRCHR.
3135
3136 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
3137
3138 * benchtest/bench-strtok.c (simple_strtok): Delete.
3139 (strtok_string): Use as benchmark.
3140 * string/strtok (STRTOK): New macro.
3141
3142 2014-02-28 Carlos O'Donell <carlos@redhat.com>
3143
3144 * manual/threads.texi: Add header and standard comments to all
3145 functions.
3146
3147 * elf/dl-lookup.c (check_match): New function.
3148 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
3149 (do_lookup_x): Remove nested function check_match. Use non-nested
3150 function check_match.
3151
3152 2014-02-28 Roland McGrath <roland@hack.frob.com>
3153
3154 * csu/Makefile (generated, before-compile): Use += rather than =.
3155 * catgets/Makefile (generated, generated-dirs): Likewise.
3156 * debug/Makefile (generated): Likewise.
3157 * dlfcn/Makefile (generated): Likewise.
3158 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
3159 * iconvdata/Makefile (before-compile, generated): Likewise.
3160 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
3161 * libio/Makefile (generated): Likewise.
3162 * malloc/Makefile (generated): Likewise.
3163 * manual/Makefile (generated, generated-dirs): Likewise.
3164 * misc/Makefile (generated): Likewise.
3165 * posix/Makefile (generated): Likewise.
3166 * resolv/Makefile (generated): Likewise.
3167 * sunrpc/Makefile (generated, generated-dirs): Likewise.
3168 * timezone/Makefile (generated, generated-dirs): Likewise.
3169
3170 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
3171
3172 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3173
3174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3175 power8 implementation.
3176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
3177 file: POWER8 llround ifunc implementation.
3178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
3179 (__lllround): Add POWER8 implementation.
3180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
3181 POWER8 llround implementation.
3182
3183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
3184 power8 implementation.
3185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
3186 file: POWER8 llrint ifunc implementation.
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
3188 Add POWER8 implementation.
3189 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
3190 POWER8 llrint implementation.
3191
3192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
3193 power8 implementation.
3194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
3195 file: POWER8 finite ifunc implementation.
3196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
3197 Add POWER8 implementation.
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
3199 Likewise.
3200 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
3201 POWER8 finite implementation.
3202 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
3203
3204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
3205 power8 implementation.
3206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
3207 file: POWER8 isinf ifunc implementation.
3208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
3209 POWER8 implementation.
3210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
3211 Likewise.
3212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
3213 isinf implementation.
3214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
3215
3216 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
3217 (INIT_ARCH): Add hwcap2 initialization.
3218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3219 power8 implementation.
3220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
3221 file: POWER8 isnan ifunc implementation.
3222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
3223 POWER8 implementation.
3224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
3225 Likewise.
3226 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
3227 isnan implementation.
3228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
3229
3230 2014-02-27 Joey Ye <joey.ye@arm.com>
3231
3232 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3233 (_FP_NANFRAC_Q): Set to zero.
3234
3235 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3236
3237 [BZ #16623]
3238 * math/auto-libm-test-in: New test inputs.
3239 * math/auto-libm-test-out: Regenerate.
3240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
3241 and DA.
3242 (__cos): Likewise.
3243 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3244
3245 2014-02-27 Joseph Myers <joseph@codesourcery.com>
3246
3247 * scripts/evaluate-test.sh: Take new argument indicating whether
3248 failure is expected.
3249 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
3250 indicating whether failure is expected.
3251 * conform/Makefile (test-xfail-run-conformtest): New variable.
3252 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
3253 level.
3254 * posix/Makefile (test-xfail-annexc): New variable.
3255 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
3256
3257 2014-02-26 Joseph Myers <joseph@codesourcery.com>
3258
3259 * argp/Makefile: Include Makeconfig immediately after defining
3260 subdir.
3261 * assert/Makefile: Likewise.
3262 * benchtests/Makefile: Likewise.
3263 * catgets/Makefile: Likewise.
3264 * conform/Makefile: Likewise.
3265 * crypt/Makefile: Likewise.
3266 * csu/Makefile: Likewise.
3267 (all): Remove target.
3268 * ctype/Makefile: Include Makeconfig immediately after defining
3269 subdir.
3270 * debug/Makefile: Likewise.
3271 * dirent/Makefile: Likewise.
3272 * dlfcn/Makefile: Likewise.
3273 * gmon/Makefile: Likewise.
3274 * gnulib/Makefile: Likewise.
3275 * grp/Makefile: Likewise.
3276 * gshadow/Makefile: Likewise.
3277 * hesiod/Makefile: Likewise.
3278 * hurd/Makefile: Likewise.
3279 (all): Remove target.
3280 * iconvdata/Makefile: Include Makeconfig immediately after
3281 defining subdir.
3282 * inet/Makefile: Likewise.
3283 * intl/Makefile: Likewise.
3284 * io/Makefile: Likewise.
3285 * libio/Makefile: Likewise.
3286 (all): Remove target.
3287 * locale/Makefile: Include Makeconfig immediately after defining
3288 subdir.
3289 * login/Makefile: Likewise.
3290 * mach/Makefile: Likewise.
3291 (all): Remove target.
3292 * malloc/Makefile: Include Makeconfig immediately after defining
3293 subdir.
3294 (all): Remove target.
3295 * manual/Makefile: Include Makeconfig immediately after defining
3296 subdir.
3297 * math/Makefile: Likewise.
3298 * misc/Makefile: Likewise.
3299 * nis/Makefile: Likewise.
3300 * nss/Makefile: Likewise.
3301 * po/Makefile: Likewise.
3302 (all): Remove target.
3303 * posix/Makefile: Include Makeconfig immediately after defining
3304 subdir.
3305 * pwd/Makefile: Likewise.
3306 * resolv/Makefile: Likewise.
3307 * resource/Makefile: Likewise.
3308 * rt/Makefile: Likewise.
3309 * setjmp/Makefile: Likewise.
3310 * shadow/Makefile: Likewise.
3311 * signal/Makefile: Likewise.
3312 * socket/Makefile: Likewise.
3313 * soft-fp/Makefile: Likewise.
3314 * stdio-common/Makefile: Likewise.
3315 * stdlib/Makefile: Likewise.
3316 * streams/Makefile: Likewise.
3317 * string/Makefile: Likewise.
3318 * sunrpc/Makefile: Likewise.
3319 (all): Remove target.
3320 * sysvipc/Makefile: Include Makeconfig immediately after defining
3321 subdir.
3322 * termios/Makefile: Likewise.
3323 * time/Makefile: Likewise.
3324 * timezone/Makefile: Likewise.
3325 (all): Remove target.
3326 * wcsmbs/Makefile: Include Makeconfig immediately after defining
3327 subdir.
3328 * wctype/Makefile: Likewise.
3329
3330 2014-02-26 Steve Ellcey <sellcey@mips.com>
3331
3332 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
3333 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
3334 (libc_feholdexcept_setround_mips): Ditto.
3335 (libc_feholdsetround): New.
3336 (libc_feholdsetroundf): New.
3337 (libc_feholdsetroundl): New.
3338 (libc_feupdateenv_test_mips): New.
3339 (libc_feupdateenv_test): New.
3340 (libc_feupdateenv_testf): New.
3341 (libc_feupdateenv_testl): New.
3342 (libc_feresetround): New.
3343 (libc_feresetroundf): New.
3344 (libc_feresetroundl): New.
3345 (libc_fetestexcept_mips): New.
3346 (libc_fetestexcept): New.
3347 (libc_fetestexceptf): New.
3348 (libc_fetestexceptl): New.
3349 (HAVE_RM_CTX): New.
3350 (libc_feholdexcept_setround_mips_ctx): New.
3351 (libc_feholdexcept_setround_ctx): New.
3352 (libc_feholdexcept_setroundf_ctx): New.
3353 (libc_feholdexcept_setroundl_ctx): New.
3354 (libc_fesetenv_mips_ctx): New.
3355 (libc_fesetenv_ctx): New.
3356 (libc_fesetenv_ctxf): New.
3357 (libc_fesetenv_ctxl): New.
3358 (libc_feupdateenv_mips_ctx): New.
3359 (libc_feupdateenv_ctx): New.
3360 (libc_feupdateenvf_ctx): New.
3361 (libc_feupdateenvl_ctx): New.
3362 (libc_feholdsetround_mips_ctx): New.
3363 (libc_feholdsetround_ctx): New.
3364 (libc_feholdsetroundf_ctx): New.
3365 (libc_feholdsetroundl_ctx): New.
3366 (libc_feresetround_mips_ctx): New.
3367 (libc_feresetround_ctx): New.
3368 (libc_feresetroundf_ctx): New.
3369 (libc_feresetroundl_ctx): New.
3370
3371 2014-02-26 Carlos O'Donell <carlos@redhat.com>
3372
3373 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
3374
3375 * manual/ipc.texi: New file.
3376 * manual/Makefile (chapters): Add ipc.
3377 * manual/job.texi: Add "Inter-Process Communication" to next.
3378 * manual/process.texi: Add "Inter-Process Communication" to prev.
3379
3380 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3381
3382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3383
3384 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
3385
3386 * malloc/malloc.c (__libc_calloc): Simplify implementation.
3387
3388 * manual/arith.texi: Fix spaces after sentences.
3389 * manual/charset.texi: Likewise.
3390 * manual/errno.texi: Likewise.
3391 * manual/install.texi: Likewise.
3392 * manual/llio.texi: Likewise.
3393 * manual/locale.texi: Likewise.
3394 * manual/maint.texi: Likewise.
3395 * manual/math.texi: Likewise.
3396 * manual/memory.texi: Likewise.
3397 * manual/message.texi: Likewise.
3398 * manual/probes.texi: Likewise.
3399 * manual/resource.texi: Likewise.
3400 * manual/signal.texi: Likewise.
3401 * manual/socket.texi: Likewise.
3402 * manual/stdio.texi: Likewise.
3403 * manual/string.texi: Likewise.
3404 * manual/time.texi: Likewise.
3405 * manual/users.texi: Likewise.
3406
3407 2014-02-25 Carlos O'Donell <carlos@redhat.com>
3408
3409 [BZ #16632]
3410 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
3411 _DEFAULT_SOURCE is defined.
3412
3413 2014-02-25 Ulrich Drepper <drepper@gmail.com>
3414 Carlos O'Donell <carlos@redhat.com>
3415
3416 [BZ #16613]
3417 * elf/dl-tls.c (_dl_count_modids): New function.
3418 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
3419 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
3420 audit library and increment generation counter.
3421 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
3422 * elf/tst-audit9.c: New file.
3423 * elf/tst-auditmod9a.c: New file.
3424 * elf/tst-auditmod9b.c: New file.
3425 * elf/Makefile: Add rules to build and run tst-audit9.
3426
3427 2014-02-25 Florian Weimer <fweimer@redhat.com>
3428
3429 [BZ #15347]
3430 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
3431
3432 2014-02-25 Will Newton <will.newton@linaro.org>
3433
3434 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3435 (__longjmp): Restore sp and lr before restoring callee
3436 saved registers. Add longjmp and longjmp_target
3437 SystemTap probe point.
3438 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3439 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3440 Define to zero to match jmpbuf layout.
3441 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3442 (__sigsetjmp): Save sp and lr before saving callee
3443 saved registers. Add setjmp SystemTap probe point.
3444
3445 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3446
3447 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3448
3449 2014-02-24 Andreas Schwab <schwab@suse.de>
3450
3451 [BZ #15804]
3452 * elf/pldd.c (wait_for_ptrace_stop): New function.
3453 (main): Call it after attaching.
3454
3455 2014-02-22 Roland McGrath <roland@hack.frob.com>
3456
3457 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3458 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3459 Versions files is now verboten.
3460 * hurd/Versions (libc: GLIBC_2.0):
3461 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3462 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3463 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3464 * mach/Versions: Likewise.
3465
3466 * csu/Versions: Remove unused %include.
3467 * resolv/Versions: Likewise.
3468
3469 2014-02-21 Joseph Myers <joseph@codesourcery.com>
3470
3471 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3472 ($(objpfx)check-local-headers.out): Likewise.
3473 ($(objpfx)begin-end-check.out): Likewise.
3474 * Makerules (check-abi-%.out): Likewise.
3475 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3476 ($(objpfx)test2.cat): Likewise.
3477 ($(objpfx)de/libc.cat): Likewise.
3478 ($(objpfx)test-gencat.out): Likewise.
3479 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3480 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3481 ($(objpfx)noload-mem): Likewise.
3482 ($(objpfx)tst-pathopt.out): Likewise.
3483 ($(objpfx)tst-rtld-load-self.out): Likewise.
3484 ($(objpfx)tst-array1-cmp.out): Likewise.
3485 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3486 ($(objpfx)tst-array2-cmp.out): Likewise.
3487 ($(objpfx)tst-array3-cmp.out): Likewise.
3488 ($(objpfx)tst-array4-cmp.out): Likewise.
3489 ($(objpfx)tst-array5-cmp.out): Likewise.
3490 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3491 ($(objpfx)check-textrel.out): Likewise.
3492 ($(objpfx)check-execstack.out): Likewise.
3493 ($(objpfx)check-localplt.out): Likewise.
3494 ($(objpfx)order2-cmp.out): Likewise.
3495 ($(objpfx)tst-leaks1-mem): Likewise.
3496 ($(objpfx)tst-leaks1-static-mem): Likewise.
3497 ($(objpfx)tst-initorder-cmp.out): Likewise.
3498 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3499 ($(objpfx)tst-unused-dep.out): Likewise.
3500 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3501 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3502 * iconv/Makefile (test-iconvconfig): Likewise.
3503 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3504 ($(objpfx)iconv-test.out): Likewise.
3505 ($(objpfx)tst-tables.out): Likewise.
3506 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3507 ($(objpfx)tst-gettext.out): Likewise.
3508 ($(objpfx)tst-translit.out): Likewise.
3509 ($(objpfx)tst-gettext2.out): Likewise.
3510 ($(objpfx)tst-gettext4.out): Likewise.
3511 ($(objpfx)tst-gettext6.out): Likewise.
3512 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3513 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3514 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3515 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3516 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3517 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3518 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3519 ($(objpfx)wordexp-tst.out): Likewise.
3520 ($(objpfx)annexc.out): Likewise.
3521 ($(objpfx)tst-fnmatch-mem): Likewise.
3522 ($(objpfx)bug-regex2-mem): Likewise.
3523 ($(objpfx)bug-regex14-mem): Likewise.
3524 ($(objpfx)bug-regex21-mem): Likewise.
3525 ($(objpfx)bug-regex31-mem): Likewise.
3526 ($(objpfx)tst-vfork3-mem): Likewise.
3527 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3528 ($(objpfx)tst-pcre-mem): Likewise.
3529 ($(objpfx)tst-boost-mem): Likewise.
3530 ($(objpfx)tst-getconf.out): Likewise.
3531 ($(objpfx)bug-ga2-mem): Likewise.
3532 ($(objpfx)bug-glob2-mem): Likewise.
3533 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3534 ($(objpfx)mtrace-tst-leaks2): Likewise.
3535 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3536 ($(objpfx)tst-printf.out): Likewise.
3537 ($(objpfx)tst-setvbuf1.out): Likewise.
3538 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3539 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3540 ($(objpfx)tst-fmtmsg.out): Likewise.
3541 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3542 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3543
3544 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3545 * bits/sigaction.h [__USE_MISC]: Likewise.
3546 * bits/waitstatus.h: Update #endif comments.
3547 * ctype/ctype.h: Likewise.
3548 * dirent/dirent.h: Likewise.
3549 [__USE_MISC]: Remove redundant conditionals.
3550 * grp/grp.h: Update #endif comments.
3551 [__USE_GNU]: Remove redundant conditionals.
3552 [__USE_MISC]: Likewise.
3553 * inet/netinet/in.h [__USE_GNU]: Likewise.
3554 * io/sys/stat.h [__USE_MISC]: Likewise.
3555 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3556 * libio/bits/stdio.h: Update #endif comments.
3557 [__USE_MISC]: Remove redundant conditionals.
3558 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3559 * libio/stdio.h: Update #endif comments.
3560 [__USE_MISC]: Remove redundant conditionals.
3561 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3562 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3563 * math/math.h: Update #else and #endif comments.
3564 [__USE_MISC]: Remove redundant conditionals.
3565 * misc/sys/uio.h: Update #endif comments.
3566 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3567 * posix/glob.h [__USE_MISC]: Likewise.
3568 * posix/sys/types.h: Update #endif comments.
3569 [__USE_MISC]: Remove redundant conditionals.
3570 * posix/sys/wait.h: Update #endif comments.
3571 [__USE_MISC]: Remove redundant conditionals.
3572 * posix/unistd.h: Update #endif comments.
3573 [__USE_MISC]: Remove redundant conditionals.
3574 * pwd/pwd.h [__USE_GNU]: Likewise.
3575 [__USE_MISC]: Likewise.
3576 * resolv/netdb.h [__USE_GNU]: Likewise.
3577 * signal/signal.h: Update #endif comments.
3578 [__USE_MISC]: Remove redundant conditionals.
3579 * stdlib/stdlib.h: Update #else and #endif comments.
3580 [__USE_MISC]: Remove redundant conditionals.
3581 [__USE_GNU]: Likewise.
3582 * string/bits/string2.h [__USE_MISC]: Likewise.
3583 * string/string.h: Update #endif comments.
3584 [__USE_MISC]: Remove redundant conditionals.
3585 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3586 Likewise.
3587 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3588 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3589 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3590 Likewise.
3591 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3592 Likewise.
3593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3594 comments.
3595 [__USE_MISC]: Remove redundant conditionals.
3596 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3597 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3598 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3599 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3600 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3601 Likewise.
3602 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3603 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3604 Likewise.
3605 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3606 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3611 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3612 Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3614 Likewise.
3615 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3616 * sysdeps/x86/bits/string.h: Update #endif comments.
3617 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3618 conditionals.
3619 * time/sys/time.h: Update #endif comments.
3620 * time/time.h: Likewise.
3621 [__USE_MISC]: Remove redundant conditionals.
3622
3623 2014-02-21 Yury Gribov <y.gribov@samsung.com>
3624
3625 [BZ #16600]
3626 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3627
3628 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3629
3630 * Versions.def (librt): Add GLIBC_2.17.
3631
3632 2014-02-21 Adam Conrad <adconrad@0c3.net>
3633
3634 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3635 synonym for _SYS_AUXV_H to allow direct inclusion.
3636 * sysdeps/sparc/bits/hwcap.h: Likewise.
3637 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3638 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3639 * sysdeps/sparc/sysdep.h: Likewise.
3640
3641 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3642
3643 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3644
3645 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3646
3647 * benchtests/bench-strrchr.c: Print length instead of position.
3648
3649 2014-02-20 Joseph Myers <joseph@codesourcery.com>
3650
3651 [BZ #16611]
3652 * sysdeps/unix/sysv/linux/kernel-features.h
3653 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3654 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3655 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3656 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3657 Likewise.
3658 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3659 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3660 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3661 (__ASSUME_SENDMMSG): Define instead of using previous
3662 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3663 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3664 (__ASSUME_SENDMMSG_SYSCALL): Define.
3665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3666 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3667 Likewise.
3668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3669 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3670 Likewise.
3671 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3672 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3673 Likewise.
3674 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3675 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3676 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3677 [__ASSUME_SENDMMSG]: Change conditionals to
3678 [__ASSUME_SENDMMSG_SOCKETCALL].
3679 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3680 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3681 Define.
3682 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3683 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3684 Likewise.
3685 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3686 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3687 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3688 [!__ASSUME_SENDMMSG]: Change conditional to
3689 [!__ASSUME_SENDMMSG_SOCKETCALL].
3690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3691 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3692 Define.
3693
3694 [BZ #16610]
3695 * sysdeps/unix/sysv/linux/kernel-features.h
3696 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3697 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3698 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3699 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3700 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3701 [__i386__ || __sparc__]
3702 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3703 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3704 (__ASSUME_RECVMMSG): Define instead of using previous
3705 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3706 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3707 (__ASSUME_RECVMMSG_SYSCALL): Define.
3708 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3710 Likewise.
3711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3713 Likewise.
3714 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3716 Likewise.
3717 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3718 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3719 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3720 [__ASSUME_RECVMMSG]: Change condition to
3721 [__ASSUME_RECVMMSG_SOCKETCALL].
3722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3723 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3724 Define.
3725 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3726 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3727 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3728 Likewise.
3729 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3730 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3731 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3732 [!__ASSUME_RECVMMSG]: Change condition to
3733 [!__ASSUME_RECVMMSG_SOCKETCALL].
3734 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3735 (__ASSUME_RECVMMSG_SYSCALL): Define.
3736
3737 [BZ #16609]
3738 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3739 __powerpc__ || __s390__ || __sh__ || __sparc__]
3740 (__ASSUME_SOCKETCALL): Define.
3741 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3742 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3743 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3744 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3745 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3746 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3747 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3748 (__ASSUME_ACCEPT4): Define instead of using previous
3749 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3750 __powerpc__ || __sparc__ || __s390__)] condition.
3751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3752 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3753 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3754 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3755 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3756 [!__ASSUME_ACCEPT4]: Change condition to
3757 [!__ASSUME_ACCEPT4_SOCKETCALL].
3758 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3759 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3760 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3761 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3762 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3763 __ASSUME_ACCEPT4_SYSCALL.
3764 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3765 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3766 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3767 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3768 __ASSUME_ACCEPT4_SYSCALL.
3769 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3770 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3771 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3772 [__ASSUME_ACCEPT4]: Change condition to
3773 [__ASSUME_ACCEPT4_SOCKETCALL].
3774 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3775 (__ASSUME_SOCKETCALL): Define.
3776 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3778 (__ASSUME_SOCKETCALL): Define.
3779 (__ASSUME_ACCEPT4): Remove.
3780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3781 Define.
3782 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3783 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3784 Likewise.
3785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3786 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3787
3788 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3789 macro.
3790 (HWCAP_ARM_LPAE): Likewise.
3791 (HWCAP_ARM_EVTSTRM): Likewise.
3792 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3793 Add vpfd32, lpae and evtstrm.
3794 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3795 Increase to 22.
3796
3797 2014-02-19 Joseph Myers <joseph@codesourcery.com>
3798
3799 * math/auto-libm-test-in: Add tests of clog10.
3800 * math/auto-libm-test-out: Regenerated.
3801 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3802 * sysdeps/i386/fpu/libm-test-ulps: Update.
3803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3804
3805 2014-02-18 Andreas Schwab <schwab@suse.de>
3806
3807 [BZ #16574]
3808 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3809 Store non-zero if the second buffer was newly allocated.
3810 (send_dg): Likewise.
3811 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3812 to send_vc and send_dg.
3813 (res_nsend): Pass NULL for ansp2_malloced.
3814 * resolv/res_query.c (__libc_res_nquery): Add parameter
3815 answerp2_malloced and pass it down to __libc_res_nsend.
3816 (res_nquery): Pass additional NULL to __libc_res_nquery.
3817 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3818 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3819 second answer buffer if answerp2_malloced was set.
3820 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3821 (__libc_res_nquerydomain): Add parameter
3822 answerp2_malloced and pass it down to __libc_res_nquery.
3823 (res_nquerydomain): Pass additional NULL to
3824 __libc_res_nquerydomain.
3825 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3826 additional NULL to __libc_res_nsend and __libc_res_nquery.
3827 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3828 additional NULL to __libc_res_nsearch.
3829 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3830 parameter of __libc_res_nsearch to check for separately allocated
3831 second buffer.
3832 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3833 __libc_res_nquery.
3834 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3835 additional NULL to __libc_res_nquery.
3836 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3837 __libc_res_nsearch.
3838 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3839 * include/resolv.h: Update prototypes of __libc_res_nquery,
3840 __libc_res_nsearch, __libc_res_nsend.
3841
3842 2014-02-18 Joseph Myers <joseph@codesourcery.com>
3843
3844 * math/auto-libm-test-in: Add tests of fma.
3845 * math/auto-libm-test-out: Regenerated.
3846 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3847 (fma_towardzero_test_data): Likewise.
3848 (fma_downward_test_data): Likewise.
3849 (fma_upward_test_data): Likewise.
3850 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3851 mpc_mode.
3852 (rounding_modes): Add values for new field.
3853 (func_calc_method): Add value mpfr_fff_f.
3854 (func_calc_desc): Add mpfr_fff_f union field.
3855 (test_function): Add field exact_args.
3856 (FUNC): Add macro argument EXACT_ARGS.
3857 (FUNC_mpfr_f_f): Update call to FUNC.
3858 (FUNC_mpfr_f_f): Likewise.
3859 (FUNC_mpfr_ff_f): Likewise.
3860 (FUNC_mpfr_if_f): Likewise.
3861 (FUNC_mpc_c_f): Likewise.
3862 (FUNC_mpc_c_c): Likewise.
3863 (test_functions): Add fma. Update calls to FUNC.
3864 (handle_input_arg): Add argument exact_args.
3865 (add_test): Update call to handle_input_arg.
3866 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3867 (output_for_one_input_case): Update call to calc_generic_results.
3868 Recalculate exact zero results in each rounding mode.
3869
3870 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3871 non-negative before setting low bit.
3872 * math/auto-libm-test-in: Mark one asin test possibly having
3873 spurious underflow.
3874 * math/auto-libm-test-out: Regenerated.
3875 * sysdeps/i386/fpu/libm-test-ulps: Update.
3876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3877
3878 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3879
3880 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3881 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3882 ports/sysdeps/unix/sysv/linux/microblaze.
3883 * README: Add missing listing for microblaze*-*-linux-gnu.
3884
3885 2014-02-16 Mike Frysinger <vapier@gentoo.org>
3886
3887 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3888 * sysdeps/unix/sysv/linux/ia64: Move directory from
3889 ports/sysdeps/unix/sysv/linux/ia64.
3890 * README: Update listing for ia64-*-linux-gnu.
3891
3892 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3893 Joseph Myers <joseph@codesourcery.com>
3894
3895 * Makeconfig (test-name): New variable.
3896 (evaluate-test): Likewise.
3897 * Makerules (do-test-clean): Remove .test-result files.
3898 (common-mostlyclean): Likewise.
3899 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3900 * scripts/evaluate-test.sh: New file.
3901
3902 2014-02-14 Joseph Myers <joseph@codesourcery.com>
3903
3904 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3905 separate $(objpfx)tst-fopenloc-cmp.out and
3906 $(objpfx)tst-fopenloc-mem.out targets.
3907 (tests): Update dependencies.
3908 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3909 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3910 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3911 (tst-rxspencer-no-utf8-ARGS): New variable.
3912 (tst-rxspencer-no-utf8-ENV): Likewise.
3913 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3914 instead of $(objpfx)tst-rxspencer-mem.
3915 ($(objpfx)tst-rxspencer-mem): Change target to
3916 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3917 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3918 * posix/tst-rxspencer-no-utf8.c: New file.
3919
3920 * elf/Makefile ($(objpfx)order.out): Remove rule.
3921 [$(run-built-tests) = yes] (tests): Depend on
3922 $(objpfx)order-cmp.out.
3923 ($(objpfx)order-cmp.out): New rule.
3924 [$(run-built-tests) = yes] (tests): Depend on
3925 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3926 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3927 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3928 $(objpfx)tst-array5-static-cmp.out.
3929 ($(objpfx)tst-array1.out): Remove rule.
3930 ($(objpfx)tst-array1-cmp.out): New rule.
3931 ($(objpfx)tst-array1-static.out): Remove rule.
3932 ($(objpfx)tst-array1-static-cmp.out): New rule.
3933 ($(objpfx)tst-array2.out): Remove rule.
3934 ($(objpfx)tst-array2-cmp.out): New rule.
3935 ($(objpfx)tst-array3.out): Remove rule.
3936 ($(objpfx)tst-array3-cmp.out): New rule.
3937 ($(objpfx)tst-array4.out): Remove rule.
3938 ($(objpfx)tst-array4-cmp.out): New rule.
3939 ($(objpfx)tst-array5.out): Remove rule.
3940 ($(objpfx)tst-array5-cmp.out): New rule.
3941 ($(objpfx)tst-array5-static.out): Remove rule.
3942 ($(objpfx)tst-array5-static-cmp.out): New rule.
3943 [$(run-built-tests) = yes] (tests): Depend on
3944 $(objpfx)order2-cmp.out.
3945 ($(objpfx)order2.out): Remove rule.
3946 ($(objpfx)order2-cmp.out): New rule.
3947 ($(objpfx)tst-initorder.out): Remove rule.
3948 [$(run-built-tests) = yes] (tests): Depend on
3949 $(objpfx)tst-initorder-cmp.out.
3950 ($(objpfx)tst-initorder-cmp.out): New rule.
3951 ($(objpfx)tst-initorder2.out): Remove rule.
3952 [$(run-built-tests) = yes] (tests): Depend on
3953 $(objpfx)tst-initorder2-cmp.out.
3954 ($(objpfx)tst-initorder2-cmp.out): New rule.
3955 [$(run-built-tests) = yes] (tests): Depend on
3956 $(objpfx)tst-unused-dep-cmp.out.
3957 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3958 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3959 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3960 on $(objpfx)tst-setvbuf1-cmp.out.
3961 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3962 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3963 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3964 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3965 ($(objpfx)tst-svc.out): Remove rule.
3966 ($(objpfx)tst-svc-cmp.out): New rule.
3967
3968 2014-02-13 Joseph Myers <joseph@codesourcery.com>
3969
3970 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3971 * ctype/ctype.h [__USE_MISC]: Likewise.
3972 * dirent/dirent.h [__USE_MISC]: Likewise.
3973 * grp/grp.h [__USE_MISC]: Likewise.
3974 * io/fcntl.h [__USE_MISC]: Likewise.
3975 * io/sys/stat.h [__USE_MISC]: Likewise.
3976 * libio/stdio.h [__USE_MISC]: Likewise.
3977 * posix/unistd.h [__USE_MISC]: Likewise.
3978 * pwd/pwd.h [__USE_MISC]: Likewise.
3979 * stdlib.h [__USE_MISC]: Likewise.
3980 * string/bits/string2.h [__USE_MISC]: Likewise.
3981 * string/string.h [__USE_MISC]: Likewise.
3982 * time/time.h [__USE_MISC]: Likewise.
3983
3984 2014-02-13 Andreas Schwab <schwab@suse.de>
3985
3986 [BZ #16574]
3987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3988 second answer buffer if it was separately allocated.
3989
3990 2014-02-12 Joseph Myers <joseph@codesourcery.com>
3991
3992 * sysdeps/mips/math-tests.h: Include <features.h>.
3993 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3994 (ROUNDING_TESTS_long_double): Do not define.
3995 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3996 (EXCEPTION_TESTS_long_double): Likewise.
3997 * sysdeps/mips/mips64/libm-test-ulps: Update.
3998
3999 * include/features.h (__USE_BSD): Remove macro definitions.
4000 (__USE_SVID): Likewise.
4001 (_BSD_SOURCE): Likewise.
4002 (_SVID_SOURCE): Likewise.
4003 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
4004 from definition of _DEFAULT_SOURCE.
4005 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
4006 [_DEFAULT_SOURCE].
4007 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
4008 * bits/mman.h [__USE_BSD]: Likewise.
4009 * bits/termios.h [__USE_BSD]: Likewise.
4010 * bits/waitstatus.h [__USE_BSD]: Likewise.
4011 * ctype/ctype.h [__USE_SVID]: Likewise.
4012 * dirent/dirent.h [__USE_BSD]: Likewise.
4013 * grp/grp.h [__USE_SVID]: Likewise.
4014 [__USE_BSD]: Likewise.
4015 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
4016 * io/fcntl.h [__USE_BSD]: Likewise.
4017 * io/ftw.h [__USE_BSD]: Likewise.
4018 * io/sys/stat.h [__USE_BSD]: Likewise.
4019 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
4020 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
4021 * libio/stdio.h [__USE_SVID]: Likewise.
4022 [__USE_BSD]: Likewise.
4023 * math/math.h [__USE_SVID]: Likewise.
4024 [__USE_BSD]: Likewise.
4025 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
4026 * misc/bits/syslog.h [__USE_BSD]: Likewise.
4027 * misc/search.h [__USE_SVID]: Likewise.
4028 * misc/sys/mman.h [__USE_BSD]: Likewise.
4029 * misc/sys/syslog.h [__USE_BSD]: Likewise.
4030 * misc/sys/uio.h [__USE_BSD]: Likewise.
4031 * posix/bits/unistd.h [__USE_BSD]: Likewise.
4032 * posix/glob.h [__USE_BSD]: Likewise.
4033 * posix/regex.h [__USE_BSD]: Likewise.
4034 * posix/sys/types.h [__USE_BSD]: Likewise.
4035 [__USE_SVID]: Likewise.
4036 * posix/sys/utsname.h [__USE_SVID]: Likewise.
4037 * posix/sys/wait.h [__USE_BSD]: Likewise.
4038 [__USE_SVID]: Likewise.
4039 * posix/unistd.h [__USE_BSD]: Likewise.
4040 [__USE_SVID]: Likewise.
4041 * pwd/pwd.h [__USE_SVID]: Likewise.
4042 * resolv/netdb.h [__USE_BSD]: Likewise.
4043 * setjmp/setjmp.h [__USE_BSD]: Likewise.
4044 * signal/signal.h [__USE_BSD]: Likewise.
4045 [__USE_SVID]: Likewise.
4046 * socket/sys/socket.h [__USE_BSD]: Likewise.
4047 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
4048 * stdlib/stdlib.h [__USE_BSD]: Likewise.
4049 [__USE_SVID]: Likewise.
4050 * string/bits/string2.h [__USE_BSD]: Likewise.
4051 [__USE_SVID]: Likewise.
4052 * string/bits/string3.h [__USE_BSD]: Likewise.
4053 * string/endian.h [__USE_BSD]: Likewise.
4054 * string/string.h [__USE_SVID]: Likewise.
4055 [__USE_BSD]: Likewise.
4056 * string/strings.h [__USE_BSD]: Likewise.
4057 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
4058 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
4059 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
4060 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
4061 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
4062 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
4063 Likewise.
4064 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
4065 Likewise.
4066 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
4067 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
4068 Likewise.
4069 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
4070 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
4071 Likewise.
4072 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
4073 Likewise.
4074 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
4075 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
4076 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
4077 Likewise.
4078 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
4079 Likewise.
4080 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
4081 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
4082 * termios/termios.h [__USE_BSD]: Likewise.
4083 * time/sys/time.h [__USE_BSD]: Likewise.
4084 * time/time.h [__USE_BSD]: Likewise.
4085 [__USE_SVID]: Likewise.
4086
4087 * Makefile (subdir_targets): Remove subdir_lint.out.
4088
4089 * stdio-common/Makefile (do-tst-unbputc): Remove target.
4090 (do-tst-printf): Likewise.
4091 (tests): Depend directly on $(objpfx)tst-unbputc.out and
4092 $(objpfx)tst-printf.out.
4093
4094 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
4095
4096 * Makerules (check-abi-%): Change target to
4097 $(objpfx)check-abi-%.out.
4098 (check-abi target): Update dependencies.
4099 (check-abi-pattern variable): Redirect output of diff to $@.
4100 (check-abi variable): Likewise.
4101 * elf/Makefile (check-abi): Update dependencies.
4102
4103 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
4104 unused.
4105 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
4106 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
4107 subnormal range.
4108 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
4109 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
4110 value has largest subnormal exponent.
4111 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
4112 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
4113 * sysdeps/aarch64/soft-fp/sfp-machine.h
4114 (_FP_TININESS_AFTER_ROUNDING): New macro.
4115 * sysdeps/alpha/soft-fp/sfp-machine.h
4116 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4117 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4118 Likewise.
4119 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
4120 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4121 * sysdeps/mips/soft-fp/sfp-machine.h
4122 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4123 * sysdeps/powerpc/soft-fp/sfp-machine.h
4124 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4125 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4126 Likewise.
4127 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
4128 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4129 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
4130 (_FP_TININESS_AFTER_ROUNDING): Likewise.
4131 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
4132 Likewise.
4133
4134 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
4135
4136 [BZ #16545]
4137 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
4138 model 1.
4139
4140 2014-02-12 Richard Henderson <rth@redhat.com>
4141
4142 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
4143 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
4144 * sysdeps/unix/sysv/linux/alpha: Move directory from
4145 ports/sysdeps/unix/sysv/linux/alpha.
4146 * README: Update listing for alpha-*-linux-gnu.
4147
4148 2014-02-11 Joseph Myers <joseph@codesourcery.com>
4149
4150 * include/features.h: Update comment documenting feature test
4151 macros.
4152 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
4153 _DEFAULT_SOURCE.
4154 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
4155 (_SVID_SOURCE): Likewise.
4156 (_DEFAULT_SOURCE): Update description of default features.
4157 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
4158 with _GNU_SOURCE.
4159 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
4160 (S_ISVTX): Likewise.
4161 * manual/math.texi (Mathematical Constants): Likewise.
4162 * manual/signal.texi (Interrupted Primitives): Likewise.
4163 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
4164 * math/test-matherr.c (_SVID_SOURCE): Do not define.
4165 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
4166 Don't refer to _SVID_SOURCE in warning text.
4167
4168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4169
4170 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
4171 already defined.
4172 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
4173 * sysdeps/mips/dl-lookup.c: Remove.
4174 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
4175
4176 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4177
4178 [BZ #16447]
4179 * math/auto-libm-test-in: Add testcase for expl.
4180 * math/auto-libm-test-out: Regenerate.
4181 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
4182 calculation of unsafe.
4183 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
4184
4185 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
4186
4187 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
4188 * sysdeps/unix/sysv/linux/aarch64: Move directory from
4189 ports/sysdeps/unix/sysv/linux/aarch64.
4190 * README: Update listing for aarch64*-*-linux-gnu.
4191
4192 2014-02-11 Will Newton <will.newton@linaro.org>
4193
4194 * manual/probes.texi (Mathematical Function Probes): Use
4195 "triggered" instead of "hit".
4196
4197 * manual/probes.texi (Internal Probes): Add documentation
4198 of setjmp, longjmp and longjmp_target probes.
4199
4200 * include/stap-probe.h: Add comment about probe argument
4201 format.
4202
4203 * malloc/mtrace.c (attribute_hidden): Remove unused macro
4204 definition. (tr_where, tr_freehook, tr_mallochook,
4205 tr_reallochook, tr_memalignhook): Use ANSI protoype.
4206
4207 2014-02-11 David S. Miller <davem@davemloft.net>
4208
4209 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
4210 processing int_tests.
4211
4212 2014-02-10 Joseph Myers <joseph@codesourcery.com>
4213
4214 * sysdeps/mips: Move directory from ports/sysdeps/mips.
4215 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
4216 * sysdeps/unix/sysv/linux/mips: Move directory from
4217 ports/sysdeps/unix/sysv/linux/mips.
4218 * README: Update listing for mips-*-linux-gnu and
4219 mips64-*-linux-gnu.
4220
4221 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
4222
4223 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
4224 * sysdeps/unix/sysv/linux/m68k: Move directory from
4225 ports/sysdeps/unix/sysv/linux/m68k.
4226 * README: Update listing for m68k-*-linux-gnu.
4227
4228 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
4229
4230 * sysdeps/tile: Move directory from ports/sysdeps/tile.
4231 * sysdeps/unix/sysv/linux/generic: Move directory from
4232 ports/sysdeps/unix/sysv/linux/generic.
4233 * sysdeps/unix/sysv/linux/tile: Move directory from
4234 ports/sysdeps/unix/sysv/linux/tile.
4235 * README: Update listing for tile*-*-linux-gnu.
4236
4237 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
4238
4239 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
4240 __builtin_expect.
4241 * benchtests/bench-memmem.c (simple_memmem): Likewise.
4242 * catgets/open_catalog.c (__open_catalog): Likewise.
4243 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
4244 * debug/confstr_chk.c: Likewise.
4245 * debug/fread_chk.c (__fread_chk): Likewise.
4246 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
4247 * debug/getgroups_chk.c: Likewise.
4248 * debug/mbsnrtowcs_chk.c: Likewise.
4249 * debug/mbsrtowcs_chk.c: Likewise.
4250 * debug/mbstowcs_chk.c: Likewise.
4251 * debug/memcpy_chk.c: Likewise.
4252 * debug/memmove_chk.c: Likewise.
4253 * debug/mempcpy_chk.c: Likewise.
4254 * debug/memset_chk.c: Likewise.
4255 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4256 * debug/strcat_chk.c (__strcat_chk): Likewise.
4257 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
4258 * debug/strncat_chk.c (__strncat_chk): Likewise.
4259 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
4260 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
4261 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
4262 * debug/wcpncpy_chk.c: Likewise.
4263 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4264 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
4265 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
4266 * debug/wcsncpy_chk.c: Likewise.
4267 * debug/wcsnrtombs_chk.c: Likewise.
4268 * debug/wcsrtombs_chk.c: Likewise.
4269 * debug/wcstombs_chk.c: Likewise.
4270 * debug/wmemcpy_chk.c: Likewise.
4271 * debug/wmemmove_chk.c: Likewise.
4272 * debug/wmempcpy_chk.c: Likewise.
4273 * debug/wmemset_chk.c: Likewise.
4274 * dirent/scandirat.c (SCANDIRAT): Likewise.
4275 * dlfcn/dladdr1.c (dladdr1): Likewise.
4276 * dlfcn/dladdr.c (dladdr): Likewise.
4277 * dlfcn/dlclose.c (dlclose_doit): Likewise.
4278 * dlfcn/dlerror.c (__dlerror): Likewise.
4279 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
4280 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
4281 * dlfcn/dlopen.c (dlopen_doit): Likewise.
4282 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
4283 * dlfcn/dlsym.c (dlsym_doit): Likewise.
4284 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
4285 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
4286 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
4287 Likewise.
4288 * elf/dl-conflict.c: Likewise.
4289 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
4290 * elf/dl-dst.h: Likewise.
4291 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
4292 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
4293 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
4294 * elf/dl-init.c (call_init, _dl_init): Likewise.
4295 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
4296 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
4297 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
4298 Likewise.
4299 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
4300 Likewise.
4301 * elf/dl-minimal.c (__libc_memalign): Likewise.
4302 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
4303 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4304 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
4305 * elf/dl-sym.c (do_sym): Likewise.
4306 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
4307 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
4308 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
4309 * elf/dl-writev.h (_dl_writev): Likewise.
4310 * elf/ldconfig.c (search_dir): Likewise.
4311 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
4312 (dl_main): Likewise.
4313 * elf/setup-vdso.h (setup_vdso): Likewise.
4314 * grp/compat-initgroups.c (compat_call): Likewise.
4315 * grp/fgetgrent.c (fgetgrent): Likewise.
4316 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
4317 * grp/putgrent.c (putgrent): Likewise.
4318 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4319 Likewise.
4320 * hurd/hurdinit.c: Likewise.
4321 * iconvdata/8bit-gap.c (struct): Likewise.
4322 * iconvdata/ansi_x3.110.c : Likewise.
4323 * iconvdata/big5.c : Likewise.
4324 * iconvdata/big5hkscs.c : Likewise.
4325 * iconvdata/cp1255.c: Likewise.
4326 * iconvdata/cp1258.c : Likewise.
4327 * iconvdata/cp932.c : Likewise.
4328 * iconvdata/euc-cn.c: Likewise.
4329 * iconvdata/euc-jisx0213.c : Likewise.
4330 * iconvdata/euc-jp.c: Likewise.
4331 * iconvdata/euc-jp-ms.c : Likewise.
4332 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
4333 * iconvdata/gb18030.c : Likewise.
4334 * iconvdata/gbbig5.c (const): Likewise.
4335 * iconvdata/gbgbk.c: Likewise.
4336 * iconvdata/gbk.c : Likewise.
4337 * iconvdata/ibm1364.c : Likewise.
4338 * iconvdata/ibm930.c : Likewise.
4339 * iconvdata/ibm932.c: Likewise.
4340 * iconvdata/ibm933.c : Likewise.
4341 * iconvdata/ibm935.c : Likewise.
4342 * iconvdata/ibm937.c : Likewise.
4343 * iconvdata/ibm939.c : Likewise.
4344 * iconvdata/ibm943.c: Likewise.
4345 * iconvdata/iso_11548-1.c: Likewise.
4346 * iconvdata/iso-2022-cn.c : Likewise.
4347 * iconvdata/iso-2022-cn-ext.c : Likewise.
4348 * iconvdata/iso-2022-jp-3.c: Likewise.
4349 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
4350 * iconvdata/iso-2022-kr.c : Likewise.
4351 * iconvdata/iso646.c (gconv_end): Likewise.
4352 * iconvdata/iso_6937-2.c : Likewise.
4353 * iconvdata/iso_6937.c : Likewise.
4354 * iconvdata/iso8859-1.c: Likewise.
4355 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
4356 * iconvdata/shift_jisx0213.c : Likewise.
4357 * iconvdata/sjis.c : Likewise.
4358 * iconvdata/t.61.c : Likewise.
4359 * iconvdata/tcvn5712-1.c : Likewise.
4360 * iconvdata/tscii.c: Likewise.
4361 * iconvdata/uhc.c : Likewise.
4362 * iconvdata/unicode.c (gconv_end): Likewise.
4363 * iconvdata/utf-16.c (gconv_end): Likewise.
4364 * iconvdata/utf-32.c (gconv_end): Likewise.
4365 * iconvdata/utf-7.c (base64): Likewise.
4366 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
4367 * iconv/gconv_close.c (__gconv_close): Likewise.
4368 * iconv/gconv_open.c (__gconv_open): Likewise.
4369 * iconv/gconv_simple.c (internal_ucs4_loop_single)
4370 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
4371 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
4372 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
4373 (ucs4le_internal_loop_single): Likewise.
4374 * iconv/iconv.c (iconv): Likewise.
4375 * iconv/iconv_close.c: Likewise.
4376 * iconv/loop.c (SINGLE): Likewise.
4377 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
4378 * include/atomic.h: Likewise.
4379 * inet/inet6_option.c (option_alloc): Likewise.
4380 * intl/bindtextdom.c (set_binding_values): Likewise.
4381 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
4382 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
4383 * intl/localealias.c (read_alias_file): Likewise.
4384 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
4385 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
4386 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
4387 * libio/fmemopen.c (fmemopen): Likewise.
4388 * libio/iofgets.c (_IO_fgets): Likewise.
4389 * libio/iofgets_u.c (fgets_unlocked): Likewise.
4390 * libio/iofgetws.c (fgetws): Likewise.
4391 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
4392 * libio/iogetdelim.c (_IO_getdelim): Likewise.
4393 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
4394 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
4395 * locale/findlocale.c (_nl_find_locale): Likewise.
4396 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
4397 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
4398 Likewise.
4399 * locale/setlocale.c (setlocale): Likewise.
4400 * login/programs/pt_chown.c (main): Likewise.
4401 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
4402 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
4403 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
4404 (mmap, mmap64, mremap, munmap): Likewise.
4405 * math/e_exp2l.c: Likewise.
4406 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
4407 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
4408 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
4409 * math/s_catan.c (__catan): Likewise.
4410 * math/s_catanf.c (__catanf): Likewise.
4411 * math/s_catanh.c (__catanh): Likewise.
4412 * math/s_catanhf.c (__catanhf): Likewise.
4413 * math/s_catanhl.c (__catanhl): Likewise.
4414 * math/s_catanl.c (__catanl): Likewise.
4415 * math/s_ccosh.c (__ccosh): Likewise.
4416 * math/s_ccoshf.c (__ccoshf): Likewise.
4417 * math/s_ccoshl.c (__ccoshl): Likewise.
4418 * math/s_cexp.c (__cexp): Likewise.
4419 * math/s_cexpf.c (__cexpf): Likewise.
4420 * math/s_cexpl.c (__cexpl): Likewise.
4421 * math/s_clog10.c (__clog10): Likewise.
4422 * math/s_clog10f.c (__clog10f): Likewise.
4423 * math/s_clog10l.c (__clog10l): Likewise.
4424 * math/s_clog.c (__clog): Likewise.
4425 * math/s_clogf.c (__clogf): Likewise.
4426 * math/s_clogl.c (__clogl): Likewise.
4427 * math/s_csin.c (__csin): Likewise.
4428 * math/s_csinf.c (__csinf): Likewise.
4429 * math/s_csinh.c (__csinh): Likewise.
4430 * math/s_csinhf.c (__csinhf): Likewise.
4431 * math/s_csinhl.c (__csinhl): Likewise.
4432 * math/s_csinl.c (__csinl): Likewise.
4433 * math/s_csqrt.c (__csqrt): Likewise.
4434 * math/s_csqrtf.c (__csqrtf): Likewise.
4435 * math/s_csqrtl.c (__csqrtl): Likewise.
4436 * math/s_ctan.c (__ctan): Likewise.
4437 * math/s_ctanf.c (__ctanf): Likewise.
4438 * math/s_ctanh.c (__ctanh): Likewise.
4439 * math/s_ctanhf.c (__ctanhf): Likewise.
4440 * math/s_ctanhl.c (__ctanhl): Likewise.
4441 * math/s_ctanl.c (__ctanl): Likewise.
4442 * math/w_pow.c: Likewise.
4443 * math/w_powf.c: Likewise.
4444 * math/w_powl.c: Likewise.
4445 * math/w_scalb.c (sysv_scalb): Likewise.
4446 * math/w_scalbf.c (sysv_scalbf): Likewise.
4447 * math/w_scalbl.c (sysv_scalbl): Likewise.
4448 * misc/error.c (error_tail): Likewise.
4449 * misc/pselect.c (__pselect): Likewise.
4450 * nis/nis_callback.c (__nis_create_callback): Likewise.
4451 * nis/nis_call.c (__nisfind_server): Likewise.
4452 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4453 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4454 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4455 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4456 * nis/nis_lookup.c (nis_lookup): Likewise.
4457 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4458 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
4459 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4460 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4461 * nis/nss_compat/compat-grp.c (getgrent_next_file)
4462 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
4463 * nis/nss_compat/compat-initgroups.c (add_group)
4464 (internal_getgrent_r): Likewise.
4465 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
4466 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
4467 * nis/nss_compat/compat-spwd.c (getspent_next_file)
4468 (internal_getspnam_r): Likewise.
4469 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
4470 (_nss_nis_getaliasbyname_r): Likewise.
4471 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
4472 (_nss_nis_getntohost_r): Likewise.
4473 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
4474 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
4475 (_nss_nis_getgrgid_r): Likewise.
4476 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
4477 (internal_nis_gethostent_r, internal_gethostbyname2_r)
4478 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
4479 (_nss_nis_gethostbyname4_r): Likewise.
4480 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
4481 (initgroups_netid): Likewise.
4482 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4483 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
4484 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4485 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
4486 (_nss_nis_getprotobynumber_r): Likewise.
4487 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
4488 (_nss_nis_getsecretkey): Likewise.
4489 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
4490 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
4491 (_nss_nis_getpwuid_r): Likewise.
4492 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
4493 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4494 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
4495 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4496 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
4497 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
4498 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4499 Likewise.
4500 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
4501 (_nss_nisplus_getntohost_r): Likewise.
4502 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
4503 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4504 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
4505 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
4506 Likewise.
4507 * nis/nss_nisplus/nisplus-initgroups.c
4508 (_nss_nisplus_initgroups_dyn): Likewise.
4509 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
4510 (_nss_nisplus_getnetbyaddr_r): Likewise.
4511 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
4512 (_nss_nisplus_getprotobynumber_r): Likewise.
4513 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
4514 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4515 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4516 Likewise.
4517 * nis/nss_nisplus/nisplus-service.c
4518 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
4519 (_nss_nisplus_getservbyport_r): Likewise.
4520 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
4521 (_nss_nisplus_getspnam_r): Likewise.
4522 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
4523 Likewise.
4524 * nscd/aicache.c (addhstaiX): Likewise.
4525 * nscd/cache.c (cache_search, prune_cache): Likewise.
4526 * nscd/connections.c (register_traced_file, send_ro_fd)
4527 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
4528 (main_loop_epoll): Likewise.
4529 * nscd/grpcache.c (addgrbyX): Likewise.
4530 * nscd/hstcache.c (addhstbyX): Likewise.
4531 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4532 * nscd/mem.c (gc, mempool_alloc): Likewise.
4533 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
4534 (addinnetgrX): Likewise.
4535 * nscd/nscd-client.h (__nscd_acquire_maplock)
4536 (__nscd_drop_map_ref): Likewise.
4537 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4538 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4539 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4540 Likewise.
4541 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4543 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
4544 (__nscd_get_map_ref): Likewise.
4545 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4546 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
4547 Likewise.
4548 * nscd/pwdcache.c (addpwbyX): Likewise.
4549 * nscd/selinux.c (preserve_capabilities): Likewise.
4550 * nscd/servicescache.c (addservbyX): Likewise.
4551 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4552 * posix/fnmatch.c (fnmatch): Likewise.
4553 * posix/getopt.c (_getopt_internal_r): Likewise.
4554 * posix/glob.c (glob, glob_in_dir): Likewise.
4555 * posix/wordexp.c (exec_comm_child): Likewise.
4556 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
4557 (getanswer_r, gaih_getanswer_slice): Likewise.
4558 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4559 * resolv/res_init.c: Likewise.
4560 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4561 * resolv/res_query.c (__libc_res_nquery): Likewise.
4562 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4563 Likewise.
4564 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4565 * stdio-common/perror.c (perror): Likewise.
4566 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4567 * stdio-common/tmpnam.c (tmpnam): Likewise.
4568 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4569 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4570 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4571 Likewise.
4572 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4573 * stdlib/putenv.c (putenv): Likewise.
4574 * stdlib/setenv.c (__add_to_environ): Likewise.
4575 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4576 * stdlib/strtol_l.c (INTERNAL): Likewise.
4577 * string/memmem.c (memmem): Likewise.
4578 * string/strerror.c (strerror): Likewise.
4579 * string/strnlen.c (__strnlen): Likewise.
4580 * string/test-memmem.c (simple_memmem): Likewise.
4581 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4582 * sunrpc/pm_getport.c (__get_socket): Likewise.
4583 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4584 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4585 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
4586 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4587 Likewise.
4588 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4589 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4590 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4591 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4592 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4593 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
4594 Likewise.
4595 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
4596 Likewise.
4597 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4598 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4599 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4600 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4601 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4603 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4604 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4605 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4606 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4607 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4608 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4609 Likewise.
4610 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4611 Likewise.
4612 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4613 Likewise.
4614 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4615 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4616 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4617 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4618 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4619 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4620 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4621 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4622 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4623 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4624 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4626 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4627 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4628 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4629 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
4630 Likewise.
4631 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4632 Likewise.
4633 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4634 Likewise.
4635 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4636 Likewise.
4637 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4639 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4640 Likewise.
4641 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4642 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4643 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4644 * sysdeps/posix/sleep.c: Likewise.
4645 * sysdeps/posix/tempname.c: Likewise.
4646 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4647 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4648 Likewise.
4649 * sysdeps/powerpc/powerpc32/dl-machine.h
4650 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
4651 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4653 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4654 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4655 Likewise.
4656 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4657 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
4658 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4659 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
4660 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
4661 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4662 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4663 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4664 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4665 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4666 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
4667 (elf_machine_lazy_rel): Likewise.
4668 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
4670 (elf_machine_lazy_rel): Likewise.
4671 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4672 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4673 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4674 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4675 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4676 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4677 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4678 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4679 Likewise.
4680 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4681 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4682 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4683 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4684 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4685 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4686 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4687 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4688 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4689 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4690 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4691 Likewise.
4692 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4693 (__posix_fallocate64_l64): Likewise.
4694 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4695 (posix_fallocate): Likewise.
4696 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4697 Likewise.
4698 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4699 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
4700 (getifaddrs_internal): Likewise.
4701 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4702 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4703 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4704 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4705 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4706 (__posix_fallocate64_l64): Likewise.
4707 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4708 Likewise.
4709 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4710 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
4711 (__get_clockfreq): Likewise.
4712 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4713 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4714 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4715 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4716 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4717 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4718 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4719 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4720 Likewise.
4721 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4722 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4723 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4724 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4725 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4726 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4727 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4728 Likewise.
4729 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4730 (posix_fallocate): Likewise.
4731 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4732 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4733 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4734 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
4735 (elf_machine_rela, elf_machine_rela_relative)
4736 (elf_machine_lazy_rel): Likewise.
4737 * time/asctime.c (asctime_internal): Likewise.
4738 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4739 * time/tzset.c (__tzset_parse_tz): Likewise.
4740 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4741 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4742 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4743 * wcsmbs/wcsmbsload.h: Likewise.
4744
4745 [BZ #15894]
4746 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4747
4748 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
4749 (arena_get2): Remove THREAD_STATS conditionals.
4750 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
4751 (__malloc_stats, int): Likewise.
4752
4753 2014-02-08 Mike Frysinger <vapier@gentoo.org>
4754
4755 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4756 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4757
4758 * manual/setjmp.texi: Fix typos/grammar errors.
4759
4760 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4761 Only return early when n is <= 0. Delete unused return statement.
4762
4763 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4764 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4765 * debug/tst-longjmp_chk3.c: New file.
4766
4767 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4768 (test_main): Replace code with set_fortify_handler call.
4769 * debug/test-strcpy_chk.c: Likewise.
4770 * debug/tst-chk1.c: Likewise.
4771 * debug/tst-longjmp_chk.c: Likewise.
4772 * test-skeleton.c: Include fcntl.h & paths.h
4773 (set_fortify_handler): Define.
4774
4775 * debug/tst-longjmp_chk.c: Add header comment and include
4776 ../test-skeleton.c.
4777 (do_test): Mark static.
4778 (TEST_FUNCTION): Define.
4779
4780 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4781 (IP_PMTUDISC_INTERFACE): Likewise.
4782 (IP_MULTICAST_IF): Likewise.
4783 (IP_MULTICAST_TTL): Likewise.
4784 (IP_MULTICAST_LOOP): Likewise.
4785 (IP_ADD_MEMBERSHIP): Likewise.
4786 (IP_DROP_MEMBERSHIP): Likewise.
4787 (IP_UNBLOCK_SOURCE): Likewise.
4788 (IP_BLOCK_SOURCE): Likewise.
4789 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4790 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4791 (IP_MSFILTER): Likewise.
4792 (MCAST_JOIN_GROUP): Likewise.
4793 (MCAST_BLOCK_SOURCE): Likewise.
4794 (MCAST_UNBLOCK_SOURCE): Likewise.
4795 (MCAST_LEAVE_GROUP): Likewise.
4796 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4797 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4798 (MCAST_MSFILTER): Likewise.
4799 (IP_MULTICAST_ALL): Likewise.
4800 (IP_UNICAST_IF): Likewise.
4801
4802 * timezone/Makefile: Delete $(have-ksh) check.
4803 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4804 * timezone/tzselect.ksh: Add +x mode bits.
4805
4806 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4807 (ANON_INODE_FS_MAGIC): Likewise.
4808 (BDEVFS_MAGIC): Likewise.
4809 (BINFMTFS_MAGIC): Likewise.
4810 (BTRFS_TEST_MAGIC): Likewise.
4811 (CRAMFS_MAGIC_WEND): Likewise.
4812 (DEBUGFS_MAGIC): Likewise.
4813 (ECRYPTFS_SUPER_MAGIC): Likewise.
4814 (EXT3_SUPER_MAGIC): Likewise.
4815 (EXT4_SUPER_MAGIC): Likewise.
4816 (FUTEXFS_SUPER_MAGIC): Likewise.
4817 (HOSTFS_SUPER_MAGIC): Likewise.
4818 (HUGETLBFS_MAGIC): Likewise.
4819 (MINIX3_SUPER_MAGIC): Likewise.
4820 (MTD_INODE_FS_MAGIC): Likewise.
4821 (NILFS_SUPER_MAGIC): Likewise.
4822 (OPENPROM_SUPER_MAGIC): Likewise.
4823 (PIPEFS_MAGIC): Likewise.
4824 (PSTOREFS_MAGIC): Likewise.
4825 (QNX6_SUPER_MAGIC): Likewise.
4826 (RAMFS_MAGIC): Likewise.
4827 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4828 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4829 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4830 (SECURITYFS_MAGIC): Likewise.
4831 (SELINUX_MAGIC): Likewise.
4832 (SMACK_MAGIC): Likewise.
4833 (SOCKFS_MAGIC): Likewise.
4834 (SQUASHFS_MAGIC): Likewise.
4835 (STACK_END_MAGIC): Likewise.
4836 (TMPFS_MAGIC): Likewise.
4837 (USBDEVICE_SUPER_MAGIC): Likewise.
4838 (V9FS_MAGIC): Likewise.
4839 (XENFS_SUPER_MAGIC): Likewise.
4840 (CRAMFS_MAGIC): Fix typo in comment.
4841 (EXT2_SUPER_MAGIC): Update comment.
4842 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4843
4844 2014-02-08 Joseph Myers <joseph@codesourcery.com>
4845
4846 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4847 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4848 * sysdeps/unix/sysv/linux/arm: Move directory from
4849 ports/sysdeps/unix/sysv/linux/arm.
4850 * README: Update listing for arm-*-linux-gnueabi.
4851
4852 * README: Remove mention of am33.
4853
4854 2014-02-07 Roland McGrath <roland@hack.frob.com>
4855
4856 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4857 than the comma operator, to avoid "rhs of comma has no effect"
4858 compiler warnings.
4859 (__sigfillset, __sigandset, __sigorset): Likewise.
4860 * include/signal.h (__sigemptyset): Likewise.
4861 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4862
4863 2014-02-07 Allan McRae <allan@archlinux.org>
4864
4865 * version.h (RELEASE): Set to "development".
4866 (VERSION): Set to "2.19.90"
4867 * NEWS: Add 2.20 section.
4868
4869 2014-02-06 Carlos O'Donell <carlos@redhat.com>
4870
4871 [BZ #16529]
4872 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4873
4874 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4875
4876 * manual/contrib.texi: Update entry for Carlos O'Donell,
4877 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4878
4879 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
4880
4881 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4882
4883 * sysdeps/unix/sysv/linux/kernel-features.h
4884 [__LINUX_KERNEL_VERSION >= 0x020621]
4885 (__ASSUME_PROC_PID_TASK_COMM): Define.
4886
4887 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4888
4889 [BZ #16398]
4890 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4891 conversion when destination buffer does not have enough space.
4892 * libio/tst-ftell-partial-wide.c: New test case.
4893 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4894
4895 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4896 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4897 Leonard and Allan McRae.
4898
4899 2014-02-04 David S. Miller <davem@davemloft.net>
4900
4901 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4902 32-bit.
4903
4904 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4905
4906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
4907 New file
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4909 New file
4910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
4911 New file.
4912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
4913 New file.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4915 New file.
4916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
4917 New file.
4918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
4919 New file.
4920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4921 New file.
4922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4923 New file.
4924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4925 New file.
4926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4927 New file.
4928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4929 New file.
4930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4931 New file.
4932
4933 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4934
4935 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4936 * shlib-versions: Likewise.
4937
4938 2014-02-04 Roland McGrath <roland@hack.frob.com>
4939 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4940
4941 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4942 (abilist-pattern): New variable, set to %-le.abilist.
4943
4944 * Makerules (abilist-pattern): New variable.
4945 (vpath): Use $(abilist-pattern) in place of %.abilist.
4946 (check-abi-% pattern rule): Likewise.
4947 (check-abi, update-abi): Likewise.
4948
4949 2014-02-04 Eric Wong <normalperson@yhbt.net>
4950
4951 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4952
4953 2014-02-03 Carlos O'Donell <carlos@redhat.com>
4954
4955 * manual/startup.texi: Add next, previous, and top entries for
4956 the `Program Arguments' and `Environment Variables' nodes.
4957
4958 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
4959
4960 * manual/macros.texi: Add comments before MTASC-safety macros.
4961
4962 * manual/users.texi: Document MTASC-safety properties.
4963
4964 * manual/threads.texi (pthread_key_create, pthread_key_delete)
4965 (pthread_getspecific, pthread_setspecific): Format with
4966 @deftypefun, and add @safety note.
4967 * manual/signal.texi: Move comments that analyze the above
4968 functions to their home place.
4969
4970 2014-02-03 Allan McRae <allan@archlinux.org>
4971
4972 * po/sl.po: Update Slovenian translation from translation project.
4973
4974 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
4975
4976 * manual/time.texi (timegm): Add missing blank after @c.
4977 Reported by Joseph Myers <joseph@codesourcery.com>.
4978
4979 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
4980
4981 * manual/check-safety.sh: New.
4982 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4983
4984 * manual/terminal.texi: Document MTASC-safety properties.
4985
4986 * manual/filesys.texi: Document MTASC-safety properties.
4987
4988 * manual/errno.texi: Document MTASC-safety properties.
4989
4990 * manual/intro.texi: Document safety identifiers and
4991 conditionals.
4992
4993 * manual/string.texi (wcstok): Fix prototype.
4994 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4995
4996 * manual/time.texi: Document MTASC-safety properties.
4997
4998 * manual/string.texi: Document MTASC-safety properties.
4999
5000 * manual/threads.texi: Document MTASC-safety properties.
5001
5002 * manual/stdio.texi: Document MTASC-safety properties.
5003
5004 * manual/syslog.texi: Document MTASC-safety properties.
5005
5006 * manual/sysinfo.texi: Document MTASC-safety properties.
5007
5008 * manual/startup.texi: Document MTASC-safety properties.
5009
5010 * manual/socket.texi: Document MTASC-safety properties.
5011
5012 * manual/signal.texi: Document MTASC-safety properties.
5013
5014 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
5015
5016 * manual/setjmp.texi: Document MTASC-safety properties.
5017
5018 * manual/search.texi: Document MTASC-safety properties.
5019
5020 * manual/resource.texi: Document MTASC-safety properties.
5021
5022 * manual/process.texi: Document MTASC-safety properties.
5023
5024 * manual/platform.texi: Document MTASC-safety properties.
5025
5026 * manual/pipe.texi: Document MTASC-safety properties.
5027
5028 * manual/pattern.texi: Document MTASC-safety properties.
5029
5030 * manual/message.texi: Document MTASC-safety properties.
5031
5032 [BZ #12751]
5033 * manual/memory.texi: Document MTASC-safety properties.
5034
5035 * manual/math.texi: Document MTASC-safety properties.
5036
5037 * manual/locale.texi: Document MTASC-safety properties.
5038
5039 * manual/llio.texi: Document MTASC-safety properties.
5040
5041 * manual/libdl.texi: New.
5042
5043 * manual/lang.texi: Document MTASC-safety properties.
5044
5045 * manual/job.texi: Document MTASC-safety properties.
5046
5047 * manual/getopt.texi: Document MTASC-safety properties.
5048
5049 * manual/ctype.texi: Document MTASC-safety properties.
5050
5051 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
5052
5053 [BZ #16046]
5054 * csu/libc-tls.c (static_map): Remove variable.
5055 (__libc_setup_tls): Use main executable's link map for TLS data.
5056 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
5057 casing for LM_ID_BASE and GL(dl_nns).
5058 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
5059 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
5060 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
5061 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
5062 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
5063 member.
5064 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
5065 l_phnum members.
5066
5067 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
5068
5069 * manual/debug.texi: Document MTASC-safety properties.
5070
5071 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
5072
5073 [BZ #16510]
5074 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
5075 of __x86_64__ when disabling x87 inline functions.
5076
5077 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
5078
5079 * manual/charset.texi: Document MTASC-safety properties.
5080
5081 * manual/crypt.texi: Document MTASC-safety properties.
5082
5083 * manual/conf.texi: Document MTASC-safety properties.
5084
5085 * manual/arith.texi: Document MTASC-safety properties.
5086
5087 * manual/argp.texi: Document MTASC-safety properties.
5088
5089 * manual/macros.texi: Introduce macros to document multi
5090 thread, asynchronous signal and asynchronous cancellation
5091 safety properties.
5092 * manual/intro.texi: Introduce the properties themselves.
5093
5094 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5095
5096 * sysdeps/sh/sh4/Makefile: New file.
5097
5098 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
5099
5100 * math/gen-libm-test.pl ($srcdir): New variable.
5101 ($auto_input): Use it.
5102
5103 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5104
5105 [BZ #16506]
5106 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
5107 access beyond array bounds when parsing netgroups file.
5108
5109 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
5110 the old buffer before realloc.
5111
5112 2014-01-27 Allan McRae <allan@archlinux.org>
5113
5114 * po/fr.po: Update French translation from translation project.
5115
5116 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5117
5118 * sysdeps/sh/libm-test-ulps: Regenerate.
5119
5120 2014-01-24 David S. Miller <davem@davemloft.net>
5121
5122 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
5123
5124 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5125
5126 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
5127 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
5128
5129 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5130
5131 [BZ #16474]
5132 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
5133 string pointers after reallocation.
5134
5135 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5136
5137 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
5138 __SH4A__ instead of __SH_FPU_ANY__.
5139
5140 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5141
5142 * sysdeps/sh/fpu_control.h: New file.
5143 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
5144 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
5145 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
5146 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
5147 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
5148 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
5149 * sysdeps/sh/sys/ucontext.h: Remove.
5150 * sysdeps/sh/sys: Remove directory.
5151
5152 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5153
5154 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
5155 s390/sys/ucontext.h.
5156 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
5157 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
5158
5159 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
5160
5161 [BZ #15605]
5162 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
5163
5164 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5165
5166 [BZ#16431]
5167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5168 Adjust the vDSO correctly for internal calls.
5169 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5170
5171 2014-01-20 Allan McRae <allan@archlinux.org>
5172
5173 * po/ca.po: Update Catalan translation from translation project.
5174
5175 2014-01-16 Mike Frysinger <vapier@gentoo.org>
5176
5177 * sysdeps/s390/sotruss-lib.c: New file.
5178
5179 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5180
5181 [BZ#16430]
5182 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
5183 (__GI___gettimeofday): Alias for a different internal symbol to avoid
5184 local calls issues by not having a PLT stub required for IFUNC calls.
5185 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
5186
5187 2014-01-16 Joseph Myers <joseph@codesourcery.com>
5188
5189 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
5190 * math/test-fpucw-static.c: Likewise.
5191
5192 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5193
5194 [BZ #16453]
5195 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
5196
5197 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5198
5199 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
5200 implementation for powerpc.
5201
5202 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
5203
5204 [BZ #14782]
5205 * sysdeps/posix/system.c (__libc_system): Do not enable
5206 asynchronous cancellation.
5207
5208 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5209
5210 [BZ #16427]
5211 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
5212 handling only for numbers special also in the IEEE case.
5213
5214 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5215
5216 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5217
5218 2014-01-11 Allan McRae <allan@archlinux.org>
5219
5220 * po/bg.po: Update Bulgarian translation from translation project.
5221
5222 * po/de.po: Update German translation from translation project.
5223
5224 2014-01-10 Roland McGrath <roland@hack.frob.com>
5225
5226 * sysdeps/generic/gcc-compat.h: New file.
5227
5228 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5229
5230 * benchtests/asin-inputs: Correct slow inputs.
5231 * benchtests/acos-inputs: Likewise.
5232
5233 2014-01-10 Allan McRae <allan@archlinux.org>
5234
5235 * po:sv.po: Update Swedish translation from translation project.
5236
5237 * po/vi.po: Update Vietnamese translation from translation project.
5238
5239 * po/eo.po: Update Esperanto translation from translation project.
5240
5241 * po/cs.po: Update Czech translation from translation project.
5242
5243 * po/nl.po: Update Dutch translation from translation project.
5244
5245 * po/pl.po: Update Polish translation from translation project.
5246
5247 * po/ru.po: Update Russian translation from translation project.
5248
5249 * po/uk.po: Update Ukrainian translation from translation project.
5250
5251 2014-01-08 Brooks Moses <bmoses@google.com>
5252
5253 * elf/dl-load.c: Fix comment typo.
5254
5255 2014-01-08 Carlos O'Donell <carlos@redhat.com>
5256
5257 * po/header.pot: Rename to...
5258 * po/pot.header: ... this.
5259 * po/Makefile: Use pot.header.
5260
5261 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
5262 Maxim Kuvyrkov <maxim@kugelworks.com>
5263
5264 [BZ #16394]
5265 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
5266 SRC and DEST against LEN.
5267
5268 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5269
5270 [BZ #16414]
5271 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
5272 implementation.
5273 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
5274
5275 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5276
5277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5278
5279 2014-01-08 Joseph Myers <joseph@codesourcery.com>
5280
5281 [BZ #16408]
5282 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
5283 for large positive arguments.
5284
5285 2014-01-07 Joseph Myers <joseph@codesourcery.com>
5286
5287 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5288
5289 * math/auto-libm-test-in: Mark various tests with
5290 xfail-rounding:ldbl-128ibm.
5291 * math/auto-libm-test-out: Regenerated.
5292
5293 [BZ #16407]
5294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
5295 Increase overflow threshold.
5296
5297 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
5298
5299 [BZ #14286]
5300 * stdio-common/vfprintf.c: Check for integer overflow.
5301
5302 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5303
5304 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
5305 the first argument and return value of __tls_get_addr_internal.
5306
5307 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5308
5309 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
5310 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
5311
5312 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5313
5314 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
5315 * sysdeps/s390/rtld-global-offsets.sym: New file.
5316 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
5317 GLIBC_2.19 symbol.
5318 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
5319 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
5320 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5321 ... this.
5322 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
5323 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5324 ... this.
5325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5326 Regenerate.
5327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5328 Regenerate.
5329 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
5330 halfs of GPRs for high_gprs contexts.
5331 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
5332 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
5333 field.
5334 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
5335 uc_flags field.
5336 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
5337 64 bit versions:
5338 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
5339 for high GPRs (uc_high_gprs) and for future extensions
5340 (__reserved).
5341 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
5342 for future extensions (__reserved).
5343 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
5344 64 bit versions:
5345 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
5346 SC_HIGHGPRS offset definition.
5347 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
5348 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
5349
5350 * Versions.def: Add GLIBC_2.19 for libpthread.
5351 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
5352 siglongjmp for libpthread with GLIBC_2.19 symver.
5353 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
5354 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
5355 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
5356 * sysdeps/s390/__longjmp.c: New file.
5357 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
5358 * sysdeps/s390/longjmp.c: New file.
5359 * sysdeps/s390/setjmp.S: New file.
5360 * sysdeps/s390/sigjmp.S: New file.
5361 * sysdeps/s390/v1-longjmp.c: New file.
5362 * sysdeps/s390/v1-setjmp.h: New file.
5363 * sysdeps/s390/v1-sigjmp.c: New file.
5364 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
5365 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
5366 GLIBC_2.19 version.
5367 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
5368 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
5369 versioned symbols for ____longjmp_chk.
5370 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5371 Likewise.
5372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
5373 Regenerate.
5374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5375 Regenerate.
5376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
5377 Regenerate.
5378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5379 Regenerate.
5380 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
5381 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
5382 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
5383 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
5384 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
5385 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
5386 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
5387 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
5388 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
5389 * sysdeps/s390/rtld-__longjmp.c: New file.
5390 * sysdeps/s390/rtld-setjmp.S: New file.
5391
5392 2014-01-06 Joseph Myers <joseph@codesourcery.com>
5393
5394 [BZ #16400]
5395 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5396 Return -__logl (x) for small positive arguments without evaluating
5397 a polynomial.
5398
5399 2014-01-06 Mike Frysinger <vapier@gentoo.org>
5400
5401 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
5402 Rename to ...
5403 (__ptrace_peeksiginfo_args): ... this.
5404 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5405 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5406 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5407
5408 2014-01-06 Allan McRae <allan@archlinux.org>
5409
5410 * inet/netinet/in.h: Fix typo in comment.
5411
5412 2014-01-05 Andreas Jaeger <aj@suse.de>
5413
5414 * sysdeps/i386/fpu/libm-test-ulps: Update.
5415
5416 2014-01-05 Allan McRae <allan@archlinux.org>
5417
5418 * po/libc.pot: Regenerated.
5419
5420 * malloc/memusagestat.c: Fix gettext call formatting.
5421
5422 2014-01-04 Sami Kerola <kerolasa@iki.fi>
5423
5424 * nscd/nscd.c: Improve usage() output.
5425
5426 2014-01-04 Mike Frysinger <vapier@gentoo.org>
5427
5428 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5429 * sysdeps/unix/sysv/linux/configure: Regenerated.
5430 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5431 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5432
5433 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5434
5435 [BZ #16390]
5436 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5437 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5438
5439 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5440
5441 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5442 extra tokens at end of #undef directive.
5443 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5444 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5445 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5446
5447 2014-01-03 Joseph Myers <joseph@codesourcery.com>
5448
5449 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5450
5451 * math/auto-libm-test-in: Mark various tests with
5452 xfail-rounding:ldbl-128ibm.
5453 * math/auto-libm-test-out: Regenerated.
5454
5455 2014-01-02 Joseph Myers <joseph@codesourcery.com>
5456
5457 [BZ #16386]
5458 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5459 numbers with subnormal high part when calculating exponent.
5460
5461 [BZ #16385]
5462 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5463 fabs.
5464
5465 [BZ #16384]
5466 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5467 M_LN2l.
5468 (__ieee754_acoshl): Use __log1pl not __log1p.
5469
5470 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
5471
5472 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
5473 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
5474 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
5475 (grow_heap, heap_trim, _int_new_arena, get_free_list)
5476 (reused_arena, arena_get2): Convert to GNU style.
5477 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
5478 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
5479 (memalign_check, __malloc_set_state): Likewise.
5480 * malloc/mallocbug.c (main): Likewise.
5481 * malloc/malloc.c (__malloc_assert, malloc_init_state)
5482 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
5483 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
5484 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
5485 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
5486 (__posix_memalign, malloc_info): Likewise.
5487 * malloc/malloc.h: Likewise.
5488 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
5489 (mallochook, memalignhook, reallochook, mabort): Likewise.
5490 * malloc/mcheck.h: Likewise.
5491 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
5492 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
5493 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5494 * malloc/morecore.c (__default_morecore): Likewise.
5495 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5496 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
5497 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
5498 (print_and_abort): Likewise.
5499 * malloc/obstack.h: Likewise.
5500 * malloc/set-freeres.c (__libc_freeres): Likewise.
5501 * malloc/tst-mallocstate.c (main): Likewise.
5502 * malloc/tst-mtrace.c (main): Likewise.
5503 * malloc/tst-realloc.c (do_test): Likewise.
5504
5505 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5506
5507 [BZ #16366]
5508 * nscd/netgroupcache.c (do_notfound): New function.
5509 (addgetnetgrentX): Use it.
5510
5511 [BZ # 16365]
5512 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5513 NSS_STATUS_NOTFOUND.
5514
5515 2014-01-01 Joseph Myers <joseph@codesourcery.com>
5516
5517 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5519
5520 2014-01-01 Allan McRae <allan@archlinux.org>
5521
5522 * scripts/update-copyrights: Update configure input file suffix.
5523
5524 * NEWS: Update copyright year.
5525 * catgets/gencat.c: Likewise.
5526 * csu/version.c: Likewise.
5527 * debug/catchsegv.sh: Likewise.
5528 * debug/pcprofiledump.c: Likewise.
5529 * debug/xtrace.sh: Likewise.
5530 * elf/ldconfig.c: Likewise.
5531 * elf/ldd.bash.in: Likewise.
5532 * elf/pldd.c: Likewise.
5533 * elf/sotruss.ksh: Likewise.
5534 * elf/sprof.c: Likewise.
5535 * iconv/iconv_prog.c: Likewise.
5536 * iconv/iconvconfig.c: Likewise.
5537 * locale/programs/locale.c: Likewise.
5538 * locale/programs/localedef.c: Likewise.
5539 * login/programs/pt_chown.c: Likewise.
5540 * malloc/memusage.sh: Likewise.
5541 * malloc/memusagestat.c: Likewise.
5542 * malloc/mtrace.pl: Likewise.
5543 * manual/libc.texinfo: Likewise.
5544 * nscd/nscd.c: Likewise.
5545 * nss/getent.c: Likewise.
5546 * nss/makedb.c: Likewise.
5547 * posix/getconf.c: Likewise.
5548 * scripts/test-installation.pl: Likewise.
5549
5550 * All files with FSF copyright notices: Update copyright dates
5551 using scripts/update-copyrights.
5552 * intl/plural.c: Regenerated.
5553 * locale/programs/charmap-kw.h: Likewise.
5554 * locale/programs/locfile-kw.h: Likewise.
5555
5556 2013-12-31 Mike Frysinger <vapier@gentoo.org>
5557
5558 * sysdeps/unix/sysv/linux/configure: Regenerated.
5559 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5560 the linux/fanotify.h header.
5561 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5562 HAVE_LINUX_FANOTIFY_H is defined.
5563
5564 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
5566 * benchtests/cos-inputs: New inputs.
5567 * benchtests/sin-inputs: Likewise.
5568
5569 * benchtests/atan-inputs: New inputs. Fix name of multiple
5570 precision fallback inputs.
5571
5572 * benchtests/atanh-inputs: New inputs.
5573 * benchtests/tanh-inputs: Likewise.
5574
5575 * benchtests/acosh-inputs: New inputs.
5576 * benchtests/asinh-inputs: Likewise.
5577
5578 * benchtests/cosh-inputs: New inputs.
5579 * benchtests/sinh-inputs: Likewise.
5580
5581 * benchtests/acos-inputs: Add more inputs.
5582 * benchtests/asin-inputs: Likewise.
5583
5584 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
5585
5586 [BZ #16375]
5587 * manual/arith.texi: Fix spelling.
5588 * manual/charset.texi: Likewise.
5589 * manual/errno.texi: Likewise.
5590 * manual/filesys.texi: Likewise.
5591 * manual/lang.texi: Likewise.
5592 * manual/llio.texi: Likewise.
5593 * manual/locale.texi: Likewise.
5594 * manual/message.texi: Likewise.
5595 * manual/resource.texi: Likewise.
5596 * manual/search.texi: Likewise.
5597 * manual/setjmp.texi: Likewise.
5598 * manual/stdio.texi: Likewise.
5599 * manual/string.texi: Likewise.
5600 * manual/sysinfo.texi: Likewise.
5601 * manual/time.texi: Likewise.
5602
5603 2013-12-27 Carlos O'Donell <carlos@redhat.com>
5604
5605 * po/sl.po: New file.
5606
5607 2013-12-27 Mike Frysinger <vapier@gentoo.org>
5608
5609 * .gitignore: Add core/.gdbinit/.gdb_history.
5610
5611 2013-12-27 Allan McRae <allan@archlinux.org>
5612
5613 [BZ #16369]
5614 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5615 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5616
5617 2013-12-24 Brooks Moses <bmoses@google.com>
5618
5619 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5620 all compilers that claim C++98 compliance, not just GCC.
5621 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5622 Likewise.
5623
5624 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5625
5626 * NEWS: Restore accidentally deleted bug-fix entries.
5627
5628 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5629 Ondřej Bílka <neleai@seznam.cz>
5630
5631 [BZ #15073]
5632 * malloc/malloc.c (_int_free): Perform sanity check only if we
5633 have_lock.
5634
5635 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
5636
5637 [BZ #12986]
5638 * manual/stdio.texi (String Input Conversions): Clarify that character
5639 classes are not supported.
5640
5641 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5642
5643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5644
5645 2013-12-22 Joseph Myers <joseph@codesourcery.com>
5646
5647 [BZ #16337]
5648 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5649 Calculate results for small negative arguments directly rather
5650 than using reflection formula with special underflow handling.
5651
5652 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5653 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5654 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5655 (fchflags): Likewise.
5656 (revoke): Likewise.
5657 (setlogin): Likewise.
5658 (sigaltstack): Likewise.
5659 (wait4): Likewise.
5660 (sigblock): Remove.
5661 (sigsetmask): Likewise.
5662 (wait3): Likewise.
5663 (waitpid): Likewise.
5664 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5665 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5666 file.
5667 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5668 * sysdeps/unix/bsd/Makefile: ... here.
5669 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5670 * sysdeps/unix/bsd/Versions: ... here.
5671 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5672 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5673 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5674 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5675 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5676 * sysdeps/unix/bsd/sigblock.c: ... here.
5677 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5678 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5679 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5680 * sysdeps/unix/bsd/sigvec.c: ... here.
5681 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5682 * sysdeps/unix/bsd/tcdrain.c: ... here.
5683 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5684 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5685 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5686 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5687 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5688 * sysdeps/unix/bsd/wait.c: ... here.
5689 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5690 * sysdeps/unix/bsd/wait3.c: ... here.
5691 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5692 * sysdeps/unix/bsd/waitpid.c: ... here.
5693
5694 2013-12-21 Joseph Myers <joseph@codesourcery.com>
5695
5696 [BZ #16356]
5697 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5698 round-to-nearest for [!USE_AS_EXPM1L].
5699 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5700 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5701 more tests of exp and exp10. Expect some exp10 tests to miss
5702 exceptions or fail in directed rounding modes.
5703 * math/auto-libm-test-out: Regenerated.
5704 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5705 (exp10_test_tonearest): New function.
5706 (exp10_towardzero_test_data): New array.
5707 (exp10_test_towardzero): New function.
5708 (exp10_downward_test_data): New array.
5709 (exp10_test_downward): New function.
5710 (exp10_upward_test_data): New array.
5711 (exp10_test_upward): New function.
5712 (main): Call the new functions.
5713 * sysdeps/i386/fpu/libm-test-ulps: Update.
5714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5715
5716 2013-12-20 Joseph Myers <joseph@codesourcery.com>
5717
5718 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5719 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5720 * math/auto-libm-test-out: Regenerated.
5721 * math/libm-test.inc (acosh_test_data): Add more tests.
5722 (atanh_test_data): Likewise.
5723 (ceil_test_data): Likewise.
5724 (copysign_test_data): Likewise.
5725 * sysdeps/i386/fpu/libm-test-ulps: Update.
5726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5727
5728 * timezone/checktab.awk: Update from tzcode 2013i.
5729 * timezone/private.h: Likewise.
5730 * timezone/scheck.c: Likewise.
5731 * timezone/tzfile.h: Likewise.
5732 * timezone/tzselect.ksh: Likewise.
5733 * timezone/zdump.c: Likewise.
5734 * timezone/zic.c: Likewise.
5735
5736 * math/auto-libm-test-in: Add tests of cpow.
5737 * math/auto-libm-test-out: Regenerated.
5738 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5739 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5740 mpc_cc_c.
5741 (func_calc_desc): Add mpc_cc_c union field.
5742 (test_functions): Add cpow.
5743 (special_fill_2pi): New function.
5744 (special_real_inputs): Add 2pi.
5745 (calc_generic_results): Handle mpc_cc_c.
5746 * sysdeps/i386/fpu/libm-test-ulps: Update.
5747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5748
5749 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5750 csqrt, ctan and ctanh.
5751 * math/auto-libm-test-out: Regenerated.
5752 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5753 (TEST_COND_x86): Likewise.
5754 (ccos_test_data): Use AUTO_TESTS_c_c.
5755 (ccosh_test_data): Likewise.
5756 (cexp_test_data): Likewise.
5757 (clog_test_data): Likewise.
5758 (csqrt_test_data): Likewise.
5759 (ctan_test_data): Likewise.
5760 (ctan_tonearest_test_data): Likewise.
5761 (ctan_towardzero_test_data): Likewise.
5762 (ctan_downward_test_data): Likewise.
5763 (ctan_upward_test_data): Likewise.
5764 (ctanh_test_data): Likewise.
5765 (ctanh_tonearest_test_data): Likewise.
5766 (ctanh_towardzero_test_data): Likewise.
5767 (ctanh_downward_test_data): Likewise.
5768 (ctanh_upward_test_data): Likewise.
5769 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5770 mpc_c_c.
5771 (func_calc_desc): Add mpc_c_c union field.
5772 (FUNC_mpc_c_c): New macro.
5773 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5774 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5775 ctanh.
5776 (special_fill_min_subnorm_p120): New function.
5777 (special_real_inputs): Add min_subnorm_p120.
5778 (calc_generic_results): Handle mpc_c_c.
5779 * sysdeps/i386/fpu/libm-test-ulps: Update.
5780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5781
5782 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5783
5784 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
5785 (do_sin_slow): New functions.
5786 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
5787 (cslow2, csloww1, csloww2): Use the new functions.
5788
5789 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5790 Use M to change sign of result instead of X. Assume X is
5791 positive.
5792 (csloww1): Likewise.
5793 (__sin): Adjust.
5794 (__cos): Adjust.
5795
5796 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5797 arguments A and DA.
5798 (__sin): Adjust.
5799 (__cos): Likewise.
5800
5801 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5802 (__cos): Likewise.
5803 (sloww1): Don't adjust sign of DX.
5804 (csloww1): Likewise.
5805 (sloww2): Use X directly and don't adjust sign of DX.
5806 (csloww2): Likewise.
5807
5808 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5809
5810 * math/auto-libm-test-in: Add tests of cabs and carg.
5811 * math/auto-libm-test-out: Regenerated.
5812 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5813 (carg_test_data): Likewise.
5814 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5815 mpc_c_f.
5816 (func_calc_desc): Add mpc_c_f union field.
5817 (test_functions): Add cabs and carg.
5818 (calc_generic_results): Handle mpc_c_f.
5819
5820 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5821 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5822 as a macro and a compat symbol.
5823 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5824 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5825 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5826 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5827 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5829 not use .hidden.
5830 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5831 Likewise.
5832 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5833 Likewise.
5834 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5835 Likewise.
5836 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5837 Likewise.
5838 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5839 Likewise.
5840 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5841 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5842 from GLIBC_2.3.2.
5843
5844 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5845
5846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5847
5848 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5849
5850 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5851 trailing whitespace removed.
5852 * scripts/config.guess: Update to version 2013-11-29.
5853 * scripts/config.sub: Update to version 2013-10-01.
5854
5855 * math/auto-libm-test-in: Add tests of sincos.
5856 * math/auto-libm-test-out: Regenerated.
5857 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5858 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5859 mpfr_f_11.
5860 (func_calc_desc): Add mpfr_f_11 union field.
5861 (test_functions): Add sincos.
5862 (calc_generic_results): Handle mpfr_f_11.
5863 * sysdeps/i386/fpu/libm-test-ulps: Update.
5864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5865
5866 2013-12-19 Andreas Schwab <schwab@suse.de>
5867
5868 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5869 CALL_MCOUNT.
5870 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5871 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5872 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5873
5874 2013-12-19 Joseph Myers <joseph@codesourcery.com>
5875
5876 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5877 * sysdeps/i386/fpu/libm-test-ulps: Update.
5878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5879
5880 [BZ #16293]
5881 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5882 round-to-nearest mode when using frndint.
5883 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5884 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5885 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5886 Likewise.
5887 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5888 sinh test to fail.
5889 * math/auto-libm-test-out: Regenerated.
5890 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5891 (TEST_COND_x86): Likewise.
5892 (expm1_tonearest_test_data): New array.
5893 (expm1_test_tonearest): New function.
5894 (expm1_towardzero_test_data): New array.
5895 (expm1_test_towardzero): New function.
5896 (expm1_downward_test_data): New array.
5897 (expm1_test_downward): New function.
5898 (expm1_upward_test_data): New array.
5899 (expm1_test_upward): New function.
5900 (main): Run the new test functions.
5901 * sysdeps/i386/fpu/libm-test-ulps: Update.
5902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5903
5904 * include/features.h: Update comment documenting feature test
5905 macros. Mention _DEFAULT_SOURCE in comment.
5906 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5907 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5908 _BSD_SOURCE and _SVID_SOURCE.
5909 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5910 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5911 !_SVID_SOURCE]: Likewise.
5912 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5913 (__USE_POSIX_IMPLICITLY): Define.
5914 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5915 (_POSIX_SOURCE): Undefine and redefine.
5916 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5917 (_POSIX_C_SOURCE): Likewise.
5918 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5919 (Feature Test Macros): Update documentation of default features.
5920
5921 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5922
5923 * benchtests/Makefile: Add bench-strtok.
5924 * benchtests/bench-strtok.c: New file: strtok benchtest.
5925
5926 2013-12-19 Allan McRae <allan@archlinux.org>
5927
5928 * manual/install.texi: Suppress menu for plain text output.
5929 * INSTALL: Regenerated.
5930
5931 2013-12-18 Brooks Moses <bmoses@google.com>
5932
5933 [BZ #15846]
5934 * misc/getauxval.c: Include errno.h.
5935 (__getauxval): Set errno to ENOENT if the requested type is not
5936 found.
5937 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5938 don't declare with __attribute_const__.
5939 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5940 * manual/startup.texi: Document that getauxval sets errno.
5941
5942 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5943
5944 * math/auto-libm-test-in: Add tests of jn and yn.
5945 * math/auto-libm-test-out: Regenerated.
5946 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5947 (yn_test_data): Likewise.
5948 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5949 mpfr_if_f.
5950 (func_calc_desc): Add mpfr_if_f union field.
5951 (FUNC_mpfr_if_f): New macro.
5952 (test_functions): Add jn and yn.
5953 (calc_generic_results): Assert type of second input for
5954 mpfr_ff_f. Handle mpfr_if_f.
5955 (output_for_one_input_case): Disable all checking for arguments
5956 fitting floating-point types in case of an integer argument.
5957 * sysdeps/i386/fpu/libm-test-ulps: Update.
5958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5959
5960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5961 Don't expect fegetround reference in libm.so.
5962
5963 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5964
5965 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5966 $(config-cflags-nofma).
5967
5968 2013-12-18 Joseph Myers <joseph@codesourcery.com>
5969
5970 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5971 * math/auto-libm-test-out: Regenerated.
5972
5973 [BZ #16338]
5974 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5975 to determine exponent and adjust argument to have exponent of -1.
5976 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5977 log2.
5978 * math/auto-libm-test-out: Regenerated.
5979 * sysdeps/i386/fpu/libm-test-ulps: Update.
5980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5981
5982 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
5983
5984 * manual/probes.texi: Remove cases when per-thread arenas are
5985 disabled.
5986
5987 2013-12-18 Andreas Schwab <schwab@suse.de>
5988
5989 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5990 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5991 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5992 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5993 * sysdeps/i386/i686/multiarch/Makefile: Update.
5994 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5995
5996 2013-12-17 Joseph Myers <joseph@codesourcery.com>
5997
5998 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5999 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
6000
6001 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
6002
6003 [BZ #15968]
6004 Support TZ transition times < 00:00:00.
6005 This is needed for version-3 tz-format files; it supports time
6006 stamps past 2037 for America/Godthab (the only entry in the tz
6007 database for which this change is relevant).
6008 * manual/time.texi (TZ Variable): Document transition times
6009 from -167:59:59 through -00:00:01.
6010 * time/tzset.c (tz_rule): Time of day is now signed.
6011 (__tzset_parse_tz): Parse negative time of day.
6012
6013 Document TZ transition times >= 25:00:00.
6014 * manual/time.texi (TZ Variable): Document transition times from
6015 25:00:00 through 167:59:59. These are already supported, and this
6016 support will help with version-3 tz-format files.
6017
6018 * manual/time.texi (TZ Variable): Modernize North America example
6019 to reflect current (i.e., 2007-and-later) daylight saving rules.
6020
6021 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
6022
6023 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6024
6025 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
6026 * sysdeps/unix/bsd/bits/stat.h: Likewise.
6027 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
6028 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
6029 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
6030 * sysdeps/unix/bsd/bsdstat.h: Likewise.
6031 * sysdeps/unix/bsd/clock.c: Likewise.
6032 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
6033 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
6034 * sysdeps/unix/bsd/init-posix.c: Likewise.
6035 * sysdeps/unix/bsd/poll.c: Likewise.
6036 * sysdeps/unix/bsd/ptsname.c: Likewise.
6037 * sysdeps/unix/bsd/seekdir.c: Likewise.
6038 * sysdeps/unix/bsd/setegid.c: Likewise.
6039 * sysdeps/unix/bsd/seteuid.c: Likewise.
6040 * sysdeps/unix/bsd/setgid.c: Likewise.
6041 * sysdeps/unix/bsd/setrgid.c: Likewise.
6042 * sysdeps/unix/bsd/setruid.c: Likewise.
6043 * sysdeps/unix/bsd/setsid.c: Likewise.
6044 * sysdeps/unix/bsd/setuid.c: Likewise.
6045 * sysdeps/unix/bsd/sigaction.c: Likewise.
6046 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
6047 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
6048 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
6049 * sysdeps/unix/bsd/telldir.c: Likewise.
6050 * sysdeps/unix/bsd/times.c: Likewise.
6051 * sysdeps/unix/bsd/usleep.c: Likewise.
6052
6053 * misc/Makefile (install-lib): Remove libbsd-compat.a.
6054 ($(objpfx)libbsd-compat.a): Remove rule.
6055
6056 * include/features.h (__FAVOR_BSD): Do not define.
6057 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
6058 features conflicting with POSIX.
6059 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
6060 (_BSD_SOURCE): Remove description of not being a subset of other
6061 feature test macros.
6062 * manual/job.texi (getpgrp): Do not document BSD version.
6063 (getpgid): Do not document by reference to BSD getpgrp.
6064 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
6065 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
6066 * signal/signal.h [__FAVOR_BSD]: Likewise.
6067 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
6068 instead of making contents conditional on [__FAVOR_BSD].
6069 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
6070
6071 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6072
6073 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6074
6075 2013-12-17 Joseph Myers <joseph@codesourcery.com>
6076
6077 [BZ #16314]
6078 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
6079 values below 2**-450, not 2**-500.
6080 * math/auto-libm-test-in: Don't allow spurious underflow from
6081 hypot.
6082 * math/auto-libm-test-out: Regenerated.
6083
6084 [BZ #16316]
6085 [BZ #16330]
6086 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
6087 values of ha and hb and sort them after adjusting subnormal
6088 arguments.
6089 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
6090 Likewise.
6091 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
6092 values of ea and eb and sort them after adjusting subnormal
6093 arguments.
6094 * math/auto-libm-test-in: Do not expect some hypot tests of
6095 subnormals to fail. Add more hypot tests.
6096 * math/auto-libm-test-out: Regenerated.
6097
6098 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6099
6100 [BZ #13304]
6101 * sysdeps/sh/s_fma.c: New file.
6102 * sysdeps/sh/s_fmaf.c: New file.
6103 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
6104 version.
6105 * sysdeps/sh/Implies: Add sh/soft-fp.
6106
6107 2013-12-16 Roland McGrath <roland@hack.frob.com>
6108
6109 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
6110 level of indirection to members `objname', `errstring', `malloced'.
6111 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
6112 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
6113 it as the __longjmp argument (just pass 1 instead).
6114 (_dl_catch_error): Initialize C with argument pointers and address of
6115 volatile local ERRCODE rather than copying values out of C at return.
6116
6117 2013-12-16 Joseph Myers <joseph@codesourcery.com>
6118
6119 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
6120 * math/auto-libm-test-out: Regenerated.
6121 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
6122 (hypot_test_data): Likewise.
6123 (pow_test_data): Likewise.
6124 (pow_tonearest_test_data): Likewise.
6125 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6126 mpfr_ff_f.
6127 (func_calc_desc): Add mpfr_ff_f union field.
6128 (FUNC_mpfr_ff_f): New macro.
6129 (test_functions): Add atan2, hypot and pow.
6130 (special_fill_min): New function.
6131 (special_fill_minus_min): Likewise.
6132 (special_fill_min_subnorm): Likewise.
6133 (special_fill_minus_min_subnorm): Likewise.
6134 (special_real_inputs): Add min, -min, min_subnorm and
6135 -min_subnorm.
6136 (calc_generic_results): Handle mpfr_ff_f.
6137 * sysdeps/i386/fpu/libm-test-ulps: Update.
6138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6139
6140 2013-12-16 Will Newton <will.newton@linaro.org>
6141
6142 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
6143 (Aligned Memory Blocks): Add documentation for aligned_alloc
6144 and suggest it as an alternative to posix_memalign.
6145 (Hooks for Malloc): Document __memalign_hook is also called
6146 for aligned_alloc. (Summary of Malloc): Add summary for
6147 aligned alloc. Document __memalign_hook is also called
6148 for aligned_alloc.
6149
6150 2013-12-16 Will Newton <will.newton@linaro.org>
6151
6152 * manual/memory.texi (Malloc Examples): Clarify default
6153 alignment documentation. Suggest posix_memalign rather
6154 than memalign or valloc.
6155 (Aligned Memory Blocks): Remove suggestion to use memalign
6156 or valloc. Remove obsolete comment about BSD.
6157 Document memalign errno values and mark the function obsolete.
6158 Document posix_memalign returned error codes. Mark valloc
6159 as obsolete. (Hooks for Malloc): __memalign_hook is also
6160 called for posix_memalign and valloc.
6161 (Summary of Malloc): Add posix_memalign to function summary.
6162 __memalign_hook is also called for posix_memalign and valloc.
6163
6164 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6165
6166 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
6167 TAYLOR_SIN.
6168 (__sin): Adjust.
6169 (__cos): Likewise.
6170 (sloww): Use mynumber union. Expand ternary operator into
6171 if-else statements.
6172 (cslow): use mynumber union.
6173
6174 2013-12-16 Allan McRae <allan@archlinux.org>
6175
6176 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
6177 * configure: Regenerated.
6178
6179 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
6180
6181 [BZ #14120]
6182 * configure.ac: Added --enable-maintainer-mode. Check for
6183 autoconf when enabled.
6184 * configure: Regenerated.
6185
6186 * nscd/nscd.service: New file.
6187 * nscd/nscd.tmpfiles: New file.
6188
6189 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
6190
6191 [BZ #12100]
6192 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
6193 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
6194 * sysdeps/x86_64/multiarch/strstr.c: ... here.
6195 (strstr): Add __strstr_sse2_unaligned ifunc.
6196 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
6197 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
6198 (strcasestr): Remove __strcasestr_sse42 ifunc.
6199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
6200 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
6202
6203 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6204
6205 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
6206 * sysdeps/sh/bits/fenv.h: ... here.
6207 * sysdeps/sh/sh4/fpu/bits: Remove directory.
6208
6209 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6210
6211 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
6212
6213 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
6214 hypotf multiarch implementations.
6215 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
6216 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
6217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
6218 multiarch hypot for PPC64.
6219 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
6220 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
6221 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
6222 multiarch hypotf for PPC64.
6223
6224 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
6225 modff multiarch implementations.
6226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
6227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
6228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
6229 multiarch modf for PPC64.
6230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
6231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
6232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
6233 multiarch modff for PPC64.
6234
6235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
6236 and logl multiarch implementations.
6237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
6238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
6239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
6240 multiarch logb for PPC64.
6241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
6242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
6243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
6244 multiarch logb for PPC64.
6245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
6246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
6247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
6248 multiarch logb for PPC64.
6249
6250 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
6251 isinff multiarch implementation.
6252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
6253 file.
6254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
6255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
6256 multiarch isinf for PPC64.
6257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
6258 file.
6259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
6260 multiarch isinff for PPC64.
6261
6262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
6263 finitef multiarch implementation.
6264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
6265 file.
6266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
6267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
6268 multiarch finite for PPC64.
6269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
6270 file.
6271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
6272 multiarch finitef for PPC64.
6273
6274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
6275 lrint multiarch implementation.
6276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
6277 file.
6278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
6279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
6280 multiarch llrint for PPC64.
6281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
6282 multiarch lrint for PPC64.
6283
6284 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
6285 copysignf multiarch implementation.
6286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
6287 file.
6288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
6289 file.
6290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
6291 multiarch copysign for PPC64.
6292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
6293 multiarch copysignf for PPC64.
6294
6295 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
6296 multiarch implementation.
6297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
6298 file.
6299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
6300 file.
6301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
6302 file.
6303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
6304 file.
6305 multiarch llround for PPC64.
6306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
6307 multiarch trunc for PPC64.
6308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
6309 multiarch truncf for PPC64.
6310
6311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
6312 multiarch implementation.
6313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
6314 file.
6315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
6316 file.
6317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
6318 file.
6319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
6320 file.
6321 multiarch llround for PPC64.
6322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
6323 multiarch round for PPC64.
6324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
6325 multiarch roundf for PPC64.
6326
6327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
6328 multiarch implementation.
6329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
6330 file.
6331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
6332 file.
6333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
6334 file.
6335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
6336 file.
6337 multiarch llround for PPC64.
6338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
6339 multiarch floor for PPC64.
6340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
6341 multiarch floorf for PPC64.
6342
6343 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
6344 multiarch implementation.
6345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
6346 file.
6347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
6348 file.
6349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
6350 file.
6351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
6352 file.
6353 multiarch llround for PPC64.
6354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
6355 multiarch ceil for PPC64.
6356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
6357 multiarch ceilf for PPC64.
6358
6359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6360 multiarch implementation.
6361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
6362 file.
6363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
6364 file.
6365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
6366 file.
6367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
6368 multiarch llround for PPC64.
6369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
6370 multiarch lround for PPC64.
6371
6372 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6373 multiarch implementation.
6374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
6375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
6376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
6377 file.
6378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
6379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
6380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
6381 multiarch isnan for PPC64.
6382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
6383 multiarch isnanf for PPC64.
6384
6385 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6386 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6387 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6388 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6389 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6391
6392 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6393 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6394 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6395 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6396
6397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6398 multiarch implementations.
6399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6400 (__libc_ifunc_impl_list): Likewise.
6401 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6402 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6403 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6404 multiarch stpcpy for PPC64.
6405
6406 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6407 multiarch implementations.
6408 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6409 (__libc_ifunc_impl_list): Likewise.
6410 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6411 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6412 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6413 multiarch strcpy for PPC64.
6414
6415 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6416 redefine function name.
6417 (_wordcopy_fwd_dest_aligned): Likewise.
6418 (_wordcopy_bwd_aligned): Likewise.
6419 (_wordcopy_bwd_dest_aligned): Likewise.
6420 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6421 multiarch implementations.
6422 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6423 (__libc_ifunc_impl_list): Likewise.
6424 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6425 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6426 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6427 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6428 multiarch wcscpy for PPC64.
6429
6430 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6431 multiarch implementations.
6432 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6433 (__libc_ifunc_impl_list): Likewise.
6434 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6435 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6436 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6437 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6438 multiarch wcscpy for PPC64.
6439
6440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6441 multiarch implementations.
6442 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6443 (__libc_ifunc_impl_list): Likewise.
6444 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6445 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6446 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6447 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6448 multiarch wcsrchr for PPC64.
6449
6450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6451 multiarch implementations.
6452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6453 (__libc_ifunc_impl_list): Likewise.
6454 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6455 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6456 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6457 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6458 multiarch wcschr for PPC64.
6459
6460 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6461 multiarch implementations.
6462 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6463 (__libc_ifunc_impl_list): Likewise.
6464 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6465 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6466 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6467 multiarch strchrnul for PPC64.
6468
6469 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6470 implementations.
6471 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6472 (__libc_ifunc_impl_list): Likewise.
6473 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6474 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6475 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6476 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6477 strchr for PPC64.
6478
6479 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6480 implementations.
6481 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6482 (__libc_ifunc_impl_list): Likewise.
6483 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6484 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6485 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6486 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6487 strncmp for PPC64.
6488
6489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6490 multiarch implementations.
6491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6492 (__libc_ifunc_impl_list): Likewise.
6493 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6494 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6495 strncasecmp for PPC64.
6496 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6497 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6498 multiarch strncasecmp_l for PPC64.
6499
6500 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6501 multiarch implementations.
6502 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6503 (__libc_ifunc_impl_list): Likewise.
6504 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6505 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6506 multiarch strcasecmp for PPC64.
6507 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6508 file.
6509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6510 multiarch strcasecmp_l for PPC64.
6511
6512 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6513 implementations.
6514 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6515 (__libc_ifunc_impl_list): Likewise.
6516 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6517 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6518 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6519 strnlen for PPC64.
6520
6521 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6522 implementations.
6523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6524 (__libc_ifunc_impl_list): Likewise.
6525 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6526 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6527 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6528 strlen for PPC64.
6529
6530 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6531 implementations.
6532 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6533 (__libc_ifunc_impl_list): Likewise.
6534 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6535 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6536 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6537 rawmemrchr for PPC64.
6538
6539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6540 implementation.
6541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6542 (__libc_ifunc_impl_list): Likewise.
6543 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6544 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6545 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6546 memrchr for PPC64.
6547
6548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6549 implementation.
6550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6551 (__libc_ifunc_impl_list): Likewise.
6552 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6553 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6554 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6555 memchr for PPC64.
6556
6557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6558 implementation.
6559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6560 (__libc_ifunc_impl_list): Likewise.
6561 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6562 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6563 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6564 mempcpy for PPC64.
6565
6566 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6567 avoid cretion of __bzero symbol.
6568 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6569 Likewise.
6570 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6571 Likewise.
6572 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6573 Likewise.
6574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6575 multiarch implementations.
6576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6577 (__libc_ifunc_impl_list): Likewise.
6578 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6579 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6580 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6581 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6582 bzero for PPC32.
6583 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6584 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6585 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6586 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6587 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6588 memset for PPC64.
6589 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6590
6591 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6592 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6593 implementations.
6594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6595 (__libc_ifunc_impl_list): Likewise.
6596 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6597 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6598 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6599 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6600 memcmp for PPC64.
6601
6602 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6603 multiarch for POWER/PPC64.
6604 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6605 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6606 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6607 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6608 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6609 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6610 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6611 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6612 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6613 memcpy for PPC64.
6614
6615 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6616 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6617 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6618 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6619 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6620 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6621 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6622 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6623 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6624 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6625 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6626 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6627 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6628 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6629 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6637
6638 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6639
6640 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6641
6642 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6643
6644 * benchtests/Makefile (bench): Add exp2 and log2.
6645 (LDLIBS-bench-exp2): Add -lm.
6646 (LDLIBS-bench-log2): Likewise.
6647 * benchtests/exp2-inputs: New inputs file.
6648 * benchtests/log2-inputs: New inputs file.
6649 * benchtests/log-inputs: Add new inputs.
6650 * benchtests/tan-inputs: Likewise.
6651
6652 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6653
6654 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6655 definition...
6656 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
6657 (csloww2): ... from here.
6658
6659 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6660 instead of structures.
6661 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6662 (POLYNOMIAL): Likewise.
6663 (TAYLOR_SLOW): Likewise.
6664 (__sin): Likewise.
6665 (__cos): Likewise.
6666 (slow1): Likewise.
6667 (slow2): Likewise.
6668 (sloww): Likewise.
6669 (sloww1); Likewise.
6670 (sloww2): Likewise.
6671 (bsloww1): Likewise.
6672 (bsloww2): Likewise.
6673 (cslow2): Likewise.
6674 (csloww): Likewise.
6675 (csloww1): Likewise.
6676 (csloww2): Likewise.
6677
6678 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
6679
6680 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6681 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
6682 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
6683 * malloc/hooks.c (realloc_check): Likewise.
6684
6685 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6686 * malloc/arena.c: Remove PER_THREAD conditional.
6687 [!PER_THREAD]: Remove code.
6688 (ptmalloc_unlock_all2): Likewise.
6689 (ptmalloc_init): Likewise.
6690 (_int_new_arena): Likewise.
6691 (arena_get2): Likewise.
6692 * malloc/hooks.c (__malloc_get_state): Likewise.
6693 (__malloc_set_state): Likewise.
6694 * malloc/malloc.c: Likewise.
6695 (struct malloc_state): Likewise.
6696 (struct malloc_par): Likewise.
6697 (__libc_realloc): Likewise.
6698 (__libc_mallopt): Likewise.
6699
6700 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6701
6702 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6703
6704 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
6705
6706 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6707 macro to a function. Check for zero perturb_byte.
6708 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6709
6710 * malloc/malloc.c: (force_reg): Remove.
6711 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
6712 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6713 force_reg by atomic_forced_read.
6714 * malloc/arena.c (ptmalloc_init): Likewise.
6715 * malloc/hooks.c (top_check): Likewise.
6716
6717 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6718
6719 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6720
6721 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6722
6723 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6724
6725 2013-12-08 Joseph Myers <joseph@codesourcery.com>
6726
6727 * math/auto-libm-test-in: Add tests of lgamma.
6728 * math/auto-libm-test-out: Regenerated.
6729 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6730 (M_LOG_2_SQRT_PIl): Likewise.
6731 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6732 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6733 mpfr_f_f1.
6734 (func_calc_desc): Add mpfr_f_f1 union field.
6735 (ARGS1): New macro.
6736 (ARGS2): Likewise.
6737 (ARGS3): Likewise.
6738 (ARGS4): Likewise.
6739 (RET1): Likewise.
6740 (RET2): Likewise.
6741 (CALC): Likewise.
6742 (FUNC): Likewise.
6743 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6744 (test_functions): Add lgamma.
6745 (calc_generic_results): Handle mpfr_f_f1.
6746 * sysdeps/i386/fpu/libm-test-ulps: Update.
6747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6748
6749 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6750
6751 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6752 __mpn_add_n for PowerPC64/POWER7.
6753 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6754 __mpn_sub_n for PowerPC64/POWER7.
6755
6756 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6757 __mpn_addmul_1 for PowerPC64.
6758 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6759 __mpn_submul_1 for PowerPC64.
6760 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6761 for PowerPC64.
6762 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6763 for PowerPC64.
6764
6765 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6766
6767 [BZ #15089]
6768 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6769
6770 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6771
6772 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6773
6774 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6775 add multiarch folders.
6776 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6777 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6778 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6779 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6780 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6781 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6782 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6783 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6784 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6785 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6786 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6793
6794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6795 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6797 New file.
6798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6799 New file.
6800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6801 multiarch __ieee754_hypot for PowerPC32.
6802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6803 New file.
6804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6805 New file.
6806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6807 multiarch __ieee754_hypotf for PowerPC32.
6808
6809 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6810 long_double_symbol only if __logbl is defined.
6811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6812 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6813 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6814 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6816 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6817 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6818 path for implementation.
6819 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6820 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6822 logb, and logbl multiarch implementations for PowerPC32.
6823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6824 file.
6825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6826 file.
6827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6828 multiarch logb for PowerPC32.
6829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6830 file.
6831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6832 file.
6833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6834 multiarch logbf for PowerPC32.
6835 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6837 file.
6838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6839 multiarch logbl implementation for PowerPC32.
6840
6841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6842 and modff multiarch implementations.
6843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6844 New file.
6845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6846 New file.
6847 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6848 multiarch modf for PowerPC32.
6849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6850 New file.
6851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6852 New file.
6853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6854 multiarch modff for PowerPC32.
6855
6856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6857 and lrintf multiarch implementations.
6858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6859 New file.
6860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6861 New file.
6862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6863 multiarch lrint for PowerPC32.
6864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6865 file: multiarch lrintf for PowerPC32.
6866
6867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6868 and lroundf multiarch implementations.
6869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6870 New file.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6872 New file.
6873 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6874 New file.
6875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6876 multiarch lround for PowerPC32.
6877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6878 file: multiarch lroundf for PowerPC32.
6879
6880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6881 copysign and copysignf multiarch implementations.
6882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6883 New file.
6884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6885 New file.
6886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6887 file: multiarch copysign for PowerPC32.
6888 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6889 file: multiarch copysignf for PowerPC32.
6890
6891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6892 and truncf multiarch implementations.
6893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6894 New file.
6895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6896 file.
6897 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6898 multiarch trunc for PowerPC32.
6899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6900 New file.
6901 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6902 New file.
6903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6904 multiarch truncf for PowerPC32.
6905
6906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6907 and roundf multiarch implementations.
6908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6909 New file.
6910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6911 file.
6912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6913 multiarch round for PowerPC32.
6914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6915 New file.
6916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6917 New file.
6918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6919 multiarch roundf for PowerPC32.
6920
6921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6922 and floorf multiarch implementations.
6923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6924 New file.
6925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6926 file.
6927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6928 multiarch floor for PowerPC32.
6929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6930 New file.
6931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6932 New file.
6933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6934 multiarch floorf for PowerPC32.
6935
6936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6937 and ceilf multiarch implementations.
6938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6939 New file.
6940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6941 file.
6942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6943 multiarch ceil for PowerPC32.
6944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6945 New file.
6946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6947 file.
6948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6949 multiarch ceilf for PowerPC32.
6950
6951 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6952 is defined.
6953 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6954 FINITEF is defined.
6955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6956 and finitef multiarch implementations.
6957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6958 New file.
6959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6960 file.
6961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6962 multiarch finite for PowerPC32.
6963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6964 New file.
6965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6966 file: multiarch finitef for PowerPC32.
6967
6968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6969 and isinff multiarch implementations.
6970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6971 file.
6972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6973 file.
6974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6975 multiarch isinf for PowerPC32.
6976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6977 New file.
6978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6979 multiarch isinff for PowerPC32.
6980
6981 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6982 alias when __isnan is defined.
6983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6984 and isnanf multiarch implementations.
6985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6986 file.
6987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6988 file.
6989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6990 file.
6991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6992 file.
6993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6994 multiarch isnan for PowerPC32.
6995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6996 New file.
6997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6998 New file.
6999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
7000 multiarch isnanf for PowerPC32.
7001
7002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
7003 and sqrtf multiarch implementations.
7004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
7005 file.
7006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
7007 file.
7008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
7009 multiarch sqrt for PowerPC32.
7010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
7011 file.
7012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
7013 file.
7014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
7015 multiarch sqrtf for PowerPC32.
7016
7017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
7018 and llroundf multiarch implementations.
7019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
7020 New file.
7021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
7022 New file.
7023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
7024 New file.
7025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
7026 file: multiarch llround for PowerPC32.
7027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
7028 file: multiarch llroundf for PowerPC32.
7029
7030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
7031 multiarch PowerPC32 fpu implementations.
7032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
7033 New file.
7034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
7035 New file.
7036 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
7037 multiarch llrint for PowerPC32.
7038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
7039 New file.
7040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
7041 New file.
7042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
7043 file.
7044
7045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
7046
7047 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
7048 file.
7049 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
7050 file.
7051 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
7052 file.
7053 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
7054 multiarch wordcopy for PPC32.
7055 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7056 wordcopy objects.
7057 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7058 (__libc_ifunc_impl_list): Likewise.
7059 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
7060 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
7061 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
7062 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
7063 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
7064 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
7065
7066 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
7067 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
7068 file.
7069 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
7070 file.
7071 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
7072 file.
7073 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
7074 multiarch wcscpy for PPC32.
7075 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
7076 multiarch objects.
7077 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7078 (__libc_ifunc_impl_list): Likewise.
7079 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7080 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7081 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
7082 sysdeps/powerpc/power6/wcscpy.c.
7083
7084 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
7085 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
7086 file.
7087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
7088 file.
7089 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
7090 file.
7091 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
7092 multiarch wcsrchr for PPC32.
7093 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7094 multiarch objects.
7095 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7096 (__libc_ifunc_impl_list): Likewise.
7097 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
7098 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
7099 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
7100 sysdeps/powerpc/power6/wcsrchr.c.
7101
7102 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
7103 file.
7104 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
7105 file.
7106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
7107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
7108 multiarch wcschr for PPc32.
7109 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
7110 multiarch objects.
7111 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7112 (__libc_ifunc_impl_list): Likewise.
7113 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
7114 * sysdeps/powerpc/power6/wcschr.c: ... to here.
7115 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
7116 sysdeps/powerpc/power6/wcschr.c.
7117
7118 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
7119 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
7120 file.
7121 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
7122 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
7123 file: multiarch strchr for PPC32.
7124 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
7125 multiarch objects.
7126 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7127 (__libc_ifunc_impl_list): Likewise.
7128
7129 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
7130 name.
7131 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
7132 file.
7133 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
7134 file.
7135 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
7136 multiarch strchrnul for PPC32.
7137 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
7138 multiarch objects.
7139 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7140 (__libc_ifunc_impl_list): Likewise.
7141
7142 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
7143 file.
7144 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
7145 multiarch strncasecmp for PPC32.
7146 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
7147 file.
7148 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
7149 multiarch strncasecmp_l for PPC32.
7150 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
7151 strncasecmp multiarch objects.
7152 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7153 (__libc_ifunc_impl_list): Likewise.
7154
7155 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
7156 file.
7157 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
7158 multiarch strncasecmp for PPC32.
7159 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7160 New file.
7161 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
7162 multiarch strcasecmp_l for PPC32.
7163 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
7164 multiarch objects.
7165 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7166 (__libc_ifunc_impl_list): Likewise.
7167
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
7169 file.
7170 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
7171 file.
7172 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
7173 multiarch strncmp for PPC32.
7174 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
7175 multiarch objects.
7176 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7177 (__libc_ifunc_impl_list): Likewise.
7178
7179 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
7180 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
7181 file.
7182 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
7183 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
7184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
7185 multiarch objects.
7186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7187 (__libc_ifunc_impl_list): Likewise.
7188
7189 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
7190 file.
7191 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
7192 file.
7193 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
7194 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
7195 multiarch objects.
7196 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7197 (__libc_ifunc_impl_list): Likewise.
7198
7199 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
7200 file.
7201 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
7202 file.
7203 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
7204 multiarch rawmemchr for PPC32.
7205 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
7206 multiarch objects.
7207 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7208 (__libc_ifunc_impl_list): Likewise.
7209
7210 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
7211 file.
7212 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
7213 file.
7214 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
7215 file: memrchr multiarch for PPC32.
7216 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
7217 multiarch objects.
7218 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
7219 (__libc_ifunc_impl_list): Likewise.
7220
7221 * string/memchr.c (__memchr): Using macro to redefine symbol name.
7222 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
7223 file.
7224 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7225 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
7226 multiarch memchr for PPC32.
7227 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
7228 multiarch objects.
7229 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7230 (__libc_ifunc_impl_list): Likewise.
7231
7232 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
7233 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
7234 file.
7235 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
7236 file.
7237 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
7238 file: multiarch mempcpy for PPC32.
7239 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
7240 multiarch objects.
7241 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7242 (__libc_ifunc_impl_list): Likewise.
7243
7244 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
7245 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
7246 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
7247 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
7248 multiarch bzero for PPC32.
7249 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
7250 file.
7251 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
7252 file.
7253 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
7254 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
7255 file: multiarch memset for PPC32.
7256 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
7257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
7258 memset multiarch objects.
7259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7260 (__libc_ifunc_impl_list): Likewise.
7261
7262 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
7263 file.
7264 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7266 memcmp for PPC32.
7267 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7268 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7269 multiarch objects.
7270 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7271 (__libc_ifunc_impl_list): Likewise.
7272
7273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7274 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7275 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7276 file.
7277 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7278 file.
7279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7280 file.
7281 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7282 multiarch memcpy for PPC32.
7283 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7284 multiarch objects.
7285 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7286 (__libc_ifunc_impl_list): Likewise.
7287
7288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7289 support multiarch for POWER/PPC32.
7290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7291 Likewise.
7292 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7294 Implies file to make multiarch folder appers before the fpu and
7295 default folder for power4 configuration.
7296
7297 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7298
7299 * scripts/bench.pl: Append volatile keyword to type.
7300
7301 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7302
7303 * sysdeps/sh/sotruss-lib.c: New file.
7304 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7305
7306 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7307
7308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7309
7310 2013-12-05 Joseph Myers <joseph@codesourcery.com>
7311
7312 [BZ #6810]
7313 * math/w_tgamma.c: Include <errno.h>.
7314 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7315 * math/w_tgammaf.c: Include <errno.h>.
7316 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7317 * math/w_tgammal.c: Include <errno.h>.
7318 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7319 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7320 underflow. Add more tgamma tests.
7321 * math/auto-libm-test-out: Regenerated.
7322 * sysdeps/i386/fpu/libm-test-ulps: Update.
7323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7324
7325 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7326 sin, sinh, tan, tanh, tgamma, y0 and y1.
7327 * math/auto-libm-test-out: Regenerated.
7328 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7329 (TEST_COND_x86): Likewise.
7330 (M_E2l): Remove macro.
7331 (M_E3l): Likewise.
7332 (M_2_SQRT_PIl): Likewise.
7333 (M_SQRT_PIl): Likewise.
7334 (M_1_DIV_El): Likewise.
7335 (log_test_data): Use AUTO_TESTS_f_f.
7336 (log10_test_data): Likewise.
7337 (log1p_test_data): Likewise.
7338 (log2_test_data): Likewise.
7339 (sin_test_data): Likewise.
7340 (sin_tonearest_test_data): Likewise.
7341 (sin_towardzero_test_data): Likewise.
7342 (sin_downward_test_data): Likewise.
7343 (sin_upward_test_data): Likewise.
7344 (sinh_test_data): Likewise.
7345 (sinh_tonearest_test_data): Likewise.
7346 (sinh_towardzero_test_data): Likewise.
7347 (sinh_downward_test_data): Likewise.
7348 (sinh_upward_test_data): Likewise.
7349 (tan_test_data): Likewise.
7350 (tan_tonearest_test_data): Likewise.
7351 (tan_towardzero_test_data): Likewise.
7352 (tan_downward_test_data): Likewise.
7353 (tan_upward_test_data): Likewise.
7354 (tanh_test_data): Likewise.
7355 (tgamma_test_data): Likewise.
7356 (y0_test_data): Likewise.
7357 (y1_test_data): Likewise.
7358 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7359 (special_real_inputs): Add pi/4.
7360 * sysdeps/i386/fpu/libm-test-ulps: Update.
7361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7362
7363 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7364
7365 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7366 "longjmp_target" static probes.
7367 (__longjmp): Rename to __longjmp_symbol.
7368 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7369 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7370 on which longjmp to generate.
7371 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7372 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7373 probe.
7374 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7375 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7376 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7377 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7378 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7379 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7381 __longjmp_symbol based on which __longjmp to generate.
7382 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7383 probe.
7384 (setjmp): Rename to setjmp_symbol.
7385 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7386 (_setjmp): Rename to _setjmp_symbol.
7387 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7388 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7389 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7390 which setjmp to generate.
7391 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7392 "longjmp_target" static probes.
7393
7394 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7395
7396 * benchtests/README: Add note about output arguments.
7397 * benchtests/bench-sincos.c: Remove file.
7398 * benchtests/sincos-inputs: New file.
7399 * scripts/bench.pl: Identify output arguments and define
7400 static variables for them.
7401
7402 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7403
7404 [BZ #15941]
7405 * Makefile (INSTALL): Add install-plain.texi as the primary
7406 dependency.
7407 * manual/install-plain.texi: New file.
7408 * manual/install.texi: Include node directive only for
7409 non-plaintext output.
7410
7411 2013-12-04 Joseph Myers <joseph@codesourcery.com>
7412
7413 * stdlib/longlong.h: Update from GCC.
7414
7415 [BZ #6807]
7416 [BZ #15901]
7417 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7418 * math/w_j0f.c (y0f): Likewise.
7419 * math/w_j0l.c (__y0l): Likewise.
7420 * math/w_j1.c (y1): Likewise.
7421 * math/w_j1f.c (y1f): Likewise.
7422 * math/w_j1l.c (__y1l): Likewise
7423 * math/w_jn.c (yn): Likewise.
7424 * math/w_jnf.c (ynf): Likewise.
7425 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7426 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7427 value for Bessel function domain errors outside _SVID_ mode.
7428 Adjust sign of return value for yn (negative integer, 0).
7429 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7430 by zero in return for negative x and set sign appropriately for
7431 negative n.
7432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7433 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7434 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7435 expectations in error cases.
7436 (y1_test_data): Likewise.
7437 (yn_test_data): Likewise.
7438 * sysdeps/i386/fpu/libm-test-ulps: Update.
7439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7440
7441 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7442
7443 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7444 "64" to "64-v1". Add "64-v2".
7445 (abi-64-options): Rename to ...
7446 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7447 (abi-64-condition): Rename to ...
7448 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7449 (abi-64-ld-soname): Rename to ...
7450 (abi-64-v1-ld-soname): ... this.
7451 (abi-64-v2-options): Define.
7452 (abi-64-v2-condition): Likewise.
7453 (abi-64-v2-ld-soname): Likewise.
7454 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7455 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7459
7460 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7461 Alan Modra <amodra@gmail.com>
7462
7463 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7464 New versions for use with the ELFv2 ABI.
7465 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7466 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7467 declaration.
7468 (struct La_ppc64v2_retval): Likewise.
7469 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7470 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7471 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7472 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7473 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7474 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7475 Do not save or restore CR.
7476 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7477 (_dl_profile_resolve): Do no save or restore CR. Support extended
7478 return values for ELFv2 ABI. Fix location of FPR return registers.
7479 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7480 updated values for _CALL_ELF == 2.
7481 (La_regs, La_retval, int_retval): Likewise.
7482
7483 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7484
7485 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7486 (FRAME_MIN_SIZE_PARM): Likewise.
7487 (FRAME_BACKCHAIN): Likewise.
7488 (FRAME_CR_SAVE): Likewise.
7489 (FRAME_LR_SAVE): Likewise.
7490 (FRAME_TOC_SAVE): Likewise.
7491 (FRAME_PARM_SAVE): Likewise.
7492 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7493 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7494 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7495 (call_mcount_parm_offset): New macro.
7496 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7497 (PROF): Use symbolic stack frame offsets.
7498 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7499 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7500 Redefine in terms of FRAME_MIN_SIZE.
7501 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7502 (_dl_profile_resolve): Likewise. Update comment.
7503 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7504 symbols stack frame offsets.
7505 (__sigsetjmp): Likewise.
7506 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7507 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7508 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7509 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7510
7511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7512 (FRAME_BACKCHAIN): Remove.
7513 (FRAME_CR_SAVE): Likewise.
7514 (FRAME_LR_SAVE): Likewise.
7515 (FRAME_COMPILER_DW): Likewise.
7516 (FRAME_LINKER_DW): Likewise.
7517 (FRAME_TOC_SAVE): Likewise.
7518 (FRAME_PARM_SAVE): Likewise.
7519 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
7520 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
7521 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7523 (CHECK_SP): Use symbolic stack frame offsets.
7524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7525 zone" instead of caller's parameter save area for temp storage.
7526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7527 Likewise. Also, use symbolic stack frame offsets.
7528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7529 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7530 our own stack frame instead of the caller's.
7531 (__socket): Use symbolic stack frame offsets.
7532
7533 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7534 Alan Modra <amodra@gmail.com>
7535
7536 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7537 Define.
7538 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
7539 (PPC64_LOCAL_ENTRY_OFFSET): Define.
7540 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7541 New function.
7542 (elf_machine_fixup_plt): Call it.
7543 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7544 reloc arguments.
7545 (elf_machine_rela): Update call to elf_machine_plt_conflict.
7546 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7547 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
7548 r2 before calling target.
7549
7550 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7551 Alan Modra <amodra@gmail.com>
7552
7553 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7554 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7555 versions of macros to support ELFv2 ABI.
7556 (LOCALENTRY): New macro.
7557 (ENTRY, EALIGN): Use it.
7558 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7559 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7560 fall through into ENTRY entry point.
7561 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7562 Only define if _CALL_ELF != 2.
7563
7564 (elf_machine_matches_host): Verify ABI version matches.
7565 (RTLD_START): Use LOCALENTRY.
7566 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7567 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7568 (PLT_ENTRY_WORDS): New macro.
7569 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7570 (elf_machine_runtime_setup): Support ELFv2 ABI.
7571 (elf_machine_fixup_plt): Likewise.
7572 (elf_machine_plt_conflict): Likewise.
7573 (resolve_ifunc): Likewise.
7574 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7575 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7576 Likewise.
7577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7578 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7580 (makecontext): Support ELFv2 ABI.
7581 * elf/elf.h (EF_PPC64_ABI): Define.
7582
7583 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7584
7585 * sysdeps/powerpc/powerpc64/sysdep.h
7586 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
7587 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
7588 (ENTRY) [ASSEMBLER]: ... but instead here ...
7589 (EALIGN) [ASSEMBLER]: ... and here.
7590 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
7591 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
7592 (ENTRY_2) [!ASSEMBLER]: Use it.
7593 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7594 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7595 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
7596 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7597 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7599 Use PPC64_LOAD_FUNCPTR.
7600
7601 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7602
7603 2013-12-04 Alan Modra <amodra@gmail.com>
7604
7605 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7606 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7607 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7608 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7609
7610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7611 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7612 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7613 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7614 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7615 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7616
7617 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7618
7619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7620 (__makecontext): Fix incorrect CFI when backtracing out of
7621 context created via makecontext.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7623 (__setcontext): Fix incorrect CFI during switch to new context.
7624 (__novec_setcontext): Likewise.
7625
7626 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7627
7628 [BZ #4772]
7629 * time/strptime_l.c (__strptime_internal): Allow modifiers
7630 in strptime.
7631 * time/tst-strptime.c (day_tests): Add testcase.
7632
7633 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7634
7635 * scripts/bench.pl: Skip over blank lines.
7636
7637 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7638
7639 [BZ #926]
7640 * manual/time.texi (Calendar Time): Clarify what timezone functions
7641 use.
7642
7643 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7644
7645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7646
7647 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
7648
7649 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7650 implementation.
7651 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7652 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7653 * debug/memset_chk.c (__memset_chk): Likewise.
7654 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7655 * debug/strncpy_chk.c: Likewise.
7656
7657 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7658
7659 [BZ #15268]
7660 [BZ #15425]
7661 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7662 (__ieee754_exp): For possibly underflowing results, check size of
7663 result and force underflow exception if required.
7664 * math/auto-libm-test-in: Add more tests of exp.
7665 * math/auto-libm-test-out: Regenerated.
7666 * sysdeps/i386/fpu/libm-test-ulps: Update.
7667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7668
7669 [BZ #16283]
7670 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7671 * math/w_exp2f.c (__exp2f): Likewise.
7672 * math/w_exp2l.c (__exp2l): Likewise.
7673 * math/auto-libm-test-in: Do not allow missing errno on exp2
7674 underflow.
7675 * math/auto-libm-test-out: Regenerated.
7676
7677 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
7678
7679 [BZ #16274]
7680 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7681 handle filename validation.
7682 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7683 (do_open): Delete.
7684
7685 2013-12-03 Joseph Myers <joseph@codesourcery.com>
7686
7687 [BZ #6786]
7688 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7689 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7690 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7691 <float.h>.
7692 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7693 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7694 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7695 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7696 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7697 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7698 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7699 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7700 Add more erfc tests.
7701 * math/auto-libm-test-out: Regenerated.
7702 * sysdeps/i386/fpu/libm-test-ulps: Update.
7703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7704
7705 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7706 exp2, expm1, j0 and j1.
7707 * math/auto-libm-test-out: Regenerated.
7708 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7709 (erfc_test_data): Likewise.
7710 (exp_test_data): Likewise.
7711 (exp_tonearest_test_data): Likewise.
7712 (exp_towardzero_test_data): Likewise.
7713 (exp_downward_test_data): Likewise.
7714 (exp_upward_test_data): Likewise.
7715 (exp10_test_data): Likewise.
7716 (exp2_test_data): Likewise.
7717 (expm1_test_data): Likewise.
7718 (j0_test_data): Likewise.
7719 (j1_test_data): Likewise.
7720 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7721 (input_flag_type): Add flag_xfail_rounding.
7722 (input_flags): Add xfail-rounding.
7723 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7724 (output_for_one_input_case): Handle flag_xfail_rounding.
7725 * sysdeps/i386/fpu/libm-test-ulps: Update.
7726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7727
7728 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7729
7730 [BZ #16289]
7731 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7732 division by 0.
7733
7734 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7735
7736 [BZ #16195]
7737 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7738 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7739 (STAP_PROBE0): New macro.
7740 (STAP_PROBE1): Likewise.
7741 (STAP_PROBE2): Likewise.
7742 (STAP_PROBE3): Likewise.
7743 (STAP_PROBE4): Likewise.
7744
7745 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
7746
7747 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7748
7749 2013-12-02 Steve Ellcey <sellcey@mips.com>
7750
7751 * benchtests/Makefile (bench): Add sqrt.
7752 (LDLIBS-bench-sqrt): New.
7753 * benchtests/sqrt-input: New.
7754
7755 2013-12-02 Pavel Simerda <psimerda@redhat.com>
7756
7757 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7758 (GAIH_EAI): Likewise.
7759 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7760 (gaih_inet): Likewise.
7761 (getaddrinfo): Don't use GAIH_EAI.
7762
7763 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7764 (struct gaih): Remove definition.
7765
7766 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7767
7768 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7769 Use HERRNOP directly.
7770
7771 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7772
7773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7774
7775 2013-11-30 Joseph Myers <joseph@codesourcery.com>
7776
7777 * math/gen-auto-libm-tests.c (test_functions): Add more
7778 single-argument functions.
7779 (special_fill_pi_2): New function.
7780 (special_fill_minus_pi_2): Likewise.
7781 (special_fill_pi_6): Likewise.
7782 (special_fill_minus_pi_6): Likewise.
7783 (special_fill_pi_3): Likewise.
7784 (special_fill_2pi_3): Likewise.
7785 (special_fill_e): Likewise.
7786 (special_fill_1_e): Likewise.
7787 (special_fill_e_minus_1): Likewise.
7788 (special_real_inputs): Add more special inputs.
7789 (output_for_one_input_case): Do not require ERANGE on underflow to
7790 zero if round-to-nearest result does not underflow to zero, unless
7791 exact results required.
7792 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7793 atan, atanh, cbrt, cos and cosh.
7794 * math/auto-libm-test-out: Regenerated.
7795 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7796 (acos_tonearest_test_data): Likewise.
7797 (acos_towardzero_test_data): Likewise.
7798 (acos_downward_test_data): Likewise.
7799 (acos_upward_test_data): Likewise.
7800 (acosh_test_data): Likewise.
7801 (asin_test_data): Likewise.
7802 (asin_tonearest_test_data): Likewise.
7803 (asin_towardzero_test_data): Likewise.
7804 (asin_upward_test_data): Likewise.
7805 (asinh_test_data): Likewise.
7806 (atan_test_data): Likewise.
7807 (atanh_test_data): Likewise.
7808 (cbrt_test_data): Likewise.
7809 (cos_test_data): Likewise.
7810 (cos_tonearest_test_data): Likewise.
7811 (cos_towardzero_test_data): Likewise.
7812 (cos_downward_test_data): Likewise.
7813 (cos_upward_test_data): Likewise.
7814 (cosh_test_data): Likewise.
7815 (cosh_tonearest_test_data): Likewise.
7816 (cosh_towardzero_test_data): Likewise.
7817 (cosh_downward_test_data): Likewise.
7818 (cosh_upward_test_data): Likewise.
7819 * sysdeps/i386/fpu/libm-test-ulps: Update.
7820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7821
7822 2013-11-29 Joseph Myers <joseph@codesourcery.com>
7823
7824 [BZ #6787]
7825 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7826 * math/w_exp10f.c (__exp10f): Likewise.
7827 * math/w_exp10l.c (__exp10l): Likewise.
7828 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7829 errno settings in existing tests.
7830
7831 [BZ #14032]
7832 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7833 precision control set to double precision.
7834 * sysdeps/i386/fpu/w_sqrt.c: New file.
7835 * math/auto-libm-test-in: Add more tests.
7836 * math/auto-libm-test-out: Update.
7837
7838 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7839 (sqrt_test_tonearest): New function.
7840 (sqrt_towardzero_test_data): New variable.
7841 (sqrt_test_towardzero): New function.
7842 (sqrt_downward_test_data): New variable.
7843 (sqrt_test_downward): New function.
7844 (sqrt_upward_test_data): New variable.
7845 (sqrt_test_upward): New function.
7846 (main): Call the new functions.
7847
7848 * math/gen-auto-libm-tests.c: New file.
7849 * math/auto-libm-test-in: Likewise.
7850 * math/auto-libm-test-out: New generated file.
7851 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7852 variables.
7853 (%beautify): Add generated representations of zero.
7854 (top level): Set $auto_input and call parse_auto_input.
7855 (beautify): Remove trailing "f" from hex float constants.
7856 (parse_args): Handle XFAIL_TEST.
7857 (convert_condition): New function.
7858 (or_value): Likewise.
7859 (or_cond_value): Likewise.
7860 (generate_testfile): Handle AUTO_TESTS_* lines.
7861 (parse_auto_input): New function.
7862 * math/libm-test.inc (XFAIL_TEST): New macro.
7863 (ERRNO_UNCHANGED): Update value.
7864 (ERRNO_EDOM): Likewise.
7865 (ERRNO_ERANGE): Likewise.
7866 (IGNORE_RESULT): Likewise.
7867 (TEST_COND_flt_32): New macro.
7868 (TEST_COND_dbl_64): Likewise.
7869 (TEST_COND_ldbl_96_intel): Likewise.
7870 (TEST_COND_ldbl_96_m68k): Likewise.
7871 (TEST_COND_ldbl_128): Likewise.
7872 (TEST_COND_ldbl_128ibm): Likewise.
7873 (TEST_COND_long32): Likewise.
7874 (TEST_COND_long64): Likewise.
7875 (TEST_COND_before_rounding): Likewise.
7876 (TEST_COND_after_rounding): Likewise.
7877 (enable_test): Handle XFAIL_TEST flag.
7878 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7879 with finite results.
7880 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7881 auto-libm-test-out.
7882
7883 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7884 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7885
7886 [BZ #16214]
7887 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7888 __tls_get_addr_internal instead of __tls_get_offset in order to
7889 avoid GOT pointer dependency. Make rtld export
7890 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7891 __tls_get_addr since we are a __tls_get_offset platform.
7892 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7893 GOT pointer being set up before.
7894 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7895
7896 2013-11-28 Joseph Myers <joseph@codesourcery.com>
7897
7898 * manual/math.texi (Errors in Math Functions): Document accuracy
7899 goals.
7900
7901 [BZ #15004]
7902 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7903 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7918
7919 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7920 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7921 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7922 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7923 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7924 Likewise.
7925 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7926 Likewise.
7927 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7928 Likewise.
7929 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7930 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7931 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7932 atomic-feupdateenv and flt-rounds.
7933 * sysdeps/powerpc/nofpu/Versions (libc): Add
7934 __atomic_feholdexcept, __atomic_feclearexcept,
7935 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7936 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7937 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7938 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7939 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7940 here.
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7942 Update.
7943
7944 * manual/arith.texi (FP Exceptions): Document that exceptions may
7945 not be raised when matherr is used.
7946 (Math Error Reporting): Document overflow in directed rounding
7947 modes. Document that errno may not be set when finite values are
7948 returned on overflow. Document intent to set errno on underflow
7949 only for underflow to zero.
7950
7951 [BZ #16271]
7952 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7953 round-to-nearest then adjust result for other rounding modes.
7954 * include/fenv.h (fegetround): Use libm_hidden_proto.
7955 * math/fegetround.c (fegetround): Use libm_hidden_def.
7956 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7957 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7958 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7959 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7960 Likewise.
7961 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7962 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7963 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7964 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7965
7966 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7967
7968 [BZ #16077]
7969 * nss/Versions (libnss_files): Add
7970 _nss_files_gethostbyname3_r.
7971 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7972 New function.
7973 (HOST_DB_LOOKUP): Remove macro.
7974 (_nss_files_gethostbyname_r): Implement function without the
7975 HOST_DB_LOOKUP macro.
7976 (_nss_files_gethostbyname2_r): Likewise.
7977
7978 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
7979
7980 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7981
7982 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
7983
7984 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7985 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7986 warning.
7987
7988 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7989
7990 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7991 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7992 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7993 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7994 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7995 __fe_nomask_env_priv and attribute_hidden.
7996 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7997 (libc_feupdateenv_test_ppc): Likewise.
7998 (libc_feresetround_ppc): Likewise.
7999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8000 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
8001 compat_symbol macro.
8002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8003 (__fe_nomask_env): Likewise.
8004 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
8005
8006 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8007
8008 * string/Makefile: Remove ifunc tests.
8009 * string/test-string.h: Define TEST_IFUNC.
8010 * string/test-bcopy-ifunc.c: Remove.
8011 * string/test-bzero-ifunc.c: Likewise.
8012 * string/test-memccpy-ifunc.c: Likewise.
8013 * string/test-memchr-ifunc.c: Likewise.
8014 * string/test-memcmp-ifunc.c: Likewise.
8015 * string/test-memcpy-ifunc.c: Likewise.
8016 * string/test-memmem-ifunc.c: Likewise.
8017 * string/test-memmove-ifunc.c: Likewise.
8018 * string/test-mempcpy-ifunc.c: Likewise.
8019 * string/test-memrchr-ifunc.c: Likewise.
8020 * string/test-memset-ifunc.c: Likewise.
8021 * string/test-rawmemchr-ifunc.c: Likewise.
8022 * string/test-stpcpy-ifunc.c: Likewise.
8023 * string/test-stpncpy-ifunc.c: Likewise.
8024 * string/test-strcasecmp-ifunc.c: Likewise.
8025 * string/test-strcasestr-ifunc.c: Likewise.
8026 * string/test-strcat-ifunc.c: Likewise.
8027 * string/test-strchr-ifunc.c: Likewise.
8028 * string/test-strchrnul-ifunc.c: Likewise.
8029 * string/test-strcmp-ifunc.c: Likewise.
8030 * string/test-strcpy-ifunc.c: Likewise.
8031 * string/test-strcspn-ifunc.c: Likewise.
8032 * string/test-strlen-ifunc.c: Likewise.
8033 * string/test-strncasecmp-ifunc.c: Likewise.
8034 * string/test-strncat-ifunc.c: Likewise.
8035 * string/test-strncmp-ifunc.c: Likewise.
8036 * string/test-strncpy-ifunc.c: Likewise.
8037 * string/test-strnlen-ifunc.c: Likewise.
8038 * string/test-strpbrk-ifunc.c: Likewise.
8039 * string/test-strrchr-ifunc.c: Likewise.
8040 * string/test-strspn-ifunc.c: Likewise.
8041 * string/test-strstr-ifunc.c: Likewise.
8042
8043 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8044
8045 * benchtests/Makefile: Remove ifunc tests.
8046 * benchtests/bench-string.h: Define TEST_IFUNC.
8047 * benchtests/bench-bcopy-ifunc.c: Remove.
8048 * benchtests/bench-bzero-ifunc.c: Likewise.
8049 * benchtests/bench-memccpy-ifunc.c: Likewise.
8050 * benchtests/bench-memchr-ifunc.c: Likewise.
8051 * benchtests/bench-memcmp-ifunc.c: Likewise.
8052 * benchtests/bench-memcpy-ifunc.c: Likewise.
8053 * benchtests/bench-memmem-ifunc.c: Likewise.
8054 * benchtests/bench-memmove-ifunc.c: Likewise.
8055 * benchtests/bench-mempcpy-ifunc.c: Likewise.
8056 * benchtests/bench-memrchr-ifunc.c: Likewise.
8057 * benchtests/bench-memset-ifunc.c: Likewise.
8058 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
8059 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
8060 * benchtests/bench-stpcpy-ifunc.c: Likewise.
8061 * benchtests/bench-stpncpy-ifunc.c: Likewise.
8062 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
8063 * benchtests/bench-strcasestr-ifunc.c: Likewise.
8064 * benchtests/bench-strcat-ifunc.c: Likewise.
8065 * benchtests/bench-strchr-ifunc.c: Likewise.
8066 * benchtests/bench-strchrnul-ifunc.c: Likewise.
8067 * benchtests/bench-strcmp-ifunc.c: Likewise.
8068 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
8069 * benchtests/bench-strcpy-ifunc.c: Likewise.
8070 * benchtests/bench-strcspn-ifunc.c: Likewise.
8071 * benchtests/bench-strlen-ifunc.c: Likewise.
8072 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
8073 * benchtests/bench-strncat-ifunc.c: Likewise.
8074 * benchtests/bench-strncmp-ifunc.c: Likewise.
8075 * benchtests/bench-strncpy-ifunc.c: Likewise.
8076 * benchtests/bench-strnlen-ifunc.c: Likewise.
8077 * benchtests/bench-strpbrk-ifunc.c: Likewise.
8078 * benchtests/bench-strrchr-ifunc.c: Likewise.
8079 * benchtests/bench-strsep-ifunc.c: Likewise.
8080 * benchtests/bench-strspn-ifunc.c: Likewise.
8081 * benchtests/bench-strstr-ifunc.c: Likewise.
8082
8083 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8084
8085 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
8086
8087 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
8088
8089 * resolv/netdb.h: Use __glibc_reserved instead __unused.
8090 * rt/aio.h: Likewise.
8091 * sysdeps/gnu/bits/utmp.h: Likewise.
8092 * sysdeps/gnu/bits/utmpx.h: Likewise.
8093 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8094 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
8095 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
8096 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
8097 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
8098 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
8099 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
8100 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
8101 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
8102 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8104 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
8106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
8107 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
8108 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
8109 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8110 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8111 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8112 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
8113 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
8114 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
8115 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
8116 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
8117 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
8119 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
8120 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8121 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8122 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
8124 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
8125 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
8126 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8127 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8128 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
8129 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8130 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8131 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8132 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
8133 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
8134 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8135
8136 2013-11-25 Carlos O'Donell <carlos@redhat.com>
8137
8138 [BZ #16245]
8139 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
8140 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
8141
8142 2013-11-25 Joseph Myers <joseph@codesourcery.com>
8143
8144 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
8145 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
8146 Likewise.
8147
8148 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8149
8150 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
8151 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
8152 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
8153 (__fesetround): Remove define.
8154 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
8155 rounding and exceptions handling.
8156 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
8157 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
8158 (__fe_nomask_env): Likewise.
8159 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
8160 __fegetround instead of fegetround.
8161 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
8162 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
8163
8164 2013-11-21 Roland McGrath <roland@hack.frob.com>
8165
8166 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
8167 it's there.
8168
8169 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
8170
8171 2013-11-21 Meador Inge <meadori@codesourcery.com>
8172
8173 [BZ #11157]
8174 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
8175 (encrypt_r): Likewise.
8176 * malloc/obstack.h (obstack_free): Likewise.
8177 * posix/unistd.h (encrypt): Likewise.
8178
8179 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
8180
8181 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
8182 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
8183 DL_CALL_DT_FINI() that call the functions directly.
8184 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
8185 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
8186 * elf/dl-fini.c: Likewise.
8187
8188 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
8189
8190 * malloc/hooks.c (memalign_check): Add alignment rounding.
8191 * malloc/malloc.c (_mid_memalign): New function.
8192 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
8193 Implement by calling _mid_memalign.
8194 * manual/probes.texi (Memory Allocation Probes): Remove
8195 memory_valloc_retry and memory_pvalloc_retry.
8196
8197 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8198
8199 * locale/programs/locarchive.c (open_archive): Add const
8200 qualifier to ARCHIVEFNAME and copy default fname to
8201 DEFAULT_FNAME.
8202
8203 [BZ #15601]
8204 * libio/tst-widetext.input: Rename Oriya to Odia.
8205 * locale/iso-639.def: Likewise.
8206
8207 * manual/probes.texi (Mathematical Function Probes): Add
8208 documentation for sin, cos, asin and acos probes.
8209 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
8210 (__sin32): Add slowasin probe.
8211 (__cos32): Add slowacos probe.
8212 (__mpsin): Add slowsin probe.
8213 (__mpcos): Add slowcos probe.
8214
8215 2013-11-19 Joseph Myers <joseph@codesourcery.com>
8216
8217 [BZ #15483]
8218 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
8219 thread-local __sim_exceptions_thread and global
8220 __sim_exceptions_global.
8221 (__sim_disabled_exceptions): Change to thread-local
8222 __sim_disabled_exceptions_thread and global
8223 __sim_disabled_exceptions_global.
8224 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8225 and global __sim_round_mode_global.
8226 (__simulate_exceptions): Use thread-local floating-point state and
8227 set global state from it as needed.
8228 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
8229 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
8230 __sim_round_mode_thread.
8231 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
8232 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
8233 and global __sim_exceptions_global.
8234 (__sim_disabled_exceptions): Change to thread-local
8235 __sim_disabled_exceptions_thread and global
8236 __sim_disabled_exceptions_global.
8237 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
8238 and global __sim_round_mode_global.
8239 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
8240 (SIM_SET_GLOBAL): Likewise.
8241 * sysdeps/powerpc/soft-fp/sfp-machine.h
8242 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
8243 __sim_round_mode_thread.
8244 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
8245 __sim_disabled_exceptions_thread.
8246 (__sim_exceptions): Change to __sim_exceptions_thread.
8247 (__sim_disabled_exceptions): Change to
8248 __sim_disabled_exceptions_thread.
8249 (__sim_round_mode): Change to __sim_round_mode_thread.
8250 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
8251 thread-local floating-point state and set global state from it as
8252 needed.
8253 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
8254 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
8255 (__sim_disabled_exceptions): Remove extern declaration.
8256 (feenableexcept): Use thread-local floating-point state and set
8257 global state from it as needed.
8258 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8259 extern declaration.
8260 (__sim_disabled_exceptions): Likewise.
8261 (__sim_round_mode): Likewise.
8262 (__fegetenv): Use thread-local floating-point state.
8263 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8264 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8265 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8266 floating-point state and set global state from it as needed.
8267 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8268 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8269 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8270 Likewise.
8271 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8272 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8273 Likewise.
8274 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8275 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8276 Use __sim_round_mode_thread.
8277 * math/test-fenv-tls.c: New file.
8278 * math/Makefile (tests): Add test-fenv-tls.
8279 ($(objpfx)test-fenv-tls): Depend on
8280 $(common-objpfx)nptl/libpthread.so.
8281
8282 2013-11-19 Andreas Schwab <schwab@suse.de>
8283
8284 * locale/programs/locale.c (show_info): Decode wordarray elements.
8285 * locale/categories.def (LC_MONETARY): Add element for
8286 _NL_MONETARY_CRNCYSTR.
8287 * locale/C-monetary.c (conversion_rate): New variable.
8288 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8289 element.
8290
8291 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8292
8293 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8294 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8295
8296 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8297
8298 * elf/Makefile (tst-auxv): New test.
8299 * elf/tst-auxv.c: New
8300 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8301
8302 2013-11-18 Joseph Myers <joseph@codesourcery.com>
8303
8304 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8305 (hidden_proto): Caller changed.
8306 (hidden_tls_proto): New macro.
8307 (libc_hidden_tls_proto): Likewise.
8308 (rtld_hidden_tls_proto): Likewise.
8309 (libm_hidden_tls_proto): Likewise.
8310 (libresolv_hidden_tls_proto): Likewise.
8311 (librt_hidden_tls_proto): Likewise.
8312 (libdl_hidden_tls_proto): Likewise.
8313 (libnss_files_hidden_tls_proto): Likewise.
8314 (libnsl_hidden_tls_proto): Likewise.
8315 (libnss_nisplus_hidden_tls_proto): Likewise.
8316 (libutil_hidden_tls_proto): Likewise.
8317
8318 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
8319
8320 [BZ #10253]
8321 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8322 (decompose_rpath): Defer expansion to fillin_rpath.
8323 (_dl_init_paths): Pass linkmap to fillin_rpath.
8324
8325 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8326
8327 * benchtests/Makefile: Add strsep.
8328 * benchtests/bench-strsep.c: New file: strsep benchtest.
8329 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8330
8331 2013-11-18 Andreas Schwab <schwab@suse.de>
8332
8333 * locale/programs/locale.c (show_info) [case byte]: Check for
8334 '\377' instead of '\177'.
8335 * locale/C-monetary.c (not_available): Always use "\377".
8336 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8337 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8338 detect unavailable sign_posn locale elements.
8339 * locale/localeconv.c (__localeconv): For grouping and
8340 mon_grouping handle "\177" and "\377" like no grouping.
8341 (INT_ELEM): New macro. Use it to set all numeric members.
8342 * locale/programs/ld-monetary.c (monetary_read)
8343 <tok_mon_grouping>: Normalize single -1 to the empty string.
8344 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8345 Likewise.
8346
8347 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8348
8349 [BZ #16055]
8350 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8351 when we match (nil).
8352 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8353
8354 2013-11-16 Joseph Myers <joseph@codesourcery.com>
8355
8356 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8357 (NO_TEST_INLINE): Update value.
8358 (ERRNO_UNCHANGED): Likewise.
8359 (ERRNO_EDOM): Likewise.
8360 (ERRNO_ERANGE): Likewise.
8361 (IGNORE_RESULT): Likewise.
8362 (check_float_internal): Check signs of NaN results if
8363 TEST_NAN_SIGN used.
8364 (check_complex): Pass TEST_NAN_SIGN flag through to second
8365 check_float_internal call.
8366 (copysign_test_data): Add tests with quiet NaNs as second
8367 argument. Use TEST_NAN_SIGN.
8368 (fabs_test_data): Add test of negative quiet NaN argument. Use
8369 TEST_NAN_SIGN.
8370 (signbit_test_data): Add tests of quiet NaN argument.
8371 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8372
8373 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8374 $ignore_result.
8375 (parse_args): Handle function results specified as IGNORE.
8376 * math/libm-test.inc (IGNORE_RESULT): New macro.
8377 (check_float_internal): Do not check numerical result if flag
8378 IGNORE_RESULT set.
8379 (check_complex): Pass through IGNORE_RESULT to second
8380 check_float_internal call.
8381 (check_int): Do not check numerical result if flag IGNORE_RESULT
8382 set.
8383 (check_long): Likewise.
8384 (check_bool): Likewise.
8385 (check_longlong): Likewise.
8386 (lrint_test_data): Add tests of infinite and NaN arguments.
8387 (lrint_tonearest_test_data): Likewise.
8388 (lrint_towardzero_test_data): Likewise.
8389 (lrint_downward_test_data): Likewise.
8390 (lrint_upward_test_data): Likewise.
8391 (llrint_test_data): Likewise.
8392 (llrint_tonearest_test_data): Likewise.
8393 (llrint_towardzero_test_data): Likewise.
8394 (llrint_downward_test_data): Likewise.
8395 (llrint_upward_test_data): Likewise.
8396 (lround_test_data): Likewise.
8397 (llround_test_data): Likewise.
8398
8399 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8400 (ERRNO_UNCHANGED): Update value.
8401 (ERRNO_EDOM): Likewise.
8402 (ERRNO_ERANGE): Likewise.
8403 (NO_TEST_INLINE_FLOAT): New macro.
8404 (NO_TEST_INLINE_DOUBLE): Likewise.
8405 (enable_test): New function.
8406 (RUN_TEST_f_f): Check enable_test before running test.
8407 (RUN_TEST_2_f): Likewise.
8408 (RUN_TEST_fff_f): Likewise.
8409 (RUN_TEST_c_f): Likewise.
8410 (RUN_TEST_f_f1): Likewise.
8411 (RUN_TEST_fF_f1): Likewise.
8412 (RUN_TEST_fI_f1): Likewise.
8413 (RUN_TEST_ffI_f1): Likewise.
8414 (RUN_TEST_c_c): Likewise.
8415 (RUN_TEST_cc_c): Likewise.
8416 (RUN_TEST_f_i): Likewise.
8417 (RUN_TEST_f_i_tg): Likewise.
8418 (RUN_TEST_ff_i_tg): Likewise.
8419 (RUN_TEST_f_b): Likewise.
8420 (RUN_TEST_f_b_tg): Likewise.
8421 (RUN_TEST_f_l): Likewise.
8422 (RUN_TEST_f_L): Likewise.
8423 (RUN_TEST_fFF_11): Likewise.
8424 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8425 conditionals.
8426 (cosh_test_data): Likewise.
8427 (exp_test_data): Likewise.
8428 (expm1_test_data): Likewise.
8429 (hypot_test_data): Likewise.
8430 (pow_test_data): Likewise.
8431 (sinh_test_data): Likewise.
8432 (tanh_test_data): Likewise.
8433 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8434 flags argument.
8435
8436 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8437 tests with quiet NaN input and output.
8438 (acosh_test_data): Likewise.
8439 (asin_test_data): Likewise.
8440 (asinh_test_data): Likewise.
8441 (atan_test_data): Likewise.
8442 (atanh_test_data): Likewise.
8443 (atan2_test_data): Likewise.
8444 (cbrt_test_data): Likewise.
8445 (cos_test_data): Likewise.
8446 (cosh_test_data): Likewise.
8447 (erf_test_data): Likewise.
8448 (erfc_test_data): Likewise.
8449 (exp_test_data): Likewise.
8450 (exp10_test_data): Likewise.
8451 (exp2_test_data): Likewise.
8452 (expm1_test_data): Likewise.
8453 (hypot_test_data): Likewise.
8454 (j0_test_data): Likewise.
8455 (j1_test_data): Likewise.
8456 (jn_test_data): Likewise.
8457 (lgamma_test_data): Likewise.
8458 (log_test_data): Likewise.
8459 (log10_test_data): Likewise.
8460 (log1p_test_data): Likewise.
8461 (log2_test_data): Likewise.
8462 (pow_test_data): Likewise.
8463 (scalb_test_data): Likewise.
8464 (sin_test_data): Likewise.
8465 (sincos_test_data): Likewise.
8466 (sinh_test_data): Likewise.
8467 (tan_test_data): Likewise.
8468 (tanh_test_data): Likewise.
8469 (tgamma_test_data): Likewise.
8470 (y0_test_data): Likewise.
8471 (y1_test_data): Likewise.
8472 (yn_test_data): Likewise.
8473
8474 [BZ #16167]
8475 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8476 argument being NaN and avoid computations with second argument in
8477 that case.
8478 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8479 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8480 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8481
8482 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8483
8484 * locale/iso-639.def: Add Chitwani Tharu (the).
8485
8486 2013-11-14 Andreas Schwab <schwab@suse.de>
8487
8488 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8489 word instead of empty string.
8490
8491 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8492
8493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8494 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8496 (__fe_nomask_env): Likewise.
8497
8498 2013-11-13 Steve Ellcey <sellcey@mips.com>
8499
8500 * benchtests/bench-timing.h: Include time.h.
8501
8502 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8503
8504 [BZ #15997]
8505 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8506 to 3.4.0 for x32.
8507 * sysdeps/unix/sysv/linux/configure: Regenerated.
8508
8509 2013-11-13 Joseph Myers <joseph@codesourcery.com>
8510
8511 [BZ #16151]
8512 * stdlib/strtod_l.c (round_and_return): Do not consider
8513 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8514 exponent one less than half the least subnormal exponent.
8515 * stdlib/test-strtod-round-data: Add more tests.
8516 * stdlib/tst-strtod-round.c (tests): Regenerated.
8517
8518 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8519
8520 [BZ #14143]
8521 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8522 (__fe_mask_env): Likewise.
8523 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8524 libm_hidden_proto and add function prototype.
8525 (__fe_mask_env): Add function prototype.
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8527 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8529 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8531 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8532
8533 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8534
8535 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
8536 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8537
8538 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8539
8540 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8541 of htab_find_slot().
8542
8543 2013-11-11 David S. Miller <davem@davemloft.net>
8544
8545 [BZ #16150]
8546 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8547 symbol in the non-vis3 case in static builds.
8548 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8549 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8550 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8551 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8552
8553 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8554
8555 [BZ #387]
8556 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8557 it is empty.
8558
8559 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8560
8561 * benchtests/Makefile: Add bench-strtod.
8562 * benchtests/bench-strtod.c: New file: strtod benchtest
8563
8564 2013-11-11 Andreas Schwab <schwab@suse.de>
8565
8566 [BZ #16153]
8567 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8568 terminating NUL in key length.
8569
8570 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8571
8572 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8573 Add artificial ODP entry for vDSO symbol for PPC64.
8574 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8575 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8576
8577 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
8578
8579 [BZ #15374]
8580 * nss/getent.c (services_keys): Recognize services starting with digit.
8581
8582 2013-11-06 David S. Miller <davem@davemloft.net>
8583
8584 [BZ #15985]
8585 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8586 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8587
8588 2013-11-06 Will Newton <will.newton@linaro.org>
8589
8590 * manual/memory.texi (Malloc Examples): Remove register
8591 keyword from examples.
8592
8593 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
8594
8595 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
8596
8597 2013-11-04 Joseph Myers <joseph@codesourcery.com>
8598
8599 [BZ #6981]
8600 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8601 depending on [__GCC_IEC_559 > 0].
8602 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8603 depending on [__GCC_IEC_559_COMPLEX > 0].
8604
8605 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
8606
8607 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8608 to iso-639.def.
8609
8610 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
8611
8612 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8613
8614 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
8615
8616 [BZ #16112]
8617 * malloc/malloc (malloc_info): Do not handle first bin as
8618 special case.
8619
8620 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
8621
8622 * locale/iso-639.def: Add Central Nahuatl (nhn).
8623
8624 2013-11-01 Bruno Haible <bruno@clisp.org>
8625
8626 [BZ #7003]
8627 * manual/math.texi (BSD Random): Specify range upper bound as
8628 in POSIX.
8629
8630 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
8631
8632 * locale/iso-639.def: Add Meadow Mari (mhr).
8633
8634 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
8635
8636 [BZ #14752], [BZ #15763]
8637 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8638 Validate name.
8639 * rt/tst_shm.c: Add test for escaping directory.
8640
8641 2013-10-31 Andreas Schwab <schwab@suse.de>
8642
8643 [BZ #15917]
8644 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8645 followed by 'x' as part of digit sequence.
8646 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8647
8648 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8649
8650 [BZ #16037]
8651 * configure.ac: allow GNU Make 4.0 and greater.
8652 * configure: Regenerated.
8653
8654 2013-10-30 Will Newton <will.newton@linaro.org>
8655
8656 [BZ #16038]
8657 * malloc/hooks.c (memalign_check): Limit alignment to the
8658 maximum representable power of two.
8659 * malloc/malloc.c (__libc_memalign): Likewise.
8660 * malloc/tst-memalign.c (do_test): Add test for very
8661 large alignment values.
8662 * malloc/tst-posix_memalign.c (do_test): Likewise.
8663
8664 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8665
8666 [BZ #11087]
8667 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8668 (munmap_chunk): Likewise.
8669 (mremap_chunk): Likewise.
8670
8671 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
8672
8673 [BZ #15799]
8674 * stdlib/div.c (div): Remove obsolete code.
8675 * stdlib/ldiv.c (ldiv): Likewise.
8676 * stdlib/lldiv.c (lldiv): Likewise.
8677
8678 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8679
8680 [BZ #16071]
8681 * nss/nss_files/files-XXX.c (get_contents_ret): New
8682 enumerator.
8683 (get_contents): New function.
8684 (internal_getent): Use it. Expand size of LINEBUFLEN.
8685
8686 2013-10-30 Mike Frysinger <vapier@gentoo.org>
8687
8688 * configure.in: Moved to ...
8689 * configure.ac: ... here. Change reference to configure.in
8690 to configure.ac.
8691 * sysdeps/arm/preconfigure.ac: ... here.
8692 configure.in to configure.ac.
8693 * sysdeps/gnu/configure.in: Moved to ...
8694 * sysdeps/gnu/configure.ac: ... here.
8695 * sysdeps/i386/configure.in: Moved to ...
8696 * sysdeps/i386/configure.ac: ... here.
8697 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8698 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8699 * sysdeps/mach/configure.in: Moved to ...
8700 * sysdeps/mach/configure.ac: ... here.
8701 * sysdeps/mach/hurd/configure.in: Moved to ...
8702 * sysdeps/mach/hurd/configure.ac: ... here.
8703 * sysdeps/powerpc/configure.in: Moved to ...
8704 * sysdeps/powerpc/configure.ac: ... here.
8705 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8706 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8707 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8708 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8709 * sysdeps/s390/s390-32/configure.in: Moved to ...
8710 * sysdeps/s390/s390-32/configure.ac: ... here.
8711 * sysdeps/s390/s390-64/configure.in: Moved to ...
8712 * sysdeps/s390/s390-64/configure.ac: ... here.
8713 * sysdeps/sh/configure.in: Moved to ...
8714 * sysdeps/sh/configure.ac: ... here.
8715 * sysdeps/sparc/configure.in: Moved to ...
8716 * sysdeps/sparc/configure.ac: ... here.
8717 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8718 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8719 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8720 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8721 * sysdeps/x86_64/configure.in: Moved to ...
8722 * sysdeps/x86_64/configure.ac: ... here.
8723 * sysdeps/x86_64/preconfigure.in: Moved to ...
8724 * sysdeps/x86_64/preconfigure.ac: ... here.
8725 * aclocal.m4: Change reference to configure.in to configure.ac.
8726 * config.h.in: Likewise.
8727 * manual/install.texi: Likewise.
8728 * manual/maint.texi: Likewise.
8729 * Makefile: Likewise.
8730 * malloc/Makefile: Likewise.
8731 * nscd/Makefile: Likewise.
8732 * Makeconfig: Change reference to configure.in and
8733 preconfigure.in to configure.ac and preconfigure.ac
8734 respectively.
8735 * INSTALL: Regenerated.
8736 * configure: Likewise.
8737 * sysdeps/gnu/configure: Likewise.
8738 * sysdeps/i386/configure: Likewise.
8739 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8740 * sysdeps/mach/configure: Likewise.
8741 * sysdeps/mach/hurd/configure: Likewise.
8742 * sysdeps/powerpc/configure: Likewise.
8743 * sysdeps/powerpc/powerpc32/configure: Likewise.
8744 * sysdeps/powerpc/powerpc64/configure: Likewise.
8745 * sysdeps/s390/s390-32/configure: Likewise.
8746 * sysdeps/s390/s390-64/configure: Likewise.
8747 * sysdeps/sh/configure: Likewise.
8748 * sysdeps/sparc/configure: Likewise.
8749 * sysdeps/unix/sysv/linux/configure: Likewise.
8750 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8751 * sysdeps/x86_64/configure: Likewise.
8752 * sysdeps/x86_64/preconfigure: Likewise.
8753
8754 2013-10-29 Andreas Schwab <schwab@suse.de>
8755
8756 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8757
8758 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8759
8760 * benchtests/pow-inputs: Add new inputs.
8761
8762 * benchtests/exp-inputs: Add new inputs.
8763
8764 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8765 conditional check for return value.
8766 (__cos32): Likewise.
8767
8768 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8769
8770 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8771 to provide a boost for large inputs with word alignment.
8772 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8773 implementation based on optimized PPC64 strcpy.
8774 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8775 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8776 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8777 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8778
8779 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8780
8781 [BZ #2801]
8782 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8783
8784 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8785
8786 [BZ #14876]
8787 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8788 * time/tst-strptime.c (day_tests): Add testcase.
8789
8790 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
8791
8792 [BZ #14029]
8793 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8794
8795 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8796
8797 [BZ #16074]
8798 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8799 MAP_FAILED on error.
8800
8801 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8802
8803 [BZ #16072]
8804 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8805 heap for large requests.
8806
8807 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8808
8809 [BZ #9954]
8810 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8811 result if the result has no associated interface.
8812 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8813 interface for all 127.X.Y.Z addresses.
8814
8815 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
8816
8817 * locale/iso-639.def: Add Ligurian (lij)
8818
8819 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
8820
8821 [BZ #15825]
8822 * sunrpc/rpc_main.c: Document rpcgen -5.
8823
8824 2013-10-19 Michael Stahl <mstahl@redhat.com>
8825
8826 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8827
8828 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8829
8830 [BZ #10278]
8831 * posix/glob.c: Match only directories when trailing slash is present.
8832 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8833 (main): Add testcase.
8834
8835 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
8836
8837 [BZ #15670]
8838 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8839
8840 2013-10-18 Carlos O'Donell <carlos@redhat.com>
8841
8842 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8843 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8844 AUTH_DES and cindex for FIPS 140-2.
8845 (DES Encryption): Add cindex FIPS 46-3.
8846
8847 * locale/locarchive.h (struct locarhandle): Add fname.
8848 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8849 if an optional argument was specified to --list-archive,
8850 otherwise NULL.
8851 * locale/programs/locarchive.c (show_archive_content): Take new
8852 argument fname and pass it via ah.fname to open_archive.
8853 * locale/programs/localedef.h: Update decl.
8854 (open_archive): If AH->fname is non-null, open that file
8855 rather than the default file name, and don't ignore ENOENT.
8856 (create_archive): Set AH.fname to NULL.
8857 (delete_locales_from_archive): Likewise.
8858 (add_locales_to_archive): Likewise.
8859 * locale/programs/locfile.c (write_all_categories): Likewise.
8860
8861 2013-10-18 Joseph Myers <joseph@codesourcery.com>
8862 Aldy Hernandez <aldyh@redhat.com>
8863
8864 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8865 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8866 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8867 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8868 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8869 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8870 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8871 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8872 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8873 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8874 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8875 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8876 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8877 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8878 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8879 Likewise.
8880 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8881 Likewise.
8882 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8883 Likewise.
8884 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8885 Likewise.
8886 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8887 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8888 Likewise.
8889 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8890 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8891 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8892 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8893 Likewise.
8894 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8895 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8896 * sysdeps/powerpc/preconfigure: Likewise.
8897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8898 Likewise.
8899 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8900 Replace contents of file by #include of <fenv_libc.h>.
8901 * sysdeps/powerpc/soft-fp/sfp-machine.h
8902 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8903 and <sys/prctl.h>.
8904 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8906 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8907 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8908 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8909 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8910 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8914 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8915 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8917 Allow copysignl PLT reference to be missing.
8918
8919 2013-10-18 Richard Sandiford <richard@codesourcery.com>
8920 Joseph Myers <joseph@codesourcery.com
8921
8922 [BZ #15948]
8923 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8924 single character.
8925 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8926
8927 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8928
8929 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8930 * elf/tst-tls1.c: Likewise.
8931 * elf/tst-tls10.h: Likewise.
8932 * elf/tst-tls14.c: Likewise.
8933 * elf/tst-tls2.c: Likewise.
8934 * elf/tst-tls3.c: Likewise.
8935 * elf/tst-tls4.c: Likewise.
8936 * elf/tst-tls5.c: Likewise.
8937 * elf/tst-tls6.c: Likewise.
8938 * elf/tst-tls7.c: Likewise.
8939 * elf/tst-tls8.c: Likewise.
8940 * elf/tst-tls9.c: Likewise.
8941 * elf/tst-tlsmod1.c: Likewise.
8942 * elf/tst-tlsmod13.c: Likewise.
8943 * elf/tst-tlsmod13a.c: Likewise.
8944 * elf/tst-tlsmod14a.c: Likewise.
8945 * elf/tst-tlsmod16a.c: Likewise.
8946 * elf/tst-tlsmod16b.c: Likewise.
8947 * elf/tst-tlsmod2.c: Likewise.
8948 * elf/tst-tlsmod3.c: Likewise.
8949 * elf/tst-tlsmod4.c: Likewise.
8950 * elf/tst-tlsmod5.c: Likewise.
8951 * elf/tst-tlsmod6.c: Likewise.
8952
8953 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
8954
8955 [BZ #12486]
8956 * malloc/malloc.c: remove checks for statistics.
8957
8958 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8959
8960 [BZ #15277]
8961 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8962 * inet/tst-network.c: Add testcase.
8963
8964 2013-10-17 Andreas Schwab <schwab@suse.de>
8965
8966 [BZ #15218]
8967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8968 to determine canonical name.
8969
8970 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
8971
8972 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8973 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8974 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8975 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8976 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8977 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8978 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8979 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8980 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8981 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8982 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8983 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8984 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8985 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8986 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8987 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8988 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8989 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8990 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8991 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8994 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8995 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8996 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8997 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8998 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8999 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
9001 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
9002 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9003 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9004 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9005 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9006 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9008 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9009 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
9014 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
9015 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9016 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9017 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9019 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9020 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
9021 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9022 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9030
9031 2013-10-17 Joseph Myers <joseph@codesourcery.com>
9032
9033 [BZ #16041]
9034 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
9035 make result into a quiet NaN.
9036
9037 2013-10-16 Joseph Myers <joseph@codesourcery.com>
9038
9039 * soft-fp/adddf3.c: Fix horizontal whitespace.
9040 * soft-fp/addsf3.c: Likewise.
9041 * soft-fp/addtf3.c: Likewise.
9042 * soft-fp/divdf3.c: Likewise.
9043 * soft-fp/divsf3.c: Likewise.
9044 * soft-fp/divtf3.c: Likewise.
9045 * soft-fp/double.h: Likewise.
9046 * soft-fp/eqdf2.c: Likewise.
9047 * soft-fp/eqsf2.c: Likewise.
9048 * soft-fp/eqtf2.c: Likewise.
9049 * soft-fp/extenddftf2.c: Likewise.
9050 * soft-fp/extended.h: Likewise.
9051 * soft-fp/extendsfdf2.c: Likewise.
9052 * soft-fp/extendsftf2.c: Likewise.
9053 * soft-fp/extendxftf2.c: Likewise.
9054 * soft-fp/fixdfdi.c: Likewise.
9055 * soft-fp/fixdfsi.c: Likewise.
9056 * soft-fp/fixdfti.c: Likewise.
9057 * soft-fp/fixsfdi.c: Likewise.
9058 * soft-fp/fixsfsi.c: Likewise.
9059 * soft-fp/fixsfti.c: Likewise.
9060 * soft-fp/fixtfdi.c: Likewise.
9061 * soft-fp/fixtfsi.c: Likewise.
9062 * soft-fp/fixtfti.c: Likewise.
9063 * soft-fp/fixunsdfdi.c: Likewise.
9064 * soft-fp/fixunsdfsi.c: Likewise.
9065 * soft-fp/fixunsdfti.c: Likewise.
9066 * soft-fp/fixunssfdi.c: Likewise.
9067 * soft-fp/fixunssfsi.c: Likewise.
9068 * soft-fp/fixunssfti.c: Likewise.
9069 * soft-fp/fixunstfdi.c: Likewise.
9070 * soft-fp/fixunstfsi.c: Likewise.
9071 * soft-fp/fixunstfti.c: Likewise.
9072 * soft-fp/floatdidf.c: Likewise.
9073 * soft-fp/floatdisf.c: Likewise.
9074 * soft-fp/floatditf.c: Likewise.
9075 * soft-fp/floatsidf.c: Likewise.
9076 * soft-fp/floatsisf.c: Likewise.
9077 * soft-fp/floatsitf.c: Likewise.
9078 * soft-fp/floattidf.c: Likewise.
9079 * soft-fp/floattisf.c: Likewise.
9080 * soft-fp/floattitf.c: Likewise.
9081 * soft-fp/floatundidf.c: Likewise.
9082 * soft-fp/floatundisf.c: Likewise.
9083 * soft-fp/floatunditf.c: Likewise.
9084 * soft-fp/floatunsidf.c: Likewise.
9085 * soft-fp/floatunsisf.c: Likewise.
9086 * soft-fp/floatunsitf.c: Likewise.
9087 * soft-fp/floatuntidf.c: Likewise.
9088 * soft-fp/floatuntisf.c: Likewise.
9089 * soft-fp/floatuntitf.c: Likewise.
9090 * soft-fp/fmadf4.c: Likewise.
9091 * soft-fp/fmasf4.c: Likewise.
9092 * soft-fp/fmatf4.c: Likewise.
9093 * soft-fp/gedf2.c: Likewise.
9094 * soft-fp/gesf2.c: Likewise.
9095 * soft-fp/getf2.c: Likewise.
9096 * soft-fp/ledf2.c: Likewise.
9097 * soft-fp/lesf2.c: Likewise.
9098 * soft-fp/letf2.c: Likewise.
9099 * soft-fp/muldf3.c: Likewise.
9100 * soft-fp/mulsf3.c: Likewise.
9101 * soft-fp/multf3.c: Likewise.
9102 * soft-fp/negdf2.c: Likewise.
9103 * soft-fp/negsf2.c: Likewise.
9104 * soft-fp/negtf2.c: Likewise.
9105 * soft-fp/op-1.h: Likewise.
9106 * soft-fp/op-2.h: Likewise.
9107 * soft-fp/op-4.h: Likewise.
9108 * soft-fp/op-8.h: Likewise.
9109 * soft-fp/op-common.h: Likewise.
9110 * soft-fp/quad.h: Likewise.
9111 * soft-fp/single.h: Likewise.
9112 * soft-fp/soft-fp.h: Likewise.
9113 * soft-fp/sqrtdf2.c: Likewise.
9114 * soft-fp/sqrtsf2.c: Likewise.
9115 * soft-fp/sqrttf2.c: Likewise.
9116 * soft-fp/subdf3.c: Likewise.
9117 * soft-fp/subsf3.c: Likewise.
9118 * soft-fp/subtf3.c: Likewise.
9119 * soft-fp/truncdfsf2.c: Likewise.
9120 * soft-fp/trunctfdf2.c: Likewise.
9121 * soft-fp/trunctfsf2.c: Likewise.
9122 * soft-fp/trunctfxf2.c: Likewise.
9123 * soft-fp/unorddf2.c: Likewise.
9124 * soft-fp/unordsf2.c: Likewise.
9125 * soft-fp/unordtf2.c: Likewise.
9126
9127 2013-10-15 Joseph Myers <joseph@codesourcery.com>
9128
9129 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
9130 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
9131
9132 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
9133
9134 * elf/dl-libc.c: Clear initfini list after freeing.
9135
9136 2013-10-14 Joseph Myers <joseph@codesourcery.com>
9137
9138 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
9139 * soft-fp/addsf3.c: Likewise.
9140 * soft-fp/addtf3.c: Likewise.
9141 * soft-fp/divdf3.c: Likewise.
9142 * soft-fp/divsf3.c: Likewise.
9143 * soft-fp/divtf3.c: Likewise.
9144 * soft-fp/double.h: Likewise.
9145 * soft-fp/eqdf2.c: Likewise.
9146 * soft-fp/eqsf2.c: Likewise.
9147 * soft-fp/eqtf2.c: Likewise.
9148 * soft-fp/extenddftf2.c: Likewise.
9149 * soft-fp/extended.h: Likewise.
9150 * soft-fp/extendsfdf2.c: Likewise.
9151 * soft-fp/extendsftf2.c: Likewise.
9152 * soft-fp/extendxftf2.c: Likewise.
9153 * soft-fp/fixdfdi.c: Likewise.
9154 * soft-fp/fixdfsi.c: Likewise.
9155 * soft-fp/fixdfti.c: Likewise.
9156 * soft-fp/fixsfdi.c: Likewise.
9157 * soft-fp/fixsfsi.c: Likewise.
9158 * soft-fp/fixsfti.c: Likewise.
9159 * soft-fp/fixtfdi.c: Likewise.
9160 * soft-fp/fixtfsi.c: Likewise.
9161 * soft-fp/fixtfti.c: Likewise.
9162 * soft-fp/fixunsdfdi.c: Likewise.
9163 * soft-fp/fixunsdfsi.c: Likewise.
9164 * soft-fp/fixunsdfti.c: Likewise.
9165 * soft-fp/fixunssfdi.c: Likewise.
9166 * soft-fp/fixunssfsi.c: Likewise.
9167 * soft-fp/fixunssfti.c: Likewise.
9168 * soft-fp/fixunstfdi.c: Likewise.
9169 * soft-fp/fixunstfsi.c: Likewise.
9170 * soft-fp/fixunstfti.c: Likewise.
9171 * soft-fp/floatdidf.c: Likewise.
9172 * soft-fp/floatdisf.c: Likewise.
9173 * soft-fp/floatditf.c: Likewise.
9174 * soft-fp/floatsidf.c: Likewise.
9175 * soft-fp/floatsisf.c: Likewise.
9176 * soft-fp/floatsitf.c: Likewise.
9177 * soft-fp/floattidf.c: Likewise.
9178 * soft-fp/floattisf.c: Likewise.
9179 * soft-fp/floattitf.c: Likewise.
9180 * soft-fp/floatundidf.c: Likewise.
9181 * soft-fp/floatundisf.c: Likewise.
9182 * soft-fp/floatunsidf.c: Likewise.
9183 * soft-fp/floatunsisf.c: Likewise.
9184 * soft-fp/floatuntidf.c: Likewise.
9185 * soft-fp/floatuntisf.c: Likewise.
9186 * soft-fp/floatuntitf.c: Likewise.
9187 * soft-fp/fmadf4.c: Likewise.
9188 * soft-fp/fmasf4.c: Likewise.
9189 * soft-fp/fmatf4.c: Likewise.
9190 * soft-fp/gedf2.c: Likewise.
9191 * soft-fp/gesf2.c: Likewise.
9192 * soft-fp/getf2.c: Likewise.
9193 * soft-fp/ledf2.c: Likewise.
9194 * soft-fp/lesf2.c: Likewise.
9195 * soft-fp/letf2.c: Likewise.
9196 * soft-fp/muldf3.c: Likewise.
9197 * soft-fp/mulsf3.c: Likewise.
9198 * soft-fp/multf3.c: Likewise.
9199 * soft-fp/negdf2.c: Likewise.
9200 * soft-fp/negsf2.c: Likewise.
9201 * soft-fp/negtf2.c: Likewise.
9202 * soft-fp/op-1.h: Likewise.
9203 * soft-fp/op-2.h: Likewise.
9204 * soft-fp/op-4.h: Likewise.
9205 * soft-fp/op-8.h: Likewise.
9206 * soft-fp/op-common.h: Likewise.
9207 * soft-fp/quad.h: Likewise.
9208 * soft-fp/single.h: Likewise.
9209 * soft-fp/soft-fp.h: Likewise.
9210 * soft-fp/sqrtdf2.c: Likewise.
9211 * soft-fp/sqrtsf2.c: Likewise.
9212 * soft-fp/sqrttf2.c: Likewise.
9213 * soft-fp/subdf3.c: Likewise.
9214 * soft-fp/subsf3.c: Likewise.
9215 * soft-fp/subtf3.c: Likewise.
9216 * soft-fp/truncdfsf2.c: Likewise.
9217 * soft-fp/trunctfdf2.c: Likewise.
9218 * soft-fp/trunctfsf2.c: Likewise.
9219 * soft-fp/trunctfxf2.c: Likewise.
9220 * soft-fp/unorddf2.c: Likewise.
9221 * soft-fp/unordsf2.c: Likewise.
9222 * soft-fp/unordtf2.c: Likewise.
9223
9224 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
9225
9226 [BZ #15672]
9227 * misc/error.c (error_tail): Fix possible buffer overflow.
9228
9229 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
9230
9231 [BZ #13028]
9232 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
9233 address.
9234
9235 2013-10-14 P. J. McDermott <pj@pehjota.net>
9236
9237 [BZ #832]
9238 * elf/ldd.bash.in (try_trace): New function. Delete previous code
9239 testing pipefail option.
9240
9241 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9242
9243 * soft-fp/double.h: Indent preprocessor directives inside #if.
9244 * soft-fp/extended.h: Likewise.
9245 * soft-fp/op-2.h: Likewise.
9246 * soft-fp/op-4.h: Likewise.
9247 * soft-fp/op-common.h: Likewise.
9248 * soft-fp/quad.h: Likewise.
9249 * soft-fp/single.h: Likewise.
9250 * soft-fp/soft-fp.h: Likewise.
9251
9252 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
9253
9254 * iconv/iconv_prog.c: Fix typos.
9255 * stdio-common/psiginfo-data.h: Likewise.
9256
9257 2013-10-12 Reuben Thomas <rrt@sc3d.org>
9258
9259 [BZ #15764]
9260 * locale/setlocale.c: Fix typo.
9261
9262 2013-10-12 Joseph Myers <joseph@codesourcery.com>
9263
9264 [BZ #16036]
9265 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9266 signaling NaN arguments.
9267 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9268 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9269
9270 [BZ #14910]
9271 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9272 unordered operands.
9273 * soft-fp/gesf2.c (__gesf2): Likewise.
9274 * soft-fp/getf2.c (__getf2): Likewise.
9275 * soft-fp/ledf2.c (__ledf2): Likewise.
9276 * soft-fp/lesf2.c (__lesf2): Likewise.
9277 * soft-fp/letf2.c (__letf2): Likewise.
9278
9279 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9280 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9281 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9282 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9283 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9284 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9285 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9286 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9287 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9288 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9289 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9290 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9291 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9292 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9293 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9294 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9295 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9296 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9297 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9298 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9299 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9300 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9301 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9302 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9303 * soft-fp/floattidf.c (__floattidf): Likewise.
9304 * soft-fp/floattisf.c (__floattisf): Likewise.
9305 * soft-fp/floattitf.c (__floattitf): Likewise.
9306 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9307 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9308 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9309 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9310 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9311 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9312 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9313 * soft-fp/gesf2.c (__gesf2): Likewise.
9314 * soft-fp/getf2.c (__getf2): Likewise.
9315 * soft-fp/ledf2.c (__ledf2): Likewise.
9316 * soft-fp/lesf2.c (__lesf2): Likewise.
9317 * soft-fp/letf2.c (__letf2): Likewise.
9318
9319 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9320 Undefine and redefine.
9321 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9322 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9323 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9324 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9325 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9326 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9327 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9328 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9329 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9330 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9331 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9332 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9333 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9334 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9335 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9336
9337 [BZ #16032]
9338 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9339 without decrementing exponent if mantissa >= that for the
9340 denominator, not >.
9341 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9342 denominator, not >. Decrement exponent in < case instead of
9343 incrementing in >= case.
9344 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9345 without decrementing exponent if mantissa >= that for the
9346 denominator, not >.
9347
9348 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9349 computing saturated result for unsigned overflow.
9350
9351 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9352 Jeff Law <law@redhat.com>
9353
9354 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9355 (atan2Mp): Add systemtap probe marker.
9356 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9357 (__ieee754_log): Add systemtap probe marker.
9358 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9359 (atanMp): Add systemtap probe marker.
9360 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9361 (tanMp): Add systemtap probe marker.
9362 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9363 (__slowexp): Add systemtap probe marker.
9364 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9365 (__slowpow): Add systemtap probe marker.
9366 * manual/probes.texi: Document probes.
9367
9368 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
9369
9370 [BZ #15362]
9371 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9372 written.
9373 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9374 written.
9375 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9376 written to buffer but not flushed.
9377 * libio/iofwrite_u.c: Likewise.
9378 * libio/iopadn.c: Return bytes returned even if EOF was
9379 encountered.
9380 * libio/iowpadn.c: Likewise.
9381 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9382 if _IO_padn does not write the whole buffer.
9383 [!COMPILE_WPRINTF] (PAD): Likewise.
9384
9385 2013-10-10 David S. Miller <davem@davemloft.net>
9386
9387 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9388 directory block.
9389
9390 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9391
9392 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9393 instead of FSF address.
9394 * soft-fp/fixdfti.c: Likewise.
9395 * soft-fp/fixsfti.c: Likewise.
9396 * soft-fp/fixtfti.c: Likewise.
9397 * soft-fp/fixunsdfti.c: Likewise.
9398 * soft-fp/fixunssfti.c: Likewise.
9399 * soft-fp/fixunstfti.c: Likewise.
9400 * soft-fp/floattidf.c: Likewise.
9401 * soft-fp/floattisf.c: Likewise.
9402 * soft-fp/floattitf.c: Likewise.
9403 * soft-fp/floatuntidf.c: Likewise.
9404 * soft-fp/floatuntisf.c: Likewise.
9405 * soft-fp/floatuntitf.c: Likewise.
9406 * soft-fp/trunctfxf2.c: Likewise.
9407
9408 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9409 * soft-fp/fixdfti.c: Likewise.
9410 * soft-fp/fixsfti.c: Likewise.
9411 * soft-fp/fixtfti.c: Likewise.
9412 * soft-fp/fixunsdfti.c: Likewise.
9413 * soft-fp/fixunssfti.c: Likewise.
9414 * soft-fp/fixunstfti.c: Likewise.
9415 * soft-fp/floattidf.c: Likewise.
9416 * soft-fp/floattisf.c: Likewise.
9417 * soft-fp/floattitf.c: Likewise.
9418 * soft-fp/floatuntidf.c: Likewise.
9419 * soft-fp/floatuntisf.c: Likewise.
9420 * soft-fp/floatuntitf.c: Likewise.
9421 * soft-fp/trunctfxf2.c: Likewise.
9422
9423 2013-10-10 David S. Miller <davem@davemloft.net>
9424
9425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9426
9427 2013-10-10 Joseph Myers <joseph@codsourcery.com>
9428
9429 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9430 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9431 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9432 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9433 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9434 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9435 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9436
9437 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9438 for NaNs before doing comparisons on argument.
9439 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9440 Likewise.
9441
9442 2013-10-10 Will Newton <will.newton@linaro.org>
9443
9444 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9445 passed to _int_memalign does not overflow.
9446
9447 2013-10-10 Torvald Riegel <triegel@redhat.com>
9448
9449 * scripts/bench.pl: Add include-sources directive.
9450 * benchtests/README: Update documentation.
9451
9452 2013-10-10 Joseph Myers <joseph@codesourcery.com>
9453
9454 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9455 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9456 instead of FP_INIT_ROUNDMODE.
9457 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9458 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9459
9460 [BZ #16034]
9461 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9462 copy class of input value.
9463 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9464 not handle exceptions.
9465 * soft-fp/negsf2.c (__negsf2): Likewise.
9466 * soft-fp/negtf2.c (__negtf2): Likewise.
9467 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9468
9469 2013-10-09 Joseph Myers <joseph@codesourcery.com>
9470
9471 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9472 semicolon. From Linux kernel.
9473
9474 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9475
9476 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9477
9478 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9479
9480 [BZ #156]
9481 * manual/socket.texi: Added statement about buffer
9482 for gethostbyname2_r.
9483
9484 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
9485
9486 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9487 Use .p2align directive instead, throughout.
9488 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9489 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9490 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9491 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9492 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9493 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9494 * sysdeps/x86_64/strchr.S: Likewise.
9495 * sysdeps/x86_64/strrchr.S: Likewise.
9496
9497 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9498
9499 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9500
9501 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9502
9503 * sysdeps/generic/math_private.h (__mpsin1): Remove
9504 declaration.
9505 (__mpcos1): Likewise.
9506 (__mpsin): New argument __range_reduce.
9507 (__mpcos): Likewise.
9508 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9509 (slow): Use __mpsin and __mpcos.
9510 (slow1): Likewise.
9511 (slow2): Likewise.
9512 (sloww): Likewise.
9513 (sloww1): Likewise.
9514 (sloww2): Likewise.
9515 (bsloww): Likewise.
9516 (bsloww1): Likewise.
9517 (bsloww2): Likewise.
9518 (cslow2): Likewise.
9519 (csloww): Likewise.
9520 (csloww1): Likewise.
9521 (csloww2): Likewise.
9522 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9523 range_reduce. Merge in __mpsin1.
9524 (__mpcos): Likewise.
9525 (__mpsin1): Remove.
9526 (__mpcos1): Likewise.
9527
9528 2013-10-07 Joseph Myers <joseph@codesourcery.com>
9529
9530 * locale/loadlocale.c (_nl_intern_locale_data): Use
9531 LOCFILE_ALIGNED_P.
9532 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9533 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9534 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9535 obstack data is appropriately aligned.
9536 (obstack_int32_grow_fast): Likewise.
9537 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9538 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9539 (add_locale_uint32_array): Likewise.
9540
9541 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9542
9543 * benchtests/Makefile: Remove ARGLIST and RET variables.
9544 ($(objpfx)bench-%.c): Pass only function name to the script.
9545 * benchtests/README: Update documentation.
9546 * benchtests/acos-inputs: Add new directives.
9547 * benchtests/acosh-inputs: Likewise.
9548 * benchtests/asin-inputs: Likewise.
9549 * benchtests/asinh-inputs: Likewise.
9550 * benchtests/atan-inputs: Likewise.
9551 * benchtests/atanh-inputs: Likewise.
9552 * benchtests/cos-inputs: Likewise.
9553 * benchtests/cosh-inputs: Likewise.
9554 * benchtests/exp-inputs: Likewise.
9555 * benchtests/log-inputs: Likewise.
9556 * benchtests/pow-inputs: Likewise.
9557 * benchtests/rint-inputs: Likewise.
9558 * benchtests/sin-inputs: Likewise.
9559 * benchtests/sinh-inputs: Likewise.
9560 * benchtests/tan-inputs: Likewise.
9561 * benchtests/tanh-inputs: Likewise.
9562 * scripts/bench.pl: Add support for new directives.
9563
9564 2013-10-07 Alan Modra <amodra@gmail.com>
9565
9566 * README: Fix careless merge.
9567
9568 2013-10-05 Alan Modra <amodra@gmail.com>
9569
9570 * NEWS: Mention powerpc64le support and bugs fixed.
9571 * README: Both big-endian and little-endian powerpc64 supported.
9572
9573 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9574
9575 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
9576 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9577 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9578 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9579
9580 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9581
9582 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9583 match prototype.
9584
9585 2013-10-04 Joseph Myers <joseph@codesourcery.com>
9586
9587 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9588 Move -mhard-float appending from
9589 ports/sysdeps/powerpc/powerpc32/Makefile.
9590 [$(with-fp) = yes] (ASFLAGS): Likewise.
9591 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9592 * sysdeps/powerpc/nofpu: Move directory from
9593 ports/sysdeps/powerpc/nofpu.
9594 * sysdeps/powerpc/soft-fp: Move directory from
9595 ports/sysdeps/powerpc/soft-fp.
9596 * sysdeps/powerpc/powerpc32/405: Move directory from
9597 ports/sysdeps/powerpc/powerpc32/405.
9598 * sysdeps/powerpc/powerpc32/440: Move directory from
9599 ports/sysdeps/powerpc/powerpc32/440.
9600 * sysdeps/powerpc/powerpc32/464: Move directory from
9601 ports/sysdeps/powerpc/powerpc32/464.
9602 * sysdeps/powerpc/powerpc32/476: Move directory from
9603 ports/sysdeps/powerpc/powerpc32/476.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9605 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9607 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9609 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9611 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9613 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9614 * README: Update for powerpc-*-linux-gnu software floating point
9615 support in libc.
9616
9617 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9618 case to powerpc/powerpc32*.
9619 * sysdeps/unix/sysv/linux/configure: Regenerated.
9620
9621 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9622 (_FPU_MASK_OM): Define as 0x04.
9623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9625 0x00c10080.
9626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9627 0x0000003c.
9628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9629
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9631 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9632 getcontext_e500.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9634 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9635 setcontext_e500.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9637 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9638 and setcontext_e500.
9639
9640 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9641
9642 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9643
9644 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9645
9646 * manual/threads.texi (Default Thread Attributes): Fix typo.
9647
9648 2013-10-04 Will Newton <will.newton@linaro.org>
9649
9650 * malloc/Makefile: Add tst-memalign.
9651 * malloc/tst-memalign.c: New file.
9652
9653 * malloc/tst-posix_memalign.c: Add comments.
9654 (do_test): Add comments and call free on all potentially
9655 allocated pointers. Add space after cast.
9656
9657 * malloc/tst-pvalloc.c: Add comments.
9658 (do_test): Add comments and call free on all potentially
9659 allocated pointers. Remove duplicate check for NULL pointer.
9660 Add space after cast.
9661
9662 * malloc/tst-valloc.c: Add comments.
9663 (do_test): Add comments and call free on all potentially
9664 allocated pointers. Remove duplicate check for NULL pointer.
9665 Add space after cast.
9666
9667 2013-10-04 Alan Modra <amodra@gmail.com>
9668
9669 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9670 Use stdint types in rather than __attribute__((mode())).
9671 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9672
9673 2013-10-04 Alan Modra <amodra@gmail.com>
9674
9675 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9676 Correct handling of unaligned relocs for little-endian.
9677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9678
9679 2013-10-04 Alan Modra <amodra@gmail.com>
9680
9681 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9682 * configure: Regenerate.
9683 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9684 * shlib-versions: Likewise.
9685
9686 2013-10-04 Alan Modra <amodra@gmail.com>
9687
9688 * string/tester.c (test_memrchr): Increment reported test cycle.
9689
9690 2013-10-04 Alan Modra <amodra@gmail.com>
9691
9692 * string/test-memcpy.c (do_one_test): When reporting errors, print
9693 string address and don't overrun end of string.
9694
9695 2013-10-04 Alan Modra <amodra@gmail.com>
9696
9697 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9698 insrdi. Make better use of reg selection to speed exit slightly.
9699 Schedule entry path a little better. Remove useless "are we done"
9700 checks on entry to main loop. Handle wrapping around zero address.
9701 Correct main loop count. Handle single left-over word from main
9702 loop inline rather than by using loop_small. Remove extra word
9703 case in loop_small caused by wrong loop count. Add little-endian
9704 support.
9705 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9706 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9707 cache hint.
9708 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9709 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9710 support. Avoid rlwimi.
9711 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9712
9713 2013-10-04 Alan Modra <amodra@gmail.com>
9714
9715 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
9716 insrdi. Formatting.
9717 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9718 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9719 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9720 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9721 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9722 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9723
9724 2013-10-04 Alan Modra <amodra@gmail.com>
9725
9726 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9727 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9728 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9729 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9730 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9731 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9732 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9733 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9734 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9735 use of regs. Use power7 mtocrf. Tidy function tails.
9736
9737 2013-10-04 Alan Modra <amodra@gmail.com>
9738
9739 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9740 Formatting. Consistently use rXXX register defines or rN defines.
9741 Use early exit labels that avoid restoring unused non-volatile regs.
9742 Make cr field use more consistent with rWORDn compares. Rename
9743 regs used as shift registers for unaligned loop, using rN defines
9744 for short lifetime/multiple use regs.
9745 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9746 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9747 addi 1,1,64 to pop stack frame. Simplify return value code.
9748 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9749
9750 2013-10-04 Alan Modra <amodra@gmail.com>
9751
9752 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9753 support. Correct typos, formatting. Optimize tail. Use insrdi
9754 rather than rlwimi.
9755 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9756 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9757 little-endian support. Correct typos.
9758 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9759 rather than rlwimi.
9760 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9761 in loop and entry code to keep "and." results.
9762 (strchr): Add little-endian support. Comment. Move cntlzd
9763 earlier in tail.
9764 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9765
9766 2013-10-04 Alan Modra <amodra@gmail.com>
9767
9768 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9769 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9770 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9771 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9772
9773 2013-10-04 Alan Modra <amodra@gmail.com>
9774
9775 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9776 (rTMP): Define as r11.
9777 (strcmp): Add little-endian support. Optimise tail.
9778 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9779 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9780 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9781 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9782 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9784 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9785
9786 2013-10-04 Alan Modra <amodra@gmail.com>
9787
9788 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9789 little-endian support. Remove unnecessary "are we done" tests.
9790 Handle "s" wrapping around zero and extremely large "size".
9791 Correct main loop count. Handle single left-over word from main
9792 loop inline rather than by using small_loop. Correct comments.
9793 Delete "zero" tail, use "end_max" instead.
9794 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9795
9796 2013-10-04 Alan Modra <amodra@gmail.com>
9797
9798 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9799 support. Don't branch over align.
9800 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9801 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9802 support. Rearrange tmp reg use to suit. Comment.
9803 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9804
9805 2013-10-04 Alan Modra <amodra@gmail.com>
9806
9807 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9808
9809 2013-10-04 Alan Modra <amodra@gmail.com>
9810
9811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9812 conditional form of branch and link when obtaining pc.
9813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9814
9815 2013-10-04 Alan Modra <amodra@gmail.com>
9816
9817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9818 HIWORD/LOWORD.
9819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9821
9822 2013-10-04 Alan Modra <amodra@gmail.com>
9823
9824 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9825 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9826 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9827 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9828 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9829 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9830 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9831 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9832 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9833 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9834
9835 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9836 Alistair Popple <alistair@ozlabs.au.ibm.com>
9837 Alan Modra <amodra@gmail.com>
9838
9839 [BZ #15723]
9840 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9841 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9842 _dl_hwcap access for little-endian.
9843 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9844 destroy vmx regs when saving unaligned.
9845 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9846 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9847 destroy vmx regs when saving unaligned.
9848
9849 2013-10-04 Alan Modra <amodra@gmail.com>
9850
9851 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9852 Don't use a union to pack hi/low value.
9853
9854 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9855
9856 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9857 for little-endian.
9858 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9859 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9860 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9861 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9862 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9863
9864 2013-10-04 Alan Modra <amodra@gmail.com>
9865
9866 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9867 constants to usual value for .cst8 section, and remove redundant
9868 high address load.
9869 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9870 constant for 0x1p52. Load little-endian words of double from
9871 correct stack offsets.
9872
9873 2013-10-04 Alan Modra <amodra@gmail.com>
9874
9875 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9876 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9877 words of double from correct stack offsets.
9878 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9879 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9880 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9881 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9882 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9883 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9884 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9885 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9886 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9887 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9888 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9889 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9890 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9891 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9892 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9893 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9894 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9895
9896 2013-10-04 Alan Modra <amodra@gmail.com>
9897
9898 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9899 64-bit int/double union.
9900 (_FPU_SETCW): Likewise.
9901 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9902 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9903
9904 2013-10-04 Alan Modra <amodra@gmail.com>
9905
9906 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9907 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9908
9909 2013-10-04 Alan Modra <amodra@gmail.com>
9910
9911 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9912 use vector int constants.
9913 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9914
9915 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9916
9917 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9918 array with long long.
9919 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9920 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9921 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9922 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9923 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9924 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9925 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9926 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9927 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9928 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9929 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9930 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9931 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9932
9933 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
9934
9935 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9936 (__signbit): Likewise. Correct for little-endian.
9937 (__signbitl): Call __signbit.
9938 (lrint): Correct for little-endian.
9939 (lrintf): Call lrint.
9940
9941 2013-10-04 Alan Modra <amodra@gmail.com>
9942
9943 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9944 union 32-bit int array member with 64-bit int array.
9945 (t515, tm256): Double rather than long double.
9946 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9947
9948 2013-10-04 Alan Modra <amodra@gmail.com>
9949
9950 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9951 Delete.
9952 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9953 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9954 version of math_ldbl.h.
9955
9956 2013-10-04 Alan Modra <amodra@gmail.com>
9957
9958 [BZ #15734], [BZ #15735]
9959 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9960 all uses of ieee875 long double macros and unions. Simplify test
9961 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9962 ldbl_extract_mantissa value for ix,iy exponents. Properly
9963 normalize after ldbl_extract_mantissa, and don't add hidden bit
9964 already handled. Don't treat low word of ieee854 mantissa like
9965 low word of IBM long double and mask off bit when testing for
9966 zero.
9967 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9968 all uses of ieee875 long double macros and unions. Simplify tests
9969 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9970 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9971 two1022, instead use their values. Recognise that tests for large
9972 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9973 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9974 Rewrite all uses of ieee875 long double macros and unions. Simplify
9975 test for 0.0L and nan. Correct negation.
9976 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9977 ieee875 long double macros and unions. Correct output for large
9978 magnitude x. Correct absolute value calculation.
9979 (__erfcl): Likewise.
9980 * math/libm-test.inc: Add tests for errors discovered in IBM long
9981 double versions of fmodl, remainderl, erfl and erfcl.
9982
9983 2013-10-04 Alan Modra <amodra@gmail.com>
9984
9985 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9986 all uses of ieee854 long double macros and unions. Simplify tests
9987 for long doubles that are fully specified by the high double.
9988 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9989 Likewise.
9990 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9991 Remove dead code too.
9992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9993 (__ieee754_ynl): Likewise.
9994 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9995 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9996 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9997 Remove dead code too.
9998 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9999 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
10000 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
10001 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
10002 Simplify.
10003 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
10004 Simplify.
10005 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
10006 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
10007 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
10008 Comment on variable precision.
10009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
10010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10011 Likewise.
10012 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10013 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
10014 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
10015 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10016 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
10017
10018 2013-10-04 Alan Modra <amodra@gmail.com>
10019
10020 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
10021 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
10022 all uses of ieee854 long double macros and unions.
10023 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
10024 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10025 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
10026 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
10027 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
10028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10029 Likewise.
10030 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
10031 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
10032 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
10033 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10034 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10035 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10036 Simplify sign and nan test too.
10037 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
10038 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
10039 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
10040 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
10041 Likewise.
10042 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10043 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
10044 Likewise.
10045 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10046 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10047 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
10048 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
10049 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
10050 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
10051
10052 2013-10-04 Alan Modra <amodra@gmail.com>
10053
10054 * stdio-common/printf_size.c (__printf_size): Don't use
10055 union ieee854_long_double in fpnum union.
10056 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
10057 signbit macro to retrieve sign from long double.
10058 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
10059 retrieve sign from long double.
10060 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
10061 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
10062 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
10063 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
10064 * math/test-misc.c (main): Don't use union ieee854_long_double.
10065
10066 2013-10-04 Alan Modra <amodra@gmail.com>
10067
10068 [BZ #15680]
10069 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
10070 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
10071 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
10072 calculation. Remove unnecessary test for denormal exponent.
10073 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
10074 Correct handling of denormals. Avoid undefined shift behaviour.
10075 Correct normalisation of low mantissa when low double is denormal.
10076 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
10077 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
10078 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
10079 Correct normalisation of low mantissa. Test for overflow of high
10080 mantissa and normalise.
10081 (ldbl_nearbyint): Use more readable constant for two52.
10082 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
10083 (__mpn_construct_long_double): Fix test for overflow of high
10084 mantissa and correct normalisation. Avoid undefined shift.
10085
10086 2013-10-04 Alan Modra <amodra@gmail.com>
10087
10088 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10089 (union ibm_extended_long_double): Define as an array of ieee754_double.
10090 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
10091 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
10092 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
10093 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10094 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10095 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
10096 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
10097 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10098 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10099 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
10100 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10101
10102 2013-10-03 Joseph Myers <joseph@codesourcery.com>
10103
10104 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
10105 page size instead of calling getpagesize.
10106
10107 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
10108 (LOCFILE_ALIGN_MASK): Likewise.
10109 (LOCFILE_ALIGN_UP): Likewise.
10110 (LOCFILE_ALIGNED_P): Likewise.
10111 * locale/programs/ld-collate.c (collate_output): Use the new
10112 macros instead of __alignof__ (int32_t).
10113 * locale/weight.h (findidx): Likewise.
10114
10115 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
10116
10117 [BZ #431]
10118 * manual/string.texi: Fix strncat and wcsncat.
10119
10120 2013-10-03 Brooks Moses <bmoses@google.com>
10121
10122 [BZ #15915]
10123 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
10124 * Makerules: ...here, and adjust associated comments.
10125
10126 2013-10-02 Will Newton <will.newton@linaro.org>
10127
10128 * malloc/Makefile: Add tst-pvalloc.
10129 * malloc/tst-pvalloc.c: New file.
10130
10131 2013-10-02 Will Newton <will.newton@linaro.org>
10132
10133 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
10134 improve test coverage.
10135
10136 2013-10-02 Will Newton <will.newton@linaro.org>
10137
10138 * malloc/Makefile: Add tst-posix_memalign.
10139 * malloc/tst-posix_memalign.c: New file.
10140
10141 2013-10-01 Eric Blake <eblake@redhat.com>
10142
10143 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
10144 Use __THROWNL rather than __THROW on static functions.
10145
10146 2013-09-30 Petr Machata <pmachata@redhat.com>
10147
10148 * elf/elf.h (R_AARCH64_ABS16): New macro.
10149 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
10150 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
10151 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
10152 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
10153 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
10154 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
10155 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
10156 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
10157 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
10158 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
10159 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
10160 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
10161 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
10162 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
10163 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
10164 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
10165 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
10166 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
10167 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
10168 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
10169 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
10170 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
10171 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
10172 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
10173 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
10174 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
10175 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
10176 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
10177 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
10178 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
10179 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
10180 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
10181 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
10182 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
10183 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
10184 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
10185 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
10186 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
10187 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
10188 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
10189 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
10190 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
10191 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
10192 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
10193 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
10194 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
10195 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
10196 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
10197 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
10198 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
10199 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
10200 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
10201 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
10202 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
10203 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
10204 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
10205 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
10206 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
10207 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
10208 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
10209 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
10210 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
10211 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
10212 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
10213 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
10214 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
10215 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
10216 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
10217 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
10218 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
10219 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
10220 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
10221 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
10222 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
10223 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
10224 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
10225 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
10226 (R_AARCH64_TLSDESC_LDR): Likewise.
10227 (R_AARCH64_TLSDESC_ADD): Likewise.
10228 (R_AARCH64_TLSDESC_CALL): Likewise.
10229
10230 2013-09-30 Andreas Schwab <schwab@suse.de>
10231
10232 [BZ #15048]
10233 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
10234 the nss database lookup.
10235 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10237
10238 2013-09-28 Mike Frysinger <vapier@gentoo.org>
10239
10240 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
10241
10242 2013-09-28 P. J. McDermott <pj@pehjota.net>
10243
10244 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
10245 ${Bash-specific parameter/pattern/string} parameter expansion.
10246 * sysdeps/unix/make-syscalls.sh: Likewise.
10247
10248 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10249
10250 * sysdeps/sh/stackguard-macros.h: New file.
10251
10252 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
10253
10254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10255 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
10256 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10257 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10258 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10259 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10260
10261 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10262
10263 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10264 Fix thread ID register.
10265
10266 2013-09-25 Joseph Myers <joseph@codesourcery.com>
10267
10268 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10269 [POSIX || UNIX98]: Require rather than permitting all symbols from
10270 <time.h>.
10271 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10272 element of struct sched_param.
10273 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10274 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10275 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10276 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10277 constant.
10278
10279 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10280
10281 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10282 argument calculation.
10283
10284 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10285
10286 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10287 Expect macro.
10288 [POSIX] (pthread_attr_t): Do not require type.
10289 [POSIX] (pthread_cond_t): Likewise.
10290 [POSIX] (pthread_condattr_t): Likewise.
10291 [POSIX] (pthread_key_t): Likewise.
10292 [POSIX] (pthread_mutex_t): Likewise.
10293 [POSIX] (pthread_mutexattr_t): Likewise.
10294 [POSIX] (pthread_once_t): Likewise.
10295 [POSIX] (pthread_t): Likewise.
10296 [POSIX-based standards] (pthread_atfork): Expect function.
10297
10298 2013-09-24 Joseph Myers <joseph@codesourcery.com>
10299 Richard Sandiford <richard@codesourcery.com>
10300
10301 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10302 (swap_endianness_p): New extern variable.
10303 (set_big_endian): New inline function.
10304 (maybe_swap_uint32): Likewise.
10305 (maybe_swap_uint32_array): Likewise.
10306 (maybe_swap_uint32_obstack): Likewise.
10307 * locale/programs/locfile.c: Include <stdbool.h>.
10308 (swap_endianness_p): New variable.
10309 (add_locale_uint32): Call maybe_swap_uint32.
10310 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10311 (write_locale_data): Call maybe_swap_uint32_array.
10312 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10313 maybe_swap_uint32.
10314 (obstack_int32_grow_fast): Likewise.
10315 (output_weightwc): Call maybe_swap_uint32_obstack.
10316 (collate_output): Likewise.
10317 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10318 (OPT_LITTLE_ENDIAN): Likewise.
10319 (options): Add --little-endian and --big-endian options.
10320 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10321 * locale/programs/locarchive.c: Include "locfile.h".
10322 (GET): New macro.
10323 (SET): Likewise.
10324 (INC): Likewise.
10325 (create_archive): Use the new macros to access fields of
10326 structures directly mapped from or written to locale archives.
10327 (oldlocrecentcmp): Likewise.
10328 (enlarge_archive): Likewise.
10329 (insert_name): Likewise.
10330 (add_alias): Likewise.
10331 (add_locale): Likewise.
10332 (delete_locales_from_archive): Likewise.
10333 (show_archive_content): Likewise.
10334 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10335 locale data.
10336
10337 2013-09-24 Roland McGrath <roland@hack.frob.com>
10338
10339 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10340 http://www.gnu.org/doc/freemanuals.texi.
10341 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10342
10343 2013-09-24 Will Newton <will.newton@linaro.org>
10344
10345 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10346 macro.
10347
10348 2013-09-23 Joseph Myers <joseph@codesourcery.com>
10349
10350 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10351 unsigned char.
10352
10353 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10354
10355 * manual/threads.texi (POSIX Threads): Fix a typo.
10356
10357 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10358
10359 [BZ #14547]
10360 * string/tst-strcoll-overflow.c: New test case.
10361 * string/Makefile (xtests): Add tst-strcoll-overflow.
10362 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10363 cache if string sizes may cause integer overflow.
10364
10365 [BZ #14547]
10366 * string/strcoll_l.c (coll_seq): New members rule, idx,
10367 save_idx and back_us.
10368 (get_next_seq_nocache): New function.
10369 (do_compare_nocache): New function.
10370 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10371 when malloc fails.
10372
10373 2013-09-23 Carlos O'Donell <carlos@redhat.com>
10374
10375 [BZ #15754]
10376 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10377 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10378 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10379
10380 [BZ #15754]
10381 * elf/Makefile (tests): Add tst-ptrguard1.
10382 (tests-static): Add tst-ptrguard1-static.
10383 (tst-ptrguard1-ARGS): Define.
10384 (tst-ptrguard1-static-ARGS): Define.
10385 * elf/tst-ptrguard1.c: New file.
10386 * elf/tst-ptrguard1-static.c: New file.
10387 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10388 * sysdeps/i386/stackguard-macros.h: Likewise.
10389 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10390 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10391 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10392 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10393 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10394 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10395
10396 2013-09-23 Hector Marco <hecmargi@upv.es>
10397 Ismael Ripoll <iripoll@disca.upv.es>
10398 Carlos O'Donell <carlos@redhat.com>
10399
10400 [BZ #15754]
10401 * sysdeps/generic/stackguard-macros.h: Define
10402 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10403 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10404 Define __pointer_chk_guard_local.
10405 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10406 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10407
10408 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10409
10410 [BZ #15859]
10411 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10412
10413 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10414
10415 * include/string.h (__ffs): Declare as hidden.
10416 * string/ffs.c (__ffs): Define as hidden.
10417 * sysdeps/i386/ffs.c (__ffs): Likewise.
10418 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10419 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10420 * sysdeps/s390/ffs.c (__ffs): Likewise.
10421 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10422
10423 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
10424
10425 * NEWS: Mention malloc probes.
10426
10427 * malloc/arena.c (new_heap): New memory_heap_new probe.
10428 (grow_heap): New memory_heap_more probe.
10429 (shrink_heap): New memory_heap_less probe.
10430 (heap_trim): New memory_heap_free probe.
10431 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10432 (systrim): New memory_sbrk_less probe.
10433 * manual/probes.texi: Document them.
10434
10435 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10436 * manual/probes.texi: Document it.
10437
10438 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10439 (__libc_realloc): Add memory_realloc_retry probe.
10440 (__libc_memalign): Add memory_memalign_retry probe.
10441 (__libc_valloc): Add memory_valloc_retry probe.
10442 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10443 (__libc_calloc): Add memory_calloc_retry probe.
10444 * manual/probes.texi: Document them.
10445
10446 * malloc/arena.c (get_free_list): Add probe
10447 memory_arena_reuse_free_list.
10448 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10449 and memory_arena_reuse.
10450 (arena_get2) [!PER_THREAD]: Likewise.
10451 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10452 memory_arena_reuse_realloc.
10453 * manual/probes.texi: Document them.
10454
10455 * malloc/malloc.c (__libc_free): Add
10456 memory_mallopt_free_dyn_thresholds probe.
10457 (__libc_mallopt): Add multiple memory_mallopt probes.
10458 * manual/probes.texi: Document them.
10459
10460 * malloc/malloc.c: Include stap-probe.h.
10461 (__libc_mallopt): Add memory_mallopt probe.
10462 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10463 * manual/probes.texi: New.
10464 * manual/Makefile (chapters): Add probes.
10465 * manual/threads.texi: Set next node.
10466
10467 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
10468
10469 [BZ #15963, #13985]
10470 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10471 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10472 Add `Chinese' to `nan' entry name.
10473
10474 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10475
10476 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10477 (POLYNOMIAL): Likewise.
10478 (TAYLOR_SINCOS): Likewise.
10479 (TAYLOR_SLOW): Likewise.
10480 (__sin): Use TAYLOR_SINCOS.
10481 (__cos): Likewise.
10482 (slow): Use TAYLOR_SLOW.
10483 (sloww): Likewise.
10484 (bsloww): Likewise.
10485 (csloww): Likewise.
10486
10487 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10488
10489 * stdlib/strtod_l.c: Fix buffer overrun.
10490
10491 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10492
10493 * benchtests/Makefile (bench): Add sincos.
10494 * benchtests/bench-sincos.c: New file.
10495
10496 * math/libm-test.inc (cos_test_data): New test inputs.
10497 (sin_test_data): Likewise.
10498
10499 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10500 macro.
10501 (__sin): Use it.
10502 (__cos): Likewise.
10503 (slow1): Likewise.
10504 (slow2): Likewise.
10505 (sloww1): Likewise.
10506 (sloww2): Likewise.
10507 (bsloww1): Likewise.
10508 (bsloww2): Likewise.
10509 (cslow2): Likewise.
10510 (csloww1): Likewise.
10511 (csloww2): Likewise.
10512
10513 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10514 function.
10515 (__sin): Use it.
10516 (__cos): Likewise.
10517
10518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10519 gotos.
10520 (__cos): Likewise.
10521
10522 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10523
10524 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10525 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10526 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10527 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10528 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10529 * elf/cache.c (print_entry): Handle the new cache flags.
10530
10531 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10532 Aldy Hernandez <aldyh@redhat.com>
10533
10534 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10535 Change condition to [_SOFT_FLOAT].
10536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10540 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10548 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10551 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10552 declaration.
10553
10554 2013-09-18 Joseph Myers <joseph@codesourcery.com>
10555
10556 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10557 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10558 (__longjmp): Use LOAD_GP to load saved GPRs.
10559 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10560 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10561 (__sigsetjmp): Use SAVE_GP to save GPRs.
10562
10563 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10564 Do not append -msoft-float.
10565 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10566
10567 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10568
10569 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10570
10571 2013-09-17 Joseph Myers <joseph@codesourcery.com>
10572
10573 [BZ #15966]
10574 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10575 (_FPU_GETCW): Use initial "__" on variable and field names but not
10576 on macro parameter name.
10577 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10578 parentheses around reference to macro parameter.
10579
10580 2013-09-13 Richard Sandiford <richard@codesourcery.com>
10581
10582 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10583 prototype.
10584 (ctype_startup): Use uint32_t in cast and sizeof for
10585 ctype->charnames.
10586
10587 2013-09-11 Jia Liu <proljc@gmail.com>
10588
10589 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10590 __daddr_t_defined.
10591 [__FreeBSD__]: Likewise.
10592
10593 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
10594
10595 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10596 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10597 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10598 (strchr): Remove __strchr_sse42 ifunc selection.
10599 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10600 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10601
10602 2013-09-11 Will Newton <will.newton@linaro.org>
10603
10604 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10605 parameter to RES. Remove hardcoded 1000 value.
10606 * benchtests/bench-skeleton.c (main): Pass RES parameter
10607 to TIMING_INIT and multiply result by 1000.
10608
10609 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10610
10611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10612
10613 2013-09-11 Andreas Schwab <schwab@suse.de>
10614
10615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10616 if not defined.
10617 (O_TMPFILE) [__USE_GNU]: Define.
10618 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10619 Define.
10620
10621 2013-09-11 Will Newton <will.newton@linaro.org>
10622
10623 [BZ #15857]
10624 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10625 does not overflow.
10626
10627 2013-09-11 Will Newton <will.newton@linaro.org>
10628
10629 [BZ #15856]
10630 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10631 does not overflow.
10632
10633 2013-09-11 Will Newton <will.newton@linaro.org>
10634
10635 [BZ #15855]
10636 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10637 does not overflow.
10638
10639 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
10640
10641 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10642 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10643 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10644 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10645 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10646
10647 2013-09-10 Allan McRae <allan@archlinux.org>
10648
10649 [BZ #15748]
10650 * manual/arith.texi (Parsing of Floats): Clarify
10651 cross-reference.
10652
10653 [BZ #15849]
10654 * manual/install.texi (Running make install): Mention
10655 --enable-pt-chown.
10656 * INSTALL: Regenerated.
10657
10658 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10659
10660 * csu/init-first.c (_init): Remove the !SHARED condition around
10661 FPU control word initialization.
10662 * elf/dl-support.c (_dl_fpu_control): New variable.
10663 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10664 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10665 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10666 * math/test-fpucw-static.c: New file.
10667 * math/test-fpucw-ieee.c: New file.
10668 * math/test-fpucw-ieee-static.c: New file.
10669 * math/Makefile (tests): Add `test-fpucw-ieee' and
10670 `$(tests-static)'.
10671 (tests-static): New variable.
10672 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10673 dependency to...
10674 [($(build-shared),yes)]
10675 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10676 ... this.
10677 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10678 New dependency.
10679
10680 2013-09-09 Allan McRae <allan@archlinux.org>
10681
10682 [BZ #15939]
10683 * manual/string.texi (Collation Functions): Fix typo in
10684 strcoll example.
10685 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10686
10687 [BZ #15893]
10688 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10689
10690 [BZ #15892]
10691 * libio/memstream.c (open_memstream): Fix memory leak.
10692 * libio/wmemstream.c (open_wmemstream): Likewise.
10693
10694 [BZ #15895]
10695 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10696
10697 2013-09-09 Will Newton <will.newton@linaro.org>
10698
10699 * malloc/Makefile: Add tst-realloc to tests.
10700 * malloc/tst-realloc.c: New file.
10701
10702 2013-09-09 Allan McRae <allan@archlinux.org>
10703
10704 [BZ #15844]
10705 * COPYING: Update from GNU website to fix FSF address.
10706 * COPYING.LIB: Likewise.
10707
10708 2013-09-06 David S. Miller <davem@davemloft.net>
10709
10710 * po/zh_TW.po: Update Chinese (traditional) translation from
10711 translation project.
10712
10713 2013-09-06 Richard Sandiford <richard@codesourcery.com>
10714 Joseph Myers <joseph@codesourcery.com>
10715
10716 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10717 "localeinfo.h".
10718 (obstack_chunk_alloc): New macro.
10719 (obstack_chunk_free): Likewise.
10720 (record_offset): New function.
10721 (init_locale_data): Likewise.
10722 (align_locale_data): Likewise.
10723 (add_locale_empty): Likewise.
10724 (add_locale_raw_data): Likewise.
10725 (add_locale_raw_obstack): Likewise.
10726 (add_locale_string): Likewise.
10727 (add_locale_wstring): Likewise.
10728 (add_locale_uint32): Likewise.
10729 (add_locale_uint32_array): Likewise.
10730 (add_locale_char): Likewise.
10731 (start_locale_structure): Likewise.
10732 (end_locale_structure): Likewise.
10733 (start_locale_prelude): Likewise.
10734 (end_locale_prelude): Likewise.
10735 (write_locale_data): Take locale_file structure rather than an
10736 iovec.
10737 * locale/programs/locfile.h: Include "obstack.h".
10738 (struct locale_file): Change to store locale file contents instead
10739 of header.
10740 (init_locale_data): New prototype.
10741 (align_locale_data): Likewise.
10742 (add_locale_empty): Likewise.
10743 (add_locale_raw_data): Likewise.
10744 (add_locale_raw_obstack): Likewise.
10745 (add_locale_string): Likewise.
10746 (add_locale_wstring): Likewise.
10747 (add_locale_uint32): Likewise.
10748 (add_locale_uint32_array): Likewise.
10749 (add_locale_char): Likewise.
10750 (start_locale_structure): Likewise.
10751 (end_locale_structure): Likewise.
10752 (start_locale_prelude): Likewise.
10753 (end_locale_prelude): Likewise.
10754 (write_locale_data): Update prototype.
10755 * locale/programs/3level.h (struct TABLE): Remove result field.
10756 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10757 Use new locale_file interface.
10758 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10759 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10760 * locale/programs/ld-address.c (address_output): Use new
10761 locale_file interface.
10762 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10763 NO_ADD_LOCALE.
10764 (collate_finish): Don't call collseq_table_finalize.
10765 (collate_output): Use new locale_file interface.
10766 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10767 in file.
10768 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10769 (TABLE): Move defines earlier in file.
10770 (ELEMENT): Likewise.
10771 (DEFAULT): Likewise.
10772 (wctrans_table_add): Move macro and inline function earlier in
10773 file.
10774 (struct wctype_table): Move type earlier in file.
10775 (add_locale_wctype_table): New static prototype.
10776 (struct locale_ctype_t): Use logical types instead of struct iovec
10777 pointers for members.
10778 (ctype_output): Use new locale_file interface.
10779 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10780 new locale_file interface.
10781 (allocate_arrays): Update for use of new locale_file interface.
10782 * locale/programs/ld-identification.c (identification_output): Use
10783 new locale_file interface.
10784 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10785 * locale/programs/ld-messages.c (messages_output): Likewise.
10786 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10787 * locale/programs/ld-name.c (name_output): Likewise.
10788 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10789 * locale/programs/ld-paper.c (paper_output): Likewise.
10790 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10791 * locale/programs/ld-time.c (time_output): Likewise.
10792
10793 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10794
10795 * benchtests/Makefile: Add memrchr benchmark.
10796 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10797 benchmark as memrchr.
10798 * benchtests/bench-memrchr-ifunc.c: New file.
10799 * benchtests/bench-memrchr.c: New file.
10800
10801 2013-09-06 Will Newton <will.newton@linaro.org>
10802
10803 * benchtests/Makefile (string-bench): Add memcpy.
10804
10805 2013-09-05 Carlos O'Donell <carlos@redhat.com>
10806 Cong Wang <amwang@redhat.com>
10807
10808 [BZ #15850]
10809 * sysdeps/unix/sysv/linux/bits/in.h
10810 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10811 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10812 before __USE_KERNEL_IPV6_DEFS uses.
10813 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10814 IPPROTO_BEETPH.
10815 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10816 sockaddr_in6, or ipv6_mreq.
10817
10818 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10819
10820 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10821 memory access for final bytes in some large inputs.
10822 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10823
10824 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10825
10826 * string/test-memrchr.c: New file.
10827 * string/test-memrchr-ifunc.c: New file.
10828 * string/Makefile: Add new memrchr testcase.
10829
10830 2013-09-05 Mike Frysinger <vapier@gentoo.org>
10831
10832 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10833 fanotify_init returns EPERM.
10834
10835 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10836
10837 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10838 errors.
10839 (top level): Treat second token from macro or constant entries for
10840 allowed headers as allowed.
10841 * include/complex.h: Condition internal declarations on
10842 [!_ISOMAC].
10843 * include/fenv.h: Condition include of <stdbool.h> and internal
10844 declarations on [!_ISOMAC].
10845
10846 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10847
10848 [BZ #15923]
10849 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10850
10851 2013-09-04 Joseph Myers <joseph@codesourcery.com>
10852
10853 * configure.in (--enable-versioning): Remove configure option.
10854 (libc_cv_asm_symver_directive): Remove configure test.
10855 (libc_cv_ld_version_script_option): Likewise.
10856 (VERSIONING): Remove variable and AC_SUBST.
10857 (DO_VERSIONING): Remove AC_DEFINE.
10858 * configure: Regenerated.
10859 * config.h.in (DO_VERSIONING): Remove macro.
10860 * Makerules [$(versioning) = yes]: Change conditionals to
10861 [$(build-shared) = yes].
10862 * config.make.in (versioning): Remove variable.
10863 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10864 [$(build-shared) = yes].
10865 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10866 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10867 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10868 [$(build-shared) = yes].
10869 * extra-lib.mk [$(versioning) = yes]: Likewise.
10870 * hurd/Makefile [$(versioning) = yes]: Likewise.
10871 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10872 [SHARED].
10873 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10874 [SHARED].
10875 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10876 [SHARED && !NO_HIDDEN].
10877 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10878 [SHARED].
10879 [SHARED && DO_VERSIONING]: Likewise..
10880 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10881 [$(build-shared) = yes].
10882 * manual/install.texi (--disable-versioning): Remove
10883 documentation.
10884 * INSTALL: Regenerated.
10885 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10886 to [SHARED].
10887 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10888 [$(build-shared) = yes].
10889 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10890 * sysdeps/i386/i686/multiarch/strstr-c.c
10891 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10892 [SHARED && !NO_HIDDEN].
10893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10894 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10895 * sysdeps/powerpc/powerpc32/dl-machine.c
10896 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10897 * sysdeps/powerpc/powerpc32/sysdep.h
10898 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10899 to [SHARED && PIC && !NO_HIDDEN].
10900 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10901 conditional to [SHARED].
10902
10903 2013-09-04 Will Newton <will.newton@linaro.org>
10904
10905 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10906 * benchtests/bench-string.h: Include bench-timing.h instead
10907 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10908 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10909 call to HP_TIMING_DIFF_INIT.
10910 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10911 instead of hp-timing.h macros.
10912 * benchtests/bench-memchr.c: Likewise.
10913 * benchtests/bench-memcmp.c: Likewise.
10914 * benchtests/bench-memcpy.c: Likewise.
10915 * benchtests/bench-memmem.c: Likewise.
10916 * benchtests/bench-memmove.c: Likewise.
10917 * benchtests/bench-memset.c: Likewise.
10918 * benchtests/bench-rawmemchr.c: Likewise.
10919 * benchtests/bench-strcasecmp.c: Likewise.
10920 * benchtests/bench-strcasestr.c: Likewise.
10921 * benchtests/bench-strcat.c: Likewise.
10922 * benchtests/bench-strchr.c: Likewise.
10923 * benchtests/bench-strcmp.c: Likewise.
10924 * benchtests/bench-strcpy.c: Likewise.
10925 * benchtests/bench-strcpy_chk.c: Likewise.
10926 * benchtests/bench-strlen.c: Likewise.
10927 * benchtests/bench-strncasecmp.c: Likewise.
10928 * benchtests/bench-strncat.c: Likewise.
10929 * benchtests/bench-strncmp.c: Likewise.
10930 * benchtests/bench-strncpy.c: Likewise.
10931 * benchtests/bench-strnlen.c: Likewise.
10932 * benchtests/bench-strpbrk.c: Likewise.
10933 * benchtests/bench-strrchr.c: Likewise.
10934 * benchtests/bench-strspn.c: Likewise.
10935 * benchtests/bench-strstr.c: Likewise.
10936
10937 2013-09-04 Will Newton <will.newton@linaro.org>
10938
10939 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10940
10941 2013-09-03 Joseph Myers <joseph@codesourcery.com>
10942
10943 [BZ #15427]
10944 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10945 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10946 * math/libm-test.inc (lgamma_test_data): Add more tests.
10947 * sysdeps/i386/fpu/libm-test-ulps: Update.
10948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10949
10950 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
10951
10952 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10954 Add ifunc.
10955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10956 Add strcmp-sse2-unaligned
10957 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10958
10959 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10960
10961 * Versions.def (libc): Add GLIBC_2.19.
10962
10963 2013-09-02 Mike Frysinger <vapier@gentoo.org>
10964
10965 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10966 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10967
10968 2013-09-02 Joseph Myers <joseph@codesourcery.com>
10969
10970 [BZ #14155]
10971 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10972 intermediate calculations in recurrence.
10973 (__ieee754_ynf): Likewise.
10974 * math/libm-test.inc (jn_test_data): Do not allow spurious
10975 underflow exception. Add more tests.
10976 (yn_test_data): Add more tests.
10977 * sysdeps/i386/fpu/libm-test-ulps: Update.
10978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10979
10980 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
10981
10982 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10983
10984 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
10985
10986 * csu/init-first.c: Fix then/than typos.
10987 * locale/programs/ld-collate.c: Likewise.
10988 * locale/programs/linereader.h: Likewise.
10989 * manual/charset.texi: Likewise.
10990 * manual/filesys.texi: Likewise.
10991 * manual/stdio.texi: Likewise.
10992 * manual/string.texi: Likewise.
10993 * stdlib/fmtmsg.c: Likewise.
10994 * sysdeps/i386/stpncpy.S: Likewise.
10995 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10996 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10997 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10998 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10999
11000 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11001
11002 * elf/dl-open.c: Fix typos.
11003 * iconvdata/gbbig5.c: Likewise.
11004 * iconvdata/iso-2022-jp.c: Likewise.
11005 * iconv/gconv_int.h: Likewise.
11006 * iconv/loop.c: Likewise.
11007 * nis/rpcsvc/nis.h: Likewise.
11008 * resolv/ns_name.c: Likewise.
11009 * stdio-common/vfscanf.c: Likewise.
11010 * streams/stropts.h: Likewise.
11011 * sunrpc/rpc_thread.c: Likewise.
11012 * sysdeps/i386/strpbrk.S: Likewise.
11013 * sysdeps/ieee754/k_standard.c: Likewise.
11014 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11015 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11016 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
11017 * sysdeps/mach/hurd/profil.c: Likewise.
11018 * sysdeps/s390/dl-procinfo.h: Likewise.
11019 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
11020 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
11021 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
11022 * sysdeps/x86_64/dl-trampoline.S: Likewise.
11023 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11024
11025 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
11026
11027 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
11028 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
11029
11030 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11031
11032 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
11033 aix specific files.
11034 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
11035 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
11036 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
11037 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
11038 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
11039 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
11040 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
11041 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
11042
11043 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11044 Roland McGrath <roland@hack.frob.com>
11045
11046 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
11047 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
11048
11049 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
11050
11051 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
11052 __executable_start symbol instead of _start.
11053
11054 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
11055
11056 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
11057 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
11058 Move macros to...
11059 * sysdeps/gnu/ldsodefs.h: ... this new file.
11060
11061 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
11062 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
11063 instead of ELFOSABI_LINUX.
11064
11065 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
11066 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
11067 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
11068 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
11069 Likewise.
11070 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
11071 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
11072 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
11073 Likewise.
11074 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11075 (ibm_extended_long_double): Add ieee_nan member.
11076 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
11077 (do_test): New function.
11078
11079 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
11080 TEST_TRUNC.
11081 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
11082 functions, renamed from truncdfsf_test, trunctfsf_test,
11083 trunctfdf_test.
11084 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
11085 functions.
11086 (do_test): Run all these.
11087
11088 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
11089
11090 * argp/argp-help.c: Fix typos.
11091 * argp/argp-parse.c: Likewise.
11092 * debug/backtracesyms.c: Likewise.
11093 * elf/elf.h: Likewise.
11094 * malloc/malloc.c: Likewise.
11095 * nis/nis_print.c: Likewise.
11096 * resolv/res_comp.c: Likewise.
11097 * stdlib/stdlib.h: Likewise.
11098 * sunrpc/clnt_tcp.c: Likewise.
11099 * sunrpc/clnt_udp.c: Likewise.
11100 * sunrpc/clnt_unix.c: Likewise.
11101 * sysdeps/unix/bsd/ptsname.c: Likewise.
11102 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
11103 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
11104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
11105 Likewise.
11106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
11107 Likewise.
11108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
11109 Likewise.
11110 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
11111
11112 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11113
11114 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
11115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11116
11117 2013-08-27 Mike Frysinger <vapier@gentoo.org>
11118
11119 [BZ #15897]
11120 * dlfcn/Makefile (tests): Add bug-dl-leaf.
11121 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
11122 ($(objpfx)bug-dl-leaf): New rule.
11123 ($(objpfx)bug-dl-leaf.so): Likewise.
11124 ($(objpfx)bug-dl-leaf.out): Likewise.
11125 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
11126 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
11127 * dlfcn/bug-dl-leaf.c: New test.
11128 * dlfcn/bug-dl-leaf-lib.c: Likewise.
11129 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
11130 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
11131 (dlclose): Likewise.
11132 (dlmopen): Likewise.
11133
11134 2013-08-27 Roland McGrath <roland@hack.frob.com>
11135
11136 * include/netdb.h [!_ISOMAC]:
11137 Don't include <tls.h>.
11138 (h_errno, __libc_h_errno): Move declaration and macros out of
11139 [_LIBC_REENTRANT].
11140
11141 * include/resolv.h [_RESOLV_H_]:
11142 Don't include <tls.h>.
11143 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
11144 * resolv/res_libc.c: Don't include <tls.h>.
11145 (_res): Use __attribute__ ((nocommon)) in place of
11146 __attribute__ ((section (".bss"))).
11147
11148 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
11149 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
11150
11151 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
11152
11153 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
11154 only under [SIOCGIFCONF && SIOCGIFNETMASK].
11155
11156 * resolv/res_mkquery.c: Include <sys/time.h>.
11157
11158 * inet/ifreq.c: Moved to ...
11159 * sysdeps/unix/ifreq.c: ... here.
11160 * inet/ifreq.c: New file, true stub version.
11161
11162 * socket/sa_len.c: New file.
11163 * socket/Makefile (aux): Add it.
11164 * sysdeps/unix/sysv/linux/Makefile
11165 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
11166 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
11167 and #include <socket/sa_len.c>.
11168 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
11169 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
11170
11171 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
11172 * bits/socket.h: ... here.
11173
11174 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
11175 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
11176 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
11177
11178 2013-08-27 Andreas Schwab <schwab@suse.de>
11179
11180 [BZ #15736]
11181 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
11182 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
11183 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
11184 * string/test-strcasecmp.c (test_main): Run tests in several
11185 locales.
11186 * string/test-strncasecmp.c (test_main): Likewise.
11187
11188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
11189 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
11190 to __strcasecmp_nonascii and __strncasecmp_nonascii.
11191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
11192 (__strncasecmp_ssse3) [PIC]: Likewise.
11193
11194 2013-08-26 Roland McGrath <roland@hack.frob.com>
11195
11196 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
11197
11198 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
11199 instead of explicitly declaring xdecrypt.
11200 * nis/nss_nis/nis-publickey.c: Likewise.
11201
11202 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11203
11204 [BZ #15890]
11205 * nscd/aicache.c: Include res_hconf.h.
11206 (addhstaiX): Initialize res_hconf.
11207
11208 2013-08-26 Andreas Schwab <schwab@suse.de>
11209
11210 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
11211 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
11212
11213 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11214
11215 * nscd/aicache.c (addhstaiX): Fix indentation.
11216
11217 2013-08-25 Mike Frysinger <vapier@gentoo.org>
11218
11219 * configure.ac: Quote $build_pt_chown test.
11220 * configure: Regenerated.
11221
11222 2013-08-23 Joseph Myers <joseph@codesourcery.com>
11223
11224 [BZ #15532]
11225 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
11226 * math/s_cexpf.c (__cexpf): Likewise.
11227 * math/s_cexpl.c (__cexpl): Likewise.
11228 * math/libm-test.inc (cexp_test_data): Correct expected return
11229 value for NaN + i0. Add another test.
11230
11231 2013-08-22 David S. Miller <davem@davemloft.net>
11232
11233 * po/ca.po: Update Catalan translation from translation project.
11234 * po/uk.po: Add Ukrainian translations from translation project.
11235
11236 2013-08-21 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #15797]
11239 * math/s_fdim.c (__fdim): Check for infinite arguments if result
11240 is infinite, not alongside NaN test.
11241 * math/s_fdimf.c (__fdimf): Likewise.
11242 * math/s_fdiml.c (__fdiml): Likewise.
11243 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
11244 errno is unchanged.
11245
11246 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
11247
11248 * argp/argp-help.c: Fix typos.
11249 * crypt/speeds.c: Likewise.
11250 * csu/check_fds.c: Likewise.
11251 * elf/dl-load.c: Likewise.
11252 * elf/dl-open.c: Likewise.
11253 * elf/reldep3.c: Likewise.
11254 * elf/reldep.c: Likewise.
11255 * elf/sprof.c: Likewise.
11256 * iconv/iconv_charmap.c: Likewise.
11257 * iconv/skeleton.c: Likewise.
11258 * iconv/strtab.c: Likewise.
11259 * io/lockf64.c: Likewise.
11260 * libio/libioP.h: Likewise.
11261 * resolv/gai_notify.c: Likewise.
11262 * resolv/ns_name.c: Likewise.
11263 * resolv/ns_samedomain.c: Likewise.
11264 * resolv/res_send.c: Likewise.
11265 * stdlib/random.c: Likewise.
11266 * sunrpc/rpc/xdr.h: Likewise.
11267 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11268 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11269 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11270 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11271 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11272 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11273 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11275 * sysdeps/mach/hurd/check_fds.c: Likewise.
11276 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11277 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11278 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11279 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11280 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11281 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11282 * sysdeps/pthread/aio_notify.c: Likewise.
11283 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11284 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11285 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11287 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11288
11289 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11290
11291 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11292 version if bit_Slow_SSE4_2 is set.
11293 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11294 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11295
11296 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11297
11298 [BZ #15867]
11299 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11300 trampoline stack frame information.
11301 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11302 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11303 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11304 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11305 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11306 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11307 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11308 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11309 sa_flags value.
11310 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11311 interrupting a syscall and set with option SA_SIGINFO.
11312
11313 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11314
11315 [BZ #15531]
11316 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11317 argument is infinite.
11318 * math/s_cprojf.c (__cprojf): Likewise.
11319 * math/s_cprojl.c (__cprojl): Likewise.
11320 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11321 * math/libm-test.inc (cproj_test_data): Add more tests.
11322
11323 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11324
11325 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11326 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11327 size. Use __ffs to determine corresponding shift.
11328
11329 2013-08-20 Joseph Myers <joseph@codesourcery.com>
11330 Roland McGrath <roland@hack.frob.com>
11331
11332 * Makefile (INSTALL): Remove trailing blank lines from output of
11333 makeinfo.
11334
11335 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11336
11337 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11338 Align 32 bit compat elf_greg to 8 bytes.
11339
11340 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11341
11342 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11343
11344 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11345
11346 * string/strcoll_l.c (coll_seq): New structure.
11347 (get_next_seq_cached): New function.
11348 (get_next_seq): New function.
11349 (do_compare): New function.
11350 (STRCOLL): Use GNU style definition. Simplify implementation
11351 by using get_next_seq, get_next_seq_cached and do_compare.
11352
11353 2013-08-16 Florian Weimer <fweimer@redhat.com>
11354
11355 [BZ #14699]
11356 CVE-2013-4237
11357 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11358 member.
11359 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11360 member.
11361 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11362 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11363 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11364 conditional.
11365 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11366 GETDENTS_64BIT_ALIGNED.
11367 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11368 * manual/filesys.texi (Reading/Closing Directory): Document
11369 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11370 strongly.
11371 * manual/conf.texi (Limits for Files): Add portability note to
11372 NAME_MAX, PATH_MAX.
11373 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11374
11375 2013-08-13 Andreas Schwab <schwab@suse.de>
11376
11377 [BZ #15749]
11378 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11379 of fabs.
11380 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11381 LDBL_MAX_EXP >= 16384]: Add tests for it.
11382
11383 2013-08-12 David S. Miller <davem@davemloft.net>
11384
11385 * version.h (RELEASE): Set to "development".
11386 (VERSION): Set to "2.18.90".
11387 * NEWS: Add 2.19 section.
11388
11389 2013-08-03 David S. Miller <davem@davemloft.net>
11390
11391 * po/ko.po: Update Korean translation from translation project.
11392
11393 2013-08-01 David S. Miller <davem@davemloft.net>
11394
11395 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11396 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11397 Bilka.
11398
11399 2013-07-30 David S. Miller <davem@davemloft.net>
11400
11401 * po/fr.po: Update French translation from translation project.
11402
11403 2013-07-28 David S. Miller <davem@davemloft.net>
11404
11405 * po/cs.po: Update Czech translation from translation project.
11406
11407 * po/sv.po: Update Swedish translation from translation project.
11408
11409 2013-07-27 David S. Miller <davem@davemloft.net>
11410
11411 * po/eo.po: Update Esperanto translation from translation project.
11412
11413 * po/vi.po: Update Vietnamese translation from translation project.
11414
11415 * po/de.po: Update German translation from translation project.
11416
11417 2013-07-26 David S. Miller <davem@davemloft.net>
11418
11419 * po/bg.po: Update Bulgarian translation from translation project.
11420
11421 * po/nl.po: Update Dutch translation from translation project.
11422 * po/pl.po: Update Polish translation from translation project.
11423 * po/ru.po: Update Russian translation from translation project.
11424
11425 2013-07-24 David S. Miller <davem@davemloft.net>
11426
11427 * po/libc.pot: Update.
11428
11429 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11430
11431 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11432 variable page size.
11433 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11434 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11435 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11436
11437 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11438
11439 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11440
11441 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11442 Andreas Schwab <schwab@suse.de>
11443 Roland McGrath <roland@hack.frob.com>
11444 Joseph Myers <joseph@codesourcery.com>
11445 Carlos O'Donell <carlos@redhat.com>
11446
11447 [BZ #15755]
11448 * config.h.in: Define HAVE_PT_CHOWN.
11449 * config.make.in (build-pt-chown): New variable.
11450 * configure.in (--enable-pt_chown): New configure option.
11451 * configure: Regenerate.
11452 * login/Makefile: Include Makeconfig. Build pt_chown only if
11453 build-pt-chown is enabled.
11454 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11455 pt_chown to fix pty ownership.
11456 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11457 CLOSE_ALL_FDS.
11458 * manual/install.texi (Configuring and compiling): Mention
11459 --enable-pt_chown. Add @findex for grantpt.
11460 * INSTALL: Regenerate.
11461
11462 2013-07-20 David S. Miller <davem@davemloft.net>
11463
11464 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11465 difference between 32-bit and 64-bit.
11466
11467 2013-07-15 Carlos O'Donell <carlos@redhat.com>
11468
11469 [BZ #15711]
11470 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11471 Avoid system header dependency with -ffreestanding.
11472 ($(objpfx)bits/syscall%d): Likewise.
11473
11474 2013-07-13 David S. Miller <davem@davemloft.net>
11475
11476 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11477 underflows from atanl/atan2l due to bug 15319.
11478 (casinh_test_data): Likewise.
11479
11480 2013-07-07 David S. Miller <davem@davemloft.net>
11481
11482 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11483
11484 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11485
11486 * sysdeps/i386/fpu/libm-test-ulps: Update.
11487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11488
11489 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11490
11491 * configure.in (--enable-lock-elision): Fix message text.
11492 * INSTALL: Regenerate.
11493 * configure: Regenerate.
11494
11495 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11496
11497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11498
11499 2013-07-03 Andreas Jaeger <aj@suse.de>
11500
11501 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11502 define.
11503 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11504 (ptrace_peeksiginfo_args): Add.
11505 (__ptrace_peeksiginfo_flags): Add.
11506 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11507 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11508 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11509
11510 2013-07-03 Allan McRae <allan@archlinux.org>
11511
11512 * sysdeps/i386/fpu/libm-test-ulps: Update.
11513
11514 2013-07-02 David S. Miller <davem@davemloft.net>
11515
11516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11517
11518 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11519
11520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11521
11522 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11523
11524 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11526
11527 2013-07-02 Andi Kleen <ak@linux.intel.com>
11528
11529 * config.h.in (ENABLE_LOCK_ELISION): Add.
11530 * configure.in (--enable-lock-elision): Add option.
11531 * manual/install.texi: Document --enable lock elision.
11532 * configure: Regenerate
11533 * INSTALL: Regenerate.
11534
11535 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11536
11537 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11538 SSE4.2 strcasecmp for libc.a.
11539 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11540
11541 2013-07-02 Joseph Myers <joseph@codesourcery.com>
11542
11543 [BZ #13304]
11544 * soft-fp/op-common.h (_FP_FMA): New macro.
11545 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11546 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11547 (_FP_MUL_MEAT_1_imm): ... here.
11548 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11549 (_FP_MUL_MEAT_1_wide): ... here.
11550 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11551 (_FP_MUL_MEAT_1_hard): ... here.
11552 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11553 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11554 (_FP_MUL_MEAT_2_wide): ... here.
11555 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11556 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11557 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11558 (_FP_MUL_MEAT_2_gmp): ... here.
11559 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11560 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11561 (_FP_MUL_MEAT_4_wide): ... here.
11562 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11563 (_FP_MUL_MEAT_4_gmp): ... here.
11564 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11565 (_FP_WFRACBITS_DW_S): Likewise.
11566 (_FP_WFRACXBITS_DW_S): Likewise.
11567 (_FP_HIGHBIT_DW_S): Likewise.
11568 (FP_FMA_S): Likewise.
11569 (_FP_FRAC_HIGH_DW_S): Likewise.
11570 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11571 (_FP_WFRACBITS_DW_D): Likewise.
11572 (_FP_WFRACXBITS_DW_D): Likewise.
11573 (_FP_HIGHBIT_DW_D): Likewise.
11574 (FP_FMA_D): Likewise.
11575 (_FP_FRAC_HIGH_DW_D): Likewise.
11576 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11577 (_FP_WFRACBITS_DW_E): Likewise.
11578 (_FP_WFRACXBITS_DW_E): Likewise.
11579 (_FP_HIGHBIT_DW_E): Likewise.
11580 (FP_FMA_E): Likewise.
11581 (_FP_FRAC_HIGH_DW_E): Likewise.
11582 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11583 (_FP_WFRACBITS_DW_Q): Likewise.
11584 (_FP_WFRACXBITS_DW_Q): Likewise.
11585 (_FP_HIGHBIT_DW_Q): Likewise.
11586 (FP_FMA_Q): Likewise.
11587 (_FP_FRAC_HIGH_DW_Q): Likewise.
11588 * soft-fp/fmasf4.c: New file.
11589 * soft-fp/fmadf4.c: Likewise.
11590 * soft-fp/fmatf4.c: Likewise.
11591
11592 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11593
11594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11595 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11596 Silvermont.
11597 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11598 macro.
11599 (index_Slow_SSE4_2): Likewise.
11600 (index_Prefer_PMINUB_for_stringop): Likewise.
11601 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11602 bit_Slow_SSE4_2 is set.
11603 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11604 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11605
11606 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11607
11608 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11609 rtld_global._dl_hwcap2.
11610 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11611 POWER8.
11612 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11613 POWER8 feature descriptions defined in _dl_hwcap2.
11614 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11615 string handling for POWER8 feature bits.
11616 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11617 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11618 _dl_powerpc_cap_flags.
11619 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11620 * sysdeps/powerpc/rtld-global-offsets.sym
11621 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11622 _dl_hwcap2 in the rtld_global_ro structure.
11623
11624 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11625
11626 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11627 hardware capabilities in support of AT_HWCAP2.
11628 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11629 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11630 GLRO(dl_hwcap2).
11631 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11632 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11633 explicitly the unknown a_type display mechanism is used.
11634 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11635 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11636 struct member.
11637 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11638 to macro prototype for AT_HWCAP2 support.
11639 * sysdeps/i386/dl-procinfo.h: Likewise.
11640 * sysdeps/s390/dl-procinfo.h: Likewise.
11641 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11642 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11643 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11644 return -1 for unknown a_type display fallback.
11645 * sysdeps/sparc/dl-procinfo.h: Likewise.
11646 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11647 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11648
11649 2013-06-28 Joseph Myers <joseph@codesourcery.com>
11650
11651 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11652 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11653
11654 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11655
11656 [BZ #12492]
11657 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11658 mprotect making __stack_prot writable.
11659
11660 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11661 Joseph Myers <joseph@codesourcery.com>
11662
11663 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11664 as being properly aligned.
11665
11666 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11667
11668 * dlfcn/modstatic5.c: New file.
11669 * dlfcn/tststatic5.c: New file.
11670 * dlfcn/Makefile (tests): Add tststatic5.
11671 (tests-static): Likewise.
11672 (modules-names): Add modstatic5.
11673 (tststatic5-ENV): New variable.
11674 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11675
11676 [BZ #15022]
11677 * elf/dl-support.c (_dl_main_map): New variable.
11678 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11679 (_dl_nns, _dl_load_adds): Set to 1.
11680 (_dl_initial_searchlist): Refer to _dl_main_map.
11681 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11682 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11683 call to _dl_get_origin.
11684 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11685 around call_map.
11686 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11687 * dlfcn/modstatic3.c: New file.
11688 * dlfcn/tststatic3.c: New file.
11689 * dlfcn/tststatic4.c: New file.
11690 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11691 (tests-static): Likewise.
11692 (modules-names): Add modstatic3.
11693 (tststatic3-ENV, tststatic4-ENV): New variables.
11694 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11695 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11696
11697 2013-06-26 Joseph Myers <joseph@codesourcery.com>
11698
11699 * configure.in (CC): Require GCC version 4.4 or later.
11700 * configure: Regenerated.
11701 * manual/install.texi (Tools for Compilation): Update GCC version
11702 requirement.
11703 * INSTALL: Regenerated.
11704
11705 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11706
11707 [BZ #15674]
11708 * string/test-memcmp.c (check2): New.
11709 (main): Call check2.
11710
11711 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11712
11713 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11714
11715 [BZ #15022]
11716 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11717 over to...
11718 (dl_open_worker) [!SHARED]: ... here.
11719
11720 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11721
11722 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11723
11724 2013-06-25 Richard Henderson <rth@redhat.com>
11725
11726 * locale/programs/locarchive.c: Include <libc-internal.h>
11727
11728 2013-06-25 Joseph Myers <joseph@codesourcery.com>
11729
11730 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11731 trailing whitespace removed.
11732
11733 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11734
11735 [BZ #10283]
11736 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11737 * locale/programs/locarchive.c: Include libc-mmap.h.
11738 (prepare_address_space): Take two new outputs (the mmap base and len).
11739 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11740 values.
11741 (create_archive): Declare new mmap base and len values for
11742 prepare_address_space, and store the result in ah.
11743 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11744 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11745 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11746 Declare new mmap base and len values for
11747 prepare_address_space, and store the result in new_ah.
11748 (open_archive): Declare new mmap base and len values for
11749 prepare_address_space, and store the result in ah.
11750 (close_archive): If ah->mmap_base is not NULL, use that and
11751 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11752 * sysdeps/generic/libc-mmap.h: New file.
11753
11754 2013-06-24 Mike Frysinger <vapier@gentoo.org>
11755
11756 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11757 (ALIGN_UP): Likewise.
11758 (PTR_ALIGN_DOWN): Likewise.
11759 (PTR_ALIGN_UP): Likewise.
11760
11761 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11762
11763 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11764 entry mapped to PPC_PLATFORM_POWER8.
11765 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11766 POWER8.
11767 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11768 (_dl_string_platform): Add case for exporting platform position for
11769 POWER8.
11770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11771 search path to sysdeps/powerpc/powerpc32/power8 directory.
11772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11773 search path to sysdeps/powerpc/powerpc64/power8 directory.
11774 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11775 power7 directories.
11776 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11777 power7 directories.
11778
11779 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11780
11781 * INSTALL: Regenerate.
11782
11783 * nscd/connections.c (nscd_init): Fix comment.
11784
11785 2013-06-22 Joseph Myers <joseph@codesourcery.com>
11786
11787 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11788
11789 [BZ #15667]
11790 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11791 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11792
11793 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11794
11795 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11796 DL_DST_REQ_STATIC.
11797 (DL_DST_REQ_STATIC): Remove macro.
11798
11799 2013-06-21 Joseph Myers <joseph@codesourcery.com>
11800
11801 [BZ #7006]
11802 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11803 with a shift of 0 bits.
11804
11805 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11806
11807 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11808 $(tststatic-ENV).
11809
11810 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11811
11812 [BZ #15655]
11813 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11814
11815 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11816
11817 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11818 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11819 accepts -fno-tree-loop-distribute-patterns.
11820 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11821 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11822 recursive call.
11823 * string/memset.c (memset): Likewise.
11824 * string/test-memmove.c (simple_memmove): Disable loop transformation
11825 to library calls.
11826 * string/test-memset.c (simple_memset): Likewise.
11827 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11828 * benchtests/bench-memset.c (simple_memset): Likewise.
11829 * configure: Regenerated.
11830
11831 2013-06-20 Joseph Myers <joseph@codesourcery.com>
11832
11833 * math/test-misc.c (main): Ignore fesetround failure when failures
11834 of subsequent rounding tests would be ignored.
11835
11836 [BZ #15654]
11837 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11838 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11839 * math/fegetenv.c (__fegetenv): Return 0.
11840 * math/fegetexcept.c (fegetexcept): Return 0.
11841 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11842 FE_TONEAREST.
11843 * math/feholdexcpt.c (feholdexcept): Return 0.
11844 * math/fesetenv.c (__fesetenv): Return 0.
11845 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11846 argument FE_TONEAREST.
11847 * math/feupdateenv.c (__feupdateenv): Return 0.
11848 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11849
11850 2013-06-18 Roland McGrath <roland@hack.frob.com>
11851
11852 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11853 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11854 ($(objpfx)rtld-%.os rules): Use them.
11855
11856 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11857
11858 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11859 fields.
11860
11861 2013-06-17 Roland McGrath <roland@hack.frob.com>
11862
11863 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11864 length of target pattern, then descending length of dependency pattern.
11865 * configure.in (AWK): Require gawk 3.1.2 or newer.
11866 * manual/install.texi (Tools for Compilation): Say that we do.
11867 * configure: Regenerated.
11868
11869 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11870 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11871 * scripts/sysd-rules.awk: ... this new script.
11872 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11873 than a glob-style pattern.
11874
11875 2013-06-17 Joseph Myers <joseph@codesourcery.com>
11876
11877 * math/test-misc.c (main): Do not treat incorrectly rounded
11878 conversions as failure unless ROUNDING_TESTS passes.
11879
11880 2013-06-15 Joseph Myers <joseph@codesourcery.com>
11881
11882 [BZ #15631]
11883 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11884 restore exception state around main square root computation, then
11885 check for inexactness explicitly.
11886
11887 * math/libm-test.inc (fma_test_data): Add another test.
11888
11889 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11890
11891 * manual/threads.texi (Non-POSIX Extensions): New document
11892 node. Document pthread_getattr_default_np and
11893 pthread_setattr_default_np.
11894
11895 * Versions.def (libpthread): Add GLIBC_2.18.
11896 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11898 Likewise.
11899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11900 Likewise.
11901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11902 Likewise.
11903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11904 Likewise.
11905 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11906 Likewise.
11907 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11908 Likewise.
11909 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11910 Likewise.
11911 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11912 Likewise.
11913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11914 Likewise.
11915
11916 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11917
11918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11919 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11920
11921 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11922 H.J. Lu <hjl.tools@gmail.com>
11923
11924 [BZ #15627]
11925 * sysdeps/x86_64/rtld-memset.c: Remove file.
11926 * sysdeps/x86_64/rtld-memset.S: New file.
11927
11928 2013-06-14 Joseph Myers <joseph@codesourcery.com>
11929
11930 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11931 (test_in_one_mode): Take arguments for whether the rounding mode
11932 is supported for each floating-point type.
11933 (do_test): Pass new arguments to test_in_one_mode using
11934 ROUNDING_TESTS.
11935
11936 2013-06-13 Roland McGrath <roland@hack.frob.com>
11937
11938 * posix/tst-waitid.c (do_test): Distinguish different instances of
11939 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11940 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11941 before entering the kernel for waitpid.
11942
11943 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11944
11945 * NEWS: Fix note on clock function precision. Text by Roland
11946 McGrath.
11947
11948 2013-06-13 Roland McGrath <roland@hack.frob.com>
11949
11950 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11951 it into place only when and if the sanity check passes.
11952
11953 2013-06-13 Joseph Myers <joseph@codesourcery.com>
11954
11955 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11956 output for whether conversion result is exact. Take argument
11957 indicating whether type is IBM long double.
11958 (round_for_all): Change need_exact field to ibm_ld.
11959 * stdlib/tst-strtod-round.c (struct exactness): New type.
11960 (struct test): Change bool ld_ok field to struct exactness exact.
11961 (TEST): Update all definitions for change to field.
11962 (tests): Regenerate array contents.
11963 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11964 field value. Check for IBM long double here.
11965 (do_test): Update calls to test_in_one_mode.
11966
11967 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11968
11969 [BZ #12515]
11970 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11971 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11972
11973 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11974
11975 [BZ #15605]
11976 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11977 generated by the compiler on loop optimizations.
11978 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11979 general definitions.
11980
11981 2013-06-12 Joseph Myers <joseph@codesourcery.com>
11982
11983 * math/bug-nextafter.c: Include <math-tests.h>.
11984 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11985 the relevant type.
11986 * math/bug-nexttoward.c: Include <math-tests.h>.
11987 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11988 the relevant type.
11989 * math/test-misc.c: Include <math-tests.h>.
11990 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11991 the relevant type.
11992
11993 2013-06-12 Andreas Jaeger <aj@suse.de>
11994
11995 * po/ia.po: Update Interlingua translation from translation
11996 project.
11997
11998 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11999
12000 * include/fenv.h: Include stdbool.h.
12001 (struct rm_ctx): New structure.
12002 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
12003 Define macro.
12004 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
12005 (SET_RESTORE_ROUNDF): Likewise.
12006 (SET_RESTORE_ROUNDL): Likewise.
12007 (SET_RESTORE_ROUND_NOEX): Likewise.
12008 (SET_RESTORE_ROUND_NOEXF): Likewise.
12009 (SET_RESTORE_ROUND_NOEXL): Likewise.
12010 (SET_RESTORE_ROUND_53BIT): Likewise.
12011 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
12012 (libc_feresetround_noexf_ctx): Likewise.
12013 (libc_feresetround_noexl_ctx): Likewise.
12014 (libc_feholdsetround_53bit_ctx): Likewise.
12015 (libc_feresetround_53bit_ctx): Likewise.
12016 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
12017 (libc_feholdexcept_setround_sse_ctx): New function.
12018 (libc_fesetenv_sse_ctx): Likewise.
12019 (libc_feupdateenv_sse_ctx): Likewise.
12020 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
12021 (libc_feholdexcept_setround_387_ctx): Likewise.
12022 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
12023 (libc_feholdsetround_387_prec_ctx): Likewise.
12024 (libc_feholdsetround_387_ctx): Likewise.
12025 (libc_feholdsetround_387_53bit_ctx): Likewise.
12026 (libc_feholdsetround_sse_ctx): Likewise.
12027 (libc_feresetround_sse_ctx): Likewise.
12028 (libc_feresetround_387_ctx): Likewise.
12029 (libc_feupdateenv_387_ctx): Likewise.
12030 (libc_feholdexcept_setroundf_ctx): Define macro.
12031 (libc_fesetenvf_ctx): Likewise.
12032 (libc_feupdateenvf_ctx): Likewise.
12033 (libc_feholdsetroundf_ctx): Likewise.
12034 (libc_feresetroundf_ctx): Likewise.
12035 (libc_feholdexcept_setround_ctx): Likewise.
12036 (libc_fesetenv_ctx): Likewise.
12037 (libc_feupdateenv_ctx): Likewise.
12038 (libc_feholdsetround_ctx): Likewise.
12039 (libc_feresetround_ctx): Likewise.
12040 (libc_feholdexcept_setroundl_ctx): Likewise.
12041 (libc_feupdateenvl_ctx): Likewise.
12042 (libc_feholdsetroundl_ctx): Likewise.
12043 (libc_feresetroundl_ctx): Likewise.
12044 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
12045 (libc_feresetround_53bit_ctx): Likewise.
12046
12047 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12048
12049 * locale/iso-639.def: Convert to UTF-8.
12050
12051 2013-06-11 Joseph Myers <joseph@codesourcery.com>
12052
12053 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
12054 (EXCEPTION_TESTS_double): Likewise.
12055 (EXCEPTION_TESTS_long_double): Likewise.
12056 (EXCEPTION_TESTS): Likewise.
12057 * math/libm-test.inc (test_exceptions): Only test exceptions if
12058 EXCEPTION_TESTS (FLOAT).
12059
12060 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12061
12062 * benchtests/Makefile (string-bench): Add strcpy_chk and
12063 stpcpy_chk.
12064 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
12065 * benchtests/bench-stpcpy_chk.c: New file.
12066 * benchtests/bench-strcpy_chk-ifunc.c: New file.
12067 * benchtests/bench-strcpy_chk.c: New file.
12068 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
12069 code.
12070 (do_test): Likewise.
12071
12072 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12073
12074 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
12075 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
12076 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
12077 with tabs where appropriate.
12078 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
12079 dl-procinfo.h.
12080 [PPC_PLATFORM_PPC440]: Likewise.
12081 [PPC_PLATFORM_PPC464]: Likewise.
12082 [PPC_PLATFORM_PPC476]: Likewise.
12083 (_dl_string_platform): Add support for detecting ppc405, ppc440,
12084 ppc464, and ppc476 platform strings merging from ports/
12085 dl-procinfo.h.
12086
12087 2013-06-11 Andreas Schwab <schwab@suse.de>
12088
12089 [BZ #14991]
12090 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
12091 (from_ucs4_idx): Regenerate.
12092 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
12093 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
12094 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
12095 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
12096 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
12097 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
12098 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
12099 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
12100 from FROM_LOOP and TO_LOOP specific macros.
12101 (BODY): Handle combining characters.
12102 * iconvdata/BIG5HKSCS.irreversible: Update.
12103 * iconvdata/BIG5HKSCS.precomposed: New file.
12104 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
12105 characters.
12106 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
12107
12108 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
12110 * include/sys/time.h: Fix indentation and add copyright header.
12111
12112 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
12113 (do_test): Likewise.
12114 * string/test-memchr.c (do_one_test): Likewise.
12115 (do_test): Likewise.
12116 * string/test-memcmp.c (do_one_test): Likewise.
12117 (do_test): Likewise.
12118 * string/test-memcpy.c (do_one_test): Likewise.
12119 (do_test): Likewise.
12120 * string/test-memmem.c (do_one_test): Likewise.
12121 (do_test): Likewise.
12122 (do_random_tests): Likewise.
12123 * string/test-memmove.c (do_one_test): Likewise.
12124 (do_test): Likewise.
12125 * string/test-memset.c (do_one_test): Likewise.
12126 (do_test): Likewise.
12127 * string/test-rawmemchr.c (do_one_test): Likewise.
12128 (do_test): Likewise.
12129 * string/test-strcasecmp.c (do_one_test): Likewise.
12130 (do_test): Likewise.
12131 * string/test-strcasestr.c (do_one_test): Likewise.
12132 (do_test): Likewise.
12133 * string/test-strcat.c (do_one_test): Likewise.
12134 (do_test): Likewise.
12135 * string/test-strchr.c (do_one_test): Likewise.
12136 (do_test): Likewise.
12137 * string/test-strcmp.c (do_one_test): Likewise.
12138 (do_test): Likewise.
12139 * string/test-strcpy.c (do_one_test): Likewise.
12140 (do_test): Likewise.
12141 * string/test-string.h: Likewise.
12142 (test_init): Likewise.
12143 * string/test-strlen.c (do_one_test): Likewise.
12144 (do_test): Likewise.
12145 * string/test-strncasecmp.c (do_one_test): Likewise.
12146 (do_test): Likewise.
12147 * string/test-strncat.c (do_one_test): Likewise.
12148 (do_test): Likewise.
12149 * string/test-strncmp.c (do_one_test): Likewise.
12150 (do_test_limit): Likewise.
12151 (do_test): Likewise.
12152 * string/test-strncpy.c (do_one_test): Likewise.
12153 (do_test): Likewise.
12154 * string/test-strnlen.c (do_one_test): Likewise.
12155 (do_test): Likewise.
12156 * string/test-strpbrk.c (do_one_test): Likewise.
12157 (do_test): Likewise.
12158 * string/test-strrchr.c (do_one_test): Likewise.
12159 (do_test): Likewise.
12160 * string/test-strspn.c (do_one_test): Likewise.
12161 (do_test): Likewise.
12162 * string/test-strstr.c (do_one_test): Likewise.
12163 (do_test): Likewise.
12164
12165 * benchtests/Makefile (string-bench): Add string benchmarks.
12166 * benchtests/bench-bcopy-ifunc.c: New file.
12167 * benchtests/bench-bcopy.c: New file.
12168 * benchtests/bench-bzero-ifunc.c: New file.
12169 * benchtests/bench-bzero.c: New file.
12170 * benchtests/bench-memccpy-ifunc.c: New file.
12171 * benchtests/bench-memccpy.c: New file.
12172 * benchtests/bench-memchr-ifunc.c: New file.
12173 * benchtests/bench-memchr.c: New file.
12174 * benchtests/bench-memcmp-ifunc.c: New file.
12175 * benchtests/bench-memcmp.c: New file.
12176 * benchtests/bench-memmem-ifunc.c: New file.
12177 * benchtests/bench-memmem.c: New file.
12178 * benchtests/bench-memmove-ifunc.c: New file.
12179 * benchtests/bench-memmove.c: New file.
12180 * benchtests/bench-mempcpy-ifunc.c: New file.
12181 * benchtests/bench-mempcpy.c: New file.
12182 * benchtests/bench-memset-ifunc.c: New file.
12183 * benchtests/bench-memset.c: New file.
12184 * benchtests/bench-rawmemchr-ifunc.c: New file.
12185 * benchtests/bench-rawmemchr.c: New file.
12186 * benchtests/bench-stpcpy-ifunc.c: New file.
12187 * benchtests/bench-stpcpy.c: New file.
12188 * benchtests/bench-stpncpy-ifunc.c: New file.
12189 * benchtests/bench-stpncpy.c: New file.
12190 * benchtests/bench-strcasecmp-ifunc.c: New file.
12191 * benchtests/bench-strcasecmp.c: New file.
12192 * benchtests/bench-strcasestr-ifunc.c: New file.
12193 * benchtests/bench-strcasestr.c: New file.
12194 * benchtests/bench-strcat-ifunc.c: New file.
12195 * benchtests/bench-strcat.c: New file.
12196 * benchtests/bench-strchr-ifunc.c: New file.
12197 * benchtests/bench-strchr.c: New file.
12198 * benchtests/bench-strchrnul-ifunc.c: New file.
12199 * benchtests/bench-strchrnul.c: New file.
12200 * benchtests/bench-strcmp-ifunc.c: New file.
12201 * benchtests/bench-strcmp.c: New file.
12202 * benchtests/bench-strcpy-ifunc.c: New file.
12203 * benchtests/bench-strcpy.c: New file.
12204 * benchtests/bench-strcspn-ifunc.c: New file.
12205 * benchtests/bench-strcspn.c: New file.
12206 * benchtests/bench-strlen-ifunc.c: New file.
12207 * benchtests/bench-strlen.c: New file.
12208 * benchtests/bench-strncasecmp-ifunc.c: New file.
12209 * benchtests/bench-strncasecmp.c: New file.
12210 * benchtests/bench-strncat-ifunc.c: New file.
12211 * benchtests/bench-strncat.c: New file.
12212 * benchtests/bench-strncmp-ifunc.c: New file.
12213 * benchtests/bench-strncmp.c: New file.
12214 * benchtests/bench-strncpy-ifunc.c: New file.
12215 * benchtests/bench-strncpy.c: New file.
12216 * benchtests/bench-strnlen-ifunc.c: New file.
12217 * benchtests/bench-strnlen.c: New file.
12218 * benchtests/bench-strpbrk-ifunc.c: New file.
12219 * benchtests/bench-strpbrk.c: New file.
12220 * benchtests/bench-strrchr-ifunc.c: New file.
12221 * benchtests/bench-strrchr.c: New file.
12222 * benchtests/bench-strspn-ifunc.c: New file.
12223 * benchtests/bench-strspn.c: New file.
12224 * benchtests/bench-strstr-ifunc.c: New file.
12225 * benchtests/bench-strstr.c: New file.
12226
12227 * benchtests/Makefile: Disable parallel execution of targets.
12228 (string-bench): Add memcpy.
12229 (benchset): New variable to store a list of benchmark sets.
12230 (bench-func): Renamed from bench.
12231 (bench-set): New target.
12232 (bench): Depend on bench-func and bench-set.
12233 * benchtests/README: Add section on benchmark sets.
12234 * benchtests/bench-memcpy-ifunc.c: New file.
12235 * benchtests/bench-memcpy.c: New file.
12236 * benchtests/bench-string.h: New file.
12237
12238 2013-06-11 Andreas Schwab <schwab@suse.de>
12239
12240 [BZ #15577]
12241 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
12242 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
12243 values in the triple.
12244 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
12245 terminator in the group key.
12246
12247 2013-06-11 Andreas Jaeger <aj@suse.de>
12248
12249 * po/zh_TW.po: Update Chinese (traditional) translation from
12250 translation project.
12251
12252 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12253
12254 * include/time.h (__clock_gettime): Add libc_hidden_proto.
12255 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
12256 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12257 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12258 (clock_getcpuclockid): Likewise.
12259 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12260 Add weak_alias and libc_hidden_def.
12261 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12262 * rt/clock_gettime.c (clock_gettime): Rename to
12263 __clock_gettime. Add weak_alias and libc_hidden_def.
12264 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12265 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12266 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12267 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12268 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12269 Likewise.
12270 * rt/clock_settime.c (clock_settime): Rename to
12271 __clock_settime. Add weak_alias and libc_hidden_def.
12272 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12273
12274 2013-06-10 Joseph Myers <joseph@codesourcery.com>
12275
12276 * mach/err_boot.sub: Remove trailing whitespace.
12277 * mach/err_ipc.sub: Likewise.
12278 * mach/err_mach.sub: Likewise.
12279
12280 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12281 (ROUNDING_TESTS_double): Likewise.
12282 (ROUNDING_TESTS_long_double): Likewise.
12283 (ROUNDING_TESTS): Likewise.
12284 * math/libm-test.inc: Include <math-tests.h>.
12285 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12286 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12287 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12288 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12289
12290 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12291
12292 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12293 of assigning.
12294
12295 2013-06-08 Joseph Myers <joseph@codesourcery.com>
12296
12297 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12298 otherwise empty TRANS lines.
12299 * sysdeps/gnu/errlist.c: Regenerated.
12300
12301 * catgets/gencat.c (error_print): Use (void) in function
12302 definition.
12303 * crypt/crypt_util.c (__init_des): Likewise.
12304 * crypt/speeds.c (Stop): Likewise.
12305 (main): Likewise.
12306 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12307 * inet/ruserpass.c (token): Likewise.
12308 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12309 * intl/localealias.c (extend_alias_table): Likewise.
12310 * intl/plural-exp.c (init_germanic_plural): Likewise.
12311 * libio/fcloseall.c (__fcloseall): Likewise.
12312 * libio/genops.c (_IO_flush_all): Likewise.
12313 (_IO_flush_all_linebuffered): Likewise.
12314 (_IO_cleanup): Likewise.
12315 (_IO_iter_begin): Likewise.
12316 (_IO_iter_end): Likewise.
12317 (_IO_list_lock): Likewise.
12318 (_IO_list_unlock): Likewise.
12319 (_IO_list_resetlock): Likewise.
12320 * libio/getchar.c (getchar): Likewise.
12321 * libio/getchar_u.c (getchar_unlocked): Likewise.
12322 * libio/getwchar.c (getwchar): Likewise.
12323 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12324 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12325 * login/getpt.c (__getpt): Likewise.
12326 * login/tst-utmp.c (main): Likewise.
12327 * malloc/hooks.c (__malloc_check_init): Likewise.
12328 * malloc/malloc.c (__malloc_stats): Likewise.
12329 * malloc/mtrace.c (tr_break): Likewise.
12330 (mtrace): Likewise.
12331 (muntrace): Likewise.
12332 * misc/fstab.c (endfsent): Likewise.
12333 * misc/getclktck.c (__getclktck): Likewise.
12334 * misc/getdtsz.c (__getdtablesize): Likewise.
12335 * misc/gethostid.c (gethostid): Likewise.
12336 * misc/getpagesize.c (__getpagesize): Likewise.
12337 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12338 (__get_nprocs): Likewise.
12339 (__get_phys_pages): Likewise.
12340 (__get_avphys_pages): Likewise.
12341 * misc/getttyent.c (getttyent): Likewise.
12342 (setttyent): Likewise.
12343 (endttyent): Likewise.
12344 * misc/getusershell.c (getusershell): Likewise.
12345 (endusershell): Likewise.
12346 (setusershell): Likewise.
12347 (initshells): Likewise.
12348 * misc/hsearch.c (__hdestroy): Likewise.
12349 * misc/sync.c (sync): Likewise.
12350 * misc/syslog.c (closelog_internal): Likewise.
12351 (closelog): Likewise.
12352 * misc/ttyslot.c (ttyslot): Likewise.
12353 * misc/vhangup.c (vhangup): Likewise.
12354 * posix/fork.c (__fork): Likewise.
12355 * posix/getegid.c (__getegid): Likewise.
12356 * posix/geteuid.c (__geteuid): Likewise.
12357 * posix/getgid.c (__getgid): Likewise.
12358 * posix/getpid.c (__getpid): Likewise.
12359 * posix/getppid.c (__getppid): Likewise.
12360 * posix/getuid.c (__getuid): Likewise.
12361 * posix/pause.c (pause): Likewise.
12362 * posix/setpgrp.c (setpgrp): Likewise.
12363 * posix/setsid.c (__setsid): Likewise.
12364 * posix/test-vfork.c (noop): Likewise.
12365 * resolv/gethnamaddr.c (_endhtent): Likewise.
12366 (_gethtent): Likewise.
12367 (ht_endhostent): Likewise.
12368 (gethostent): Likewise.
12369 (dns_service): Likewise.
12370 * stdlib/drand48.c (drand48): Likewise.
12371 * stdlib/lrand48.c (lrand48): Likewise.
12372 * stdlib/mrand48.c (mrand48): Likewise.
12373 * stdlib/rand.c (rand): Likewise.
12374 * stdlib/random.c (__random): Likewise.
12375 * stdlib/setenv.c (clearenv): Likewise.
12376 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12377 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12378 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12379 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12380 (__get_nprocs): Likewise.
12381 (__get_phys_pages): Likewise.
12382 (__get_avphys_pages): Likewise.
12383 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12384 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12385 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12386 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12387 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12388 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12389 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12390 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12391 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12392 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12393 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12394 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12395 * sysdeps/posix/clock.c (clock): Likewise.
12396 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12397 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12398 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12399 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12400 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12401 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12402 (__get_nprocs_conf): Likewise.
12403 (__get_phys_pages): Likewise.
12404 (__get_avphys_pages): Likewise.
12405 * time/clock.c (clock): Likewise.
12406 * time/tzset.c (__tzname_max): Likewise.
12407
12408 2013-06-07 Joseph Myers <joseph@codesourcery.com>
12409
12410 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12411 (__bswap_32): Do not use "register".
12412 * crypt/crypt.c (_ufc_doit_r): Likewise.
12413 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12414 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12415 * gmon/gmon.c (__monstartup): Likewise.
12416 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12417 * hurd/hurdmalloc.c (more_memory): Likewise.
12418 (malloc): Likewise.
12419 (free): Likewise.
12420 (realloc): Likewise.
12421 (malloc_fork_prepare): Likewise.
12422 (malloc_fork_parent): Likewise.
12423 (malloc_fork_child): Likewise.
12424 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12425 (_svcauth_des): Likewise.
12426 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12427 * inet/inet_net.c (inet_network): Likewise.
12428 * inet/inet_netof.c (inet_netof): Likewise.
12429 * inet/rcmd.c (__validuser2_sa): Likewise.
12430 * io/fts.c (fts_open): Likewise.
12431 (fts_load): Likewise.
12432 (fts_close): Likewise.
12433 (fts_read): Likewise.
12434 (fts_children): Likewise.
12435 (fts_build): Likewise.
12436 (fts_stat): Likewise.
12437 (fts_sort): Likewise.
12438 (fts_alloc): Likewise.
12439 (fts_lfree): Likewise.
12440 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12441 (_IO_file_xsgetn): Likewise.
12442 (_IO_file_xsgetn_mmap): Likewise.
12443 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12444 (_IO_cookie_write): Likewise.
12445 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12446 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12447 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12448 * malloc/obstack.c (_obstack_begin): Likewise.
12449 (_obstack_begin_1): Likewise.
12450 (_obstack_newchunk): Likewise.
12451 (_obstack_allocated_p): Likewise.
12452 (obstack_free): Likewise.
12453 (_obstack_memory_used): Likewise.
12454 * misc/getttyent.c (getttynam): Likewise.
12455 (getttyent): Likewise.
12456 (skip): Likewise.
12457 (value): Likewise.
12458 * misc/getusershell.c (initshells): Likewise.
12459 * misc/syslog.c (__vsyslog_chk): Likewise.
12460 * misc/ttyslot.c (ttyslot): Likewise.
12461 * nis/nis_hash.c (__nis_hash): Likewise.
12462 * posix/fnmatch_loop.c (FCT): Likewise.
12463 * posix/getconf.c (print_all): Likewise.
12464 (main): Likewise.
12465 * posix/getopt.c (exchange): Likewise.
12466 * posix/glob.c (globfree): Likewise.
12467 (prefix_array): Likewise.
12468 (__glob_pattern_type): Likewise.
12469 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12470 (NS_GET32): Likewise.
12471 (NS_PUT16): Likewise.
12472 (NS_PUT32): Likewise.
12473 * resolv/gethnamaddr.c (getanswer): Likewise.
12474 (gethostbyname2): Likewise.
12475 (gethostbyaddr): Likewise.
12476 (_gethtent): Likewise.
12477 (_gethtbyname2): Likewise.
12478 (_gethtbyaddr): Likewise.
12479 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12480 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12481 * resolv/res_init.c (__res_vinit): Likewise.
12482 (net_mask): Likewise.
12483 * resolv/res_mkquery.c (outchar): Likewise.
12484 (PRINT): Likewise.
12485 * stdio-common/printf_fp.c (outchar): Likewise.
12486 (PRINT): Likewise.
12487 * stdio-common/printf_fphex.c (outchar): Likewise.
12488 (PRINT): Likewise.
12489 * stdio-common/printf_size.c (outchar): Likewise.
12490 (PRINT): Likewise.
12491 * stdio-common/test_rdwr.c (main): Likewise.
12492 * stdio-common/tfformat.c (matches): Likewise.
12493 * stdio-common/vfprintf.c (outchar): Likewise.
12494 (printf_unknown): Likewise.
12495 (buffered_vfprintf): Likewise.
12496 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12497 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12498 (ReadFile): Likewise.
12499 * stdlib/qsort.c (SWAP): Likewise.
12500 (_quicksort): Likewise.
12501 * stdlib/setenv.c (__add_to_environ): Likewise.
12502 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12503 * stdlib/strtol_l.c (__strtol_l): Likewise.
12504 * stdlib/tst-strtod.c (main): Likewise.
12505 * stdlib/tst-strtol.c (main): Likewise.
12506 * stdlib/tst-strtoll.c (main): Likewise.
12507 * string/bits/string2.h (__strcmp_cc): Likewise.
12508 (__strcmp_cg): Likewise.
12509 (__strcspn_c1): Likewise.
12510 (__strcspn_c2): Likewise.
12511 (__strcspn_c3): Likewise.
12512 (__strspn_c1): Likewise.
12513 (__strspn_c2): Likewise.
12514 (__strspn_c3): Likewise.
12515 (__strsep_1c): Likewise.
12516 (__strsep_2c): Likewise.
12517 (__strsep_3c): Likewise.
12518 * string/memccpy.c (__memccpy): Likewise.
12519 * string/stpcpy.c (__stpcpy): Likewise.
12520 * string/strcmp.c (strcmp): Likewise.
12521 * string/strrchr.c (strrchr): Likewise.
12522 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12523 Likewise.
12524 * sysdeps/mach/hurd/getcwd.c
12525 (_hurd_canonicalize_directory_name_internal): Likewise.
12526 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12527 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12528 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12529 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12530 Likewise, in both definitions.
12531 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12532 definitions.
12533 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12534 64] (__bswap_64): Likewise.
12535 * time/test_time.c (main): Likewise.
12536 * time/tzfile.c (__tzfile_read): Likewise.
12537 (__tzfile_compute): Likewise.
12538 * time/tzset.c (__tzset_parse_tz): Likewise.
12539 (tzset_internal): Likewise.
12540 (compute_change): Likewise.
12541 * wcsmbs/wcscat.c (__wcscat): Likewise.
12542 * wcsmbs/wcschr.c (wcschr): Likewise.
12543 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12544 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12545 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12546 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12547 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12548 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12549 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12550 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12551 * wcsmbs/wmemset.c (wmemset): Likewise.
12552
12553 2013-06-06 Joseph Myers <joseph@codesourcery.com>
12554
12555 * scripts/config.guess: Update to version 2013-05-16.
12556 * scripts/config.sub: Update to version 2013-04-24.
12557 * scripts/install-sh: Update to version 2011-11-20.07.
12558 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12559 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12560
12561 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
12562
12563 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12564 * elf/sln.c: Likewise.
12565 * hurd/hurd/ioctl.h: Likewise.
12566 * hurd/hurdmalloc.c: Likewise.
12567 * hurd/xattr.c: Likewise.
12568 * include/shlib-compat.h: Likewise.
12569 * inet/ruserpass.c: Likewise.
12570 * libio/iofgets_u.c: Likewise.
12571 * libio/iofgetws_u.c: Likewise.
12572 * locale/programs/ld-identification.c: Likewise.
12573 * locale/programs/ld-time.c: Likewise.
12574 * mach/msg-destroy.c: Likewise.
12575 * nss/nss_files/files-netgrp.c: Likewise.
12576 * resolv/res_data.c: Likewise.
12577 * soft-fp/op-1.h: Likewise.
12578 * soft-fp/op-2.h: Likewise.
12579 * soft-fp/op-4.h: Likewise.
12580 * soft-fp/op-common.h: Likewise.
12581 * stdio-common/printf_fphex.c: Likewise.
12582 * stdlib/strtod_l.c: Likewise.
12583 * sunrpc/rpc/clnt.h: Likewise.
12584 * sysdeps/generic/framestate.c: Likewise.
12585 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12586 * sysdeps/i386/bsd-setjmp.S: Likewise.
12587 * sysdeps/i386/__longjmp.S: Likewise.
12588 * sysdeps/i386/setjmp.S: Likewise.
12589 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12590 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12591 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12592 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12593 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12594 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12595 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12596 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12597 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12598 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12599 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12600 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12601 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12602 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12603 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12604 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12605 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12606 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12607 * sysdeps/ieee754/support.c: Likewise.
12608 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12609 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12610 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12611 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12612 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12613 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12614 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12615 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12616 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12617 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12618 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12619 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12620 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12621 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12622 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12623 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12624 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12626
12627 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
12628
12629 * posix/transbug.c: Remove executable mode.
12630
12631 2013-06-05 Joseph Myers <joseph@codesourcery.com>
12632
12633 * crypt/speeds.c: Remove trailing whitespace.
12634 * dlfcn/default.c: Likewise.
12635 * elf/ifuncdep2.c: Likewise.
12636 * elf/ifuncmain1.c: Likewise.
12637 * elf/ifuncmain1vis.c: Likewise.
12638 * elf/testobj.h: Likewise.
12639 * elf/tst-stackguard1.c: Likewise.
12640 * gmon/sys/gmon.h: Likewise.
12641 * hurd/hurdmsg.c: Likewise.
12642 * hurd/new-fd.c: Likewise.
12643 * hurd/ports-get.c: Likewise.
12644 * iconvdata/ibm1008_420.c: Likewise.
12645 * inet/tst-getni1.c: Likewise.
12646 * inet/tst-getni2.c: Likewise.
12647 * libio/ioungetc.c: Likewise.
12648 * libio/wfiledoalloc.c: Likewise.
12649 * manual/libm-err-tab.pl: Likewise.
12650 * math/w_dremf.c: Likewise.
12651 * misc/ftruncate.c: Likewise.
12652 * posix/bug-glob2.c: Likewise.
12653 * posix/tst-pcre.c: Likewise.
12654 * posix/wait4.c: Likewise.
12655 * resolv/README: Likewise.
12656 * resolv/res_debug.h: Likewise.
12657 * resolv/tst-inet_ntop.c: Likewise.
12658 * setjmp/bug269-setjmp.c: Likewise.
12659 * soft-fp/extended.h: Likewise.
12660 * soft-fp/op-1.h: Likewise.
12661 * soft-fp/op-2.h: Likewise.
12662 * soft-fp/op-4.h: Likewise.
12663 * soft-fp/op-8.h: Likewise.
12664 * soft-fp/testit.c: Likewise.
12665 * stdio-common/bug16.c: Likewise.
12666 * stdlib/random.c: Likewise.
12667 * sunrpc/rpcsvc/rquota.x: Likewise.
12668 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12669 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12670 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12671 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12672 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12673 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12674 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12675 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12676 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12677 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12678 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12679 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12680 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12681 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12682 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12683 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12684 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12685 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12686 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12687 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12688 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12689 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12690 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12691 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12692 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12693 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12694 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12695 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12696 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12697 * sysdeps/ieee754/s_lib_version.c: Likewise.
12698 * sysdeps/mach/hurd/check_fds.c: Likewise.
12699 * sysdeps/mach/hurd/getsockname.c: Likewise.
12700 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12701 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12702 * sysdeps/powerpc/bits/link.h: Likewise.
12703 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12704 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12705 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12706 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12707 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12708 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12709 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12710 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12711 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12712 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12713 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12714 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12715 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12716 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12717 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12718 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12719 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12720 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12721 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12722 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12723 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12724 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12725 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12726 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12727 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12728 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12729 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12730 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12731 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12732 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12733 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12734 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12735 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12736 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12737 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12738 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12739 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12740 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12741 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12742 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12743 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12744 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12745 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12746 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12747 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12748 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12749 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12750 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12751 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12752 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12753 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12755 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12756 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12757 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12758 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12759 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12760 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12761 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12762 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12763 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12764 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12765 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12766 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12767 * sysdeps/powerpc/sysdep.h: Likewise.
12768 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12769 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12770 * sysdeps/sh/dl-trampoline.S: Likewise.
12771 * sysdeps/sh/memset.S: Likewise.
12772 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12773 * sysdeps/sh/strlen.S: Likewise.
12774 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12775 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12776 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12777 * sysdeps/sparc/sparc32/rem.S: Likewise.
12778 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12779 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12780 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12781 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12782 * sysdeps/sparc/sparc32/urem.S: Likewise.
12783 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12784 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12785 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12786 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12787 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12788 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12789 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12790 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12791 * sysdeps/unix/bsd/times.c: Likewise.
12792 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12793 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12797 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12798 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12799 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12800 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12801 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12802 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12803 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12804 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12805 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12806 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12807 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12808 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12809 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12810 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12811 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12812 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12813 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12814 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12815 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12816 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12817 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12818 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12819 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12820 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12821 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12822 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12823 * sysdeps/x86_64/strcspn.S: Likewise.
12824
12825 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12826
12827 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12828 generated file. Regenerate properly from gen-translit.pl.
12829 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12830 locale/C-translit.h.
12831
12832 2013-06-05 Andreas Schwab <schwab@suse.de>
12833
12834 [BZ #15100]
12835 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12836 week as 6 instead of -1.
12837 * time/tst-strptime.c (day_tests): Add test case.
12838
12839 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12840
12841 * sysdeps/generic/math_private.h
12842 (libc_feholdexcept_setround_53bit): Replace with
12843 libc_feholdsetround_53bit.
12844 (libc_feupdateenv_53bit): Replace with
12845 libc_feresetround_53bit.
12846 (SET_RESTORE_ROUND_53BIT): Adjust.
12847
12848 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12849
12850 * string/test-strchrnul.c: Add copyright header.
12851
12852 * posix/tst-getaddrinfo4.c: Increase test timeout.
12853
12854 2013-06-03 Carlos O'Donell <carlos@redhat.com>
12855
12856 [BZ #15536]
12857 * math/libm-test.inc (MAX_EXP): Remove
12858 (MIN_EXP): Define.
12859 (ulp): Use MIN_EXP - MANT_DIG.
12860 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12861
12862 2013-05-31 Carlos O'Donell <carlos@redhat.com>
12863
12864 * po/be.po: Revert last change.
12865 * po/zh_CN.po: Likewise.
12866 * po/header.pot: Likewise.
12867
12868 2013-05-31 Joseph Myers <joseph@codesourcery.com>
12869
12870 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12871 link-libc-deps to empty as target-specific variable.
12872 * Makerules (link-libc-args): New variable.
12873 (libc-for-link): Likewise.
12874 (link-libc-deps): Likewise.
12875 (lib%.so): Depend on $(link-libc-deps). Link with
12876 $(link-libc-args).
12877 (build-module): Link with $(link-libc-args).
12878 (build-module-asneeded): Likewise.
12879 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12880 list of objects.
12881 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12882 target-specific variable.
12883 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12884 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12885 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12886 libc.
12887 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12888 libc and ld.so.
12889 ($(objpfx)libpcprofile.so): Likewise.
12890 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12891 libc_nonshared.a.
12892 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12893 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12894 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12895 $(link-libc-deps).
12896 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12897 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12898 * login/Makefile ($(objpfx)libutil.so): Likewise.
12899 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12900 * math/Makefile ($(objpfx)libm.so): Likewise.
12901 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12902 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12903 variable instead of depending directly on libc.
12904 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12905 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12906 $(link-libc-deps).
12907 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12908 libc.
12909 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12910 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12911 ($(objpfx)libanl.so): Likewise.
12912 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12913 ld.so.
12914 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12915 $(link-libc-deps).
12916 * sysdeps/i386/fpu/Makefile: Remove file.
12917 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12918 ($(objpfx)libm.so): Remove dependency on ld.so.
12919
12920 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
12921
12922 [BZ # 15553]
12923 * nis/yp_xdr.c (XDRMAXNAME): Define.
12924 (XDRMAXRECORD): Define.
12925 (xdr_domainname): Use XDRMAXNAME.
12926 (xdr_mapname): Likewise.
12927 (xdr_peername): Likewise.
12928 (xdr_keydat): Use XDRMAXRECORD.
12929 (xdr_valdat): Likewise.
12930
12931 2013-05-30 Jeff Law <law@redhat.com>
12932
12933 [BZ #14256]
12934 * manual/errno.texi (ESTALE): Update to account for more than
12935 just NFS file systems.
12936 * sysdeps/gnu/errlist.c: Regenerated.
12937
12938 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12939
12940 [BZ #15465]
12941 * elf/Makefile (tests): Add tst-null-argv.
12942 (modules-names): Add tst-null-argv-lib.
12943 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12944 (tst-null-argv-ENV): Set environment for tst-null-argv.
12945 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12946 (RTLD_PROGNAME): New macro.
12947 * elf/tst-null-argv.c: New test case.
12948 * elf/tst-null-argv-lib.c: Library for test case.
12949 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12950 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12951 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12952 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12953 * elf/dl-init.c (call_init): Likewise.
12954 (_dl_init): Likewise.
12955 * elf/dl-load.c (print_search_path): Likewise.
12956 (_dl_map_object): Likewise.
12957 * elf/dl-lookup.c (do_lookup_x): Likewise.
12958 (add_dependency): Likewise.
12959 (_dl_lookup_symbol_x): Likewise.
12960 (_dl_debug_bindings): Likewise.
12961 * elf/dl-open.c (_dl_show_scope): Likewise.
12962 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12963 * elf/dl-version.c (match_symbol): Likewise.
12964 (_dl_check_map_versions): Likewise.
12965 * elf/rtld.c (dl_main): Likewise.
12966 (print_unresolved): Use RTLD_PROGNAME.
12967 (print_missing_version): Likewise.
12968 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12969 (elf_machine_rela): Likewise.
12970 * sysdeps/powerpc/powerpc32/dl-machine.c
12971 (__process_machine_rela): Likewise.
12972 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12973 Likewise.
12974 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12975 Likewise.
12976 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12977 Likewise.
12978 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12979 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12980 Likewise.
12981 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12982 Likewise.
12983 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12984
12985 2013-05-28 Carlos O'Donell <carlos@redhat.com>
12986
12987 * po/be.po: Add descriptive title.
12988 * po/zh_CN.po: Likewise.
12989 * po/header.pot: Likewise.
12990
12991 2013-05-28 Mike Frysinger <vapier@gentoo.org>
12992
12993 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12994 error message.
12995 (enlarge_archive): Likewise.
12996
12997 2013-05-28 Ben North <ben@redfrontdoor.org>
12998
12999 * manual/arith.texi (frexp): It is the magnitude of the return
13000 value which lies in [0.5, 1), not the return value itself.
13001
13002 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13003
13004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13005
13006 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
13007
13008 * stdio-common/bug26.c (main): Correct fscanf template.
13009
13010 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
13011 declare _dl_skip_args.
13012
13013 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
13014 Don't declare.
13015
13016 * manual/platform.texi: Add missing @end deftypefun.
13017
13018 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13019
13020 [BZ #15529]
13021 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
13022 bit of mantissa of 2^16382.
13023 * math/libm-test.inc (hypot_test_data): Add more tests.
13024
13025 * math/libm-test.inc: Add drem and pow10 to list of tested
13026 functions.
13027 (pow10_test): New function.
13028 (drem_test): Likewise.
13029 (drem_test_tonearest): Likewise.
13030 (drem_test_towardzero): Likewise.
13031 (drem_test_downward): Likewise.
13032 (drem_test_upward): Likewise.
13033 (main): Call the new functions.
13034
13035 * math/libm-test.inc (finite_test_data): Remove.
13036 (finite_test): Run tests from isfinite_test_data.
13037 (gamma_test_data): Remove.
13038 (gamma_test): Run tests from lgamma_test_data.
13039 * sysdeps/i386/fpu/libm-test-ulps: Update.
13040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13041
13042 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13043
13044 * manual/platform.texi: Add PowerPC PPR function set documentation.
13045 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
13046 implementation.
13047
13048 2013-05-24 Carlos O'Donell <carlos@redhat.com>
13049
13050 * math/libm-test.inc (MAX_EXP): Define.
13051 (ULPDIFF): Define.
13052 (ulp): New function.
13053 (check_float_internal): Use ULPDIFF.
13054 (cpow_test): Disable failing test.
13055 (check_ulp): Test ulp() implemetnation.
13056 (main): Call check_ulp before starting tests.
13057
13058 2013-05-24 Joseph Myers <joseph@codesourcery.com>
13059
13060 * math/gen-libm-test.pl (generate_testfile): Do not handle
13061 START_DATA and END_DATA.
13062 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
13063 END_DATA.
13064 (acos_tonearest_test_data): Likewise.
13065 (acos_towardzero_test_data): Likewise.
13066 (acos_downward_test_data): Likewise.
13067 (acos_upward_test_data): Likewise.
13068 (acosh_test_data): Likewise.
13069 (asin_test_data): Likewise.
13070 (asin_tonearest_test_data): Likewise.
13071 (asin_towardzero_test_data): Likewise.
13072 (asin_downward_test_data): Likewise.
13073 (asin_upward_test_data): Likewise.
13074 (asinh_test_data): Likewise.
13075 (atan_test_data): Likewise.
13076 (atanh_test_data): Likewise.
13077 (atan2_test_data): Likewise.
13078 (cabs_test_data): Likewise.
13079 (cacos_test_data): Likewise.
13080 (cacosh_test_data): Likewise.
13081 (carg_test_data): Likewise.
13082 (casin_test_data): Likewise.
13083 (casinh_test_data): Likewise.
13084 (catan_test_data): Likewise.
13085 (catanh_test_data): Likewise.
13086 (cbrt_test_data): Likewise.
13087 (ccos_test_data): Likewise.
13088 (ccosh_test_data): Likewise.
13089 (ceil_test_data): Likewise.
13090 (cexp_test_data): Likewise.
13091 (cimag_test_data): Likewise.
13092 (clog_test_data): Likewise.
13093 (clog10_test_data): Likewise.
13094 (conj_test_data): Likewise.
13095 (copysign_test_data): Likewise.
13096 (cos_test_data): Likewise.
13097 (cos_tonearest_test_data): Likewise.
13098 (cos_towardzero_test_data): Likewise.
13099 (cos_downward_test_data): Likewise.
13100 (cos_upward_test_data): Likewise.
13101 (cosh_test_data): Likewise.
13102 (cosh_tonearest_test_data): Likewise.
13103 (cosh_towardzero_test_data): Likewise.
13104 (cosh_downward_test_data): Likewise.
13105 (cosh_upward_test_data): Likewise.
13106 (cpow_test_data): Likewise.
13107 (cproj_test_data): Likewise.
13108 (creal_test_data): Likewise.
13109 (csin_test_data): Likewise.
13110 (csinh_test_data): Likewise.
13111 (csqrt_test_data): Likewise.
13112 (ctan_test_data): Likewise.
13113 (ctan_tonearest_test_data): Likewise.
13114 (ctan_towardzero_test_data): Likewise.
13115 (ctan_downward_test_data): Likewise.
13116 (ctan_upward_test_data): Likewise.
13117 (ctanh_test_data): Likewise.
13118 (ctanh_tonearest_test_data): Likewise.
13119 (ctanh_towardzero_test_data): Likewise.
13120 (ctanh_downward_test_data): Likewise.
13121 (ctanh_upward_test_data): Likewise.
13122 (erf_test_data): Likewise.
13123 (erfc_test_data): Likewise.
13124 (exp_test_data): Likewise.
13125 (exp_tonearest_test_data): Likewise.
13126 (exp_towardzero_test_data): Likewise.
13127 (exp_downward_test_data): Likewise.
13128 (exp_upward_test_data): Likewise.
13129 (exp10_test_data): Likewise.
13130 (exp2_test_data): Likewise.
13131 (expm1_test_data): Likewise.
13132 (fabs_test_data): Likewise.
13133 (fdim_test_data): Likewise.
13134 (finite_test_data): Likewise.
13135 (floor_test_data): Likewise.
13136 (fma_test_data): Likewise.
13137 (fma_towardzero_test_data): Likewise.
13138 (fma_downward_test_data): Likewise.
13139 (fma_upward_test_data): Likewise.
13140 (fmax_test_data): Likewise.
13141 (fmin_test_data): Likewise.
13142 (fmod_test_data): Likewise.
13143 (fpclassify_test_data): Likewise.
13144 (frexp_test_data): Likewise.
13145 (gamma_test_data): Likewise.
13146 (hypot_test_data): Likewise.
13147 (ilogb_test_data): Likewise.
13148 (isfinite_test_data): Likewise.
13149 (isgreater_test_data): Likewise.
13150 (isgreaterequal_test_data): Likewise.
13151 (isinf_test_data): Likewise.
13152 (isless_test_data): Likewise.
13153 (islessequal_test_data): Likewise.
13154 (islessgreater_test_data): Likewise.
13155 (isnan_test_data): Likewise.
13156 (isnormal_test_data): Likewise.
13157 (issignaling_test_data): Likewise.
13158 (isunordered_test_data): Likewise.
13159 (j0_test_data): Likewise.
13160 (j1_test_data): Likewise.
13161 (jn_test_data): Likewise.
13162 (ldexp_test_data): Likewise.
13163 (lgamma_test_data): Likewise.
13164 (lrint_test_data): Likewise.
13165 (lrint_tonearest_test_data): Likewise.
13166 (lrint_towardzero_test_data): Likewise.
13167 (lrint_downward_test_data): Likewise.
13168 (lrint_upward_test_data): Likewise.
13169 (llrint_test_data): Likewise.
13170 (llrint_tonearest_test_data): Likewise.
13171 (llrint_towardzero_test_data): Likewise.
13172 (llrint_downward_test_data): Likewise.
13173 (llrint_upward_test_data): Likewise.
13174 (log_test_data): Likewise.
13175 (log10_test_data): Likewise.
13176 (log1p_test_data): Likewise.
13177 (log2_test_data): Likewise.
13178 (logb_test_data): Likewise.
13179 (logb_downward_test_data): Likewise.
13180 (lround_test_data): Likewise.
13181 (llround_test_data): Likewise.
13182 (modf_test_data): Likewise.
13183 (nearbyint_test_data): Likewise.
13184 (nextafter_test_data): Likewise.
13185 (nexttoward_test_data): Likewise.
13186 (pow_test_data): Likewise.
13187 (pow_tonearest_test_data): Likewise.
13188 (pow_towardzero_test_data): Likewise.
13189 (pow_downward_test_data): Likewise.
13190 (pow_upward_test_data): Likewise.
13191 (remainder_test_data): Likewise.
13192 (remainder_tonearest_test_data): Likewise.
13193 (remainder_towardzero_test_data): Likewise.
13194 (remainder_downward_test_data): Likewise.
13195 (remainder_upward_test_data): Likewise.
13196 (remquo_test_data): Likewise.
13197 (rint_test_data): Likewise.
13198 (rint_tonearest_test_data): Likewise.
13199 (rint_towardzero_test_data): Likewise.
13200 (rint_downward_test_data): Likewise.
13201 (rint_upward_test_data): Likewise.
13202 (round_test_data): Likewise.
13203 (scalb_test_data): Likewise.
13204 (scalbn_test_data): Likewise.
13205 (scalbln_test_data): Likewise.
13206 (signbit_test_data): Likewise.
13207 (sin_test_data): Likewise.
13208 (sin_tonearest_test_data): Likewise.
13209 (sin_towardzero_test_data): Likewise.
13210 (sin_downward_test_data): Likewise.
13211 (sin_upward_test_data): Likewise.
13212 (sincos_test_data): Likewise.
13213 (sinh_test_data): Likewise.
13214 (sinh_tonearest_test_data): Likewise.
13215 (sinh_towardzero_test_data): Likewise.
13216 (sinh_downward_test_data): Likewise.
13217 (sinh_upward_test_data): Likewise.
13218 (sqrt_test_data): Likewise.
13219 (tan_test_data): Likewise.
13220 (tan_tonearest_test_data): Likewise.
13221 (tan_towardzero_test_data): Likewise.
13222 (tan_downward_test_data): Likewise.
13223 (tan_upward_test_data): Likewise.
13224 (tanh_test_data): Likewise.
13225 (tgamma_test_data): Likewise.
13226 (trunc_test_data): Likewise.
13227 (y0_test_data): Likewise.
13228 (y1_test_data): Likewise.
13229 (yn_test_data): Likewise.
13230 (significand_test_data): Likewise.
13231
13232 * math/gen-libm-test.pl (@functions): Remove variable.
13233 (generate_testfile): Don't handle START and END lines.
13234 * math/libm-test.inc (START): New macro.
13235 (END): Likewise.
13236 (END_COMPLEX): Likewise.
13237 (acos_test): Use END macro without arguments.
13238 (acos_test_tonearest): Likewise.
13239 (acos_test_towardzero): Likewise.
13240 (acos_test_downward): Likewise.
13241 (acos_test_upward): Likewise.
13242 (acosh_test): Likewise.
13243 (asin_test): Likewise.
13244 (asin_test_tonearest): Likewise.
13245 (asin_test_towardzero): Likewise.
13246 (asin_test_downward): Likewise.
13247 (asin_test_upward): Likewise.
13248 (asinh_test): Likewise.
13249 (atan_test): Likewise.
13250 (atanh_test): Likewise.
13251 (atan2_test): Likewise.
13252 (cabs_test): Likewise.
13253 (cacos_test): Use END_COMPLEX macro without arguments.
13254 (cacosh_test): Likewise.
13255 (carg_test): Use END macro without arguments.
13256 (casin_test): Use END_COMPLEX macro without arguments.
13257 (casinh_test): Likewise.
13258 (catan_test): Likewise.
13259 (catanh_test): Likewise.
13260 (cbrt_test): Use END macro without arguments.
13261 (ccos_test): Use END_COMPLEX macro without arguments.
13262 (ccosh_test): Likewise.
13263 (ceil_test): Use END macro without arguments.
13264 (cexp_test): Use END_COMPLEX macro without arguments.
13265 (cimag_test): Use END macro without arguments.
13266 (clog_test): Use END_COMPLEX macro without arguments.
13267 (clog10_test): Likewise.
13268 (conj_test): Likewise.
13269 (copysign_test): Use END macro without arguments.
13270 (cos_test): Likewise.
13271 (cos_test_tonearest): Likewise.
13272 (cos_test_towardzero): Likewise.
13273 (cos_test_downward): Likewise.
13274 (cos_test_upward): Likewise.
13275 (cosh_test): Likewise.
13276 (cosh_test_tonearest): Likewise.
13277 (cosh_test_towardzero): Likewise.
13278 (cosh_test_downward): Likewise.
13279 (cosh_test_upward): Likewise.
13280 (cpow_test): Use END_COMPLEX macro without arguments.
13281 (cproj_test): Likewise.
13282 (creal_test): Use END macro without arguments.
13283 (csin_test): Use END_COMPLEX macro without arguments.
13284 (csinh_test): Likewise.
13285 (csqrt_test): Likewise.
13286 (ctan_test): Likewise.
13287 (ctan_test_tonearest): Likewise.
13288 (ctan_test_towardzero): Likewise.
13289 (ctan_test_downward): Likewise.
13290 (ctan_test_upward): Likewise.
13291 (ctanh_test): Likewise.
13292 (ctanh_test_tonearest): Likewise.
13293 (ctanh_test_towardzero): Likewise.
13294 (ctanh_test_downward): Likewise.
13295 (ctanh_test_upward): Likewise.
13296 (erf_test): Use END macro without arguments.
13297 (erfc_test): Likewise.
13298 (exp_test): Likewise.
13299 (exp_test_tonearest): Likewise.
13300 (exp_test_towardzero): Likewise.
13301 (exp_test_downward): Likewise.
13302 (exp_test_upward): Likewise.
13303 (exp10_test): Likewise.
13304 (exp2_test): Likewise.
13305 (expm1_test): Likewise.
13306 (fabs_test): Likewise.
13307 (fdim_test): Likewise.
13308 (finite_test): Likewise.
13309 (floor_test): Likewise.
13310 (fma_test): Likewise.
13311 (fma_test_towardzero): Likewise.
13312 (fma_test_downward): Likewise.
13313 (fma_test_upward): Likewise.
13314 (fmax_test): Likewise.
13315 (fmin_test): Likewise.
13316 (fmod_test): Likewise.
13317 (fpclassify_test): Likewise.
13318 (frexp_test): Likewise.
13319 (gamma_test): Likewise.
13320 (hypot_test): Likewise.
13321 (ilogb_test): Likewise.
13322 (isfinite_test): Likewise.
13323 (isgreater_test): Likewise.
13324 (isgreaterequal_test): Likewise.
13325 (isinf_test): Likewise.
13326 (isless_test): Likewise.
13327 (islessequal_test): Likewise.
13328 (islessgreater_test): Likewise.
13329 (isnan_test): Likewise.
13330 (isnormal_test): Likewise.
13331 (issignaling_test): Likewise.
13332 (isunordered_test): Likewise.
13333 (j0_test): Likewise.
13334 (j1_test): Likewise.
13335 (jn_test): Likewise.
13336 (ldexp_test): Likewise.
13337 (lgamma_test): Likewise.
13338 (lrint_test): Likewise.
13339 (lrint_test_tonearest): Likewise.
13340 (lrint_test_towardzero): Likewise.
13341 (lrint_test_downward): Likewise.
13342 (lrint_test_upward): Likewise.
13343 (llrint_test): Likewise.
13344 (llrint_test_tonearest): Likewise.
13345 (llrint_test_towardzero): Likewise.
13346 (llrint_test_downward): Likewise.
13347 (llrint_test_upward): Likewise.
13348 (log_test): Likewise.
13349 (log10_test): Likewise.
13350 (log1p_test): Likewise.
13351 (log2_test): Likewise.
13352 (logb_test): Likewise.
13353 (logb_test_downward): Likewise.
13354 (lround_test): Likewise.
13355 (llround_test): Likewise.
13356 (modf_test): Likewise.
13357 (nearbyint_test): Likewise.
13358 (nextafter_test): Likewise.
13359 (nexttoward_test): Likewise.
13360 (pow_test): Likewise.
13361 (pow_test_tonearest): Likewise.
13362 (pow_test_towardzero): Likewise.
13363 (pow_test_downward): Likewise.
13364 (pow_test_upward): Likewise.
13365 (remainder_test): Likewise.
13366 (remainder_test_tonearest): Likewise.
13367 (remainder_test_towardzero): Likewise.
13368 (remainder_test_downward): Likewise.
13369 (remainder_test_upward): Likewise.
13370 (remquo_test): Likewise.
13371 (rint_test): Likewise.
13372 (rint_test_tonearest): Likewise.
13373 (rint_test_towardzero): Likewise.
13374 (rint_test_downward): Likewise.
13375 (rint_test_upward): Likewise.
13376 (round_test): Likewise.
13377 (scalb_test): Likewise.
13378 (scalbn_test): Likewise.
13379 (scalbln_test): Likewise.
13380 (signbit_test): Likewise.
13381 (sin_test): Likewise.
13382 (sin_test_tonearest): Likewise.
13383 (sin_test_towardzero): Likewise.
13384 (sin_test_downward): Likewise.
13385 (sin_test_upward): Likewise.
13386 (sincos_test): Likewise.
13387 (sinh_test): Likewise.
13388 (sinh_test_tonearest): Likewise.
13389 (sinh_test_towardzero): Likewise.
13390 (sinh_test_downward): Likewise.
13391 (sinh_test_upward): Likewise.
13392 (sqrt_test): Likewise.
13393 (tan_test): Likewise.
13394 (tan_test_tonearest): Likewise.
13395 (tan_test_towardzero): Likewise.
13396 (tan_test_downward): Likewise.
13397 (tan_test_upward): Likewise.
13398 (tanh_test): Likewise.
13399 (tgamma_test): Likewise.
13400 (trunc_test): Likewise.
13401 (y0_test): Likewise.
13402 (y1_test): Likewise.
13403 (yn_test): Likewise.
13404 (significand_test): Likewise.
13405
13406 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
13407
13408 [BZ #15381]
13409 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13410
13411 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13412
13413 [BZ #14894]
13414 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13415 __ppc_mdoio and __ppc_mdoom.
13416 * manual/platform.texi: Document new functions __ppc_yield,
13417 __ppc_mdoio and __ppc_mdoom.
13418
13419 2013-05-22 Carlos O'Donell <carlos@redhat.com>
13420
13421 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13422 (main): Mention "tls" pseudo-hwcap is legacy.
13423 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13424
13425 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13426
13427 * math/gen-libm-test.pl (parse_args): Output only string of
13428 arguments as text for test name, not full call or descriptions of
13429 tests for extra outputs.
13430 (generate_testfile): Do not pass function name to parse_args.
13431 Generate this_func variable from START.
13432 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13433 field to arg_str.
13434 (struct test_ff_f_data): Likewise.
13435 (test_ff_f_data_nexttoward): Likewise.
13436 (struct test_fi_f_data): Likewise.
13437 (struct test_fl_f_data): Likewise.
13438 (struct test_if_f_data): Likewise.
13439 (struct test_fff_f_data): Likewise.
13440 (struct test_c_f_data): Likewise.
13441 (struct test_f_f1_data): Likewise. Remove field extra_name.
13442 (struct test_fF_f1_data): Likewise.
13443 (struct test_ffI_f1_data): Likewise.
13444 (struct test_c_c_data): Rename test_name field to arg_str.
13445 (struct test_cc_c_data): Likewise.
13446 (struct test_f_i_data): Likewise.
13447 (struct test_ff_i_data): Likewise.
13448 (struct test_f_l_data): Likewise.
13449 (struct test_f_L_data): Likewise.
13450 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13451 and extra2_name.
13452 (COMMON_TEST_SETUP): New macro.
13453 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13454 (COMMON_TEST_CLEANUP): Likewise.
13455 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13456 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13457 macros.
13458 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13459 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13460 macros.
13461 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13462 (RUN_TEST_fff_f): Take argument string. Call new setup and
13463 cleanup macros.
13464 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13465 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13466 macros.
13467 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13468 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13469 macros.
13470 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13471 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13472 cleanup macros.
13473 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13474 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13475 cleanup macros.
13476 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13477 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13478 cleanup macros.
13479 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13480 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13481 macros.
13482 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13483 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13484 macros.
13485 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13486 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13487 macros.
13488 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13489 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13490 cleanup macros.
13491 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13492 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13493 cleanup macros.
13494 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13495 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13496 macros.
13497 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13498 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13499 cleanup macros.
13500 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13501 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13502 macros.
13503 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13504 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13505 macros.
13506 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13507 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13508 cleanup macros.
13509 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13510
13511 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13512
13513 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13514 to _sifields.sigfault.
13515 (si_addr_lsb): Define new macro.
13516 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13517 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13518 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13519
13520 2013-05-03 Carlos O'Donell <carlos at redhat.com>
13521
13522 [BZ #15441]
13523 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13524 returns -1.
13525 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13526 null return -1.
13527 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13528 loading the domain.
13529
13530 2013-05-22 Joseph Myers <joseph@codesourcery.com>
13531
13532 * math/gen-libm-test.pl (parse_args): Do not include expected
13533 result in test name.
13534 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13535 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13536 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13537 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13538 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13540
13541 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13542
13543 * benchtests/Makefile: Sort function entries.
13544
13545 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13546 tanh, asinh, acosh, atanh.
13547 * benchtests/acos-inputs: New file.
13548 * benchtests/acosh-inputs: New file.
13549 * benchtests/asin-inputs: New file.
13550 * benchtests/asinh-inputs: New file.
13551 * benchtests/atanh-inputs: New file.
13552 * benchtests/cosh-inputs: New file.
13553 * benchtests/log-inputs: New file.
13554 * benchtests/sinh-inputs: New file.
13555 * benchtests/tanh-inputs: New file.
13556
13557 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13558
13559 [BZ #15339]
13560 * posix/tst-getaddrinfo4.c: New test.
13561 * posix/Makefile (tests): Add it.
13562
13563 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13564
13565 [BZ #15339]
13566 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13567 when no services were used.
13568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13569 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13570
13571 2013-05-21 Andreas Schwab <schwab@suse.de>
13572
13573 [BZ #15014]
13574 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13575 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13576 successful.
13577 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13578 redundant variable declarations and reallocation of buffer when
13579 parsing as IPv6 address. Always set NSS status when called from
13580 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13581 buffer too small. Correct computation of needed size.
13582 * nss/Makefile (tests): Add test-digits-dots.
13583 * nss/test-digits-dots.c: New test.
13584
13585 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13586
13587 * benchtests/Makefile: Remove instructions for adding
13588 benchmark tests.
13589 * benchtests/README: New file to explain how to execute and
13590 enhance the benchmark tests.
13591
13592 2013-05-21 Andreas Schwab <schwab@suse.de>
13593
13594 [BZ #15493]
13595 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13596 * setjmp/tst-sigsetjmp.c: New test.
13597
13598 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13599
13600 * sysdeps/x86_64/memset.S (memset): New implementation.
13601 (__bzero): Likewise.
13602 (__memset_tail): New function.
13603
13604 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
13605
13606 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13607 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13608 __memcpy_sse2_unaligned ifunc selection.
13609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13610 Add memcpy-sse2-unaligned.S.
13611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13612 Add: __memcpy_sse2_unaligned.
13613
13614 2013-05-19 Joseph Myers <joseph@codesourcery.com>
13615
13616 [BZ #15490]
13617 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13618 math_force_eval before restoring floating-point envrionment.
13619 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13620 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13621 Likewise.
13622 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13623 <math_private.h>.
13624 (__nearbyintl): Use math_force_eval before restoring
13625 floating-point environment.
13626 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13627
13628 * math/gen-libm-test.pl (special_functions): Remove.
13629 (parse_args): Don't handle TEST_extra. Handle functions with no
13630 return value.
13631 * math/libm-test.inc (struct test_sincos_data): Replace with
13632 struct test_fFF_11_data.
13633 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13634 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13635 (sincos_test_data): Change element type to struct
13636 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13637 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13638 RUN_TEST_LOOP_sincos.
13639 * math/README.libm-test: Don't mention special handling of
13640 individual functions.
13641 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13642 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13643 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13644 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13645 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13647
13648 * math/gen-libm-test.pl (get_variable): Remove function.
13649 (parse_args): Don't show pointer parameters to call in test
13650 names. Use "extra output N" in test names for extra outputs
13651 rather than naming variables.
13652
13653 2013-05-18 Joseph Myers <joseph@codesourcery.com>
13654
13655 [BZ #15488]
13656 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13657 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13658 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13659 double tests.
13660 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13661 disable.
13662 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13663 check_long_double.
13664
13665 * math/gen-libm-test.pl (@tests): Remove variable.
13666 ($count): Likewise.
13667 (new_test): Remove function.
13668 (show_exceptions): New function.
13669 (special_functions): Use show_exceptions instead of new_test.
13670 (parse_args): Likewise.
13671 (generate_testfile): Pass only function name in generated call to
13672 print_max_error or print_complex_max_error.
13673 (get_ulps): Do not handle complex tests specially.
13674 (output_test): Rename to ...
13675 (get_all_ulps_for_test): ... this. Return a string rather than
13676 printing to a file. Require ulps to be present.
13677 (output_ulps): Generate arrays rather than #defines.
13678 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13679 (struct ulp_data): New type.
13680 (BUILD_COMPLEX_ULP): Remove macro.
13681 (compare_ulp_data): New function.
13682 (find_ulps): Likewise.
13683 (find_test_ulps): Likewise.
13684 (find_function_ulps): Likewise.
13685 (find_complex_function_ulps): Likewise.
13686 (print_max_error): Determine allowed ulps using
13687 find_function_ulps.
13688 (print_complex_max_error): Determine allowed ulps using
13689 find_complex_function_ulps.
13690 (check_float_internal): Determine max ulps using find_test_ulps.
13691 (check_float): Do not take max_ulp parameter. Update call to
13692 check_float_internal.
13693 (check_complex): Likewise.
13694 (check_int): Do not take max_ulp parameter.
13695 (check_long): Likewise.
13696 (check_bool): Likewise.
13697 (check_longlong): Likewise.
13698 (struct test_f_f_data): Remove max_ulp field.
13699 (struct test_ff_f_data): Likewise.
13700 (struct test_ff_f_data_nexttoward): Likewise.
13701 (struct test_fi_f_data): Likewise.
13702 (struct test_fl_f_data): Likewise.
13703 (struct test_if_f_data): Likewise.
13704 (struct test_fff_f_data): Likewise.
13705 (struct test_c_f_data): Likewise.
13706 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13707 (struct test_fF_f1_data): Likewise.
13708 (struct test_ffI_f1_data): Likewise.
13709 (struct test_c_c_data): Remove max_ulp field.
13710 (struct test_cc_c_data): Likewise.
13711 (struct test_f_i_data): Likewise.
13712 (struct test_ff_i_data): Likewise.
13713 (struct test_f_l_data): Likewise.
13714 (struct test_f_L_data): Likewise.
13715 (struct test_sincos_data): Likewise.
13716 (RUN_TEST_f_f): Do not handle ulps.
13717 (RUN_TEST_LOOP_f_f): Likewise.
13718 (RUN_TEST_2_f): Likewise.
13719 (RUN_TEST_LOOP_2_f): Likewise.
13720 (RUN_TEST_fff_f): Likewise.
13721 (RUN_TEST_LOOP_fff_f): Likewise.
13722 (RUN_TEST_c_f): Likewise.
13723 (RUN_TEST_LOOP_c_f): Likewise.
13724 (RUN_TEST_f_f1): Likewise.
13725 (RUN_TEST_LOOP_f_f1): Likewise.
13726 (RUN_TEST_fF_f1): Likewise.
13727 (RUN_TEST_LOOP_fF_f1): Likewise.
13728 (RUN_TEST_fI_f1): Likewise.
13729 (RUN_TEST_LOOP_fI_f1): Likewise.
13730 (RUN_TEST_ffI_f1): Likewise.
13731 (RUN_TEST_LOOP_ffI_f1): Likewise.
13732 (RUN_TEST_c_c): Likewise.
13733 (RUN_TEST_LOOP_c_c): Likewise.
13734 (RUN_TEST_cc_c): Likewise.
13735 (RUN_TEST_LOOP_cc_c): Likewise.
13736 (RUN_TEST_f_i): Likewise.
13737 (RUN_TEST_LOOP_f_i): Likewise.
13738 (RUN_TEST_f_i_tg): Likewise.
13739 (RUN_TEST_LOOP_f_i_tg): Likewise.
13740 (RUN_TEST_ff_i_tg): Likewise.
13741 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13742 (RUN_TEST_f_b): Likewise.
13743 (RUN_TEST_LOOP_f_b): Likewise.
13744 (RUN_TEST_f_b_tg): Likewise.
13745 (RUN_TEST_LOOP_f_b_tg): Likewise.
13746 (RUN_TEST_f_l): Likewise.
13747 (RUN_TEST_LOOP_f_l): Likewise.
13748 (RUN_TEST_f_L): Likewise.
13749 (RUN_TEST_LOOP_f_L): Likewise.
13750 (RUN_TEST_sincos): Likewise.
13751 (RUN_TEST_LOOP_sincos): Likewise.
13752
13753 2013-05-17 Joseph Myers <joseph@codesourcery.com>
13754
13755 [BZ #15480]
13756 [BZ #15485]
13757 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13758 main case of finite arguments, set rounding mode to FE_TONEAREST
13759 and discard exceptions.
13760 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13761 exceptions.
13762 (remainder_tonearest_test_data): New variable.
13763 (remainder_test_tonearest): New function.
13764 (remainder_towardzero_test_data): New variable.
13765 (remainder_test_towardzero): New function.
13766 (remainder_downward_test_data): New variable.
13767 (remainder_test_downward): New function.
13768 (remainder_upward_test_data): New variable.
13769 (remainder_test_upward): New function.
13770 (main): Call the new test functions.
13771
13772 * math/libm-test.inc (struct test_f_f1_data): Remove field
13773 extra_init.
13774 (struct test_fF_f1_data): Likewise.
13775 (struct test_ffI_f1_data): Likewise.
13776 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13777 based on value of EXTRA_EXPECTED.
13778 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13779 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13780 EXTRA_VAR based on value of EXTRA_EXPECTED.
13781 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13782 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13783 EXTRA_VAR based on value of EXTRA_EXPECTED.
13784 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13785 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13786 EXTRA_VAR based on value of EXTRA_EXPECTED.
13787 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13788 * math/gen-libm-test.pl (parse_args): Don't output initializers
13789 for extra output values.
13790
13791 * math/libm-test.inc (check_int): Expect result to be exactly
13792 equal to expected value and do not handle ulps.
13793 (check_long): Likewise.
13794 (check_longlong): Likewise.
13795
13796 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13797 exceptions.
13798 (cimag_test_data): Likewise.
13799 (conj_test_data): Likewise.
13800 (copysign_test_data): Likewise.
13801 (cproj_test_data): Likewise.
13802 (creal_test_data): Likewise.
13803 (fabs_test_data): Likewise.
13804 (fdim_test_data): Likewise.
13805 (finite_test_data): Likewise.
13806 (floor_test_data): Likewise.
13807 (fmax_test_data): Likewise.
13808 (fmin_test_data): Likewise.
13809 (fmod_test_data): Likewise.
13810 (fpclassify_test_data): Likewise.
13811 (frexp_test_data): Likewise.
13812 (ilogb_test_data): Likewise.
13813 (isfinite_test_data): Likewise.
13814 (isgreater_test_data): Likewise.
13815 (isgreaterequal_test_data): Likewise.
13816 (isinf_test_data): Likewise.
13817 (isless_test_data): Likewise.
13818 (islessequal_test_data): Likewise.
13819 (islessgreater_test_data): Likewise.
13820 (isnan_test_data): Likewise.
13821 (isnormal_test_data): Likewise.
13822 (issignaling_test_data): Likewise.
13823 (isunordered_test_data): Likewise.
13824 (ldexp_test_data): Likewise.
13825 (lrint_test_data): Likewise.
13826 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13827 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13828 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13829 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13830 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13831 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13832 test input.
13833 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13834 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13835 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13836 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13837 that test input.
13838 (lrint_downward_test_data): Test for "inexact" exceptions.
13839 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13840 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13841 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13842 test input.
13843 (lrint_upward_test_data): Test for "inexact" exceptions.
13844 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13845 test input.
13846 (llrint_test_data): Test for "inexact" exceptions.
13847 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13848 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13849 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13850 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13851 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13852 (llrint_downward_test_data): Test for "inexact" exceptions.
13853 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13854 (llrint_upward_test_data): Test for "inexact" exceptions.
13855 (logb_test_data): Likewise.
13856 (logb_downward_test_data): Likewise.
13857 (nextafter_test_data): Likewise.
13858 (nexttoward_test_data): Likewise.
13859 (remainder_test_data): Likewise.
13860 (remquo_test_data): Likewise.
13861 (scalbn_test_data): Likewise.
13862 (scalbln_test_data): Likewise.
13863 (signbit_test_data): Likewise.
13864 (sqrt_test_data): Likewise.
13865 (significand_test_data): Likewise.
13866
13867 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13868
13869 [BZ #15424]
13870 * benchtests/bench-modf.c (struct args): Mark arg0 as
13871 volatile.
13872 * scripts/bench.pl: Mark members of struct args as volatile.
13873
13874 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13875
13876 [BZ # 15497]
13877 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13878 negative infinity on POWER6 or lower.
13879 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13880
13881 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13882
13883 [BZ #15442]
13884 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13885 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13886 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13887 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13888 (_FP_SETQNAN): New macro.
13889 (_FP_SETQNAN_SEMIRAW): Likewise.
13890 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13891 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13892 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13893 (FP_EXTEND): Use _FP_FRAC_SNANP.
13894 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13895 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13896 into account.
13897 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13898 New macro.
13899 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13900 Likewise.
13901
13902 2013-05-16 Joseph Myers <joseph@codesourcery.com>
13903
13904 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13905 with DIVIDE_BY_ZERO_EXCEPTION.
13906 (gamma_test_data): Likewise.
13907 (lgamma_test_data): Likewise.
13908 (log_test_data): Likewise.
13909 (log10_test_data): Likewise.
13910 (log2_test_data): Likewise.
13911 (tgamma_test_data): Likewise.
13912
13913 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13914 (acos_test_tonearest): Likewise.
13915 (acos_test_towardzero): Likewise.
13916 (acos_test_downward): Likewise.
13917 (acos_test_upward): Likewise.
13918 (acosh_test): Likewise.
13919 (asin_test): Likewise.
13920 (asin_test_tonearest): Likewise.
13921 (asin_test_towardzero): Likewise.
13922 (asin_test_downward): Likewise.
13923 (asin_test_upward): Likewise.
13924 (asinh_test): Likewise.
13925 (atan_test): Likewise.
13926 (atanh_test): Likewise.
13927 (atan2_test): Likewise.
13928 (cabs_test): Likewise.
13929 (cacos_test): Likewise.
13930 (cacosh_test): Likewise.
13931 (casin_test): Likewise.
13932 (casinh_test): Likewise.
13933 (catan_test): Likewise.
13934 (catanh_test): Likewise.
13935 (cbrt_test): Likewise.
13936 (ccos_test): Likewise.
13937 (ccosh_test): Likewise.
13938 (cexp_test): Likewise.
13939 (clog_test): Likewise.
13940 (clog10_test): Likewise.
13941 (cos_test): Likewise.
13942 (cos_test_tonearest): Likewise.
13943 (cos_test_towardzero): Likewise.
13944 (cos_test_downward): Likewise.
13945 (cos_test_upward): Likewise.
13946 (cosh_test): Likewise.
13947 (cosh_test_tonearest): Likewise.
13948 (cosh_test_towardzero): Likewise.
13949 (cosh_test_downward): Likewise.
13950 (cosh_test_upward): Likewise.
13951 (cpow_test): Likewise.
13952 (csin_test): Likewise.
13953 (csinh_test): Likewise.
13954 (csqrt_test): Likewise.
13955 (ctan_test): Likewise.
13956 (ctan_test_tonearest): Likewise.
13957 (ctan_test_towardzero): Likewise.
13958 (ctan_test_downward): Likewise.
13959 (ctan_test_upward): Likewise.
13960 (ctanh_test): Likewise.
13961 (ctanh_test_tonearest): Likewise.
13962 (ctanh_test_towardzero): Likewise.
13963 (ctanh_test_downward): Likewise.
13964 (ctanh_test_upward): Likewise.
13965 (erf_test): Likewise.
13966 (erfc_test): Likewise.
13967 (exp_test): Likewise.
13968 (exp_test_tonearest): Likewise.
13969 (exp_test_towardzero): Likewise.
13970 (exp_test_downward): Likewise.
13971 (exp_test_upward): Likewise.
13972 (exp10_test): Likewise.
13973 (exp2_test): Likewise.
13974 (expm1_test): Likewise.
13975 (fmod_test): Likewise.
13976 (gamma_test): Likewise.
13977 (hypot_test): Likewise.
13978 (j0_test): Likewise.
13979 (j1_test): Likewise.
13980 (jn_test): Likewise.
13981 (lgamma_test): Likewise.
13982 (log_test): Likewise.
13983 (log10_test): Likewise.
13984 (log1p_test): Likewise.
13985 (log2_test): Likewise.
13986 (logb_test_downward): Likewise.
13987 (pow_test): Likewise.
13988 (pow_test_tonearest): Likewise.
13989 (pow_test_towardzero): Likewise.
13990 (pow_test_downward): Likewise.
13991 (pow_test_upward): Likewise.
13992 (remainder_test): Likewise.
13993 (remquo_test): Likewise.
13994 (sin_test): Likewise.
13995 (sin_test_tonearest): Likewise.
13996 (sin_test_towardzero): Likewise.
13997 (sin_test_downward): Likewise.
13998 (sin_test_upward): Likewise.
13999 (sincos_test): Likewise.
14000 (sinh_test): Likewise.
14001 (sinh_test_tonearest): Likewise.
14002 (sinh_test_towardzero): Likewise.
14003 (sinh_test_downward): Likewise.
14004 (sinh_test_upward): Likewise.
14005 (sqrt_test): Likewise.
14006 (tan_test): Likewise.
14007 (tan_test_tonearest): Likewise.
14008 (tan_test_towardzero): Likewise.
14009 (tan_test_downward): Likewise.
14010 (tan_test_upward): Likewise.
14011 (tanh_test): Likewise.
14012 (tgamma_test): Likewise.
14013 (y0_test): Likewise.
14014 (y1_test): Likewise.
14015 (yn_test): Likewise.
14016
14017 * math/gen-libm-test.pl (adjust_arg): Remove function.
14018 (special_function): Remove argument $in_func. Only handle
14019 generating output for tables of tests, not inside functions.
14020 (parse_args): Likewise.
14021 (generate_testfile): Remove variable $in_func. Update call to
14022 parse_args.
14023 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
14024 (MINUS_ZERO_INIT): Rename macro to minus_zero.
14025 (PLUS_INFTY_INIT): Rename macro to plus_infty.
14026 (MINUS_INFTY_INIT): Rename macro to minus_infty.
14027 (QNAN_VALUE_INIT): Rename macro to qnan_value.
14028 (MAX_VALUE_INIT): Rename macro to max_value.
14029 (MIN_VALUE_INIT): Rename macro to min_value.
14030 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
14031 (plus_zero): Remove variable.
14032 (minus_zero): Likewise.
14033 (plus_infty): Likewise.
14034 (minus_infty): Likewise.
14035 (qnan_value): Likewise.
14036 (max_value): Likewise.
14037 (min_value): Likewise.
14038 (min_subnorm_value): Likewise.
14039
14040 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
14041
14042 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
14043 uint64_t or uint32_t usage.
14044 * crypt/sha256-block.c: Likewise.
14045 * crypt/sha256-crypt.c: Likewise.
14046 * crypt/sha256.c: Likewise.
14047 * crypt/sha512-block.c: Likewise.
14048 * crypt/sha512-crypt.c: Likewise.
14049 * crypt/sha512.c: Likewise.
14050 * debug/backtrace-tst.c: Likewise.
14051 * debug/pcprofiledump.c: Likewise.
14052 * elf/cache.c: Likewise.
14053 * elf/dl-cache.c: Likewise.
14054 * elf/dl-misc.c: Likewise.
14055 * elf/dl-profile.c: Likewise.
14056 * elf/dl-support.c: Likewise.
14057 * elf/ldconfig.c: Likewise.
14058 * elf/sprof.c: Likewise.
14059 * iconv/dummy-repertoire.c: Likewise.
14060 * iconv/iconv_charmap.c: Likewise.
14061 * iconv/skeleton.c: Likewise.
14062 * iconvdata/8bit-generic.c: Likewise.
14063 * iconvdata/cp737.h: Likewise.
14064 * iconvdata/cp775.h: Likewise.
14065 * iconvdata/ibm1008.h: Likewise.
14066 * iconvdata/ibm1025.h: Likewise.
14067 * iconvdata/ibm1046.h: Likewise.
14068 * iconvdata/ibm1097.h: Likewise.
14069 * iconvdata/ibm1112.h: Likewise.
14070 * iconvdata/ibm1122.h: Likewise.
14071 * iconvdata/ibm1123.h: Likewise.
14072 * iconvdata/ibm1124.h: Likewise.
14073 * iconvdata/ibm1129.h: Likewise.
14074 * iconvdata/ibm1130.h: Likewise.
14075 * iconvdata/ibm1132.h: Likewise.
14076 * iconvdata/ibm1133.h: Likewise.
14077 * iconvdata/ibm1137.h: Likewise.
14078 * iconvdata/ibm1140.h: Likewise.
14079 * iconvdata/ibm1141.h: Likewise.
14080 * iconvdata/ibm1142.h: Likewise.
14081 * iconvdata/ibm1143.h: Likewise.
14082 * iconvdata/ibm1144.h: Likewise.
14083 * iconvdata/ibm1145.h: Likewise.
14084 * iconvdata/ibm1146.h: Likewise.
14085 * iconvdata/ibm1147.h: Likewise.
14086 * iconvdata/ibm1148.h: Likewise.
14087 * iconvdata/ibm1149.h: Likewise.
14088 * iconvdata/ibm1153.h: Likewise.
14089 * iconvdata/ibm1154.h: Likewise.
14090 * iconvdata/ibm1155.h: Likewise.
14091 * iconvdata/ibm1156.h: Likewise.
14092 * iconvdata/ibm1157.h: Likewise.
14093 * iconvdata/ibm1158.h: Likewise.
14094 * iconvdata/ibm1160.h: Likewise.
14095 * iconvdata/ibm1161.h: Likewise.
14096 * iconvdata/ibm1162.h: Likewise.
14097 * iconvdata/ibm1163.h: Likewise.
14098 * iconvdata/ibm1164.h: Likewise.
14099 * iconvdata/ibm1166.h: Likewise.
14100 * iconvdata/ibm1167.h: Likewise.
14101 * iconvdata/ibm12712.h: Likewise.
14102 * iconvdata/ibm1390.h: Likewise.
14103 * iconvdata/ibm1399.h: Likewise.
14104 * iconvdata/ibm16804.h: Likewise.
14105 * iconvdata/ibm4517.h: Likewise.
14106 * iconvdata/ibm4899.h: Likewise.
14107 * iconvdata/ibm4909.h: Likewise.
14108 * iconvdata/ibm4971.h: Likewise.
14109 * iconvdata/ibm5347.h: Likewise.
14110 * iconvdata/ibm803.h: Likewise.
14111 * iconvdata/ibm856.h: Likewise.
14112 * iconvdata/ibm901.h: Likewise.
14113 * iconvdata/ibm902.h: Likewise.
14114 * iconvdata/ibm9030.h: Likewise.
14115 * iconvdata/ibm9066.h: Likewise.
14116 * iconvdata/ibm921.h: Likewise.
14117 * iconvdata/ibm922.h: Likewise.
14118 * iconvdata/ibm9448.h: Likewise.
14119 * iconvdata/isiri-3342.h: Likewise.
14120 * iconvdata/jis0201.h: Likewise.
14121 * include/link.h: Likewise.
14122 * include/netdb.h: Likewise.
14123 * inet/check_native.c: Likewise.
14124 * inet/check_pf.c: Likewise.
14125 * inet/getipv4sourcefilter.c: Likewise.
14126 * inet/getnameinfo.c: Likewise.
14127 * inet/getsourcefilter.c: Likewise.
14128 * inet/htonl.c: Likewise.
14129 * inet/setipv4sourcefilter.c: Likewise.
14130 * inet/setsourcefilter.c: Likewise.
14131 * inet/test-inet6_opt.c: Likewise.
14132 * inet/tst-network.c: Likewise.
14133 * locale/C-collate.c: Likewise.
14134 * locale/C-ctype.c: Likewise.
14135 * locale/C-time.c: Likewise.
14136 * locale/C-translit.h: Likewise.
14137 * locale/loadarchive.c: Likewise.
14138 * locale/programs/3level.h: Likewise.
14139 * locale/programs/charmap.c: Likewise.
14140 * locale/programs/charmap.h: Likewise.
14141 * locale/programs/ld-address.c: Likewise.
14142 * locale/programs/ld-collate.c: Likewise.
14143 * locale/programs/ld-ctype.c: Likewise.
14144 * locale/programs/ld-identification.c: Likewise.
14145 * locale/programs/ld-measurement.c: Likewise.
14146 * locale/programs/ld-messages.c: Likewise.
14147 * locale/programs/ld-monetary.c: Likewise.
14148 * locale/programs/ld-name.c: Likewise.
14149 * locale/programs/ld-numeric.c: Likewise.
14150 * locale/programs/ld-paper.c: Likewise.
14151 * locale/programs/ld-telephone.c: Likewise.
14152 * locale/programs/ld-time.c: Likewise.
14153 * locale/programs/linereader.c: Likewise.
14154 * locale/programs/locale.c: Likewise.
14155 * locale/programs/locarchive.c: Likewise.
14156 * locale/programs/locfile.h: Likewise.
14157 * locale/programs/repertoire.c: Likewise.
14158 * locale/programs/simple-hash.c: Likewise.
14159 * locale/programs/simple-hash.h: Likewise.
14160 * malloc/memusage.c: Likewise.
14161 * malloc/memusagestat.c: Likewise.
14162 * nis/nis_defaults.c: Likewise.
14163 * nis/nis_hash.c: Likewise.
14164 * nis/nis_print.c: Likewise.
14165 * nis/nis_xdr.c: Likewise.
14166 * nscd/connections.c: Likewise.
14167 * nscd/hstcache.c: Likewise.
14168 * nscd/nscd_gethst_r.c: Likewise.
14169 * nscd/nscd_getserv_r.c: Likewise.
14170 * nscd/nscd_helper.c: Likewise.
14171 * nscd/servicescache.c: Likewise.
14172 * nss/makedb.c: Likewise.
14173 * nss/nss_db/db-XXX.c: Likewise.
14174 * nss/nss_db/db-initgroups.c: Likewise.
14175 * nss/nss_db/db-netgrp.c: Likewise.
14176 * nss/nss_files/files-network.c: Likewise.
14177 * nss/nss_files/files-parse.c: Likewise.
14178 * posix/bug-regex5.c: Likewise.
14179 * posix/fnmatch_loop.c: Likewise.
14180 * posix/regcomp.c: Likewise.
14181 * posix/regexec.c: Likewise.
14182 * posix/tst-rfc3484-2.c: Likewise.
14183 * posix/tst-rfc3484-3.c: Likewise.
14184 * posix/tst-rfc3484.c: Likewise.
14185 * resolv/nss_dns/dns-canon.c: Likewise.
14186 * resolv/nss_dns/dns-network.c: Likewise.
14187 * resolv/res_init.c: Likewise.
14188 * resolv/res_mkquery.c: Likewise.
14189 * resolv/tst-aton.c: Likewise.
14190 * stdlib/cxa_atexit.c: Likewise.
14191 * stdlib/cxa_finalize.c: Likewise.
14192 * stdlib/gen-fpioconst.c: Likewise.
14193 * stdlib/strtol_l.c: Likewise.
14194 * string/tst-endian.c: Likewise.
14195 * sunrpc/auth_des.c: Likewise.
14196 * sunrpc/clnt_udp.c: Likewise.
14197 * sunrpc/rtime.c: Likewise.
14198 * sunrpc/svcauth_des.c: Likewise.
14199 * sunrpc/xdr.c: Likewise.
14200 * sunrpc/xdr_intXX_t.c: Likewise.
14201 * sunrpc/xdr_rec.c: Likewise.
14202 * sysdeps/generic/ldconfig.h: Likewise.
14203 * sysdeps/generic/ldsodefs.h: Likewise.
14204 * sysdeps/generic/memusage.h: Likewise.
14205 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
14208 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14214 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14215 * sysdeps/posix/getaddrinfo.c: Likewise.
14216 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14217 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14218 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
14219 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
14220 * sysdeps/powerpc/test-gettimebase.c: Likewise.
14221 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14222 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
14223 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
14224 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14225 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
14226 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
14227 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
14228 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
14229 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
14230 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
14231 * sysdeps/x86_64/dl-tls.h: Likewise.
14232 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
14233 * time/alt_digit.c: Likewise.
14234 * time/era.c: Likewise.
14235 * wcsmbs/tst-c16c32-1.c: Likewise.
14236
14237 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14238
14239 * math/libm-test.inc (struct test_sincos_data): New type.
14240 (RUN_TEST_LOOP_sincos): New macro.
14241 (sincos_test_data): New variable.
14242 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
14243
14244 2013-05-16 Richard Henderson <rth@redhat.com>
14245
14246 * math/atest-exp2.c (LIMB64): New macro.
14247 (CONSTSZ): New macro.
14248 (mp_exp1, mp_exp_m1, mp_log2): New variables.
14249 (hexdig): Move ...
14250 (print_mpn_fp): ... to function scope.
14251 (read_mpn_hex): Remove.
14252 (get_log2): Remove.
14253 (exp2_mpn): Use mp_log2.
14254 (main): Use mp_exp1.
14255
14256 2013-05-16 Joseph Myers <joseph@codesourcery.com>
14257
14258 * math/libm-test.inc: Remove comment about not testing "inexact"
14259 exceptions.
14260 (INEXACT_EXCEPTION): New macro.
14261 (NO_INEXACT_EXCEPTION): Likewise.
14262 (INVALID_EXCEPTION_OK): Update value.
14263 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14264 (OVERFLOW_EXCEPTION_OK): Likewise.
14265 (UNDERFLOW_EXCEPTION_OK): Likewise.
14266 (IGNORE_ZERO_INF_SIGN): Likewise.
14267 (ERRNO_UNCHANGED): Likewise.
14268 (ERRNO_EDOM): Likewise.
14269 (ERRNO_ERANGE): Likewise.
14270 (test_exceptions): Handle testing "inexact" exceptions.
14271 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14272 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14273 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14274 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14275 INEXACT_EXCEPTION.
14276 (rint_towardzero_test_data): Likewise.
14277 (rint_downward_test_data): Likewise.
14278 (rint_upward_test_data): Likewise.
14279
14280 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14281 with OVERFLOW_EXCEPTION.
14282 (exp10_test_data): Likewise.
14283 (exp2_test_data): Likewise.
14284 (expm1_test_data): Likewise.
14285 (lgamma_test_data): Likewise.
14286 (pow_test_data): Likewise.
14287 (tgamma_test_data): Likewise.
14288 (yn_test_data): Remove duplicate test of overflow.
14289
14290 * math/libm-test.inc (struct test_cc_c_data): New type.
14291 (RUN_TEST_LOOP_cc_c): New macro.
14292 (cpow_test_data): New variable.
14293 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14294
14295 * math/libm-test.inc (struct test_f_L_data): New type.
14296 (RUN_TEST_LOOP_f_L): New macro.
14297 (llrint_test_data): New variable.
14298 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14299 (llrint_tonearest_test_data): New variable.
14300 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14301 (llrint_towardzero_test_data): New variable.
14302 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14303 (llrint_downward_test_data): New variable.
14304 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14305 (llrint_upward_test_data): New variable.
14306 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14307 (llround_test_data): New variable.
14308 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14309
14310 2013-05-13 Peter Collingbourne <pcc@google.com>
14311
14312 * math/atest-exp2.c (get_log2): Remove const attribute.
14313
14314 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14315
14316 * math/libm-test.inc (struct test_f_l_data): New type.
14317 (RUN_TEST_LOOP_f_l): New macro.
14318 (lrint_test_data): New variable.
14319 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14320 (lrint_tonearest_test_data): New variable.
14321 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14322 (lrint_towardzero_test_data): New variable.
14323 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14324 (lrint_downward_test_data): New variable.
14325 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14326 (lrint_upward_test_data): New variable.
14327 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14328 (lround_test_data): New variable.
14329 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14330
14331 2013-05-15 Peter Collingbourne <pcc@google.com>
14332
14333 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14334 (EXTRACT_WORDS64) Use where appropriate.
14335 (INSERT_WORDS64) Likewise.
14336
14337 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14338 constraints with x constraints.
14339 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14340
14341 * malloc/obstack.c (_obstack_compat): Add initializer.
14342
14343 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14344
14345 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14346 si_trapno and add si_addr_lsb to _sifields.sigfault.
14347 (si_trapno): Remove macro.
14348 (si_addr_lsb): Define new macro.
14349 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14350
14351 2013-05-15 Joseph Myers <joseph@codesourcery.com>
14352
14353 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14354 instead of TEST_f_l.
14355 (llrint_test_tonearest): Likewise.
14356 (llrint_test_towardzero): Likewise.
14357 (llrint_test_downward): Likewise.
14358 (llrint_test_upward): Likewise.
14359 (llround_test): Likewise.
14360
14361 * math/libm-test.inc (struct test_f_i_data): Add comment.
14362 (RUN_TEST_LOOP_f_b): New macro.
14363 (RUN_TEST_LOOP_f_b_tg): Likewise.
14364 (finite_test_data): New variable.
14365 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14366 (isfinite_test_data): New variable.
14367 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14368 (isinf_test_data): New variable.
14369 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14370 (isnan_test_data): New variable.
14371 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14372 (isnormal_test_data): New variable.
14373 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14374 (issignaling_test_data): New variable.
14375 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14376 (signbit_test_data): New variable.
14377 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14378
14379 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14380 with INVALID_EXCEPTION.
14381 (acosh_test_data): Likewise.
14382 (asin_test_data): Likewise.
14383 (atanh_test_data): Likewise.
14384 (fmod_test_data): Likewise.
14385 (log_test_data): Likewise.
14386 (log10_test_data): Likewise.
14387 (log2_test_data): Likewise.
14388 (pow_test_data): Likewise.
14389 (sqrt_test_data): Likewise.
14390 (y0_test_data): Likewise.
14391 (y1_test_data): Likewise.
14392 (yn_test_data): Likewise.
14393
14394 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14395 function contents.
14396
14397 * math/libm-test.inc (struct test_ff_i_data): New type.
14398 (RUN_TEST_LOOP_ff_i_tg): New macro.
14399 (isgreater_test_data): New variable.
14400 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14401 (isgreaterequal_test_data): New variable.
14402 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14403 (isless_test_data): New variable.
14404 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14405 (islessequal_test_data): New variable.
14406 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14407 (islessgreater_test_data): New variable.
14408 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14409 (isunordered_test_data): New variable.
14410 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14411
14412 2013-05-14 David S. Miller <davem@davemloft.net>
14413
14414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14415
14416 2013-05-14 Joseph Myers <joseph@codesourcery.com>
14417
14418 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14419
14420 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14421 extra_test to int.
14422 (struct test_f_i_data): Change type of max_ulp to int.
14423
14424 * math/libm-test.inc (test_ffI_f1_data): New type.
14425 (RUN_TEST_LOOP_ffI_f1): New macro.
14426 (remquo_test_data): New variable.
14427 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14428
14429 * setjmp/tst-setjmp-fp.c: New file.
14430 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14431 (link-libm): New variable.
14432 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14433
14434 * math/libm-test.inc (struct test_f_i_data): New type.
14435 (RUN_TEST_LOOP_f_i): New macro.
14436 (RUN_TEST_LOOP_f_i_tg): Likewise.
14437 (fpclassify_test_data): New variable.
14438 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14439 (ilogb_test_data): New variable.
14440 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14441
14442 * math/libm-test.inc (scalbln_test): Correct function name in END
14443 call.
14444
14445 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14446 (RUN_TEST_LOOP_fI_f1): New macro.
14447 (frexp_test_data): New variable.
14448 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14449
14450 * math/libm-test.inc (struct test_fF_f1_data): New type.
14451 (RUN_TEST_LOOP_fF_f1): New macro.
14452 (modf_test_data): New variable.
14453 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14454
14455 * math/libm-test.inc (struct test_f_f1_data): New type.
14456 (RUN_TEST_LOOP_f_f1): New macro.
14457 (gamma_test_data): New variable.
14458 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14459 (lgamma_test_data): New variable.
14460 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14461
14462 2013-05-13 Carlos O'Donell <carlos@redhat.com>
14463
14464 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14465 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14466 (main): Comment "tls" pseudo-hwcap.
14467
14468 2013-05-13 Joseph Myers <joseph@codesourcery.com>
14469
14470 * math/libm-test.inc (struct test_fl_f_data): New type.
14471 (RUN_TEST_LOOP_fl_f): New variable.
14472 (scalbln_test_data): New variable.
14473 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14474
14475 * math/libm-test.inc (struct test_fi_f_data): New type.
14476 (RUN_TEST_LOOP_fi_f): New macro.
14477 (ldexp_test_data): New variable.
14478 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14479 (scalbn_test_data): New variable.
14480 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14481
14482 * math/libm-test.inc (struct test_c_f_data): New type.
14483 (RUN_TEST_LOOP_c_f): New macro.
14484 (cabs_test_data): New variable.
14485 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14486 (carg_test_data): New variable.
14487 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14488 (cimag_test_data): New variable.
14489 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14490 (creal_test_data): New variable.
14491 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14492
14493 * math/libm-test.inc (struct test_if_f_data): New type.
14494 (RUN_TEST_LOOP_if_f): New macro.
14495 (jn_test_data): New variable.
14496 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14497 (yn_test_data): New variable.
14498 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14499
14500 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14501
14502 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14503
14504 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14505 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14506
14507 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14508
14509 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14510 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14511 (bench-deps): Add bench-timing.h.
14512 * benchtests-bench-skeleton.c: Include bench-timing.h.
14513 (main): Use TIMING_* macros instead of clock_gettime.
14514 * benchtests/bench-timing.h: New file.
14515
14516 [BZ #14582]
14517 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14518 Renamed from _LIB_VERSION.
14519 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14520
14521 2013-05-12 Joseph Myers <joseph@codesourcery.com>
14522
14523 * math/libm-test.inc (struct test_fff_f_data): New type.
14524 (RUN_TEST_LOOP_fff_f): New macro.
14525 (fma_test_data): New variable.
14526 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14527 (fma_towardzero_test_data): New variable.
14528 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14529 (fma_downward_test_data): New variable.
14530 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14531 (fma_upward_test_data): New variable.
14532 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14533
14534 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14535 (struct test_c_c_data): New type.
14536 (RUN_TEST_LOOP_c_c): New macro.
14537 (cacos_test_data): New variable.
14538 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14539 (cacosh_test_data): New variable.
14540 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14541 (casin_test_data): New variable.
14542 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14543 (casinh_test_data): New variable.
14544 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14545 (catan_test_data): New variable.
14546 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14547 (catanh_test_data): New variable.
14548 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14549 (ccos_test_data): New variable.
14550 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14551 (ccosh_test_data): New variable.
14552 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14553 (cexp_test_data): New variable.
14554 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14555 (clog_test_data): New variable.
14556 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14557 (clog10_test_data): New variable.
14558 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14559 (conj_test_data): New variable.
14560 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14561 (cproj_test_data): New variable.
14562 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14563 (csin_test_data): New variable.
14564 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14565 (csinh_test_data): New variable.
14566 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14567 (csqrt_test_data): New variable.
14568 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14569 (ctan_test_data): New variable.
14570 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14571 (ctan_tonearest_test_data): New variable.
14572 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14573 (ctan_towardzero_test_data): New variable.
14574 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14575 (ctan_downward_test_data): New variable.
14576 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14577 (ctan_upward_test_data): New variable.
14578 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14579 (ctanh_test_data): New variable.
14580 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14581 (ctanh_tonearest_test_data): New variable.
14582 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14583 (ctanh_towardzero_test_data): New variable.
14584 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14585 (ctanh_downward_test_data): New variable.
14586 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14587 (ctanh_upward_test_data): New variable.
14588 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14589 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14590 of BUILD_COMPLEX.
14591
14592 * math/libm-test.inc (struct test_ff_f_data): New type.
14593 (struct test_ff_f_data_nexttoward): Likewise.
14594 (RUN_TEST_LOOP_2_f): New macro.
14595 (RUN_TEST_LOOP_ff_f): Likewise.
14596 (atan2_test_data): New variable.
14597 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14598 (copysign_test_data): New variable.
14599 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14600 (fdim_test_data): New variable.
14601 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14602 (fmax_test_data): New variable.
14603 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14604 (fmin_test_data): New variable.
14605 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14606 (fmod_test_data): New variable.
14607 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14608 (hypot_test_data): New variable.
14609 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14610 (nextafter_test_data): New variable.
14611 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14612 (nexttoward_test_data): New variable.
14613 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14614 (pow_test_data): New variable.
14615 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14616 (pow_tonearest_test_data): New variable.
14617 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14618 (pow_towardzero_test_data): New variable.
14619 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14620 (pow_downward_test_data): New variable.
14621 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14622 (pow_upward_test_data): New variable.
14623 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14624 (remainder_test_data): New variable.
14625 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14626 (scalb_test_data): New variable.
14627 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14628 * sysdeps/i386/fpu/libm-test-ulps: Update.
14629
14630 2013-05-11 Joseph Myers <joseph@codesourcery.com>
14631
14632 * math/libm-test.inc (fma_test): Use max_value instead of local
14633 variable fltmax.
14634 (nextafter_test): Likewise.
14635
14636 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14637 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14638 (acos_downward_test_data): New variable.
14639 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14640 (acos_upward_test_data): New variable.
14641 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14642 (acosh_test_data): New variable.
14643 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14644 (asin_test_data): New variable.
14645 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14646 (asin_tonearest_test_data): New variable.
14647 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14648 (asin_towardzero_test_data): New variable.
14649 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14650 (asin_downward_test_data): New variable.
14651 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14652 (asin_upward_test_data): New variable.
14653 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14654 (asinh_test_data): New variable.
14655 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14656 (atan_test_data): New variable.
14657 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14658 (atanh_test_data): New variable.
14659 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14660 (cbrt_test_data): New variable.
14661 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14662 (ceil_test_data): New variable.
14663 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14664 (cos_test_data): New variable.
14665 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14666 (cos_tonearest_test_data): New variable.
14667 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14668 (cos_towardzero_test_data): New variable.
14669 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14670 (cos_downward_test_data): New variable.
14671 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14672 (cos_upward_test_data): New variable.
14673 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14674 (cosh_test_data): New variable.
14675 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14676 (cosh_tonearest_test_data): New variable.
14677 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14678 (cosh_towardzero_test_data): New variable.
14679 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14680 (cosh_downward_test_data): New variable.
14681 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14682 (cosh_upward_test_data): New variable.
14683 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14684 (erf_test_data): New variable.
14685 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14686 (erfc_test_data): New variable.
14687 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14688 (exp_test_data): New variable.
14689 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14690 (exp_tonearest_test_data): New variable.
14691 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14692 (exp_towardzero_test_data): New variable.
14693 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14694 (exp_downward_test_data): New variable.
14695 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14696 (exp_upward_test_data): New variable.
14697 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14698 (exp10_test_data): New variable.
14699 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14700 (exp2_test_data): New variable.
14701 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14702 (expm1_test_data): New variable.
14703 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14704 (fabs_test_data): New variable.
14705 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14706 (floor_test_data): New variable.
14707 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14708 (j0_test_data): New variable.
14709 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14710 (j1_test_data): New variable.
14711 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14712 (log_test_data): New variable.
14713 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14714 (log10_test_data): New variable.
14715 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14716 (log1p_test_data): New variable.
14717 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14718 (log2_test_data): New variable.
14719 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14720 (logb_test_data): New variable.
14721 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14722 (logb_downward_test_data): New variable.
14723 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14724 (nearbyint_test_data): New variable.
14725 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14726 (rint_test_data): New variable.
14727 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14728 (rint_tonearest_test_data): New variable.
14729 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14730 (rint_towardzero_test_data): New variable.
14731 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14732 (rint_downward_test_data): New variable.
14733 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14734 (rint_upward_test_data): New variable.
14735 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14736 (round_test_data): New variable.
14737 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14738 (sin_test_data): New variable.
14739 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14740 (sin_tonearest_test_data): New variable.
14741 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14742 (sin_towardzero_test_data): New variable.
14743 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14744 (sin_downward_test_data): New variable.
14745 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14746 (sin_upward_test_data): New variable.
14747 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14748 (sinh_test_data): New variable.
14749 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14750 (sinh_tonearest_test_data): New variable.
14751 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14752 (sinh_towardzero_test_data): New variable.
14753 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14754 (sinh_downward_test_data): New variable.
14755 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14756 (sinh_upward_test_data): New variable.
14757 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14758 (sqrt_test_data): New variable.
14759 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14760 (tan_test_data): New variable.
14761 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14762 (tan_tonearest_test_data): New variable.
14763 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14764 (tan_towardzero_test_data): New variable.
14765 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14766 (tan_downward_test_data): New variable.
14767 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14768 (tan_upward_test_data): New variable.
14769 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14770 (tanh_test_data): New variable.
14771 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14772 (tgamma_test_data): New variable.
14773 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14774 (trunc_test_data): New variable.
14775 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14776 (y0_test_data): New variable.
14777 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14778 (y1_test_data): New variable.
14779 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14780 (significand_test_data): New variable.
14781 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14782
14783 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14784
14785 [BZ #12387]
14786 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14787
14788 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14789
14790 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14791
14792 2013-05-10 Andreas Jaeger <aj@suse.de>
14793
14794 [BZ #15448]
14795 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14796 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14797
14798 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14799
14800 * math/gen-libm-test.pl (adjust_arg): New function.
14801 (special_functions): Handle generating output in both functions
14802 and arrays.
14803 (parse_args): Likewise.
14804 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14805 $in_func argument to parse_args.
14806 * math/libm-test.inc (struct test_f_f_data): New type.
14807 (IF_ROUND_INIT_): New macro.
14808 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14809 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14810 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14811 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14812 (ROUND_RESTORE_): Likewise.
14813 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14814 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14815 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14816 (ROUND_RESTORE_FE_UPWARD): Likewise.
14817 (RUN_TEST_LOOP_f_f): New macro.
14818 (acos_test_data): New variable.
14819 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14820 (acos_tonearest_test_data): New variable.
14821 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14822
14823 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14824
14825 * benchtests/bench-skeleton.c (startup): Fix coding style.
14826
14827 2013-05-10 Joseph Myers <joseph@codesourcery.com>
14828
14829 [BZ #6809]
14830 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14831 negative infinity argument.
14832 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14833 negative infinity argument.
14834 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14835 negative infinity argument.
14836 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14837 domain errors.
14838
14839 2013-05-10 Florian Weimer <fweimer@redhat.com>
14840
14841 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14842 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14843 * iconv/iconv_prog.c (main): Likewise.
14844 * locale/programs/charmap-dir.c (charmap_readdir)
14845 (fopen_uncompressed): Likewise.
14846 * locale/programs/locfile.c (siblings_uncached)
14847 (write_locale_data): Use lstat64 instead of lstat.
14848 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14849 stat.
14850
14851 2013-05-10 Andreas Jaeger <aj@suse.de>
14852
14853 [BZ #15395]
14854 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14855 localization.
14856 Include <locale.h>.
14857
14858 2013-05-09 Carlos O'Donell <carlos@redhat.com>
14859
14860 * elf/dl-close.c (_dl_close_worker): Add comments.
14861
14862 2013-05-09 Joseph Myers <joseph@codesourcery.com>
14863
14864 [BZ #15359]
14865 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14866 high part of pi/2.
14867 (__ieee754_rem_pio2l): Update comments.
14868
14869 [BZ #15429]
14870 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14871 high part of pi/2.
14872 (__ieee754_rem_pio2l): Update comments.
14873
14874 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14875 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14876
14877 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14878 M_PI_4l.
14879
14880 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14881 (M_PI_34_LOG10El): Likewise.
14882 (M_PI2_LOG10El): Likewise.
14883 (M_PI4_LOG10El): Likewise.
14884 (M_PI_LOG10El): Likewise.
14885
14886 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14887
14888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14889
14890 2013-05-08 Joseph Myers <joseph@codesourcery.com>
14891
14892 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14893 (MINUS_ZERO_INIT): Likewise.
14894 (PLUS_INFTY_INIT): Likewise.
14895 (MINUS_INFTY_INIT): Likewise.
14896 (QNAN_VALUE_INIT): Likewise.
14897 (MAX_VALUE_INIT): Likewise.
14898 (MIN_VALUE_INIT): Likewise.
14899 (MIN_SUBNORM_VALUE_INIT): Likewise.
14900 (plus_zero): Initialize with PLUS_ZERO_INIT.
14901 (minus_zero): Initialize with MINUS_ZERO_INIT.
14902 (plus_infty): Initialize with PLUS_INFTY_INIT.
14903 (minus_infty): Initialize with MINUS_INFTY_INIT.
14904 (qnan_value): Initialize with QNAN_VALUE_INIT.
14905 (max_value): Initialize with MAX_VALUE_INIT.
14906 (min_value): Initialize with MIN_VALUE_INIT.
14907 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14908
14909 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14910 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14911 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14912 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14913
14914 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14915 (RUN_TEST_2_f): Likewise.
14916 (RUN_TEST_ff_f): Likewise.
14917 (RUN_TEST_fi_f): Likewise.
14918 (RUN_TEST_fl_f): Likewise.
14919 (RUN_TEST_fff_f): Likewise.
14920 (RUN_TEST_c_f): Likewise.
14921 (RUN_TEST_f_f1): Likewise.
14922 (RUN_TEST_fF_f1): Likewise.
14923 (RUN_TEST_fI_f1): Likewise.
14924 (RUN_TEST_ffI_f1): Likewise.
14925 (RUN_TEST_c_c): Likewise.
14926 (RUN_TEST_cc_c): Likewise.
14927 (RUN_TEST_f_i): Likewise.
14928 (RUN_TEST_f_i_tg): Likewise.
14929 (RUN_TEST_ff_i_tg): Likewise.
14930 (RUN_TEST_f_b): Likewise.
14931 (RUN_TEST_f_b_tg): Likewise.
14932 (RUN_TEST_f_l): Likewise.
14933 (RUN_TEST_f_L): Likewise.
14934 (RUN_TEST_sincos): Likewise.
14935 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14936 whether to show exceptions. Do not include ");\n" in return
14937 value.
14938 (special_functions): Output call to RUN_TEST_sincos instead of
14939 check_float calls. Update calls to new_test.
14940 (parse_args): Output call to single RUN_TEST_* macro instead of
14941 check_* calls and other assignments. Update calls to new_test.
14942
14943 [BZ #2546]
14944 [BZ #2560]
14945 [BZ #5159]
14946 [BZ #15426]
14947 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14948 input to result for tgamma overflow.
14949 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14950 (gamma_coeff): New variable.
14951 (NCOEFF): New macro.
14952 (gamma_positive): New function.
14953 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14954 underflow here. Use gamma_positive instead of exp (lgamma) for
14955 other arguments.
14956 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14957 (gamma_coeff): New variable.
14958 (NCOEFF): New macro.
14959 (gammaf_positive): New function.
14960 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14961 underflow here. Use gamma_positive instead of exp (lgamma) for
14962 other arguments.
14963 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14964 (gamma_coeff): New variable.
14965 (NCOEFF): New macro.
14966 (gammal_positive): New function.
14967 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14968 underflow here. Use gamma_positive instead of exp (lgamma) for
14969 other arguments.
14970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14971 (gamma_coeff): New variable.
14972 (NCOEFF): New macro.
14973 (gammal_positive): New function.
14974 (__ieee754_gammal_r): Handle positive infinity, overflow and
14975 underflow here. Handle NaN the same as positive infinity. Remove
14976 check x < 0xffffffff for negative integers. Use gamma_positive
14977 instead of exp (lgamma) for other arguments.
14978 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14979 (gamma_coeff): New variable.
14980 (NCOEFF): New macro.
14981 (gammal_positive): New function.
14982 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14983 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14984 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14985 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14986 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14987 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14988 * sysdeps/generic/math_private.h (__gamma_productf): New
14989 prototype.
14990 (__gamma_product): Likewise.
14991 (__gamma_productl): Likewise.
14992 * math/Makefile (libm-calls): Add gamma_product.
14993 * math/libm-test.inc (tgamma_test): Add more tests.
14994 * sysdeps/i386/fpu/libm-test-ulps: Update.
14995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14996
14997 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
14998
14999 * benchtests/bench-skeleton.c (main): Preheat CPU.
15000
15001 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
15002
15003 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
15004
15005 2013-05-07 Roland McGrath <roland@hack.frob.com>
15006
15007 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
15008 and _dl_skip_args_internal.
15009
15010 2013-05-07 Carlos O'Donell <carlos@redhat.com>
15011
15012 * manual/message.texi (Message Translation): Talk about users.
15013 Message to key mapping impacts design.
15014
15015 2013-05-06 Roland McGrath <roland@hack.frob.com>
15016
15017 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
15018
15019 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
15020
15021 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
15022 * sysdeps/wordsize-64/glob64.c: ... here.
15023
15024 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
15025 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
15026 New macros.
15027
15028 * debug/getlogin_r_chk.c: Moved to ...
15029 * login/getlogin_r_chk.c: ... here.
15030 * debug/Makefile (routines): Move getlogin_r_chk to ...
15031 * login/Makefile (routines): ... here.
15032 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
15033 * login/Versions (libc: GLIBC_2.4): ... here.
15034
15035 * io/poll.c (__poll): Renamed from poll.
15036 Add libc_hidden_def.
15037 (poll): Define as weak alias.
15038
15039 * debug/ptsname_r_chk.c: Moved to ...
15040 * login/ptsname_r_chk.c: ... here.
15041 * debug/Makefile (routines): Move ptsname_r_chk to ...
15042 * login/Makefile (routines): ... here.
15043 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
15044 * login/Versions (libc: GLIBC_2.4): ... here.
15045
15046 * posix/getlogin.c: Moved to ...
15047 * login/getlogin.c: ... here.
15048 * posix/getlogin_r.c: Moved to ...
15049 * login/getlogin_r.c: ... here.
15050 * posix/getlogin_r.c: Moved to ...
15051 * login/getlogin_r.c: ... here.
15052 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
15053 * login/Makefile (routines): ... here.
15054 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
15055 * login/Versions (libc: GLIBC_2.0): ... here.
15056
15057 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
15058 (setrlimit): Define as weak alias.
15059
15060 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
15061 Call __ names for open, ftruncate, and close.
15062 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
15063 (truncate): Define as weak alias.
15064
15065 2013-05-06 Joseph Myers <joseph@codesourcery.com>
15066
15067 * math/gen-libm-test.pl (parse_args): Initialize x before each
15068 test of frexp, modf and remquo.
15069
15070 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
15071 test signgam value.
15072
15073 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15074
15075 [BZ #15418]
15076 [BZ #15419]
15077 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
15078 internal tests.
15079 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15080
15081 2013-05-06 Roland McGrath <roland@hack.frob.com>
15082
15083 * elf/dl-writev.h: New file.
15084 * elf/dl-misc.c: Include it.
15085 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
15086 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
15087
15088 2013-05-04 Joseph Myers <joseph@codesourcery.com>
15089
15090 * math/libm-test.inc (noXFails): Remove variable.
15091 (noXPasses): Likewise.
15092 (BUILD_COMPLEX_INT): Remove macro.
15093 (print_screen): Remove xfail argument.
15094 (print_screen_max_error): Likewise.
15095 (update_stats): Likewise.
15096 (print_max_error): Likewise. Update calls to other affected
15097 functions.
15098 (print_complex_max_error): Likewise.
15099 (test_single_exception): Update calls to print_screen.
15100 (test_single_errno): Likewise.
15101 (check_float_internal): Remove xfail argument. Update calls to
15102 other affected functions.
15103 (check_float): Likewise.
15104 (check_complex): Likewise.
15105 (check_int): Likewise.
15106 (check_long): Likewise.
15107 (check_bool): Likewise.
15108 (check_longlong): Likewise.
15109 (main): Don't print noXFails and noXPasses.
15110 * math/gen-libm-test.pl (top level): Don't mention expected
15111 failure handling in comment.
15112 (new_test): Don't handle expected failures.
15113 (parse_args): Don't mention expected failure handling in comment.
15114 (generate_testfile): Don't handle expected failures.
15115 (parse_ulps): Likewise.
15116 (print_ulps_file): Likewise.
15117 (get_failure): Remove function.
15118 (output_test): Don't handle expected failures.
15119 * make/README.libm-test: Don't mention expected failure handling.
15120
15121 * math/libm-test.inc (plus_zero): Make const. Add initializer.
15122 (minus_zero): Likewise.
15123 (plus_infty): Likewise.
15124 (minus_infty): Likewise.
15125 (qnan_value): Likewise.
15126 (max_value): Likewise.
15127 (min_value): Likewise.
15128 (min_subnorm_value): Likewise.
15129 (initialize): Do not initialize those variables dynamically.
15130
15131 2013-05-03 Roland McGrath <roland@hack.frob.com>
15132
15133 * io/open.c (__open_2): Moved to ...
15134 * io/open_2.c: ... this new file.
15135 * io/open64.c (__open64_2): Moved to ...
15136 * io/open64_2.c: ... this new file.
15137 * io/openat.c (__openat_2): Moved to ...
15138 * io/openat_2.c: ... this new file.
15139 * io/openat64.c (__openat64_2): Moved to ...
15140 * io/openat64_2.c: ... this new file.
15141 * io/Makefile (routines): Add them.
15142 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
15143 * sysdeps/unix/sysv/linux/open_2.c: File removed.
15144 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
15145 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
15146 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
15147 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
15148 (__openat64): Add hidden_ver.
15149 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
15150 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
15151
15152 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
15153 Separately conditionalize setting of GLRO(dl_sysinfo) so
15154 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
15155 as well, but the actual setting is only under [NEED_DL_SYSINFO].
15156
15157 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15158
15159 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
15160 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
15161 definition.
15162 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
15163 * sysdeps/unix/sysv/linux/powerpc/init-first.c
15164 (_libc_vdso_platform_setup): Add __vdso_time initialization.
15165 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
15166 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
15167
15168 2013-05-03 Joseph Myers <joseph@codesourcery.com>
15169
15170 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
15171 test signgam value.
15172
15173 * math/libm-test.inc (hypot_test): Do not use
15174 IGNORE_ZERO_INF_SIGN.
15175
15176 2013-05-03 Andreas Jaeger <aj@suse.de>
15177
15178 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
15179 Linux 3.9.
15180 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
15181 (PF_MAX): Adjust for VSOCK change.
15182
15183 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15184
15185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15186
15187 2013-05-02 Carlos O'Donell <carlos@redhat.com>
15188
15189 [BZ #15264]
15190 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
15191 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
15192 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
15193
15194 2013-05-02 David S. Miller <davem@davemloft.net>
15195
15196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15197
15198 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
15199
15200 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
15201
15202 2013-05-01 Roland McGrath <roland@hack.frob.com>
15203
15204 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
15205
15206 2013-05-01 Richard Smith <richard@metafoo.co.uk>
15207
15208 [BZ #14952]
15209 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
15210 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15211 Use __attribute__ ((__gnu_inline__)).
15212 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
15213 Don't use __attribute__ ((__gnu_inline__)).
15214
15215 2013-05-01 Joseph Myers <joseph@codesourcery.com>
15216
15217 [BZ #15423]
15218 * math/s_catan.c (__catan): Handle small real or imaginary part of
15219 input specially to avoid spurious underflow.
15220 * math/s_catanf.c (__catanf): Likewise.
15221 * math/s_catanh.c (__catanh): Likewise.
15222 * math/s_catanhf.c (__catanhf): Likewise.
15223 * math/s_catanhl.c (__catanhl): Likewise.
15224 * math/s_catanl.c (__catanl): Likewise.
15225 * math/libm-test.inc (catan_test): Add more tests.
15226 (catanh_test): Likewise.
15227 * sysdeps/i386/fpu/libm-test-ulps: Update.
15228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15229
15230 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15231
15232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15233
15234 2013-04-30 Joseph Myers <joseph@codesourcery.com>
15235
15236 [BZ #15416]
15237 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
15238 accurately for denominator in atan2.
15239 * math/s_catanf.c (__catanf): Likewise.
15240 * math/s_catanh.c (__catanh): Likewise.
15241 * math/s_catanhf.c (__catanhf): Likewise.
15242 * math/s_catanhl.c (__catanhl): Likewise.
15243 * math/s_catanl.c (__catanl): Likewise.
15244 * math/libm-test.inc (catan_test): Add more tests.
15245 (catanh_test): Likewise.
15246 * sysdeps/i386/fpu/libm-test-ulps: Update.
15247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15248
15249 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15250
15251 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
15252
15253 * benchtests/Makefile (bench): Remove slow benchmarks.
15254 * benchtests/atan-inputs: Add slow benchmark inputs.
15255 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
15256 (BENCH_FUNC): Accept variant offset.
15257 (VARIANT): Define.
15258 * benchtests/bench-skeleton.c (main): Run benchmark for each
15259 variant.
15260 * benchtests/cos-inputs: Add slow benchmark inputs.
15261 * benchtests/exp-inputs: Likewise.
15262 * benchtests/pow-inputs: Likewise.
15263 * benchtests/sin-inputs: Likewise.
15264 * benchtests/slowatan-inputs: Remove.
15265 * benchtests/slowatan.c: Remove.
15266 * benchtests/slowcos-inputs: Remove.
15267 * benchtests/slowcos.c: Remove.
15268 * benchtests/slowexp-inputs: Remove.
15269 * benchtests/slowexp.c: Remove.
15270 * benchtests/slowpow-inputs: Remove.
15271 * benchtests/slowpow.c: Remove.
15272 * benchtests/slowsin-inputs: Remove.
15273 * benchtests/slowsin.c: Remove.
15274 * benchtests/slowtan-inputs: Remove.
15275 * benchtests/slowtan.c: Remove.
15276 * benchtests/tan-inputs: Add slow benchmark inputs.
15277 * scripts/bench.pl: Parse comments and directives.
15278
15279 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15280 in CPPFLAGS.
15281 ($(objpfx)bench-%.c): Remove *-ITER.
15282 * benchtests/bench-modf.c: Remove definition of ITER.
15283 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15284 (main): Loop for DURATION seconds instead of fixed number of
15285 iterations.
15286 * scripts/bench.pl: Don't expect iterations in parameters.
15287
15288 2013-04-29 Roland McGrath <roland@hack.frob.com>
15289
15290 * io/fchdir.c (__fchdir): Renamed from fchdir.
15291 (fchdir): Define as weak alias.
15292
15293 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15294
15295 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15296 (ERRNO_EDOM): Likewise.
15297 (ERRNO_ERANGE): Likewise.
15298 (noErrnoTests): New variable.
15299 (init_max_error): Set errno to 0.
15300 (test_single_errno): New function.
15301 (test_errno): Likewise.
15302 (check_float_internal): Call test_errno. Set errno to 0.
15303 (check_complex): Refer to errno tests in comment.
15304 (check_int): Call test_errno. Set errno to 0.
15305 (check_long): Likewise.
15306 (check_bool): Likewise.
15307 (check_longlong): Likewise.
15308 (cos_test): Use ERRNO_* flags for errno tests instead of
15309 check_int.
15310 (expm1_test): Likewise.
15311 (fmod_test): Likewise.
15312 (ilogb_test): Likewise.
15313 (lgamma_test): Likewise.
15314 (pow_test): Likewise.
15315 (remainder_test): Likewise.
15316 (sin_test): Likewise.
15317 (tan_test): Likewise.
15318 (yn_test): Likewise.
15319 (initialize): Set errno to 0.
15320 (main): Print number of errno tests.
15321 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15322
15323 2013-04-29 Andreas Jaeger <aj@suse.de>
15324
15325 [BZ #15084]
15326 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15327 and RES_USEVC.
15328
15329 [BZ #15085]
15330 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15331 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15332 unimplemented.
15333
15334 [BZ #15380]
15335 * stdlib/random.c (__initstate): Return NULL if
15336 __initstate fails.
15337
15338 [BZ #15086]
15339 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15340 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15341 RES_SNGLKUPREOP.
15342
15343 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15344
15345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15346
15347 2013-04-29 Joseph Myers <joseph@codesourcery.com>
15348
15349 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15350 of individual tests.
15351 (casin_test): Likewise.
15352 (casinh_test): Likewise.
15353
15354 2013-04-27 Joseph Myers <joseph@codesourcery.com>
15355
15356 [BZ #15409]
15357 * math/s_catan.c (__catan): Handle arguments with large real or
15358 imaginary part separately without squaring.
15359 * math/s_catanf.c (__catanf): Likewise.
15360 * math/s_catanh.c (__catanh): Likewise.
15361 * math/s_catanhf.c (__catanhf): Likewise.
15362 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15363 and redefine.
15364 (__catanhl): Handle arguments with large real or imaginary part
15365 separately without squaring.
15366 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15367 and redefine.
15368 (__catanl): Handle arguments with large real or imaginary part
15369 separately without squaring.
15370 * math/libm-test.inc (catan_test): Add more tests.
15371 (catanh_test): Likewise.
15372 * sysdeps/i386/fpu/libm-test-ulps: Update.
15373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15374
15375 2013-04-27 Andreas Jaeger <aj@suse.de>
15376
15377 [BZ #15007]
15378 * stdlib/stdlib.h: Update guards for qecvt.
15379 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15380 <stdlib.h>.
15381
15382 2013-04-27 Allan McRae <allan@archlinux.org>
15383
15384 * sysdeps/i386/fpu/libm-test-ulps: Update.
15385
15386 2013-04-26 Joseph Myers <joseph@codesourcery.com>
15387
15388 [BZ #15406]
15389 * math/s_catan.c: Include <float.h>.
15390 (__catan): Ensure underflow exception occurs for underflowed
15391 result.
15392 * math/s_catanf.c: Include <float.h>.
15393 (__catanf): Ensure underflow exception occurs for underflowed
15394 result.
15395 * math/s_catanh.c: Include <float.h>.
15396 (__catanh): Ensure underflow exception occurs for underflowed
15397 result.
15398 * math/s_catanhf.c: Include <float.h>.
15399 (__catanhf): Ensure underflow exception occurs for underflowed
15400 result.
15401 * math/s_catanhl.c: Include <float.h>.
15402 (__catanhl): Ensure underflow exception occurs for underflowed
15403 result.
15404 * math/s_catanl.c: Include <float.h>.
15405 (__catanl): Ensure underflow exception occurs for underflowed
15406 result.
15407 * math/libm-test.inc (catan_test): Add more tests.
15408 (catanh_test): Likewise.
15409
15410 [BZ #15405]
15411 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15412 underflowed result.
15413 * math/s_ccoshf.c (__ccoshf): Likewise.
15414 * math/s_ccoshl.c (__ccoshl): Likewise.
15415 * math/s_csin.c (__csin): Likewise.
15416 * math/s_csinf.c (__csinf): Likewise.
15417 * math/s_csinh.c (__csinh): Likewise.
15418 * math/s_csinhf.c (__csinhf): Likewise.
15419 * math/s_csinhl.c (__csinhl): Likewise.
15420 * math/s_csinl.c (__csinl): Likewise.
15421 * math/libm-test.inc (ccos_test): Add more tests.
15422 (ccosh_test): Likewise.
15423 (csin_test): Likewise.
15424 (csinh_test): Likewise.
15425
15426 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15427
15428 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15429 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15430 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15431 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15432 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15433 powerpc/power5+/fpu folders.
15434 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15435
15436
15437 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15438
15439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15440
15441 2013-04-25 Joseph Myers <joseph@codesourcery.com>
15442
15443 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15444 additions to variable.
15445 [$(config-machine) = x86_64] (modules-names): Likewise.
15446 ($(objpfx)tst-audit3): Remove dependency.
15447 ($(objpfx)tst-audit3.out): Likewise.
15448 ($(objpfx)tst-audit4): Likewise.
15449 ($(objpfx)tst-audit4.out): Likewise.
15450 ($(objpfx)tst-audit5): Likewise.
15451 ($(objpfx)tst-audit5.out): Likewise.
15452 ($(objpfx)tst-audit6): Likewise.
15453 ($(objpfx)tst-audit6.out): Likewise.
15454 ($(objpfx)tst-audit7): Likewise.
15455 ($(objpfx)tst-audit7.out): Likewise.
15456 (tst-audit3-ENV): Remove variable.
15457 (tst-audit4-ENV): Likewise.
15458 (tst-audit5-ENV): Likewise.
15459 (tst-audit6-ENV): Likewise.
15460 (tst-audit7-ENV): Likewise.
15461 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15462 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15463 addition to variable.
15464 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15465 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15466 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15467 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15468 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15469 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15470 tst-audit3, tst-audit4 and tst-audit5.
15471 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15472 tst-audit6 and tst-audit7.
15473 [$(subdir) = elf] (modules-names): Add audit modules for those
15474 tests.
15475 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15476 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15477 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15478 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15479 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15480 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15481 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15482 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15483 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15484 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15485 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15486 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15487 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15488 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15489 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15490 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15491 Likewise.
15492 [$(subdir) = elf && $(config-cflags-avx) = yes]
15493 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15494 [$(subdir) = elf && $(config-cflags-avx) = yes]
15495 (CFLAGS-tst-auditmod4a.c): Likewise.
15496 [$(subdir) = elf && $(config-cflags-avx) = yes]
15497 (CFLAGS-tst-auditmod4b.c): Likewise.
15498 [$(subdir) = elf && $(config-cflags-avx) = yes]
15499 (CFLAGS-tst-auditmod6b.c): Likewise.
15500 [$(subdir) = elf && $(config-cflags-avx) = yes]
15501 (CFLAGS-tst-auditmod6c.c): Likewise.
15502 [$(subdir) = elf && $(config-cflags-avx) = yes]
15503 (CFLAGS-tst-auditmod7b.c): Likewise.
15504 * elf/tst-audit3.c: Move to ...
15505 * sysdeps/x86_64/tst-audit3.c: ... here.
15506 * elf/tst-audit4.c: Move to ...
15507 * sysdeps/x86_64/tst-audit4.c: ... here.
15508 * elf/tst-audit5.c: Move to ...
15509 * sysdeps/x86_64/tst-audit5.c: ... here.
15510 * elf/tst-audit6.c: Move to ...
15511 * sysdeps/x86_64/tst-audit6.c: ... here.
15512 * elf/tst-audit7.c: Move to ...
15513 * sysdeps/x86_64/tst-audit7.c: ... here.
15514 * elf/tst-auditmod3a.c: Move to ...
15515 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15516 * elf/tst-auditmod3b.c: Move to ...
15517 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15518 * elf/tst-auditmod4a.c: Move to ...
15519 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15520 * elf/tst-auditmod4b.c: Move to ...
15521 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15522 * elf/tst-auditmod5a.c: Move to ...
15523 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15524 * elf/tst-auditmod5b.c: Move to ...
15525 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15526 * elf/tst-auditmod6a.c: Move to ...
15527 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15528 * elf/tst-auditmod6b.c: Move to ...
15529 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15530 * elf/tst-auditmod6c.c: Move to ...
15531 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15532 * elf/tst-auditmod7a.c: Move to ...
15533 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15534 * elf/tst-auditmod7b.c: Move to ...
15535 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15536
15537 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15538
15539 [BZ #15366]
15540 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15541 define unconditionally.
15542 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15543 define unconditionally.
15544 (INT8_C, INT16_C, etc.): Likewise.
15545
15546 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15547
15548 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15549 __ehdr_start with hidden visibility.
15550
15551 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15552
15553 2013-04-24 Carlos O'Donell <carlos@redhat.com>
15554
15555 * math/libm-test.inc (cos_test): Use accurate hex constants.
15556 (sincost_test): Likewise.
15557
15558 2013-04-24 Joseph Myers <joseph@codesourcery.com>
15559
15560 * math/libm-test.inc (catan_test): Add more tests.
15561 (catanh_test): Likewise.
15562
15563 * math/s_catanf.c (__catanf): Use suffixed floating-point
15564 constants.
15565 * math/s_catanhf.c (__catanhf): Likewise.
15566 * math/s_catanhl.c (__catanhl): Likewise.
15567 * math/s_catanl.c (__catanl): Likewise.
15568
15569 [BZ #15394]
15570 * math/s_catan.c (__catan): Calculate imaginary part of result
15571 with log1p not log unless computing log of number close to 0.
15572 * math/s_catanf.c (__catanf): Likewise.
15573 * math/s_catanl.c (__catanl): Likewise.
15574 * math/s_catanh.c (__catanh): Calculate real part of result with
15575 log1p not log unless computing log of number close to 0.
15576 * math/s_catanhf.c (__catanhf): Likewise.
15577 * math/s_catanhl.c (__catanhl): Likewise.
15578 * math/libm-test.inc (catan_test): Add more tests.
15579 (catanh_test): Likewise.
15580 * sysdeps/i386/fpu/libm-test-ulps: Update.
15581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15582
15583 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15584
15585 * benchtests/Makefile: Mention files in which fast and slow
15586 paths of math functions are implemented.
15587
15588 2013-04-23 Roland McGrath <roland@hack.frob.com>
15589
15590 * sysdeps/posix/timespec_get.c: New file.
15591
15592 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15593
15594 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15595 POWER.
15596 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15597 for POWER.
15598 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15599 powerpc/power5/fpu folders.
15600 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15601 * benchtests/Makefile: Add modf testcase.
15602 * benchtests/bench-modf.c: New file: Benchmark test for mo
15603
15604 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15605
15606 [BZ #14888]
15607 * time/Makefile (tests): Add tst-strptime-whitespace.
15608 * time/strptime_l.c (get_number): Use ISSPACE.
15609 (__strptime_internal): Likewise.
15610 * time/tst-strptime-whitespace.c: New test case.
15611
15612 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15613
15614 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15615 member.
15616 (_nss_files_init): Set it here.
15617
15618 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15619
15620 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15621 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15622 unsigned.
15623
15624 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15625
15626 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15627
15628 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15629
15630 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15631 size just once.
15632
15633 2013-04-21 David S. Miller <davem@davemloft.net>
15634
15635 * po/ru.po: Update Russion translation from translation project.
15636
15637 2013-04-17 Adam Conrad <adconrad@0c3.net>
15638
15639 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15640 and setfsgid.
15641
15642 2013-04-17 Carlos O'Donell <carlos@redhat.com>
15643
15644 * configure.in: Remove i386 configure warning. Remove i386 case.
15645 * configure: Regenerate.
15646 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
15647 Add example to error message.
15648 * sysdeps/i386/configure: Regenerate.
15649
15650 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15651
15652 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15653 slowtan.
15654 * benchtests/cos-inputs: New file.
15655 * benchtests/slowcos-inputs: New file.
15656 * benchtests/slowcos.c: New file.
15657 * benchtests/slowtan-inputs: New file.
15658 * benchtests/slowtan.c: New file.
15659 * benchtests/tan-inputs: New file.
15660
15661 2013-04-16 Roland McGrath <roland@hack.frob.com>
15662
15663 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15664 considered kosher.
15665
15666 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15667
15668 * benchtests/Makefile: Include cppflags-iterator.mk to add
15669 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15670
15671 * Makefile.in (bench-clean): New target.
15672 * benchtests/Makefile (bench-clean): Likewise.
15673
15674 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15675
15676 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15677
15678 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15679
15680 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15681
15682 2013-04-15 Andreas Schwab <schwab@suse.de>
15683
15684 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15685 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15686 * nscd/pwdcache.c (cache_addpw): Likewise.
15687 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15688 more than recsize.
15689
15690 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15691
15692 * benchtests/Makefile (bench): Write all output to
15693 bench-out.tmp together.
15694
15695 2013-04-15 Andreas Schwab <schwab@suse.de>
15696
15697 * nscd/nscd.c (main): Don't fork again after closing files.
15698
15699 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15700
15701 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15702
15703 * benchtests/Rules (bench-deps): Collect dependencies into a
15704 single variable. Add Makefile to dependencies.
15705 ($(objpfx)bench-%.c): Depend on bench-deps.
15706
15707 2013-04-12 Roland McGrath <roland@hack.frob.com>
15708 Xavier Roche <roche+kml2@exalead.com>
15709
15710 [BZ #15361]
15711 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15712 just that it's a file descriptor.
15713 * manual/llio.texi (Synchronizing AIO Operations): Update description
15714 for EBADF error from aio_fsync.
15715
15716 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15717
15718 * Rules (bench): Move target definition...
15719 * benchtests/Makefile: ... here.
15720
15721 2013-04-11 Carlos O'Donell <carlos@redhat.com>
15722
15723 * math/libm-test.inc (cos_test): Fix PI/2 test.
15724 (sincos_test): Likewise.
15725 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15726 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15727
15728 2013-04-11 Andreas Schwab <schwab@suse.de>
15729
15730 [BZ #13988]
15731 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15732 accept exponent character only when digits were seen.
15733 * stdio-common/Makefile (tests): Add bug26.
15734 * stdio-common/bug26.c: New file.
15735
15736 [BZ #14293]
15737 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15738 non-freeable.
15739
15740 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15741
15742 * Makeconfig (rtld-prefix): Define built linker prefix.
15743 * Rules (run-bench): Use it.
15744 * math/Makefile (run-regen-ulps): Likewise.
15745
15746 * Rules (bench): Remove eval.
15747
15748 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15749 Roland McGrath <roland@hack.frob.com>
15750 Ondrej Bilka <neleai@seznam.cz>
15751
15752 [BZ #15346]
15753 * time/getdate.c: Include ctype.h and alloca.h.
15754 (__getdate_r): Trim leading and trailing spaces of input.
15755 * time/tst-getdate.c (tests): Add tests with leading and
15756 trailing spaces.
15757
15758 2013-04-08 Roland McGrath <roland@hack.frob.com>
15759
15760 [BZ #14280]
15761 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15762 when computing value.
15763
15764 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15765
15766 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15767 Use testrun.sh to run libm tests.
15768
15769 [BZ #15309]
15770 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15771
15772 2013-04-06 Marko Myllynen <myllynen@redhat.com>
15773
15774 [BZ #15264]
15775 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15776
15777 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15778
15779 * Makefile.in (regen-ulps): New target.
15780 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15781 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15782 [ifneq (no,$(PERL)] (regen-ulps): New target.
15783 [ifeq (no,$(PERL)] (regen-ulps): New target.
15784 * math/libm-test.inc (ulps_file_name): Define.
15785 (output_dir): New variable.
15786 (options): Add "output-dir" option.
15787 (parse_opt): Handle 'o' case.
15788 (main): If output_dir is non-NULL use it as a prefix
15789 otherwise use "".
15790 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15791
15792 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15793
15794 [BZ #10060, #10062]
15795 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15796 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15797 fail configure if __sync_val_compare_and_swap is not inlined.
15798 * sysdeps/i386/configure: Regenerate.
15799 * configure.in: Build for i686 when configured for i386.
15800 * configure: Regenerate.
15801 * README: Remove i386 reference.
15802
15803 2013-04-06 Carlos O'Donell <carlos@redhat.com>
15804
15805 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15806 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15807
15808 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15809
15810 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15811 (lmsnanval): New variables.
15812 (F): Add conversion tests.
15813 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15814 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15815
15816 * stdio-common/tstdiomisc.c (F): Properly collect individual
15817 tests' results.
15818
15819 [BZ #14686, #15336]
15820 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15821 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15822 Instead, use input NaN values or generate a qNaN by arithmetic
15823 operation. Also fix bugs to comply with the standard.
15824 * math/libm-test.inc (remainder_test): Add more tests.
15825
15826 [BZ #15335, #15342]
15827 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15828 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15829 input NaN values or generate a qNaN by arithmetic operation.
15830
15831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15832 unreachable code.
15833
15834 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15835 definitions.
15836
15837 2013-04-03 Joseph Myers <joseph@codesourcery.com>
15838
15839 [BZ #14478]
15840 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15841 underflowed result.
15842 * math/s_cexpf.c (__cexpf): Likewise.
15843 * math/s_cexpl.c (__cexpl): Likewise.
15844 * math/libm-test.inc (cexp_test): Add more tests.
15845
15846 2013-04-03 Andreas Schwab <schwab@suse.de>
15847
15848 [BZ #15330]
15849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15850 order arrays from heap if bigger than alloca cutoff.
15851
15852 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15853
15854 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15855 (SNAN_TESTS_double): Refer to GCC PR56831.
15856 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15857 GCC PR56828.
15858
15859 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15860
15861 * Rules (bench): Move bench.out after the run is complete.
15862
15863 * Rules (bench): Echo currently running benchmark.
15864
15865 * benchtests/Makefile (bench): Add atan and slowatan.
15866 * benchtests/atan-inputs: New file.
15867 * benchtests/slowatan-inputs: New file.
15868 * benchtests/slowatan.c: New file.
15869
15870 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15872 its value.
15873
15874 [BZ #15305]
15875 * sysdeps/unix/sysv/linux/kernel-features.h
15876 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15877 __ASSUME_XFS_RESTRICTED_CHOWN.
15878 * sysdeps/unix/sysv/linux/pathconf.c
15879 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15880 Save and restore errno.
15881
15882 2013-04-02 Joseph Myers <joseph@codesourcery.com>
15883
15884 [BZ #15327]
15885 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15886 arguments using __kernel_casinh.
15887 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15888 arguments using __kernel_casinhf.
15889 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15890 arguments using __kernel_casinhl.
15891 * math/libm-test.inc (cacosh_test): Add more tests.
15892 * sysdeps/i386/fpu/libm-test-ulps: Update.
15893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15894
15895 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15896
15897 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15898 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15899
15900 * bench/Makefile (bench): Add sin and slowsin.
15901 * benchtests/sin-inputs: New file.
15902 * benchtests/slowsin-inputs: New file.
15903 * benchtests/slowsin.c: New file.
15904
15905 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15906 (bench): Add slowexp and slowpow.
15907 (exp-ITER): Increase iterations.
15908 (pow-ITER): Likewise.
15909 * benchtests/exp-inputs: Change input.
15910 * benchtests/pow-inputs: Likewise.
15911 * benchtests/slowexp-inputs: New file.
15912 * benchtests/slowexp.c: New file.
15913 * benchtests/slowpow-inputs: New file.
15914 * benchtests/slowpow.c: New file.
15915
15916 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15917
15918 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15919 instructions.
15920 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15921 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15922 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15923 * benchtests/Makefile: Add rint benchtest.
15924 * benchtests/rint-inputs: Input for rint benchtest.
15925
15926 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15927
15928 * Versions.def (libm): Add GLIBC_2.18.
15929 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15930 hidden libm prototypes.
15931 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15932 * math/Makefile (libm-calls): Add s_issignaling.
15933 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15934 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15935 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15936 declaration.
15937 * math/math.h [__USE_GNU] (issignaling): New macro.
15938 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15939 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15940 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15941 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15942 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15944 * manual/arith.texi (issignaling): New section.
15945 * manual/libm-err-tab.pl (@all_functions): Update comment.
15946 * math/gen-libm-test.pl (parse_args): Apply special handling for
15947 issignaling.
15948 * math/libm-test.inc (print_float, issignaling_test): New
15949 functions.
15950 (check_float_internal): Add issignaling checks.
15951 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15952 default definition.
15953 * sysdeps/powerpc/math-tests.h: New file.
15954 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15955 tests.
15956 * math/test-snan.c (TEST_FUNC): Likewise.
15957
15958 2013-03-30 David S. Miller <davem@davemloft.net>
15959
15960 * po/de.po: Update from translation team.
15961
15962 2013-03-30 Joseph Myers <joseph@codesourcery.com>
15963
15964 [BZ #10357]
15965 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15966 imaginary part less than 1.0 and real part less than 0.5
15967 specially.
15968 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15969 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15970 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15971 (cacos_test): Add more tests.
15972 (casin_test): Likewise.
15973 (casinh_test): Likewise.
15974 * sysdeps/i386/fpu/libm-test-ulps: Update.
15975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15976
15977 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15978
15979 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15980 ONE with its value.
15981
15982 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15983 (__pow_mp): Replace ONE and MONE with their values.
15984 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15985 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15986 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15987 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15988 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15989 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15990
15991 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15992
15993 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15994 (__pow_mp): Replace ZERO and MZERO with their values.
15995 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15996 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15997 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15998 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15999 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16000 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
16001 (__sqr): Likewise.
16002
16003 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
16004
16005 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
16006
16007 2013-03-28 Roland McGrath <roland@hack.frob.com>
16008
16009 * include/stdlib.h [!SHARED] (__call_tls_dtors):
16010 Declare with __attribute__ ((weak)).
16011 * stdlib/exit.c (__libc_atexit) [!SHARED]:
16012 Call __call_tls_dtors only if it's not NULL.
16013
16014 2013-03-28 Roland McGrath <roland@hack.frob.com>
16015
16016 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
16017 didn't do it already, then set _dl_phdr and _dl_phnum based on the
16018 magic __ehdr_start linker symbol if it's defined.
16019 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
16020 them up here if it was already done.
16021
16022 * elf/dl-support.c (_dl_phdr): Make pointer to const.
16023 (_dl_aux_init): Use const in cast when setting it.
16024 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
16025 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
16026 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
16027
16028 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
16029 Declare them here.
16030 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
16031 * csu/libc-tls.c: Nor here.
16032 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
16033
16034 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
16035 (__libc_message): Never call vsyslog.
16036
16037 2013-03-28 Alan Modra <amodra@gmail.com>
16038
16039 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
16040 Define as empty.
16041 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
16042 Likewise.
16043
16044 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16045
16046 [BZ #15214]
16047 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
16048 underflow.
16049 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16050
16051 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16052
16053 [BZ #15304]
16054 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16055 Don't add gid passed as argument.
16056
16057 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
16058
16059 2013-03-27 Joseph Myers <joseph@codesourcery.com>
16060
16061 [BZ #15307]
16062 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16063 imaginary part between 1.0 and 1.5 and real part less than 0.5
16064 specially.
16065 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16066 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16067 * math/libm-test.inc (cacos_test): Add more tests.
16068 (casin_test): Likewise.
16069 (casinh_test): Likewise.
16070 * sysdeps/i386/fpu/libm-test-ulps: Update.
16071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16072
16073 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16074
16075 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
16076 constants.
16077 (norm): Likewise.
16078 (denorm): Likewise.
16079 (__dbl_mp): Likewise.
16080 (add_magnitudes): Likewise.
16081 (sub_magnitudes): Likewise.
16082 (__add): Likewise.
16083 (__sub): Likewise.
16084 (__mul): Likewise.
16085 (__sqr): Likewise.
16086 (__inv): Likewise.
16087 (__dvd): Likewise.
16088
16089 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
16090 commented code.
16091 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
16092 (__dubcos): Likewise.
16093 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
16094 (__ieee754_acos): Likewise.
16095 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
16096 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
16097 (__exp1): Likewise.
16098 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
16100 (log1): Likewise.
16101 (my_log2): Likewise.
16102 (checkint): Likewise.
16103 * sysdeps/ieee754/dbl-64/e_remainder.c
16104 (__ieee754_remainder): Likewise.
16105 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
16106 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
16107 (bsloww): Likewise.
16108 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
16109
16110 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16111 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
16112 MANTISSA_STORE_T to store computations on mantissa. Use
16113 macros for rounding and division.
16114 (denorm): Likewise.
16115 (__dbl_mp): Likewise.
16116 (add_magnitudes): Likewise.
16117 (sub_magnitudes): Likewise.
16118 (__mul): Likewise.
16119 (__sqr): Likewise.
16120 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16121 powers of two in terms of TWOPOW macro.
16122 (mp_no): Make type of mantissa as MANTISSA_T.
16123 [!RADIXI]: Define RADIXI.
16124 [!TWO52]: Define TWO52.
16125 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16126
16127 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16128
16129 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
16130 llroundl symbol when building for PPC32.
16131
16132 2013-03-24 Mark H Weaver <mhw@netris.org>
16133
16134 * manual/arith.texi (Normalization Functions): Fix prototypes for
16135 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
16136
16137 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16138
16139 [BZ #13889]
16140 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
16141 high value to check if expl overflow.
16142 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
16143 to check for underflow and overflow.
16144 * math/libm-test.inc: Add exp test.
16145
16146 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
16147
16148 [BZ #11120]
16149 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
16150 with NOT_IN_libc.
16151
16152 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16153
16154 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
16155 symbol.
16156
16157 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
16158
16159 * math/gen-libm-test.pl (parse_args, special_functions): Properly
16160 wrap blocks consisting of several statements.
16161
16162 * sysdeps/generic/math-tests.h: New file.
16163 * sysdeps/i386/fpu/math-tests.h: Likewise.
16164 * math/test-snan.c: Include it.
16165 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
16166
16167 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16168
16169 [BZ #15285]
16170 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
16171 (__ieee754_j0l): Do not improve calculations using cos of twice
16172 input for inputs above LDBL_MAX / 2.0L.
16173 (__ieee754_y0l): Likewise.
16174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
16175 (__ieee754_j1l): Do not improve calculations using cos of twice
16176 input for inputs above LDBL_MAX / 2.0L.
16177 (__ieee754_y1l): Likewise.
16178 * math/libm-test.inc (j0_test): Add another test.
16179 (j1_test): Likewise.
16180 (y0_test): Likewise.
16181 (y1_test): Likewise.
16182 * sysdeps/i386/fpu/libm-test-ulps: Update.
16183
16184 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16185
16186 * Rules ($(objpfx)bench-%.c): Include code from a C source
16187 file.
16188
16189 2013-03-21 Joseph Myers <joseph@codesourcery.com>
16190
16191 [BZ #15287]
16192 * math/k_casinh.c (__kernel_casinh): Handle arguments with
16193 imaginary part 1.0 and real part less than 0.5 specially.
16194 * math/k_casinhf.c (__kernel_casinhf): Likewise.
16195 * math/k_casinhl.c (__kernel_casinhl): Likewise.
16196 * math/libm-test.inc (cacos_test): Add more tests.
16197 (casin_test): Likewise.
16198 (casinh_test): Likewise.
16199 * sysdeps/i386/fpu/libm-test-ulps: Update.
16200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16201
16202 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16203
16204 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
16205 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
16206
16207 2013-03-20 Joseph Myers <joseph@codesourcery.com>
16208
16209 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
16210 * config.make.in (config-cflags-sse4): Remove variable.
16211 (config-cflags-avx): Likewise.
16212 (config-cflags-sse2avx): Likewise.
16213 (config-cflags-novzeroupper): Likewise.
16214 (config-asflags-i686): Likewise.
16215 (have-mfma4): Likewise.
16216 (have-as-vis3): Likewise.
16217 (MIG): Likewise.
16218 * configure.in (MIG): Do not AC_SUBST.
16219 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
16220 (libc_cv_cc_sse4): Do not AC_SUBST.
16221 (libc_cv_cc_avx): Likewise.
16222 (libc_cv_cc_sse2avx): Likewise.
16223 (libc_cv_cc_novzeroupper): Likewise.
16224 (libc_cv_cc_fma4): Likewise.
16225 (libc_cv_as_i686): Likewise.
16226 (libc_cv_sparc_as_vis3): Likewise.
16227 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
16228 LIBC_CONFIG_VAR.
16229 (config-asflags-i686): Likewise.
16230 (config-cflags-avx): Likewise.
16231 (config-cflags-sse2avx): Likewise.
16232 (have-mfma4): Likewise.
16233 (config-cflags-novzeroupper): Likewise.
16234 * sysdeps/mach/configure.in (MIG): Likewise.
16235 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
16236 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
16237 LIBC_CONFIG_VAR.
16238 (config-cflags-avx): Likewise.
16239 (config-cflags-sse2avx): Likewise.
16240 (have-mfma4): Likewise.
16241 (config-cflags-novzeroupper): Likewise.
16242 * configure: Regenerated.
16243 * sysdeps/i386/configure: Likewise.
16244 * sysdeps/mach/configure: Likewise.
16245 * sysdeps/sparc/configure: Likewise.
16246 * sysdeps/x86_64/configure: Likewise.
16247
16248 2013-03-20 Roland McGrath <roland@hack.frob.com>
16249
16250 [BZ #14812]
16251 * locale/programs/localedef.c (options): Put N_ translation marker
16252 on argument names, not just descriptions.
16253
16254 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
16255
16256 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16257
16258 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
16259
16260 [BZ #14176]
16261 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16262
16263 2013-03-19 Roland McGrath <roland@hack.frob.com>
16264
16265 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16266 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16267 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16268 [!BEFORE_ABORT] (before_abort): New function.
16269 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16270 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16271 (writev_for_fatal): New function.
16272 (WRITEV_FOR_FATAL): New macro; call that.
16273 (backtrace_and_maps): New function.
16274 (BEFORE_ABORT): New macro; call that.
16275 (struct str_list): Type removed.
16276 (__libc_message, __libc_fatal): Functions removed.
16277 Include <sysdeps/posix/libc_fatal.c> instead.
16278
16279 2013-03-19 Joseph Myers <joseph@codesourcery.com>
16280
16281 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16282 constants.
16283 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16284 double constants.
16285
16286 2013-03-19 Andreas Schwab <schwab@suse.de>
16287
16288 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16289 * sysdeps/gnu/configure: Regenerate.
16290
16291 * configure.in: Substitute libc_cv_rtlddir.
16292 * configure: Regenerate.
16293 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16294 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16295 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16296 * elf/Makefile (install-others, CFLAGS-interp.c)
16297 (ldso_install, common-ldd-rewrite): Likewise.
16298 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16299 $(inst_slibdir)/$(rtld-installed-name).
16300 * scripts/rellns-sh: Add -p option.
16301 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16302 for source.
16303
16304 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16305
16306 * manual/nptl.texi: Renamed to ...
16307 * manual/threads.texi: ... this.
16308 * manual/Makefile (chapters): Update.
16309
16310 2013-03-18 Roland McGrath <roland@hack.frob.com>
16311
16312 [BZ #14812]
16313 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16314 on argument names, not just descriptions.
16315 * malloc/memusagestat.c (options): Likewise.
16316 * nss/getent.c (options): Likewise.
16317
16318 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
16319
16320 [BZ #14812]
16321 * iconv/iconv_prog.c (options): Put N_ translation marker
16322 on argument names, not just descriptions.
16323 * iconv/iconvconfig.c (options): Likewise.
16324
16325 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
16326
16327 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16328 implementation which is faster on all x86_64 architectures.
16329 Tested on AMD, Intel Nehalem, SNB, IVB.
16330 * sysdeps/x86_64/strnlen.S: Likewise.
16331
16332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16333 Remove all multiarch strlen and strnlen versions.
16334 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16335 Remove strlen and strnlen related parts.
16336
16337 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16338 Inline strlen part.
16339 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16340
16341 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16342 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16343 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16344 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16345 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16346 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16347
16348 2013-03-17 Carlos O'Donell <carlos@redhat.com>
16349
16350 * manual/memory.texi (Malloc Tunable Parameters):
16351 Sort parameters alphabetically. Add comments for missing entries.
16352
16353 2013-03-17 David S. Miller <davem@davemloft.net>
16354
16355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16356
16357 2013-03-16 Joseph Myers <joseph@codesourcery.com>
16358
16359 [BZ #15283]
16360 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16361 for arguments at most half maximum finite value.
16362 * math/libm-test.inc (j0_test): Add more tests.
16363 (j1_test): Likewise.
16364 (y0_test): Likewise.
16365 (y1_test): Likewise.
16366 * sysdeps/i386/fpu/libm-test-ulps: Update.
16367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16368
16369 [BZ #14155]
16370 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16371 1 / x and functions P and Q for arguments above 0x1p256L.
16372 (__ieee754_y0l): Likewise.
16373 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16374 (__ieee754_y1l): Likewise.
16375 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16376 (j1_test): Likewise.
16377 (y0_test): Likewise.
16378 (y1_test): Likewise.
16379
16380 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16381
16382 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16383 variable.
16384
16385 2013-03-15 Roland McGrath <roland@hack.frob.com>
16386
16387 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16388 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16389 zero since it's initialized to EXEC_PAGESIZE.
16390
16391 * sysdeps/unix/sysv/linux/ldsodefs.h
16392 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16393 * sysdeps/generic/ldsodefs.h: ... here.
16394
16395 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16396
16397 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16398
16399 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16400 math/test-snan.c.
16401 * math/test-snan.c: Renamed from
16402 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16403 * math/Makefile (tests): Add test-snan.
16404 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16405 test-powerpc-snan.
16406
16407 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16408 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16409 functions.
16410 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16411 __builtin_nan family of functions.
16412 * math/libm-test.inc (initialize): Initialize qnan_value with
16413 __builtin_nan family of functions.
16414 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16415 Remove variables.
16416 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16417 Remove functions.
16418 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16419 storage class. Initialize qNaN_var and sNaN_var with
16420 __builtin_nan and __builtin_nans families of functions,
16421 respectively.
16422
16423 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16424 (sqrt_test): Remove duplicate test with qNaN input.
16425 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16426 (round_test, signbit_test, significand_test): Note missing +/-Inf
16427 as well as qNaN tests.
16428
16429 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16430 qNaN_var. Fix a few strings, too.
16431 * math/libm-test.inc (nan_value): Rename to qnan_value.
16432 * math/gen-libm-test.pl (%beautify): Adjust to that.
16433 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16434 * math/test-misc.c (main): Likewise.
16435 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16436 to __qnan_bytes, and __qnan_union, respectively.
16437 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16438 Likewise.
16439 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16440 and lqnanval, respectively.
16441 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16442 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16443 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16444 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16445
16446 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16447 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16448 doubles.
16449
16450 * math/test-misc.c (main): Fix copy'n'pastos.
16451 * misc/tst-efgcvt.c (special): Likewise.
16452
16453 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16454 Remove declarations.
16455
16456 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16457
16458 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16459 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16460 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16461 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16462
16463 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16464
16465 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16466 macro to return vdso values correctly in IFUNC implementations.
16467 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16468 Optimization by using IFUNC.
16469
16470 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16471 Richard Henderson <rth@redhat.com>
16472 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16473
16474 * Makefile.in (bench): New target.
16475 * NEWS: Mention the benchmark framework.
16476 * Rules (bench): Likewise.
16477 (binaries-bench): Generate binaries for functions to
16478 benchmark.
16479 * benchtests/Makefile: New makefile for benchmark tests.
16480 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16481 programs.
16482 * benchtests/exp-inputs: New input file for EXP function.
16483 * benchtests/pow-inputs: New input file for POW function.
16484 * scripts/bench.pl: New script to generate source files for
16485 benchmark programs.
16486
16487 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16488
16489 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16490 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16491 computations on mantissa. Use macros for rounding and
16492 division.
16493 (denorm): Likewise.
16494 (__dbl_mp): Likewise.
16495 (add_magnitudes): Likewise.
16496 (sub_magnitudes): Likewise.
16497 (__mul): Likewise.
16498 (__sqr): Likewise.
16499 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16500 powers of two in terms of TWOPOW macro.
16501 (mp_no): Make type of mantissa as MANTISSA_T.
16502 [!RADIXI]: Define RADIXI.
16503 [!TWO52]: Define TWO52.
16504 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16505
16506 * manual/nptl.texi (cindex): Modify threads to pthreads.
16507
16508 2013-03-15 Joseph Myers <joseph@codesourcery.com>
16509
16510 * sysdeps/x86_64/preconfigure: Regenerated.
16511
16512 2013-03-14 Joseph Myers <joseph@codesourcery.com>
16513
16514 [BZ #14155]
16515 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16516 0x1p28 and above.
16517 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16518 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16519 0x1p28 and above.
16520 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16521 * math/libm-test.inc (j0_test): Do not allow one spurious
16522 underflow exception.
16523 (y1_test): Likewise.
16524
16525 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16526
16527 * manual/Makefile (chapters): Add nptl.
16528 * manual/debug.texi (Debugging Support): Add link to Threads
16529 chapter.
16530 * manual/nptl.texi: New file.
16531
16532 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16533
16534 2013-03-14 Petr Baudis <pasky@ucw.cz>
16535
16536 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16537 for non-NULL pointer before the memory validity test. Pointed
16538 out by Holger Brunck <holger.brunck@keymile.com>.
16539
16540 2013-03-13 Andreas Schwab <schwab@suse.de>
16541
16542 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16543 instead of .os.
16544
16545 2013-03-13 Joseph Myers <joseph@codesourcery.com>
16546
16547 * timezone/zic.c: Update from tzcode 2013b.
16548
16549 2013-03-12 Carlos O'Donell <carlos@redhat.com>
16550
16551 * manual/install.texi (Configuring and compiling):
16552 Mention i686 and i586.
16553 * INSTALL: Regenerate.
16554
16555 2013-03-12 Roland McGrath <roland@hack.frob.com>
16556
16557 * sysdeps/init_array/elf-init.c: New file.
16558 * csu/elf-init.c
16559 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16560 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16561
16562 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16563 __gmon_start__ as global, but as static with a .preinit_array pointer.
16564 * sysdeps/init_array/gmon-start.c: New file. Use that.
16565 * sysdeps/init_array/crti.S: New file, empty except for comments.
16566 * sysdeps/init_array/crtn.S: Likewise.
16567
16568 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
16569
16570 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16571 definining bcopy.
16572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16573 Remove Prefer_SSE_for_memop.
16574 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16575 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16576 HAS_PREFER_SSE_FOR_MEMOP.
16577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16578 memset-x86-64.
16579 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16580 Remove bzero, memset ifunc support.
16581 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16582 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16583 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16584 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16585
16586 2013-03-11 Andreas Schwab <schwab@suse.de>
16587
16588 [BZ #15234]
16589 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16590 by SHLIB_COMPAT.
16591 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16592 (GLIBC_2.16): Remove pthread_atfork.
16593
16594 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16595
16596 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16597 (ptestcases.h): Likewise.
16598
16599 2013-03-08 Roland McGrath <roland@hack.frob.com>
16600
16601 * Makeconfig ($(common-objpfx)config.status): Depend on
16602 sysdeps/*/preconfigure{,.in} too.
16603
16604 2013-03-08 Joseph Myers <joseph@codesourcery.com>
16605
16606 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16607 (__free_hook): Use void * instead of __malloc_ptr_t.
16608 (__malloc_hook): Likewise.
16609 (__realloc_hook): Likewise.
16610 (__memalign_hook): Likewise.
16611 (__after_morecore_hook): Likewise.
16612 * malloc/arena.c (save_malloc_hook): Likewise.
16613 (save_free_hook): Likewise.
16614 * malloc/hooks.c (malloc_hook_ini): Likewise.
16615 (realloc_hook_ini): Likewise.
16616 (memalign_hook_ini): Likewise.
16617 * malloc/malloc.c (malloc_hook_ini): Likewise.
16618 (realloc_hook_ini): Likewise.
16619 (memalign_hook_ini): Likewise.
16620 (__free_hook): Likewise.
16621 (__malloc_hook): Likewise.
16622 (__realloc_hook): Likewise.
16623 (__memalign_hook): Likewise.
16624 (__libc_malloc): Likewise.
16625 (__libc_free): Likewise.
16626 (__libc_realloc): Likewise.
16627 (__libc_memalign): Likewise.
16628 (__libc_valloc): Likewise.
16629 (__libc_pvalloc): Likewise.
16630 (__libc_calloc): Likewise.
16631 (__posix_memalign): Likewise.
16632 * malloc/morecore.c (__sbrk): Likewise.
16633 (__default_morecore): Likewise.
16634
16635 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16636
16637 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16638 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16639 __malloc_ptrdiff_t.
16640
16641 * malloc/malloc.h (__malloc_size_t): Remove macro.
16642 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16643 __malloc_size_t.
16644 (old_memalign_hook): Likewise.
16645 (old_realloc_hook): Likewise.
16646 (struct hdr): Likewise.
16647 (flood): Likewise.
16648 (mallochook): Likewise.
16649 (memalignhook): Likewise.
16650 (reallochook): Likewise.
16651 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16652 (tr_old_realloc_hook): Likewise.
16653 (tr_old_memalign_hook): Likewise.
16654 (tr_mallochook): Likewise.
16655 (tr_reallochook): Likewise.
16656 (tr_memalignhook): Likewise.
16657
16658 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16659
16660 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16661 default_ldbl_pack and using as default implementation.
16662 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16663 implementation.
16664 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16665 redundant definition.
16666 (ldbl_insert_mantissa): Likewise.
16667 (ldbl_canonicalize): Likewise.
16668 (ldbl_nearbyint): Likewise.
16669 (ldbl_pack): Rename to ldbl_pack_ppc.
16670 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16671 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16672 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16673
16674 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16675
16676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16677 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16678 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16679 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16680 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16681 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16682 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16683 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16684
16685 2013-03-07 Andreas Jaeger <aj@suse.de>
16686
16687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16688 bits/mman-linux.h.
16689
16690 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16691
16692 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16693 Include mpa.h and declare __MPEXP.
16694 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16695 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16696 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16697 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16698 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16699 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16700 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16701
16702 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16703 (__slowpow): Use long double EXPL and LOGL functions to
16704 compute POW.
16705 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16706 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16707 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16708 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16709 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16711
16712 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16713 intermediate variable to calculate exponent.
16714 (__sqr): Likewise.
16715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16716 Likewise.
16717 (__sqr): Likewise.
16718
16719 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16720 [!NO__SQR]: Define __sqr.
16721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16722 and NO__SQR. Remove all code except __mul and __sqr. Include
16723 sysdeps/ieee754/dbl-64/mpa.c.
16724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16725
16726 [BZ #12723]
16727 * posix/Makefile (tests): Add tst-pathconf.
16728 * posix/tst-pathconf.c: New test case.
16729 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16730 _PC_PIPE_BUF.
16731 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16732
16733 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
16734
16735 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16736
16737 2013-03-06 Andreas Jaeger <aj@suse.de>
16738
16739 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16740 definition via __MAP_ANONYMOUS.
16741
16742 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16743 it's not part of Linux headers.
16744
16745 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16746 (MAP_HUGE_MASK): Define.
16747
16748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16749 Define.
16750 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16751 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16752 Define.
16753 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16754 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16755 Define.
16756 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16757 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16758 Define.
16759 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16760
16761 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16762 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16763 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16764 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16765 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16766 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16767
16768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16769 Handle f2fs.
16770
16771 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16772 Handle f2fs and efivarfs.
16773
16774 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16775 f2fs.
16776
16777 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16778 (EFIVARFS_MAGIC): Add.
16779 (F2FS_LINK_MAX): Add.
16780
16781 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16782
16783 * stdio-common/vfprintf.c: Replace __builtin_expect with
16784 __glibc_unlikely.
16785
16786 2013-03-06 Joseph Myers <joseph@codesourcery.com>
16787
16788 [BZ #13550]
16789 * sysdeps/generic/bp-sym.h: Remove file.
16790 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16791 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16792 <bp-sym.h> and <bp-asm.h>.
16793 (__longjmp): Don't use BP_SYM.
16794 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16795 and <bp-asm.h>.
16796 (memcpy): Don't use BP_SYM.
16797 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16798 <bp-sym.h> and <bp-asm.h>.
16799 (memcpy): Don't use BP_SYM.
16800 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16801 <bp-asm.h>.
16802 (memcpy): Don't use BP_SYM.
16803 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16804 <bp-asm.h>.
16805 (memset): Don't use BP_SYM.
16806 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16807 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16808 (__bzero): Don't use BP_SYM.
16809 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16810 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16811 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (memcmp): Don't use BP_SYM. Remove comment about bounded
16814 pointers.
16815 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16816 <bp-sym.h> and <bp-asm.h>.
16817 (memcpy): Don't use BP_SYM.
16818 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16819 <bp-sym.h> and <bp-asm.h>.
16820 (memset): Don't use BP_SYM.
16821 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16822 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16823 (__bzero): Don't use BP_SYM.
16824 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16825 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16826 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16827 <bp-sym.h> and <bp-asm.h>.
16828 (strncmp): Don't use BP_SYM. Remove comment about bounded
16829 pointers.
16830 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16831 <bp-sym.h> and <bp-asm.h>.
16832 (memcpy): Don't use BP_SYM.
16833 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (memset): Don't use BP_SYM.
16836 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16837 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16838 (__bzero): Don't use BP_SYM.
16839 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16840 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16841 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16842 <bp-sym.h> and <bp-asm.h>.
16843 (__memchr): Don't use BP_SYM.
16844 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16845 <bp-sym.h> and <bp-asm.h>.
16846 (memcmp): Don't use BP_SYM. Remove comment about bounded
16847 pointers.
16848 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16849 <bp-sym.h> and <bp-asm.h>.
16850 (memcpy): Don't use BP_SYM.
16851 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (__mempcpy): Don't use BP_SYM.
16854 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__memrchr): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (memset): Don't use BP_SYM.
16860 (__bzero): Likewise.
16861 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16862 <bp-sym.h> and <bp-asm.h>.
16863 (__rawmemchr): Don't use BP_SYM.
16864 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16865 <bp-sym.h> and <bp-asm.h>.
16866 (__STRCMP): Don't use BP_SYM.
16867 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16868 <bp-sym.h> and <bp-asm.h>.
16869 (strchr): Don't use BP_SYM.
16870 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16871 <bp-sym.h> and <bp-asm.h>.
16872 (__strchrnul): Don't use BP_SYM.
16873 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16874 <bp-sym.h> and <bp-asm.h>.
16875 (strlen): Don't use BP_SYM.
16876 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16877 <bp-sym.h> and <bp-asm.h>.
16878 (strncmp): Don't use BP_SYM. Remove comment about bounded
16879 pointers.
16880 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16881 <bp-sym.h> and <bp-asm.h>.
16882 (__strnlen): Don't use BP_SYM.
16883 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16884 <bp-sym.h> and <bp-asm.h>.
16885 (__GI__setjmp): Don't use BP_SYM.
16886 (_setjmp): Likewise.
16887 (__sigsetjmp): Likewise.
16888 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16889 (L(start_addresses)): Don't use BP_SYM.
16890 (_start): Likewise.
16891 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16892 <bp-asm.h>.
16893 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16894 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16895 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16896 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16897 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16898 <bp-asm.h>.
16899 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16900 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16901 about bounded pointers.
16902 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16903 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16904 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16905 <bp-asm.h>.
16906 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16907 about bounded pointers. Remove GKM FIXME comments.
16908 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16909 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16910 <bp-asm.h>.
16911 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16912 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16913 Remove GKM FIXME comments.
16914 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16915 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16916 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16917 <bp-asm.h>.
16918 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16919 about bounded pointers. Remove GKM FIXME comment.
16920 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16921 and <bp-asm.h>.
16922 (strncmp): Don't use BP_SYM. Remove comment about bounded
16923 pointers.
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16925 <bp-sym.h> and <bp-asm.h>.
16926 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16928 <bp-sym.h> and <bp-asm.h>.
16929 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16930 comment.
16931
16932 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16933
16934 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16935 call free(NULL).
16936
16937 2013-03-05 David S. Miller <davem@davemloft.net>
16938
16939 * po/es.po: Update from translation team.
16940
16941 2013-03-05 Andreas Jaeger <aj@suse.de>
16942
16943 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16944 <bits/mman-linux.h>.
16945 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16946 is fine.
16947 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16948 <bits/mman-linux.h> to end of file.
16949 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16950 is fine.
16951 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16952 <bits/mman-linux.h> to end of file.
16953 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16954 is fine.
16955 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16956 <bits/mman-linux.h> to end of file.
16957
16958 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16959 (MCL_CURRENT, MCL_FUTURE): Define here.
16960
16961 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16962
16963 [BZ #15232]
16964 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16965 attribute_hidden.
16966 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16967
16968 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16969
16970 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16971 fourth parameter needed for rt_sigprocmask syscall.
16972 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16973 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16974 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16975 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16976 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16977 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16978
16979 2013-03-04 Joseph Myers <joseph@codesourcery.com>
16980
16981 [BZ #13550]
16982 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16983 comment about bounded pointers.
16984 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16985 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16986
16987 2013-03-04 Andreas Jaeger <aj@suse.de>
16988
16989 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16990 common definitions.
16991
16992 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16993 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16994 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16995 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16996 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16997 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16998
16999 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17000
17001 [BZ #15055]
17002 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
17003 __ieee754_sqrl instead of __sqrl.
17004
17005 2013-03-01 Joseph Myers <joseph@codesourcery.com>
17006
17007 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
17008 * sysdeps/powerpc/fpu_control.h: ... here.
17009 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
17010 * sysdeps/powerpc/bits/fenvinline.h: ... here.
17011 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
17012 * sysdeps/powerpc/bits/mathinline.h: ... here.
17013
17014 2013-03-01 Roland McGrath <roland@hack.frob.com>
17015
17016 * elf/dl-hwcaps.c (_dl_important_hwcaps):
17017 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
17018 to just [NEED_DL_SYSINFO_DSO].
17019 * elf/dl-support.c: Likewise.
17020 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
17021 * elf/rtld.c (dl_main): Likewise.
17022 * elf/setup-vdso.h (setup_vdso): Likewise.
17023 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
17024 * sysdeps/unix/sysv/linux/dl-sysdep.c
17025 (_dl_discover_osversion): Likewise.
17026
17027 2013-03-01 Carlos O'Donell <carlos@redhat.com>
17028
17029 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
17030 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17031
17032 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17033
17034 * NEWS: Mention libm performance improvements and non-x86 PI
17035 futex support.
17036
17037 * csu/libc-start.c (__pthread_initialize_minimal): Change
17038 function arguments.
17039 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
17040
17041 2013-02-28 Joseph Myers <joseph@codesourcery.com>
17042
17043 [BZ #13550]
17044 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
17045 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
17046 <bp-sym.h> and <bp-asm.h>.
17047 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17048 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
17049 and <bp-asm.h>.
17050 (memcpy): Don't use BP_SYM.
17051 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
17052 <bp-asm.h>.
17053 (__mpn_add_n): Don't use BP_SYM.
17054 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
17055 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
17056 and <bp-asm.h>.
17057 (__mpn_addmul_1): Don't use BP_SYM.
17058 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17059 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
17060 <bp-sym.h>.
17061 (_setjmp): Don't use BP_SYM.
17062 (__novmx_setjmp): Likewise.
17063 (__GI__setjmp): Likewise.
17064 (__vmx_setjmp): Likewise.
17065 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
17066 <bp-sym.h>.
17067 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
17068 (__bzero): Don't use BP_SYM.
17069 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17070 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17071 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
17072 <bp-sym.h> and <bp-asm.h>.
17073 (memcpy): Don't use BP_SYM.
17074 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
17075 <bp-sym.h> and <bp-asm.h>.
17076 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17077 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
17078 <bp-sym.h> and <bp-asm.h>.
17079 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
17080 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
17081 <bp-asm.h>.
17082 (__mpn_lshift): Don't use BP_SYM.
17083 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17084 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
17085 <bp-asm.h>.
17086 (memset): Don't use BP_SYM.
17087 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17088 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17089 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
17090 <bp-asm.h>.
17091 (__mpn_mul_1): Don't use BP_SYM.
17092 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17093 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
17094 <bp-sym.h> and <bp-asm.h>.
17095 (memcmp): Don't use BP_SYM.
17096 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
17097 <bp-sym.h> and <bp-asm.h>.
17098 (memcpy): Don't use BP_SYM.
17099 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
17100 <bp-sym.h> and <bp-asm.h>.
17101 (memset): Don't use BP_SYM.
17102 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
17103 <bp-sym.h> and <bp-asm.h>.
17104 (strncmp): Don't use BP_SYM.
17105 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
17106 <bp-sym.h> and <bp-asm.h>.
17107 (memcpy): Don't use BP_SYM.
17108 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
17109 <bp-sym.h> and <bp-asm.h>.
17110 (memset): Don't use BP_SYM.
17111 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
17112 <bp-sym.h> and <bp-asm.h>.
17113 (__memchr): Don't use BP_SYM.
17114 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
17115 <bp-sym.h> and <bp-asm.h>.
17116 (memcmp): Don't use BP_SYM.
17117 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
17118 <bp-sym.h> and <bp-asm.h>.
17119 (memcpy): Don't use BP_SYM.
17120 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
17121 <bp-sym.h> and <bp-asm.h>.
17122 (__mempcpy): Don't use BP_SYM.
17123 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
17124 <bp-sym.h> and <bp-asm.h>.
17125 (__memrchr): Don't use BP_SYM.
17126 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
17127 <bp-sym.h> and <bp-asm.h>.
17128 (memset): Don't use BP_SYM.
17129 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
17130 <bp-sym.h> and <bp-asm.h>.
17131 (__rawmemchr): Don't use BP_SYM.
17132 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
17133 <bp-sym.h> and <bp-asm.h>.
17134 (__STRCMP): Don't use BP_SYM.
17135 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
17136 <bp-sym.h> and <bp-asm.h>.
17137 (strchr): Don't use BP_SYM.
17138 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
17139 <bp-sym.h> and <bp-asm.h>.
17140 (__strchrnul): Don't use BP_SYM.
17141 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
17142 <bp-sym.h> and <bp-asm.h>.
17143 (strlen): Don't use BP_SYM.
17144 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
17145 <bp-sym.h> and <bp-asm.h>.
17146 (strncmp): Don't use BP_SYM.
17147 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
17148 <bp-sym.h> and <bp-asm.h>.
17149 (__strnlen): Don't use BP_SYM.
17150 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
17151 <bp-asm.h>.
17152 (__mpn_rshift): Don't use BP_SYM.
17153 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17154 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
17155 <bp-sym.h> and <bp-asm.h>.
17156 (__sigsetjmp): Don't use BP_SYM.
17157 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
17158 (L(start_addresses)): Don't use BP_SYM.
17159 (_start): Likewise.
17160 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
17161 <bp-asm.h>.
17162 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
17163 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17164 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17165 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
17166 <bp-asm.h>.
17167 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
17168 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17169 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17170 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
17171 <bp-asm.h>.
17172 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17173 comments.
17174 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17175 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
17176 <bp-asm.h>.
17177 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
17178 FIXME comments.
17179 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17180 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
17181 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
17182 <bp-asm.h>.
17183 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
17184 comment.
17185 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
17186 and <bp-asm.h>.
17187 (strncmp): Don't use BP_SYM,
17188 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
17189 <bp-asm.h>.
17190 (__mpn_sub_n): Don't use BP_SYM.
17191 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17192 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
17193 and <bp-asm.h>.
17194 (__mpn_submul_1): Don't use BP_SYM.
17195 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
17197 <bp-sym.h> and <bp-asm.h>.
17198 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
17199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
17200 <bp-sym.h> and <bp-asm.h>.
17201 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
17202 comment.
17203
17204 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17205
17206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
17207 Use ZK to minimize writes to Z.
17208 (sub_magnitudes): Simplify code a bit.
17209 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
17210 Use ZK to minimize writes to Z.
17211 (sub_magnitudes): Simplify code a bit.
17212
17213 2013-02-27 Roland McGrath <roland@hack.frob.com>
17214
17215 * csu/gmon-start.c: Add special exception to license text.
17216
17217 2013-02-27 Richard Henderson <rth@redhat.com>
17218
17219 * scripts/config.guess: Update from config.git.
17220 * scripts/config.sub: Likewise.
17221
17222 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17223
17224 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
17225
17226 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
17227
17228 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
17229
17230 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
17231
17232 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
17233
17234 2013-02-26 Roland McGrath <roland@hack.frob.com>
17235
17236 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
17237 [$(build-shared = yes].
17238
17239 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17240
17241 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
17242 (__mul): Reduce iterations for calculating mantissa.
17243
17244 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
17245 MPTWO.
17246 (__mpranred): Likewise.
17247
17248 [BZ #15160]
17249 * malloc/memusagestat.c (main): Draw graphs for heap and stack
17250 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
17251
17252 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
17253
17254 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
17255 Define __attribute__.
17256
17257 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17258
17259 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17260 unused.
17261 * posix/regex_internal.h (__attribute): Remove.
17262 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17263 (re_string_context_at): Likewise.
17264 (bitset_not): Use __attribute__ and mark function as possibly
17265 unused.
17266 (bitset_merge): Likewise.
17267 (bitset_mask): Likewise.
17268 (re_string_char_size_at): Likewise.
17269 (re_string_wchar_at): Likewise.
17270 (re_string_elem_size_at): Likewise.
17271
17272 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17273
17274 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17275 code.
17276 (cc32): Likewise.
17277
17278 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17279 (__acr): Likewise.
17280 (__cpy): Likewise.
17281 (norm): Likewise.
17282 (denorm): Likewise.
17283 (__dbl_mp): Likewise.
17284 (add_magnitudes): Likewise.
17285 (sub_magnitudes): Likewise.
17286 (__mul): Likewise.
17287 (__inv): Likewise.
17288
17289 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17290 style.
17291
17292 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17293 style.
17294
17295 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17296 code.
17297
17298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17299 up changes with default code.
17300 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17301 Likewise.
17302
17303 2013-02-24 Allan McRae <allan@archlinux.org>
17304
17305 * manual/socket.texi (The Internet Namespace): Order menu items
17306 to match that in the file.
17307
17308 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17309 node listing of the info page menu.
17310
17311 2013-02-21 Joseph Myers <joseph@codesourcery.com>
17312
17313 [BZ #13550]
17314 * sysdeps/i386/bp-asm.h: Remove file.
17315 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17316 (PARMS): Do not use macros from bp-asm.h.
17317 (S1): Likewise.
17318 (S2): Likewise.
17319 (SIZE): Likewise.
17320 (__mpn_add_n): Do not use BP_SYM
17321 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17322 "bp-asm.h".
17323 (PARMS): Do not use macros from bp-asm.h.
17324 (S1): Likewise.
17325 (SIZE): Likewise.
17326 (__mpn_addmul_1): Do not use BP_SYM
17327 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17328 "bp-asm.h".
17329 (PARMS): Do not use macros from bp-asm.h.
17330 (SIGMSK): Likewise.
17331 (_setjmp): Likewise. Do not use BP_SYM.
17332 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17333 "bp-asm.h".
17334 (PARMS): Do not use macros from bp-asm.h.
17335 (SIGMSK): Likewise.
17336 (setjmp): Likewise. Do not use BP_SYM.
17337 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17338 "bp-asm.h".
17339 (PARMS): Do not use macros from bp-asm.h.
17340 (__frexp): Do not use BP_SYM.
17341 (frexp): Likewise.
17342 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17343 "bp-asm.h".
17344 (PARMS): Do not use macros from bp-asm.h.
17345 (__frexpf): Do not use BP_SYM.
17346 (frexpf): Likewise.
17347 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17348 "bp-asm.h".
17349 (PARMS): Do not use macros from bp-asm.h.
17350 (__frexpl): Do not use BP_SYM.
17351 (frexpl): Likewise.
17352 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17353 "bp-asm.h".
17354 (PARMS): Do not use macros from bp-asm.h.
17355 (__remquo): Do not use BP_SYM.
17356 (remquo): Likewise.
17357 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17358 "bp-asm.h".
17359 (PARMS): Do not use macros from bp-asm.h.
17360 (__remquof): Do not use BP_SYM.
17361 (remquof): Likewise.
17362 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17363 "bp-asm.h".
17364 (PARMS): Do not use macros from bp-asm.h.
17365 (__remquol): Do not use BP_SYM.
17366 (remquol): Likewise.
17367 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17368 "bp-asm.h".
17369 (PARMS): Do not use macros from bp-asm.h.
17370 (DEST): Likewise.
17371 (SRC): Likewise.
17372 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17373 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17374 "bp-asm.h".
17375 (PARMS): Do not use macros from bp-asm.h.
17376 (strlen): Do not use BP_SYM.
17377 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17378 "bp-asm.h".
17379 (PARMS): Do not use macros from bp-asm.h.
17380 (S1): Likewise.
17381 (S2): Likewise.
17382 (SIZE): Likewise.
17383 (__mpn_add_n): Do not use BP_SYM.
17384 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17385 "bp-asm.h".
17386 (PARMS): Do not use macros from bp-asm.h.
17387 (S1): Likewise.
17388 (SIZE): Likewise.
17389 (__mpn_addmul_1): Do not use BP_SYM.
17390 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17391 weak_alias.
17392 (bzero): Likewise.
17393 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17394 "bp-asm.h".
17395 (PARMS): Do not use macros from bp-asm.h.
17396 (S): Likewise.
17397 (SIZE): Likewise.
17398 (__mpn_lshift): Do not use BP_SYM.
17399 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17400 "bp-asm.h".
17401 (PARMS): Do not use macros from bp-asm.h.
17402 (DEST): Likewise.
17403 (SRC): Likewise.
17404 (LEN): Likewise.
17405 (memcpy): Likewise. Do not use BP_SYM.
17406 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17407 libc_hidden_def and weak_alias.
17408 (mempcpy): Do not use BP_SYM in weak_alias.
17409 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17410 "bp-asm.h".
17411 (PARMS): Do not use macros from bp-asm.h.
17412 (DEST): Likewise.
17413 (LEN): Likewise.
17414 [!BZERO_P] (CHR): Likewise.
17415 (memset): Likewise. Do not use BP_SYM.
17416 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17417 "bp-asm.h".
17418 (PARMS): Do not use macros from bp-asm.h.
17419 (S1): Likewise.
17420 (SIZE): Likewise.
17421 (__mpn_mul_1): Do not use BP_SYM.
17422 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17423 "bp-asm.h".
17424 (PARMS): Do not use macros from bp-asm.h.
17425 (S): Likewise.
17426 (SIZE): Likewise.
17427 (__mpn_rshift): Do not use BP_SYM.
17428 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17429 "bp-asm.h".
17430 (PARMS): Do not use macros from bp-asm.h.
17431 (STR): Likewise.
17432 (CHR): Likewise.
17433 (strchr): Likewise. Do not use BP_SYM.
17434 (index): Do not use BP_SYM in weak_alias.
17435 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17436 "bp-asm.h".
17437 (PARMS): Do not use macros from bp-asm.h.
17438 (DEST): Likewise.
17439 (SRC): Likewise.
17440 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17441 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17442 "bp-asm.h".
17443 (PARMS): Do not use macros from bp-asm.h.
17444 (strlen): Do not use BP_SYM.
17445 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17446 "bp-asm.h".
17447 (PARMS): Do not use macros from bp-asm.h.
17448 (S1): Likewise.
17449 (S2): Likewise.
17450 (SIZE): Likewise.
17451 (__mpn_sub_n): Do not use BP_SYM.
17452 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17453 "bp-asm.h".
17454 (PARMS): Do not use macros from bp-asm.h.
17455 (S1): Likewise.
17456 (SIZE): Likewise.
17457 (__mpn_submul_1): Do not use BP_SYM.
17458 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17459 "bp-asm.h".
17460 (PARMS): Do not use macros from bp-asm.h.
17461 (S1): Likewise.
17462 (S2): Likewise.
17463 (SIZE): Likewise.
17464 (__mpn_add_n): Do not use BP_SYM.
17465 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17466 weak_alias.
17467 (bzero): Likewise.
17468 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17469 "bp-asm.h".
17470 (PARMS): Do not use macros from bp-asm.h.
17471 (BLK2): Likewise.
17472 (LEN): Likewise.
17473 (memcmp): Do not use BP_SYM.
17474 (bcmp): Do not use BP_SYM in weak_alias.
17475 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17476 "bp-asm.h".
17477 (PARMS): Do not use macros from bp-asm.h.
17478 (DEST): Likewise.
17479 (SRC): Likewise.
17480 (LEN): Likewise.
17481 (memcpy): Likewise. Do not use BP_SYM.
17482 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17483 "bp-asm.h".
17484 (PARMS): Do not use macros from bp-asm.h.
17485 (DEST): Likewise.
17486 (SRC): Likewise.
17487 (LEN): Likewise.
17488 (memmove): Likewise. Do not use BP_SYM.
17489 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17490 "bp-asm.h".
17491 (PARMS): Do not use macros from bp-asm.h.
17492 (DEST): Likewise.
17493 (SRC): Likewise.
17494 (LEN): Likewise.
17495 (__mempcpy): Likewise. Do not use BP_SYM.
17496 (mempcpy): Do not use BP_SYM in weak_alias.
17497 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17498 "bp-asm.h".
17499 (PARMS): Do not use macros from bp-asm.h.
17500 (DEST): Likewise.
17501 (LEN): Likewise.
17502 [!BZERO_P] (CHR): Likewise.
17503 (memset): Likewise. Do not use BP_SYM.
17504 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17505 "bp-asm.h".
17506 (PARMS): Do not use macros from bp-asm.h.
17507 (STR2): Likewise.
17508 (strcmp): Do not use BP_SYM.
17509 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17510 "bp-asm.h".
17511 (PARMS): Do not use macros from bp-asm.h.
17512 (STR): Likewise.
17513 (DELIM): Likewise.
17514 [USE_AS_STRTOK_R] (SAVE): Likewise.
17515 (FUNCTION): Likewise. Do not use BP_SYM.
17516 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17517 aliases.
17518 (strtok_r): Likewise.
17519 (__GI___strtok_r): Likewise.
17520 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17521 (PARMS): Do not use macros from bp-asm.h.
17522 (S): Likewise.
17523 (SIZE): Likewise.
17524 (__mpn_lshift): Do not use BP_SYM.
17525 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17526 (PARMS): Do not use macros from bp-asm.h.
17527 (STR): Likewise.
17528 (CHR): Likewise.
17529 (__memchr): Do not use BP_SYM.
17530 (memchr): Do not use BP_SYM in weak_alias.
17531 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17532 (PARMS): Do not use macros from bp-asm.h.
17533 (BLK2): Likewise.
17534 (LEN): Likewise.
17535 (memcmp): Do not use BP_SYM.
17536 (bcmp): Do not use BP_SYM in weak_alias.
17537 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17538 (PARMS): Do not use macros from bp-asm.h.
17539 (S1): Likewise.
17540 (SIZE): Likewise.
17541 (__mpn_mul_1): Do not use BP_SYM.
17542 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17543 "bp-asm.h".
17544 (PARMS): Do not use macros from bp-asm.h.
17545 (STR): Likewise.
17546 (CHR): Likewise.
17547 (__rawmemchr): Do not use BP_SYM.
17548 (rawmemchr): Do not use BP_SYM in weak_alias.
17549 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17550 (PARMS): Do not use macros from bp-asm.h.
17551 (S): Likewise.
17552 (SIZE): Likewise.
17553 (__mpn_rshift): Do not use BP_SYM.
17554 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17555 (PARMS): Do not use macros from bp-asm.h.
17556 (SIGMSK): Likewise.
17557 (__sigsetjmp): Likewise. Do not use BP_SYM.
17558 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17559 (_start): Do not use BP_SYM.
17560 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17561 (PARMS): Do not use macros from bp-asm.h.
17562 (DEST): Likewise.
17563 (SRC): Likewise.
17564 (__stpcpy): Likewise. Do not use BP_SYM.
17565 (stpcpy): Do not use BP_SYM in weak_alias.
17566 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17567 "bp-asm.h".
17568 (PARMS): Do not use macros from bp-asm.h.
17569 (DEST): Likewise.
17570 (SRC): Likewise.
17571 (LEN): Likewise.
17572 (__stpncpy): Likewise. Do not use BP_SYM.
17573 (stpncpy): Do not use BP_SYM in weak_alias.
17574 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17575 (PARMS): Do not use macros from bp-asm.h.
17576 (STR): Likewise.
17577 (CHR): Likewise.
17578 (strchr): Likewise. Do not use BP_SYM.
17579 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17580 "bp-asm.h".
17581 (PARMS): Do not use macros from bp-asm.h.
17582 (STR): Likewise.
17583 (CHR): Likewise.
17584 (__strchrnul): Likewise. Do not use BP_SYM.
17585 (strchrnul): Do not use BP_SYM in weak_alias.
17586 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17587 "bp-asm.h".
17588 (PARMS): Do not use macros from bp-asm.h.
17589 (STOP): Likewise.
17590 (strcspn): Do not use BP_SYM.
17591 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17592 "bp-asm.h".
17593 (PARMS): Do not use macros from bp-asm.h.
17594 (STR): Likewise.
17595 (STOP): Likewise.
17596 (strpbrk): Likewise. Do not use BP_SYM.
17597 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17598 "bp-asm.h".
17599 (PARMS): Do not use macros from bp-asm.h.
17600 (STR): Likewise.
17601 (CHR): Likewise.
17602 (strrchr): Likewise. Do not use BP_SYM.
17603 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17604 (PARMS): Do not use macros from bp-asm.h.
17605 (SKIP): Likewise.
17606 (strspn): Do not use BP_SYM.
17607 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17608 (PARMS): Do not use macros from bp-asm.h.
17609 (STR): Likewise.
17610 (DELIM): Likewise.
17611 (SAVE): Likewise.
17612 (FUNCTION): Likewise. Do not use BP_SYM.
17613 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17614 aliases.
17615 (strtok_r): Likewise.
17616 (__GI___strtok_r): Likewise.
17617 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17618 (PARMS): Do not use macros from bp-asm.h.
17619 (S1): Likewise.
17620 (S2): Likewise.
17621 (SIZE): Likewise.
17622 (__mpn_sub_n): Do not use BP_SYM.
17623 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17624 "bp-asm.h".
17625 (PARMS): Do not use macros from bp-asm.h.
17626 (S1): Likewise.
17627 (SIZE): Likewise.
17628 (__mpn_submul_1): Do not use BP_SYM.
17629 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17630 <bp-sym.h>.
17631 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17632 and <bp-asm.h>.
17633 (PARMS): Do not use macros from bp-asm.h.
17634 (FLAGS): Likewise.
17635 (PTID): Likewise.
17636 (TLS): Likewise.
17637 (CTID): Likewise.
17638 (__clone): Do not use BP_SYM.
17639 (clone): Do not use BP_SYM in weak_alias.
17640 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17641 and <bp-asm.h>.
17642 (PARMS): Do not use macros from bp-asm.h.
17643 (LEN): Likewise.
17644 (__mmap64): Do not use BP_SYM.
17645 (mmap64): Do not use BP_SYM in weak_alias.
17646 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17647 <bp-sym.h> and <bp-asm.h>.
17648 (PARMS): Do not use macros from bp-asm.h.
17649 (__posix_fadvise64_l64): Do not use BP_SYM.
17650 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17651 (PARMS): Do not use macros from bp-asm.h.
17652 (NSOPS): Likewise.
17653 (semtimedop): Do not use BP_SYM.
17654 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17655 and <bp-asm.h>.
17656
17657 2013-02-21 Allan McRae <allan@archlinux.org>
17658
17659 * manual/message.texi (Charset conversion in gettext):
17660 Move @end statement to beginning of line.
17661
17662 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17663
17664 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17665 static.
17666 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17667 Likewise.
17668
17669 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17670 (denorm): Likewise.
17671 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17673
17674 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17675
17676 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17677 tail-call to the resolved function if pltexit isn't needed.
17678
17679 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17680
17681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17682 or Y being zero as being unlikely.
17683 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17684 Likewise.
17685
17686 2013-02-20 Carlos O'Donell <carlos@redhat.com>
17687
17688 * manual/nss.texi (System Databases and Name Service Switch):
17689 Remove frobnicate @pxref.
17690
17691 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17692
17693 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17694 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17695
17696 2013-02-20 Petr Machata <pmachata@redhat.com>
17697
17698 * elf/elf.h (R_ARM_TARGET1): New macro.
17699 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17700 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17701 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17702 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17703 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17704 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17705 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17706 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17707 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17708 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17709 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17710 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17711 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17712 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17713 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17714 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17715 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17716 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17717 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17718 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17719 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17720 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17721 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17722 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17723 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17724 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17725 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17726 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17727 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17728 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17729 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17730 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17731 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17732 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17733 (R_ARM_THM_GOT_BREL12): Likewise.
17734 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17735 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17736 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17737 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17738 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17739 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17740 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17741 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17742 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17743
17744 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17745
17746 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17747 __attribute_used__ to __attribute__ ((unused)).
17748
17749 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17750
17751 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17752 powerpc mpa.c.
17753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17754 comment formatting.
17755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17756
17757 2013-02-19 Joseph Myers <joseph@codesourcery.com>
17758
17759 [BZ #13550]
17760 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17761 Remove macro.
17762 (ENTER): Remove both macro definitions.
17763 (LEAVE): Likewise.
17764 (CHECK_BOUNDS_LOW): Likewise.
17765 (CHECK_BOUNDS_HIGH): Likewise.
17766 (CHECK_BOUNDS_BOTH): Likewise.
17767 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17768 (RETURN_BOUNDED_POINTER): Likewise.
17769 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17770 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17771 (POP_ERRNO_LOCATION_RETURN): Likewise.
17772 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17773 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17774 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17775 macros.
17776 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17777 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17778 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17779 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17780 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17781 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17782 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17783 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17784 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17785 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17786 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17787 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17788 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17789 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17790 removed macros.
17791 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17792 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17793 macros.
17794 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17795 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17796 * sysdeps/i386/i586/memset.S (memset): Likewise.
17797 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17798 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17799 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17800 macros.
17801 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17802 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17803 Change uses of L(2) to L(out).
17804 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17805 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17806 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17807 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17808 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17809 removed macros.
17810 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17811 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17812 macros.
17813 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17814 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17815 (RETURN): Do not use macro LEAVE.
17816 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17817 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17818 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17819 * sysdeps/i386/i686/memset.S (memset): Likewise.
17820 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17821 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17822 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17823 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17824 Likewise.
17825 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17826 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17827 L(1_2) and L(1_3) into L(1).
17828 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17829 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17830 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17831 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17832 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17833 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17834 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17835 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17836 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17837 macros.
17838 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17839 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17840 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17841 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17842 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17843 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17844 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17845 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17846 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17847 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17848 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17849 * sysdeps/i386/strspn.S (strspn): Likewise.
17850 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17851 conditional code.
17852 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17853 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17854 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17855 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17856 L(1_3) into L(1_1).
17857 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17858 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17859 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17860 macros.
17861 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17862
17863 2013-02-19 Jakub Jelinek <jakub@redhat.com>
17864
17865 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17866 macro.
17867
17868 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17869
17870 * math/atest-exp.c (exp_mpn): Remove ROUND.
17871 * math/atest-exp2.c (exp_mpn): Likewise.
17872 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17873
17874 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17875 * stdlib/tst-tls-atexit-lib.c: Likewise.
17876 * stdlib/tst-tls-atexit.c: Likewise.
17877
17878 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17879
17880 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17881 and __attribute_alloc_size__.
17882
17883 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17884
17885 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17886 __attribute_alloc_size__.
17887 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17888 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17889
17890 2013-02-18 Mike Frysinger <vapier@gentoo.org>
17891
17892 * include/programs/xmalloc.h: New file.
17893 * catgets/gencat.c: Include it.
17894 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17895 * elf/pldd.c: Likewise.
17896 * iconv/iconv_charmap.c: Likewise.
17897 * iconv/iconvconfig.c: Likewise.
17898 * iconv/strtab.c: Likewise.
17899 * locale/programs/locale.c: Likewise.
17900 * locale/programs/localedef.h: Likewise.
17901 * locale/programs/simple-hash.c: Likewise.
17902 * nscd/nscd.h: Likewise.
17903 * nss/makedb.c: Likewise.
17904 * sysdeps/generic/ldconfig.h: Likewise.
17905
17906 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17907
17908 * Versions.def: Add GLIBC_2.18.
17909 * include/link.h (struct link_map): New member l_tls_dtor_count.
17910 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17911 (__call_tls_dtors): Likewise.
17912 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17913 __cxa_thread_atexit_impl.
17914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17915 Likewise.
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17917 Likewise.
17918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17919 Likewise.
17920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17921 Likewise.
17922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17924 Likewise.
17925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17926 Likewise.
17927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17929 Likewise.
17930 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17931 (tests): Add test case tst-tls-atexit.
17932 (modules-names): Add shared library for tst-tls-atexit.
17933 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
17934 (GLIBC_PRIVATE): Add __call_tls_dtors.
17935 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17936 for libstdc++.
17937 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17938 * stdlib/tst-tls-atexit.c: New test case.
17939 * stdlib/tst-tls-atexit-lib.c: New test case.
17940
17941 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
17942
17943 * elf/Versions (ld): Add _dl_find_dso_for_object.
17944 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17945 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17946 (dl_open_worker): Use _dl_find_dso_for_object.
17947 * elf/dl-sym.c (do_sym): Likewise.
17948 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17949
17950 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17951
17952 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17953 Syntactic changes only.
17954 (_dl_runtime_profile): Do a tail-call to the resolved function.
17955
17956 2013-02-17 Joseph Myers <joseph@codesourcery.com>
17957
17958 [BZ #13550]
17959 * sysdeps/x86_64/bp-asm.h: Remove file.
17960 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17961 <bp-sym.h> and <bp-asm.h>.
17962 (__clone): Do not use BP_SYM.
17963 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17964 <bp-sym.h> and <bp-asm.h>.
17965 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17966 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17967 "bp-asm.h".
17968 (_setjmp): Do not use BP_SYM.
17969 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17970 "bp-asm.h".
17971 (setjmp): Do not use BP_SYM.
17972 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17973 libc_hidden_def.
17974 (mempcpy): Do not use BP_SYM in weak_alias.
17975 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17976 "bp-asm.h".
17977 (strchr): Do not use BP_SYM.
17978 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17979 "bp-asm.h".
17980 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17981 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17982 (_start): Do not use BP_SYM.
17983 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17984 "bp-asm.h".
17985 (strcat): Do not use BP_SYM.
17986 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17987 "bp-asm.h".
17988 (STRCMP): Do not use BP_SYM.
17989 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17990 "bp-asm.h".
17991 (STRCPY): Do not use BP_SYM.
17992 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17993 "bp-asm.h".
17994 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17995 "bp-asm.h".
17996 (FUNCTION): Do not use BP_SYM.
17997 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17998 weak_alias.
17999 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
18000
18001 2013-02-17 Andreas Jaeger <aj@suse.de>
18002
18003 * time/Versions: Sort entries.
18004 * string/Versions: Likewise.
18005 * resolv/Versions: Likewise.
18006 * posix/Versions: Likewise.
18007 * iconv/Versions: Likewise.
18008 * elf/Versions: Likewise.
18009 * wcsmbs/Versions: Likewise.
18010
18011 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18012
18013 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
18014 loop termination condition.
18015
18016 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
18017 variable to calculate EZ.
18018 (__sqr): Likewise.
18019
18020 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
18021 the lower precision input.
18022
18023 2013-02-15 Joseph Myers <joseph@codesourcery.com>
18024
18025 [BZ #13550]
18026 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
18027 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
18028 (run-via-rtld-prefix): Do not handle %-bp tests.
18029 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
18030 (all-object-suffixes): Remove .ob.
18031 (bppfx): Remove variable.
18032 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
18033 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
18034 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
18035 [$(build-bounded) = yes] (libtype.ob): Likewise.
18036 * Makerules (elide-routines.ob): Remove variable.
18037 (do-tests-clean): Do not handle *-bp.out.
18038 (common-mostlyclean): Do not handle *-bp and *-bp.out.
18039 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
18040 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
18041 (tests): Do not include $(tests-bp.out).
18042 (xtests): Do not include $(xtests-bp.out).
18043 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
18044 [$(build-bounded) = yes] ($(addprefix
18045 $(objpfx),$(binaries-bounded))): Remove rule.
18046 ($(objpfx)%-bp.out): Remove rule.
18047 * config.make.in (build-bounded): Remove variable.
18048 * crypt/Makefile [$(build-bounded) = yes]
18049 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
18050 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
18051 append to variable.
18052 [$(build-bounded) = yes] (install-lib): Likewise.
18053 [$(build-bounded) = yes] (generated): Likewise.
18054 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
18055 Remove rule.
18056 * intl/Makefile [$(build-bounded) = yes]
18057 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
18058 * math/Makefile [$(build-bounded) = yes]
18059 ($(tests:%=$(objpfx)%-bp): Likewise.
18060 * misc/Makefile [$(build-bounded) = yes]
18061 ($(objpfx)tst-tsearch-bp): Likewise.
18062 * nptl/Makeconfig (bounded-thread-library): Remove variable.
18063 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
18064 Remove dependency.
18065 * string/Makefile (o-objects.ob): Remove variable.
18066 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
18067 (CFLAGS-.ob): Remove variable.
18068 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
18069 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
18070 both definitions of variable.
18071 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
18072 (ASFLAGS-.ob): Remove variable.
18073
18074 2013-02-14 Joseph Myers <joseph@codesourcery.com>
18075
18076 [BZ #13550]
18077 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
18078 Remove __BOUNDED_POINTERS__ from condition.
18079 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
18080 * string/bits/string2.h [!__NO_STRING_INLINES &&
18081 !__BOUNDED_POINTERS__]: Likewise.
18082 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
18083 Likewise.
18084 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
18085 Remove conditional code.
18086 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
18087 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
18088 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
18089 condition.
18090
18091 [BZ #13550]
18092 * csu/libc-start.c: Do not include <bp-sym.h>.
18093 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
18094 * elf/dl-open.c: Do not include <bp-sym.h>.
18095 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
18096 * math/fegetenv.c: Do not include <bp-sym.h>.
18097 (fegetenv): Do not use BP_SYM in versioned symbols.
18098 * nptl/sysdeps/pthread/bits/libc-lockP.h
18099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
18100 <bp-sym.h>.
18101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18102 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
18103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18104 (__pthread_mutex_destroy): Likewise.
18105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18106 (__pthread_mutex_lock): Likewise.
18107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18108 (__pthread_mutex_trylock): Likewise.
18109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18110 (__pthread_mutex_unlock): Likewise.
18111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18112 (__pthread_mutexattr_init): Likewise.
18113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18114 (__pthread_mutexattr_destroy): Likewise.
18115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18116 (__pthread_mutexattr_settype): Likewise.
18117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18118 (__pthread_rwlock_init): Likewise.
18119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18120 (__pthread_rwlock_destroy): Likewise.
18121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18122 (__pthread_rwlock_rdlock): Likewise.
18123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18124 (__pthread_rwlock_tryrdlock): Likewise.
18125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18126 (__pthread_rwlock_wrlock): Likewise.
18127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18128 (__pthread_rwlock_trywrlock): Likewise.
18129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18130 (__pthread_rwlock_unlock): Likewise.
18131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18132 (__pthread_key_create): Likewise.
18133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18134 (__pthread_setspecific): Likewise.
18135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18136 (__pthread_getspecific): Likewise.
18137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
18138 Likewise.
18139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18140 (_pthread_cleanup_push_defer): Likewise.
18141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18142 (_pthread_cleanup_pop_restore): Likewise.
18143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
18144 (pthread_setcancelstate): Likewise.
18145 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
18146 <bp-sym.h>.
18147 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
18148 (memchr): Do not use BP_SYM in weak_alias.
18149 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
18150 (fegetenv): Do not use BP_SYM in versioned symbols.
18151 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
18152 (fesetenv): Do not use BP_SYM in versioned symbols.
18153 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18154 (feupdateenv): Do not use BP_SYM in versioned symbols.
18155 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18156 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18157 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
18158 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
18159 (open64): Do not use BP_SYM in weak_alias.
18160 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
18161 (fegetenv): Do not use BP_SYM in versioned symbols.
18162 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
18163 (fesetenv): Do not use BP_SYM in versioned symbols.
18164 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
18165 (feupdateenv): Do not use BP_SYM in versioned symbols.
18166 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
18167 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
18168 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
18169 (feraiseexcept): Do not use BP_SYM in versioned symbols.
18170 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
18171 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
18172 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
18173 <bp-sym.h>.
18174 (__libc_start_main): Do not use BP_SYM.
18175
18176 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18177
18178 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
18179 redundant return line.
18180 (norm): Likewise.
18181 (denorm): Likewise.
18182 (dbl_mp): Likewise.
18183 (sub_magnitudes): Likewise.
18184 (__add): Likewise.
18185 (__sub): Likewise.
18186 (__mul): Likewise.
18187 (__inv): Likewise.
18188 (__dvd): Likewise.
18189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
18190 (norm): Likewise.
18191 (denorm): Likewise.
18192 (dbl_mp): Likewise.
18193 (sub_magnitudes): Likewise.
18194 (__add): Likewise.
18195 (__sub): Likewise.
18196 (__mul): Likewise.
18197 (__inv): Likewise.
18198 (__dvd): Likewise.
18199
18200 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
18201 instead of __mul.
18202 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
18203 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
18204 (cc32): Likewise.
18205
18206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
18207 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
18208 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
18209 of __mul for squares.
18210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
18211 function
18212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
18213 Likewise.
18214 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
18215 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18216
18217 2013-02-13 Joseph Myers <joseph@codesourcery.com>
18218
18219 [BZ #13550]
18220 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
18221 code.
18222 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
18223 prototype or function definition. Rename ubp_* variables and
18224 parameters. Remove argv definitions conditional on
18225 [__BOUNDED_POINTERS__].
18226 * debug/backtrace.c (__backtrace): Do not use __unbounded.
18227 * elf/dl-runtime.c (_dl_fixup): Likewise.
18228 * include/set-hooks.h (RUN_HOOK): Likewise.
18229 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
18230 definition.
18231 * string/strcpy.c (strcpy): Do not use __unbounded.
18232 * sysdeps/generic/frame.h (struct layout): Likewise.
18233 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
18234 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
18235 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
18236 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
18237 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
18238 (__backtrace): Likewise.
18239 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
18240 use __ptrvalue.
18241 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
18242 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18243 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18244 Likewise.
18245 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
18246 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
18247 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18248 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18249 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
18250 Do not use __unbounded.
18251 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
18252 Rename __unboundedrlimits parameter to rlimits in prototype.
18253 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
18254 Do not use __unbounded.
18255 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
18256 not use __ptrvalue.
18257 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18258 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18259 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18260 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18261 __ptrvalue or __unbounded.
18262 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18263 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18264 use __unbounded.
18265 (__new_msgctl): Do not use __ptrvalue.
18266 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18267 __unbounded.
18268 (__libc_msgrcv): Do not use __ptrvalue.
18269 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18270 startup_info): Do not use __unbounded.
18271 (__libc_start_main): Likewise. Rename ubp_* variables and
18272 parameters. Remove argv definitions conditional on
18273 [__BOUNDED_POINTERS__].
18274 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18275 __ptrvalue.
18276 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18277 use __unbounded.
18278 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18279 or __ptrvalue.
18280 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18281 use __unbounded.
18282 (__new_shmctl): Do not use __ptrvalue.
18283 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18284 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18285 Likewise.
18286 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18287 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18288 (__libc_sigaction): Likewise.
18289 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18290 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18291 Likewise.
18292 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18293
18294 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
18295
18296 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
18297
18298 * string/mempcpy.c: Implement by calling memcpy.
18299
18300 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18301
18302 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18303
18304 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18305 evaluation.
18306
18307 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18308 values in the mantissa.
18309
18310 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18311 minimize writes to Z.
18312 (sub_magnitudes): Simplify code a bit.
18313
18314 2013-02-12 Roland McGrath <roland@hack.frob.com>
18315
18316 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18317 from the message. The linker prefixes all warnings with that already.
18318
18319 2013-02-12 Andreas Schwab <schwab@suse.de>
18320
18321 [BZ #15078]
18322 * posix/regexec.c (extend_buffers): Add parameter min_len.
18323 (check_matching): Pass minimum needed length.
18324 (clean_state_log_if_needed): Likewise.
18325 (get_subexp): Likewise.
18326 * posix/Makefile (tests): Add bug-regex34.
18327 (bug-regex34-ENV): Define.
18328 * posix/bug-regex34.c: New file.
18329
18330 [BZ #11561]
18331 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18332 elements compare against the byte sequence of it, not its name.
18333 * posix/Makefile (tests): Add bug-regex35.
18334 (bug-regex35-ENV): Define.
18335 * posix/bug-regex35.c: New file.
18336
18337 2013-02-11 Tom de Vries <tom@codesourcery.com>
18338
18339 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18340 comment.
18341 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18342 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18343 (CHECK_EOL): Add undef.
18344
18345 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
18346
18347 * bits/stdlib-bsearch.h: New file.
18348 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
18349 * stdlib/stdlib.h: Likewise.
18350
18351 2013-02-11 Roland McGrath <roland@hack.frob.com>
18352
18353 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18354 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18355 declaration.
18356 * manual/search.texi (Array Search Function): Add missing const in
18357 lfind prototype.
18358 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18359 declaration to use rlim_t.
18360 (Basic Scheduling Functions): Remove erroneous const from
18361 sched_getparam prototype. Remove erroneous * from
18362 sched_get_priority_max and sched_get_priority_min prototypes.
18363 (Resource Usage): Fix summary @comment on vtimes to refer to
18364 sys/vtimes.h rather than vtimes.h.
18365 Add missing *s in vtimes prototype.
18366 (Limits on Resources): Fix ulimit prototype to return long int.
18367 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18368 prototypes to use long int rather than double.
18369 (BSD Random): Fix initstate and setstate to use char *, not void *.
18370 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18371 prototype to make second argument 'struct aiocb64 *const[]'.
18372 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18373 (Status of AIO Operations): Remove erroneous const in aio_return and
18374 aio_return64 prototypes.
18375 (Synchronizing I/O): Fix sync prototype to return void.
18376 * manual/startup.texi (Suboptions): Remove an erroneous const in
18377 getsubopt prototype.
18378 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18379 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18380 use size_t rather than int.
18381 (Scanning All Users): Likewise for getpwent_r.
18382 (Setting Groups): Add missing const to setgroups prototype.
18383 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18384 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18385 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18386 'const void *' rather than 'const char *'.
18387 (Host Address Functions): Likewise for inet_ntop.
18388 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18389 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18390 ssize_t for return value.
18391 (Sending Data): Likewise for send, sendto, sendmsg.
18392 (Socket Option Functions): Add a missing const in setsockopt prototype.
18393 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18394 use wchar_t for the argument.
18395 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18396 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18397 take no arguments.
18398 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18399 double/float/long double for second argument.
18400 Fix return types of significand, significandf, significandl.
18401 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18402 argument in fchmod prototype.
18403 (File Owner): Use uid_t and gid_t in fchown prototype.
18404 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18405 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18406 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18407 use 'const struct dirent **' as argument types to CMP function pointer
18408 argument.
18409 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18410 (File Times): Fix summary magic @comment for struct utimbuf and utime
18411 to refer to utime.h, not time.h.
18412 * manual/string.texi (Argz Functions): Add missing const in
18413 argz_extract and argz_next prototypes.
18414 (Finding Tokens in a String): Likewise for basename.
18415 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18416 (Copying and Concatenation): Fix typo in wmemmove prototype.
18417 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18418 (Signal Stack): Remove erroneous const in sigstack prototype.
18419 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18420 prototype.
18421 (Simple Calendar Time): Likewise for stime.
18422 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18423 prototype.
18424 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18425 say sys/sysctl.h instead.
18426 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18427 and vsyslog prototypes.
18428
18429 2013-02-11 Tom de Vries <tom@codesourcery.com>
18430
18431 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18432 Remove.
18433
18434 2013-02-11 Roland McGrath <roland@hack.frob.com>
18435
18436 * misc/sys/mman.h: Fix typo in mremap comment.
18437
18438 2013-02-08 Roland McGrath <roland@hack.frob.com>
18439
18440 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18441 the '\0' terminator.
18442
18443 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18444
18445 [BZ #13550]
18446 * debug/segfault.c: Don't include <bp-checks.h>.
18447 * sysdeps/generic/bp-checks.h: Remove file.
18448 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18449 (__GETDENTS): Don't use CHECK_N.
18450 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18451 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18452 (__getgroups): Don't use CHECK_N.
18453 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18454 (setgroups): Don't use CHECK_N.
18455 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18456 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18457 (__libc_msgrcv): Don't use CHECK_N.
18458 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18459 (__libc_msgsnd): Don't use CHECK_N.
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18461 <bp-checks.h>.
18462 (__libc_pread): Don't use CHECK_N.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18464 include <bp-checks.h>.
18465 (__libc_pread64): Don't use CHECK_N.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18467 include <bp-checks.h>.
18468 (__libc_pwrite): Don't use CHECK_N.
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18470 include <bp-checks.h>.
18471 (__libc_pwrite64): Don't use CHECK_N.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18473 <bp-checks.h>.
18474 (__libc_pread): Don't use CHECK_N.
18475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18476 include <bp-checks.h>.
18477 (__libc_pread64): Don't use CHECK_N.
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18479 include <bp-checks.h>.
18480 (__libc_pwrite): Don't use CHECK_N.
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18482 include <bp-checks.h>.
18483 (__libc_pwrite64): Don't use CHECK_N.
18484 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18485 (do_pread): Don't use CHECK_N.
18486 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18487 (do_pread64): Don't use CHECK_N.
18488 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18489 (do_pwrite): Don't use CHECK_N.
18490 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18491 (do_pwrite64): Don't use CHECK_N.
18492 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18493 (__libc_readv): Don't use CHECK_N.
18494 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18495 (semop): Don't use CHECK_N.
18496 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18497 <bp-checks.h>.
18498 (semtimedop): Don't use CHECK_N.
18499 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18500 (__libc_pread): Don't use CHECK_N.
18501 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18502 <bp-checks.h>.
18503 (__libc_pread64): Don't use CHECK_N.
18504 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18505 <bp-checks.h>.
18506 (__libc_pwrite): Don't use CHECK_N.
18507 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18508 <bp-checks.h>.
18509 (__libc_pwrite64): Don't use CHECK_N.
18510 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18511 <bp-checks.h>.
18512 (__libc_msgrcv): Don't use CHECK_N.
18513 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18514 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18515 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18516 (__libc_writev): Don't use CHECK_N.
18517
18518 2013-02-08 Roland McGrath <roland@hack.frob.com>
18519
18520 * string/strcpy.c: Removed unused variable.
18521
18522 * Makeconfig (+sysdep-includes): Define with := rather than =.
18523 Use an existing include/ subdir of each sysdeps dir before it.
18524
18525 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18526
18527 * nscd/connection.c (register_traced_file): Comment function.
18528 [HAVE_INOTIFY] (union __inev): Define.
18529 [HAVE_INOTIFY] (inotify_check_files): New function.
18530 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18531 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18532 clear_db_cache.
18533 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18534
18535 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18536
18537 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18538 loaded if not already and that a failure is permanent.
18539
18540 2013-02-08 Carlos O'Donell <carlos@redhat.com>
18541
18542 [BZ #15006]
18543 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18544 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18545
18546 2013-02-08 Joseph Myers <joseph@codesourcery.com>
18547
18548 [BZ #13550]
18549 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18550 (CHECK_1_NULL_OK): Likewise.
18551 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18552 (__fxstat): Do not use CHECK_1.
18553 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18554 <bp-checks.h>.
18555 (___fxstat64): Do not use CHECK_1.
18556 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18557 <bp-checks.h>.
18558 (__fxstatat): Do not use CHECK_1.
18559 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18560 <bp-checks.h>.
18561 (__fxstatat64): Do not use CHECK_1.
18562 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18563 <bp-checks.h>.
18564 (__fxstat): Do not use CHECK_1.
18565 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18566 <bp-checks.h>.
18567 (__fxstatat): Do not use CHECK_1.
18568 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18569 <bp-checks.h>.
18570 (__getresgid): Do not use CHECK_1.
18571 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18572 <bp-checks.h>.
18573 (__getresuid): Do not use CHECK_1.
18574 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18575 <bp-checks.h>.
18576 (__lxstat): Do not use CHECK_1.
18577 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18578 <bp-checks.h>.
18579 (__old_msgctl): Do not use CHECK_1.
18580 (__new_msgctl): Likewise.
18581 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18582 <bp-checks.h>.
18583 (__new_setrlimit): Do not use CHECK_1.
18584 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18585 <bp-checks.h>.
18586 (__old_shmctl): Do not use CHECK_1.
18587 (__new_shmctl): Likewise.
18588 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18589 <bp-checks.h>.
18590 (__xstat): Do not use CHECK_1.
18591 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18592 (__lxstat): Do not use CHECK_1.
18593 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18594 <bp-checks.h>.
18595 (___lxstat64): Do not use CHECK_1.
18596 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18597 (__old_msgctl): Do not use CHECK_1.
18598 (__new_msgctl): Likewise.
18599 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18600 <bp-checks.h>.
18601 (__gettimeofday): Do not use CHECK_1.
18602 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18603 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18604 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18605 <bp-checks.h>.
18606 (__gettimeofday): Do not use CHECK_1.
18607 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18608 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18609 (__new_shmctl): Do not use CHECK_1.
18610 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18611 <bp-checks.h>.
18612 (do_sigtimedwait): Do not use CHECK_1.
18613 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18614 <bp-checks.h>.
18615 (do_sigwaitinfo): Do not use CHECK_1.
18616 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18617 <bp-checks.h>.
18618 (msgctl): Do not use CHECK_1.
18619 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18620 <bp-checks.h>.
18621 (shmctl): Do not use CHECK_1.
18622 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18623 (ustat): Do not use CHECK_1.
18624 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18625 <bp-checks.h>.
18626 (__fxstat): Do not use CHECK_1.
18627 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18628 <bp-checks.h>.
18629 (__fxstatat): Do not use CHECK_1.
18630 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18631 <bp-checks.h>.
18632 (__lxstat): Do not use CHECK_1.
18633 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18634 <bp-checks.h>.
18635 (__xstat): Do not use CHECK_1.
18636 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18637 (__xstat): Do not use CHECK_1.
18638 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18639 (___xstat64): Do not use CHECK_1.
18640
18641 [BZ #13550]
18642 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18643 definitions.
18644 (CHECK_BOUNDS_HIGH): Likewise.
18645 * string/strcpy.c: Do not include <bp-checks.h>.
18646 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18647
18648 2013-02-07 Roland McGrath <roland@hack.frob.com>
18649
18650 * nscd/nscd-client.h (__nscd_drop_map_ref):
18651 Add __attribute__ ((unused)).
18652 * nis/nss-nisplus.h (niserr2nss): Likewise.
18653
18654 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18655 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18656
18657 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18658 Remove inline keyword.
18659 * include/rounding-mode.h (round_away): Likewise.
18660 * libio/wfileops.c (adjust_wide_data): Likewise.
18661 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18662 (__m128i_strloadu_tolower): Likewise.
18663 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18664 (__m128i_strloadu_tolower): Likewise.
18665 * time/mktime.c (ydhms_diff): Likewise.
18666 * locale/elem-hash.h (elem_hash): Likewise.
18667 * locale/setlocale.c (setdata): Likewise.
18668 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18669 (re_string_wchar_at): Likewise.
18670 (bitset_not, bitset_merge, bitset_mask): Likewise.
18671 [!(__GNUC__ > 3)] (inline): Remove macro.
18672 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18673 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18674 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18675 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18676 * string/memcmp.c (memcmp_bytes): Likewise.
18677 * locale/programs/locarchive.c (compute_hashval): Likewise.
18678 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18679 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18680 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18681 * nss/getent.c (print_rpc, print_protocols): Likewise.
18682 (print_passwd, print_group, print_aliases): Likewise.
18683 * nis/nss-nisplus.h (niserr2nss): Likewise.
18684 * nscd/connections.c (restart_p): Likewise.
18685 Change return type to bool.
18686
18687 2013-02-05 Roland McGrath <roland@hack.frob.com>
18688
18689 * Makeconfig (all-Depend-files): Add existing
18690 $(sorted-subdirs:=/Depend) files.
18691 (all-subdirs): Remove nss.
18692 * sysdeps/unix/inet/Subdirs: Add it here instead.
18693 * hesiod/Depend: New file.
18694
18695 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18696 instead of calling alloca.
18697
18698 * io/lseek.c (__lseek): Rename to __libc_lseek.
18699 Define __lseek as an alias.
18700
18701 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18702
18703 2013-02-04 Carlos O'Donell <carlos@redhat.com>
18704
18705 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18706 else clause and remove check for non-standard endianness.
18707
18708 2013-02-04 David S. Miller <davem@davemloft.net>
18709
18710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18711
18712 2013-02-04 Joseph Myers <joseph@codesourcery.com>
18713
18714 [BZ #13550]
18715 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18716 (__ubp_memchr): Remove prototype.
18717 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18718 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18719 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18720 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18721 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18722 Remove alias.
18723 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18724 (__ubp_memchr): Likewise.
18725 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18726 (__ubp_memchr): Likewise.
18727 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18728 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18729 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18730 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18731 CHECK_STRING.
18732 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18733 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18734 (__getcwd): Do not use CHECK_STRING.
18735 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18736 <bp-checks.h>.
18737 (__real_chown): Do not use CHECK_STRING.
18738 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18739 <bp-checks.h>.
18740 (fchownat): Do not use CHECK_STRING.
18741 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18742 CHECK_STRING.
18743 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18744 <bp-checks.h>.
18745 (__lchown): Do not use CHECK_STRING.
18746 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18747 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18748 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18749 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18751 include <bp-checks.h>.
18752 (truncate64): Do not use CHECK_STRING.
18753 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18754 <bp-checks.h>.
18755 (__real_chown): Do not use CHECK_STRING.
18756 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18757 <bp-checks.h>.
18758 (__lchown): Do not use CHECK_STRING.
18759 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18760 <bp-checks.h>.
18761 (__chown): Do not use CHECK_STRING.
18762 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18763 <bp-checks.h>.
18764 (truncate64): Do not use CHECK_STRING.
18765 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18766 Likewise.
18767 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18768 (__xmknod): Do not use CHECK_STRING.
18769 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18770 <bp-checks.h>.
18771 (__xmknodat): Do not use CHECK_STRING.
18772 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18773 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18774
18775 2013-02-04 Andreas Schwab <schwab@suse.de>
18776
18777 [BZ #14142]
18778 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18779 * include/netdb.h: Likewise for h_errno.
18780 * elf/tst-stackguard1.c: Include <tls.h>.
18781
18782 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18783
18784 * elf/link.h (struct link_map): Extend the l_addr comment.
18785 * include/link.h (struct link_map): Likewise.
18786
18787 2013-02-01 Joseph Myers <joseph@codesourcery.com>
18788
18789 [BZ #13550]
18790 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18791 (BOUNDED_1): Remove macro.
18792 * debug/backtrace.c: Don't include <bp-checks.h>.
18793 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18794 (__backtrace): Likewise.
18795 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18796 <bp-checks.h>.
18797 (__backtrace): Don't use BOUNDED_1.
18798 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18799 <bp-checks.h>.
18800 (__backtrace): Don't use BOUNDED_1.
18801 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18802 (__backtrace): Don't use BOUNDED_1.
18803 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18804 (shmat): Don't use BOUNDED_N.
18805
18806 2013-01-31 Joseph Myers <joseph@codesourcery.com>
18807
18808 [BZ #13550]
18809 * sysdeps/generic/bp-start.h: Remove file.
18810 * csu/libc-start.c: Don't include <bp-start.h>.
18811 (LIBC_START_MAIN): Set up __environ directly instead of using
18812 INIT_ARGV_and_ENVIRON.
18813 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18814 <bp-start.h>.
18815
18816 [BZ #13550]
18817 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18818 definitions.
18819 (CHECK_FCNTL): Likewise.
18820 (CHECK_N_PAGES): Likewise.
18821
18822 [BZ #13550]
18823 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18824 definitions.
18825 (CHECK_SIGSET_NULL_OK): Likewise.
18826 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18827 <bp-checks.h>.
18828 (sigpending): Don't use CHECK_SIGSET.
18829 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18830 <bp-checks.h>.
18831 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18832 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18833 <bp-checks.h>.
18834 (do_sigsuspend): Don't use CHECK_SIGSET.
18835 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18836 use CHECK_SIGSET.
18837 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18838 (do_sigwait): Don't use CHECK_SIGSET.
18839 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18840 use CHECK_SIGSET.
18841 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18842 include <bp-checks.h>.
18843 (sigpending): Don't use CHECK_SIGSET.
18844 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18845 include <bp-checks.h>.
18846 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18847 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18848 <bp-checks.h>.
18849 (sigpending): Don't use CHECK_SIGSET.
18850 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18851 <bp-checks.h>.
18852 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18853
18854 [BZ #13550]
18855 * sysdeps/generic/bp-semctl.h: Remove file.
18856 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18857 <bp-checks.h> and <bp-semctl.h>.
18858 (__old_semctl): Don't use CHECK_SEMCTL.
18859 (__new_semctl): Likewise.
18860 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18861 and <bp-semctl.h>.
18862 (__old_semctl): Don't use CHECK_SEMCTL.
18863 (__new_semctl): Likewise.
18864 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18865 <bp-checks.h> and <bp-semctl.h>.
18866 (__old_semctl): Don't use CHECK_SEMCTL.
18867 (__new_semctl): Likewise.
18868 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18869 <bp-checks.h> and <bp-semctl.h>.
18870 (semctl): Don't use CHECK_SEMCTL.
18871
18872 [BZ #13550]
18873 * Makerules (elide-bp-thunks): Remove variable.
18874 (elide-routines.oS): Don't use $(elide-bp-thunks).
18875 (elide-routines.os): Likewise.
18876 (elide-routines.o): Likewise.
18877 (elide-routines.op): Likewise.
18878 (elide-routines.og): Likewise.
18879 (objects): Don't use $(bp-thunks).
18880 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18881 include.
18882 (common-generated): Do not add s-proto-bp.d.
18883 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18884 (int): Likewise.
18885 (typ): Likewise.
18886 Do not generate makefile rules for bounded-pointer thunks.
18887 * sysdeps/generic/bp-thunks.h: Remove file.
18888 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18889 * sysdeps/unix/s-proto-bp.S: Likewise.
18890
18891 [BZ #15062]
18892 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18893 parts of result separately when argument is not close to line from
18894 -i to i and one part of argument is small.
18895 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18896 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18897 * math/libm-test.inc (cacos_test): Add more tests.
18898 (casin_test): Likewise.
18899 (casinh_test): Likewise.
18900 * sysdeps/i386/fpu/libm-test-ulps: Update.
18901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18902
18903 2013-01-31 David S. Miller <davem@davemloft.net>
18904
18905 * po/de.po: Update from translation team.
18906
18907 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18908
18909 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18910
18911 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18912
18913 * configure.in (_AC_PROG_CC_C89): New definition.
18914 * configure: Regenerate.
18915
18916 * configure.in (AC_PROG_CPP): New definition.
18917 * configure: Regenerate.
18918
18919 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18920
18921 * debug/tst-backtrace.h: New file.
18922 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18923 (ret): Remove variable.
18924 (x): Likewise.
18925 (FAIL): Remove macro.
18926 (NO_INLINE): Likewise.
18927 (fn1): Use match function instead of strstr.
18928 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18929 (ret): Remove variable.
18930 (x): Likewise.
18931 (FAIL): Remove macro.
18932 (NO_INLINE): Likewise.
18933 (fn): Use match function instead of strstr.
18934 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18935 (ret): Remove variable.
18936 (x): Likewise.
18937 (FAIL): Remove macro.
18938 (NO_INLINE): Likewise.
18939 (handle_signal): Use match function instead of strstr.
18940 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18941 (ret): Remove variable.
18942 (x): Likewise.
18943 (FAIL): Remove macro.
18944 (NO_INLINE): Likewise.
18945 (handle_signal): Use match function instead of strstr.
18946
18947 2013-01-23 Roland McGrath <roland@hack.frob.com>
18948
18949 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18950
18951 2013-01-23 David S. Miller <davem@davemloft.net>
18952
18953 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18954 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18955 argument of CAS if possible.
18956 * sysdeps/sparc/sparc64/bits/atomic.h
18957 (__arch_compare_and_exchange_val_32_acq): Likewise.
18958 (__arch_compare_and_exchange_val_64_acq): Likewise.
18959
18960 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18961
18962 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18963 * sysdeps/posix/ulimit.c: ... this.
18964 Include <limits.h>.
18965 * sysdeps/unix/bsd/ulimit.c: Remove file.
18966
18967 2013-01-23 Adam Conrad <adconrad@0c3.net>
18968
18969 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18970 (LDFLAGS-tst-array5): Likewise.
18971
18972 2013-01-23 Joseph Myers <joseph@codesourcery.com>
18973
18974 [BZ #15036]
18975 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18976 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18977 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18978 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18979
18980 2013-01-21 David S. Miller <davem@davemloft.net>
18981
18982 * sysdeps/sparc/backtrace.c: New file.
18983 * sysdeps/sparc/sparc32/backtrace.h: New file.
18984 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18985 * sysdeps/sparc/sparc64/backtrace.h: New file.
18986 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18987 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18988 -funwind-tables.
18989
18990 2013-01-21 Andreas Schwab <schwab@suse.de>
18991
18992 [BZ #15020]
18993 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18994 closed its stdout.
18995
18996 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18997
18998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18999 "mpa2.h".
19000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19001
19002 2013-01-18 Joseph Myers <joseph@codesourcery.com>
19003 Mark Mitchell <mark@codesourcery.com>
19004 Tom de Vries <tom@codesourcery.com>
19005 Paul Pluzhnikov <ppluzhnikov@google.com>
19006
19007 * debug/tst-backtrace2.c: New file.
19008 * debug/tst-backtrace3.c: Likewise.
19009 * debug/tst-backtrace4.c: Likewise.
19010 * debug/tst-backtrace5.c: Likewise.
19011 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
19012 (CFLAGS-tst-backtrace3.c): Likewise.
19013 (CFLAGS-tst-backtrace4.c): Likewise.
19014 (CFLAGS-tst-backtrace5.c): Likewise.
19015 (LDFLAGS-tst-backtrace2): Likewise.
19016 (LDFLAGS-tst-backtrace3): Likewise.
19017 (LDFLAGS-tst-backtrace4): Likewise.
19018 (LDFLAGS-tst-backtrace5): Likewise.
19019 (tests): Add new tests tst-backtrace2, tst-backtrace3,
19020 tst-backtrace4 and tst-backtrace5.
19021
19022 2013-01-18 Anton Blanchard <anton@samba.org>
19023 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19024
19025 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
19026 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
19027 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
19028 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
19029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19030 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
19031 "+r" and remove output regs list as redundant. Add explicit inline
19032 asm to specify register of return val to work around compiler codegen
19033 bug. Remove (int) cast on return value. Add return type parameter to
19034 use in macro so that this macro does not truncate return value for
19035 64-bit values.
19036 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
19037 pass to INTERNAL_VSYSCALL_NCS.
19038 (INLINE_VSYSCALL): Add 'long int' as return type to
19039 INTERNAL_VSYSCALL_NCS macro invocation.
19040 (INTERNAL_VSYSCALL): Add 'long int' as return type to
19041 INTERNAL_VSYSCALL_NCS macro invocation.
19042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19043
19044 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
19045
19046 [BZ #14496]
19047 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
19048 Fix application of SIMD FP exception mask.
19049
19050 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
19051 mp_no from a power of two.
19052 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
19053 __mpexp_twomm1. Use __pow_mp.
19054
19055 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
19056 multiplication.
19057
19058 2013-01-17 David S. Miller <davem@davemloft.net>
19059
19060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19061
19062 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19063
19064 [BZ #15023]
19065 * include/complex.h: Condition contents on [!_COMPLEX_H].
19066 (__kernel_casinhf): New prototype.
19067 (__kernel_casinh): Likewise.
19068 (__kernel_casinhl): Likewise.
19069 * math/Makefile (libm_calls): Add k_casinh.
19070 * math/k_casinh.c: New file.
19071 * math/k_casinhf.c: Likewise.
19072 * math/k_casinhl.c: Likewise.
19073 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
19074 finite nonzero arguments.
19075 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
19076 finite nonzero arguments.
19077 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
19078 finite nonzero arguments.
19079 * math/s_casinh.c: Do not include <float.h>.
19080 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
19081 * math/s_casinhf.c: Do not include <float.h>.
19082 (__casinhf): Move code for finite nonzero arguments to
19083 k_casinhf.c.
19084 * math/s_casinhl.c: Do not include <float.h>.
19085 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
19086 redefine.
19087 (__casinhl): Move code for finite nonzero arguments to
19088 k_casinhl.c.
19089 * math/libm-test.inc (cacos_test): Add more tests.
19090 * sysdeps/i386/fpu/libm-test-ulps: Update.
19091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19092
19093 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
19094
19095 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
19096 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
19097 [!HAVE_MREMAP]: Remove [defined linux] case.
19098 * malloc/arena.c: Do not include <malloc-sysdep.h>.
19099
19100 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
19101
19102 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
19103
19104 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
19105
19106 * elf/elf.h (R_386_SIZE32): New relocation.
19107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
19108 R_386_SIZE32.
19109 (elf_machine_rela): Likewise.
19110 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19111 R_X86_64_SIZE64 and R_X86_64_SIZE32.
19112
19113 2013-01-17 Joseph Myers <joseph@codesourcery.com>
19114
19115 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
19116 (FP_FAST_FMA): Do not define.
19117 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
19118 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
19119 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
19120 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
19121 !_SOFT_FLOAT]: Likewise.
19122 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
19123 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
19124 value.
19125 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
19126 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
19127 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
19128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
19129 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
19130 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
19131 file.
19132
19133 2013-01-16 Andreas Schwab <schwab@suse.de>
19134
19135 [BZ #14327]
19136 * include/stdlib.h (__mktemp): Add declaration.
19137 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
19138 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
19139
19140 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19141
19142 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
19143 definitions.
19144 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19145 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
19146 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
19147 definitions here.
19148 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
19149 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
19150 definitions.
19151 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
19152 and ONE.
19153 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
19154 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
19155 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
19156 definitions.
19157 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
19158 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
19159 definitions.
19160 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19161
19162 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
19163
19164 2013-01-15 David S. Miller <davem@davemloft.net>
19165
19166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19167 trunc{,f} to libm-sysdep_routes.
19168 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
19170 file.
19171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
19172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
19173 file.
19174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
19175 file.
19176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
19177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
19178 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
19179 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
19180 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
19181 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
19182 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
19183 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
19184
19185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19186 nearbyint{,f} to libm-sysdep_routes.
19187 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
19189 New file.
19190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
19191 file.
19192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
19193 New file.
19194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
19195 file.
19196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
19197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
19198 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
19199 file.
19200 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
19201 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
19202 file.
19203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
19204 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
19205 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
19206
19207 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
19208 libc_feholdexcept and libc_fesetenv.
19209
19210 2013-01-15 Mike Frysinger <vapier@gentoo.org>
19211
19212 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
19213
19214 2013-01-14 David S. Miller <davem@davemloft.net>
19215
19216 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
19217 (SPARC_ASM_VIS2_IFUNC): Likewise.
19218 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
19219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
19220 use of 'siam' instruction.
19221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
19222 Likewise.
19223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
19224 Likewise.
19225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
19226 Likewise.
19227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19229 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19230 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
19232 file.
19233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
19234 file.
19235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
19236 file.
19237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
19238 file.
19239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
19240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
19241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
19242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
19243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
19244 new VIS2 routines.
19245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
19248 Likewise.
19249 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19250 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19252 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
19254 routines to libm-sysdep_routines.
19255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19256
19257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19258 fdim/fdimf to libm-sysdep_routines.
19259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19260 file.
19261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19263 file.
19264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19267 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19268 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19269 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19270 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19271
19272 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19273
19274 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19275 to optimize copies.
19276
19277 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19280
19281 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19282 local variable MPTWO.
19283 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19284 Likewise.
19285
19286 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19287
19288 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19289 GLOB_NOESCAPE.
19290
19291 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19292
19293 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19294
19295 2013-01-13 Mike Frysinger <vapier@gentoo.org>
19296
19297 * manual/pattern.texi (glob_t): Document gl_flags.
19298 (glob64_t): Likewise.
19299
19300 2013-01-11 David S. Miller <davem@davemloft.net>
19301
19302 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19303 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19304 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
19305 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19306 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19307 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19308 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19309 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19310 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19311 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19312 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19313 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19314 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19315
19316 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19317 sparc V9 rather than using V8 code.
19318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19320
19321 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19322 Move to...
19323 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19324 Here.
19325
19326 2013-01-11 Roland McGrath <roland@hack.frob.com>
19327
19328 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19329 not in the main loop.
19330 * configure: Regenerated.
19331
19332 2013-01-11 Joseph Myers <joseph@codesourcery.com>
19333
19334 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19335 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19336 to just #else.
19337 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19338 [!__GLIBC_HAVE_LONG_LONG] case.
19339 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19340 condition to just #else.
19341 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19342 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19343 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19344 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19345 unconditional.
19346 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19347 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19348 #elif condition to just #else.
19349 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19350 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19351 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19352 #elif condition to just #else.
19353
19354 2013-01-11 Steve Ellcey <sellcey@mips.com>
19355
19356 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19357 (EF_MIPS_ARCH_64): Fix value.
19358 (EF_MIPS_ARCH_32R2): New.
19359 (EF_MIPS_ARCH_64R2): New.
19360
19361 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19362
19363 * Makeconfig (+link-pie-before-libc): New.
19364 (+link-pie-after-libc): Likewise.
19365 (+link-pie-tests): Likewise.
19366 (+link-pie): Rewritten.
19367 (link-before-libc): Remove $(config-LDFLAGS).
19368 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19369 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19370 (config-LDFLAGS): Renamed to ...
19371 (rtld-LDFLAGS): This.
19372 (rtld-tests-LDFLAGS): New macro.
19373 (link-libc-rpath-link): Likewise.
19374 (link-libc-tests-rpath-link): Likewise.
19375 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19376 (link-libc): Prepand $(link-libc-rpath-link).
19377 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19378 (test-program-prefix): New macro.
19379 (test-via-rtld-prefix): Likewise.
19380 (test-program-cmd): Likewise.
19381 (host-test-program-cmd): Likewise.
19382 * Makefile ($(common-objpfx)testrun.sh): Replace
19383 $(run-program-prefix) with $(test-program-prefix).
19384 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19385 $(rtld-LDFLAGS).
19386 ($(common-objpfx)shlib.lds): Likewise.
19387 (build-module-helper): Likewise.
19388 ($(common-objpfx)format.lds): Likewise.
19389 * Rules (binaries-pie-tests): New.
19390 (binaries-pie-notests): Likewise.
19391 (binaries-pie): Rewritten.
19392 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19393 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19394 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19395 (make-test-out): Replace $(host-built-program-cmd) with
19396 $(host-test-program-cmd).
19397 * config.make.in (build-hardcoded-path-in-tests): New variable.
19398 * configure.in (--enable-hardcoded-path-in-tests): New configure
19399 option.
19400 (hardcoded_path_in_tests): New AC_SUBST.
19401 * configure: Regenerated.
19402 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19403 $(built-program-cmd) with $(test-program-cmd).
19404 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19405 (test_program_cmd): This.
19406 * elf/Makefile ($(objpfx)order.out): Run test with
19407 $(test-program-prefix).
19408 ($(objpfx)order2.out): Likewise.
19409 ($(objpfx)tst-initorder.out): Likewise.
19410 ($(objpfx)tst-initorder2.out): Likewise.
19411 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19412 $(test-program-cmd).
19413 ($(objpfx)tst-array1-static.out): Likewise.
19414 ($(objpfx)tst-array2.out): Likewise.
19415 ($(objpfx)tst-array3.out): Likewise.
19416 ($(objpfx)tst-array4.out): Likewise.
19417 ($(objpfx)tst-array5.out): Likewise.
19418 ($(objpfx)tst-array5-static.out): Likewise.
19419 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19420 $(test-program-cmd).
19421 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19422 $(run-program-prefix) with $(test-program-prefix).
19423 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19424 (test_program_prefix): This.
19425 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19426 $(run-program-prefix) with $(test-program-prefix).
19427 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19428 (test_program_prefix): This.
19429 * iconvdata/tst-tables.sh: Likewise.
19430 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19431 $(run-program-prefix) with $(test-program-prefix).
19432 ($(objpfx)tst-translit.out): Likewise.
19433 ($(objpfx)tst-gettext2.out): Likewise.
19434 ($(objpfx)tst-gettext4.out): Likewise.
19435 ($(objpfx)tst-gettext6.out): Likewise.
19436 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19437 (test_program_prefix): This.
19438 * intl/tst-gettext2.sh: Likewise.
19439 * intl/tst-gettext4.sh Likewise.
19440 * intl/tst-gettext6.sh: Likewise.
19441 * intl/tst-translit.sh: Likewise.
19442 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19443 with $(test-program-cmd).
19444 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19445 $(run-program-prefix) with $(test-program-prefix).
19446 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19447 (test_program_prefix): This.
19448 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19449 $(run-program-prefix) with $(test-program-prefix).
19450 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19451 (test_program_prefix): This.
19452 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19453 * posix/Makefile ($(objpfx)globtest.out): Replace
19454 $(run-via-rtld-prefix) and $(test-wrapper) with
19455 $(test-program-prefix) and $(test-via-rtld-prefix).
19456 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19457 $(test-program-prefix).
19458 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19459 $(host-test-program-cmd).
19460 (tst-spawn-ARGS): Likewise.
19461 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19462 $(test-program-prefix).
19463 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19464 (test_via_rtld_prefix): This.
19465 (test_wrapper): Renamed to ...
19466 (test_program_prefix): This.
19467 (run_program_prefix): Replaced by test_program_prefix.
19468 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19469 (test_program_prefix): This.
19470 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19471 with $(host-test-program-cmd).
19472 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19473 $(run-program-prefix) with $(test-program-prefix).
19474 ($(objpfx)tst-printf.out): Likewise.
19475 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19476 $(test-program-cmd).
19477 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19478 (test_program_prefix): This.
19479 * stdio-common/tst-unbputc.sh: Likewise.
19480 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19481 $(run-program-prefix) with $(test-program-prefix).
19482 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19483 (test_program_prefix): This.
19484 * string/Makefile ($(objpfx)tst-svc.out): Replace
19485 $(built-program-cmd) with $(test-program-cmd).
19486
19487 2013-01-11 Andreas Jaeger <aj@suse.de>
19488
19489 [BZ #15003]
19490 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19491 value. Sync with Linux 3.7.
19492
19493 2013-01-10 David S. Miller <davem@davemloft.net>
19494
19495 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19496 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19497 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19498
19499 2013-01-10 Roland McGrath <roland@hack.frob.com>
19500
19501 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19502 never set.
19503 * configure: Regenerated.
19504
19505 2013-01-10 David S. Miller <davem@davemloft.net>
19506
19507 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19508 sparc V9 rather than using V8 code.
19509 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19510 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19511
19512 2013-01-10 Roland McGrath <roland@hack.frob.com>
19513
19514 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19515 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19516 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19517 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19518 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19519 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19520 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19521 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19522 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19523 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19524 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19525 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19526 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19527 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19528 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19529 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19530 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19531 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19532 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19533 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19534 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19535 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19536 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19537 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19538 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19539 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19540 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19541
19542 2013-01-10 David S. Miller <davem@davemloft.net>
19543
19544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19545
19546 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19547
19548 * posix/Makefile (tests-static): New variable.
19549 (tests): Add $(tests-static).
19550 (tst-exec-static-ARGS): New variable.
19551 (tst-spawn-static-ARGS): Likewise.
19552 * posix/tst-exec-static.c: New file.
19553 * posix/tst-spawn-static.c: Likewise.
19554 * posix/tst-exec.c: Support run directly.
19555 * posix/tst-spawn.c: Likewise.
19556
19557 2013-01-10 Joseph Myers <joseph@codesourcery.com>
19558
19559 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19560 long.
19561 * math/bits/mathcalls.h (llrint): Likewise.
19562 (llround): Likewise.
19563 * stdlib/stdlib.h (struct drand48_data): Likewise.
19564 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19565 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19566 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19567 Likewise.
19568 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19569 Likewise.
19570 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19571 (elf_greg_t): Likewise.
19572 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19573 (__jmp_buf): Likewise.
19574 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19575 definitions.
19576 (llrint): Likewise, for all definitions.
19577 (llrintl): Likewise.
19578
19579 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19580 Remove [__GNUC__] condition.
19581 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19582 condition to just [__USE_ISOC99].
19583 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19584
19585 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19586
19587 [BZ #14200]
19588 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19589 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19590 defined.
19591 (_POSIX_V6_ILP32_OFF32): Likewise.
19592 (_XBS5_ILP32_OFF32): Likewise.
19593 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19594 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19595
19596 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19597
19598 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19599
19600 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19601 doubles __mpexp_twomm1. Adjust usage.
19602 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19603 Remove.
19604
19605 2013-01-10 Andreas Schwab <schwab@suse.de>
19606
19607 [BZ #14964]
19608 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19609 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19610
19611 2013-01-09 David S. Miller <davem@davemloft.net>
19612
19613 [BZ #15003]
19614 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
19615 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
19616 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
19617 (TCP_FASTOPEN): Define.
19618 (tcp_repair_opt): New structure.
19619 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19620 enum values.
19621 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
19622 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
19623 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19624 (tcp_cookie_transactions): New structure.
19625
19626 2013-01-09 Anton Blanchard <anton@samba.org>
19627
19628 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19629 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19630 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19631 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19632
19633 2013-01-09 Joseph Myers <joseph@codesourcery.com>
19634
19635 * include/features.h (__USE_ANSI): Remove.
19636
19637 2013-01-09 Roland McGrath <roland@hack.frob.com>
19638
19639 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19640
19641 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19642
19643 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19644
19645 * sysdeps/s390/fpu/libm-test-ulps: Update.
19646
19647 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19648
19649 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19650 (__acr): Likewise.
19651 (__cpy): Likewise.
19652 (norm): Likewise.
19653 (denorm): Likewise.
19654 (__mp_dbl): Likewise.
19655 (__dbl_mp): Likewise.
19656 (add_magnitudes): Likewise.
19657 (sub_magnitudes): Likewise.
19658 (__add): Likewise.
19659 (__sub): Likewise.
19660 (__mul): Likewise.
19661 (__inv): Likewise.
19662 (__dvd): Likewise.
19663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19664 (__acr): Likewise.
19665 (__cpy): Likewise.
19666 (norm): Likewise.
19667 (denorm): Likewise.
19668 (__mp_dbl): Likewise.
19669 (__dbl_mp): Likewise.
19670 (add_magnitudes): Likewise.
19671 (sub_magnitudes): Likewise.
19672 (__add): Likewise.
19673 (__sub): Likewise.
19674 (__mul): Likewise.
19675 (__inv): Likewise.
19676 (__dvd): Likewise.
19677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19678 (__acr): Likewise.
19679 (__cpy): Likewise.
19680 (norm): Likewise.
19681 (denorm): Likewise.
19682 (__mp_dbl): Likewise.
19683 (__dbl_mp): Likewise.
19684 (add_magnitudes): Likewise.
19685 (sub_magnitudes): Likewise.
19686 (__add): Likewise.
19687 (__sub): Likewise.
19688 (__mul): Likewise.
19689 (__inv): Likewise.
19690 (__dvd): Likewise.
19691
19692 2013-01-08 Joseph Myers <joseph@codesourcery.com>
19693
19694 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19695 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19696 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19697 2 && __USE_EXTERN_INLINES]: Likewise.
19698
19699 2013-01-08 Andreas Jaeger <aj@suse.de>
19700
19701 [BZ# 14985]
19702 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19703 Remove.
19704 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19705 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19706
19707 2013-01-07 Anton Blanchard <anton@samba.org>
19708
19709 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19710 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19711 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19712 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19713 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19714 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19715 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19716 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19718 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19719 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19720 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19721 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19722 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19723 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19724 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19725 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19726 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19727 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19728 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19730 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19731 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19732 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19733 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19734 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19736 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19737 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19738 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19739 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19742 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19743 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19744 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19745 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19746 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19747 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19748 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19749 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19750 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19751 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19752
19753 2013-01-07 Joseph Myers <joseph@codesourcery.com>
19754
19755 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19756 (__MALLOC_PMT): Likewise.
19757 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19758 [__GNUC__], only on [_LIBC].
19759 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19760 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19761 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19762 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19763 forward declaration.
19764 (realloc_hook_ini): Likewise.
19765 (memalign_hook_ini): Likewise.
19766 (__libc_memalign): Do not use __MALLOC_PMT in variable
19767 declaration.
19768 (__libc_valloc): Likewise.
19769 (__libc_pvalloc): Likewise.
19770 (__libc_calloc): Likewise.
19771 (__posix_memalign): Likewise.
19772
19773 [BZ #14996]
19774 * math/s_casinh.c: Include <float.h>.
19775 (__casinh): Do not do computation with squaring and square root
19776 for large arguments.
19777 * math/s_casinhf.c: Include <float.h>.
19778 (__casinhf): Do not do computation with squaring and square root
19779 for large arguments.
19780 * math/s_casinhl.c: Include <float.h>.
19781 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19782 (__casinhl): Do not do computation with squaring and square root
19783 for large arguments.
19784 * math/libm-test.inc (casin_test): Add more tests.
19785 (casinh_test): Likewise.
19786 * sysdeps/i386/fpu/libm-test-ulps: Update.
19787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788
19789 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19790
19791 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19792 (__x86_64_raw_data_cache_size): Likewise.
19793 (__x86_64_data_cache_size_half): Likewise.
19794 (__x86_64_raw_data_cache_size_half): Likewise.
19795 (__x86_64_shared_cache_size): Likewise.
19796 (__x86_64_raw_shared_cache_size): Likewise.
19797 (__x86_64_shared_cache_size_half): Likewise.
19798 (__x86_64_raw_shared_cache_size_half): Likewise.
19799 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19800 to ...
19801 (__x86_data_cache_size): This.
19802 (__x86_64_raw_data_cache_size): Renamed to ...
19803 (__x86_raw_data_cache_size): This.
19804 (__x86_64_data_cache_size_half): Renamed to ...
19805 (__x86_data_cache_size_half): This.
19806 (__x86_64_raw_data_cache_size_half): Renamed to ...
19807 (__x86_raw_data_cache_size_half): This.
19808 (__x86_64_shared_cache_size): Renamed to ...
19809 (__x86_shared_cache_size): This.
19810 (__x86_64_raw_shared_cache_size): Renamed to ...
19811 (__x86_raw_shared_cache_size): This.
19812 (__x86_64_shared_cache_size_half): Renamed to ...
19813 (__x86_shared_cache_size_half): This.
19814 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19815 (__x86_raw_shared_cache_size_half): This.
19816 * sysdeps/x86_64/memcpy.S: Updated.
19817 * sysdeps/x86_64/memset.S: Likewise.
19818 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19819 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19820 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19821
19822 2013-01-04 David S. Miller <davem@davemloft.net>
19823
19824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19825
19826 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19827
19828 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19829 1 to avoid redefinition warning.
19830 (__USE_GNU): Don't define.
19831 (init_signaling_nan): Protoize.
19832
19833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19834
19835 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19836
19837 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19839 (__cpymn): Likewise.
19840 (norm): Remove commented code.
19841 (denorm): Likewise.
19842 (__mp_dbl): Likewise.
19843 (__inv): Likewise.
19844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19845 (__cpymn): Likewise.
19846 (norm): Remove commented code.
19847 (denorm): Likewise.
19848 (__mp_dbl): Likewise.
19849 (__inv): Likewise.
19850
19851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19852 mp_no value for 1.0 and 2.0.
19853 (norm): Use RADIXI instead of radixi.d.
19854 (denorm): Likewise.
19855 (__mul): Use 0.0 instead of zero.d.
19856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19857 mp_no value for 1.0 and 2.0.
19858 (norm): Use RADIXI instead of radixi.d.
19859 (denorm): Likewise.
19860 (__mul): Use 0.0 instead of zero.d.
19861
19862 2013-01-04 Joseph Myers <joseph@codesourcery.com>
19863
19864 [BZ #14994]
19865 * math/s_casinh.c (__casinh): Reduce finite argument to first
19866 quadrant then set signs of results at the end.
19867 * math/s_casinhf.c (__casinhf): Likewise.
19868 * math/s_casinhl.c (__casinhl): Likewise.
19869 * math/libm-test.inc (casin_test): Add more tests.
19870 (casinh_test): Likewise.
19871 * sysdeps/i386/fpu/libm-test-ulps: Update.
19872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19873
19874 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19875
19876 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19877
19878 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19879
19880 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19881 declarations.
19882 (denorm): Likewise.
19883 (__mp_dbl): Likewise.
19884 (__inv): Likewise.
19885
19886 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19887 and adjust the header comment.
19888
19889 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19890 variable name from declaration.
19891
19892 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19893
19894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19895 Initialize COMMON_CPUID_INDEX_7 element.
19896 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19897 (CPUID_RTM): Likewise.
19898 (HAS_RTM): Likewise.
19899 (COMMON_CPUID_INDEX_7): New enum.
19900
19901 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19902
19903 [BZ #14981]
19904 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19905 size is zero, record memory as freed.
19906
19907 2013-01-03 Andreas Jaeger <aj@suse.de>
19908
19909 * po/ia.po: Add new Interlingua translation.
19910
19911 2012-01-03 Allan McRae <allan@archlinux.org>
19912
19913 * locale/programs/localedef.c: Fix description of '--posix' flag.
19914
19915 2013-01-02 Joseph Myers <joseph@codesourcery.com>
19916
19917 * NEWS: Update dates in second copyright notice.
19918 * README: Update copyright dates in example.
19919 * manual/libc.texinfo: Update copyright dates.
19920 * scripts/test-installation.pl: Update copyright date in --version
19921 output.
19922
19923 * hurd/ctty-input.c: Fix copyright notice formatting.
19924 * hurd/ctty-output.c: Likewise.
19925 * hurd/dtable.c: Likewise.
19926 * hurd/hurd-raise.c: Likewise.
19927 * hurd/hurdprio.c: Likewise.
19928 * hurd/msgportdemux.c: Likewise.
19929 * misc/sys/file.h: Likewise.
19930 * misc/sys/ioctl.h: Likewise.
19931 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19932 * sysdeps/mach/hurd/chdir.c: Likewise.
19933 * sysdeps/mach/hurd/fchdir.c: Likewise.
19934 * sysdeps/mach/hurd/rename.c: Likewise.
19935 * sysdeps/mach/hurd/rmdir.c: Likewise.
19936 * sysdeps/mach/hurd/seekdir.c: Likewise.
19937 * sysdeps/mach/hurd/setsid.c: Likewise.
19938 * sysdeps/posix/wait3.c: Likewise.
19939
19940 * All files with FSF copyright notices: Update copyright dates
19941 using scripts/update-copyrights.
19942 * intl/plural.c: Regenerated.
19943 * locale/programs/charmap-kw.h: Likewise.
19944 * locale/programs/locfile-kw.h: Likewise.
19945
19946 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19947
19948 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19949 four values.
19950
19951 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19952 calculation loop and add branch prediction.
19953
19954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19955 check access beyond bounds of m1np.
19956
19957 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19958 MPTWO.
19959 (__inv): Remove local variable MPTWO to use the global
19960 constant.
19961 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19962 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19963 variable MPTWO.
19964 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19965 MP3HALFS static const.
19966
19967 2013-01-01 David S. Miller <davem@davemloft.net>
19968
19969 * po/ca.po: Update from translation team.
19970
19971 2013-01-01 Joseph Myers <joseph@codesourcery.com>
19972
19973 * scripts/update-copyrights: New file.
19974 * Makeconfig: Reformat copyright notice.
19975 * ctype/ctype.h: Likewise.
19976 * debug/swprintf_chk.c: Likewise.
19977 * elf/dl-cache.c: Likewise.
19978 * elf/dl-debug.c: Likewise.
19979 * elf/dl-object.c: Likewise.
19980 * grp/initgroups.c: Likewise.
19981 * hurd/Makefile: Likewise.
19982 * hurd/hurd/signal.h: Likewise.
19983 * hurd/hurdfault.c: Likewise.
19984 * hurd/hurdioctl.c: Likewise.
19985 * hurd/hurdlookup.c: Likewise.
19986 * hurd/intr-msg.c: Likewise.
19987 * iconv/gconv_open.c: Likewise.
19988 * libio/swprintf.c: Likewise.
19989 * locale/lc-ctype.c: Likewise.
19990 * locale/nl_langinfo.c: Likewise.
19991 * mach/Machrules: Likewise.
19992 * mach/Makefile: Likewise.
19993 * malloc/obstack.h: Likewise.
19994 * manual/Makefile: Likewise.
19995 * manual/tsort.awk: Likewise.
19996 * misc/bits/stab.def: Likewise.
19997 * nis/nis_print_group_entry.c: Likewise.
19998 * nis/nis_table.c: Likewise.
19999 * nis/nss_compat/compat-pwd.c: Likewise.
20000 * nis/nss_compat/compat-spwd.c: Likewise.
20001 * po/Makefile: Likewise.
20002 * posix/fnmatch.c: Likewise.
20003 * posix/regex.h: Likewise.
20004 * resolv/Makefile: Likewise.
20005 * resolv/nss_dns/dns-network.c: Likewise.
20006 * resolv/res_hconf.c: Likewise.
20007 * scripts/gen-sorted.awk: Likewise.
20008 * soft-fp/soft-fp.h: Likewise.
20009 * stdio-common/printf.h: Likewise.
20010 * stdlib/monetary.h: Likewise.
20011 * stdlib/random.c: Likewise.
20012 * stdlib/random_r.c: Likewise.
20013 * sysdeps/generic/Makefile: Likewise.
20014 * sysdeps/gnu/Makefile: Likewise.
20015 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
20016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20017 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
20018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20019 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
20020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
20022 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20023 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20024 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20025 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20026 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20027 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
20028 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
20029 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
20030 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
20031 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20032 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20033 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20034 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20035 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
20036 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
20037 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
20038 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
20039 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
20040 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
20041 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
20043 * sysdeps/mach/hurd/errnos.awk: Likewise.
20044 * sysdeps/mach/hurd/fork.c: Likewise.
20045 * sysdeps/mach/hurd/getcwd.c: Likewise.
20046 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
20047 * sysdeps/mach/hurd/mmap.c: Likewise.
20048 * sysdeps/mach/hurd/utimes.c: Likewise.
20049 * sysdeps/mach/hurd/xmknod.c: Likewise.
20050 * sysdeps/posix/profil.c: Likewise.
20051 * sysdeps/posix/readdir_r.c: Likewise.
20052 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20053 * sysdeps/powerpc/bits/setjmp.h: Likewise.
20054 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
20055 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20057 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
20058 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20059 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20060 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20061 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
20062 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20063 * sysdeps/pthread/lio_listio.c: Likewise.
20064 * sysdeps/sparc/dl-procinfo.h: Likewise.
20065 * sysdeps/unix/i386/sysdep.S: Likewise.
20066 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
20067 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
20068 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
20069 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
20070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20071 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
20072 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
20073 * sysdeps/unix/sysv/linux/speed.c: Likewise.
20074 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
20075 * sysdeps/wordsize-32/divdi3.c: Likewise.
20076 * time/sys/time.h: Likewise.
20077 * wcsmbs/Makefile: Likewise.
20078
20079 2013-01-01 David S. Miller <davem@davemloft.net>
20080
20081 * po/fr.po: Update from translation team.
20082
20083 * catgets/gencat.c: Update copyright year.
20084 * csu/version.c: Likewise.
20085 * debug/catchsegv.sh: Likewise.
20086 * debug/pcprofiledump.c: Likewise.
20087 * debug/xtrace.sh: Likewise.
20088 * elf/ldconfig.c: Likewise.
20089 * elf/ldd.bash.in: Likewise.
20090 * elf/pldd.c: Likewise.
20091 * elf/sotruss.ksh: Likewise.
20092 * elf/sprof.c: Likewise.
20093 * iconv/iconv_prog.c: Likewise.
20094 * iconv/iconvconfig.c: Likewise.
20095 * locale/programs/locale.c: Likewise.
20096 * locale/programs/localedef.c: Likewise.
20097 * login/programs/pt_chown.c: Likewise.
20098 * malloc/memusage.sh: Likewise.
20099 * malloc/memusagestat.c: Likewise.
20100 * malloc/mtrace.pl: Likewise.
20101 * nscd/nscd.c: Likewise.
20102 * nss/getent.c: Likewise.
20103 * nss/makedb.c: Likewise.
20104 * posix/getconf.c: Likewise.
20105
20106 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20107
20108 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
20109 numbers.
20110
20111 2012-12-30 Mike Frysinger <vapier@gentoo.org>
20112
20113 * math/bits/mathcalls.h (modf): Use __nonnull.
20114
20115 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20116
20117 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
20118 (split): Use macro CN instead of the bare value.
20119 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
20120 could be used.
20121 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
20122 instead of the bare value.
20123 (power1): Likewise.
20124
20125 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20126
20127 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
20128 __ATAN_TWOM.
20129 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20130
20131 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
20132 their values.
20133 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20134 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20135 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
20136 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20137
20138 2012-12-28 Andreas Jaeger <aj@suse.de>
20139
20140 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
20141 values are from Linux 3.7.
20142
20143 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
20144 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
20145
20146 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20147
20148 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
20149 TRUE case.
20150
20151 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
20152 (norm): Likewise.
20153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
20154 variables with preprocessor constants.
20155 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
20156 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
20157 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
20158
20159 2012-12-27 Bruno Haible <bruno@clisp.org>
20160
20161 [BZ #14317]
20162 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
20163 only if needed.
20164
20165 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20166
20167 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
20168 and use variable directly.
20169 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
20170
20171 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
20172 MPONE.
20173 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
20174 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
20175 variable MPONE.
20176 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20178 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
20179 include directive. Remove local variable MPONE.
20180 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
20181 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
20182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
20183
20184 2012-12-25 David S. Miller <davem@davemloft.net>
20185
20186 * version.h (RELEASE): Set to "development".
20187 (VERSION): Set to "2.17.90".
20188 * NEWS: Add 2.18 section.
20189
20190 2012-12-21 David S. Miller <davem@davemloft.net>
20191
20192 * po/hr.po: Update from translation team.
20193
20194 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20195
20196 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
20197
20198 2012-12-19 Steve Ellcey <sellcey@mips.com>
20199
20200 * NEWS: Mention new memcpy for MIPS.
20201
20202 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20203
20204 * manual/contrib.texi (Contributors): Spelling correction.
20205
20206 2012-12-15 David S. Miller <davem@davemloft.net>
20207
20208 * po/ru.po: Update from translation team.
20209
20210 2012-12-13 David S. Miller <davem@davemloft.net>
20211
20212 * NEWS: Mention IFUNC testsuite enhancements.
20213
20214 * po/pl.po: Update from translation team.
20215 * po/bg.po: Likewise.
20216
20217 * manual/contrib.texi (Contributors): Update entries for Hongjiu
20218 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
20219
20220 2012-12-11 David S. Miller <davem@davemloft.net>
20221
20222 * po/sv.po: Update from translation team.
20223
20224 * po/vi.po: Update from translation team.
20225
20226 * po/cs.po: Update from translation team.
20227
20228 * po/de.po: Update from translation team.
20229 * po/eo.po: Likewise.
20230 * po/nl.po: Likewise.
20231
20232 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20233
20234 [BZ #14246]
20235 * manual/argp.texi (Argp Helper Functions): Move node to follow
20236 Argp Parsing State.
20237
20238 [BZ #14872]
20239 * manual/conf.texi (Limits on File System Capacity): Mention if
20240 terminating null is included in the max size.
20241
20242 2012-12-10 Andreas Jaeger <aj@suse.de>
20243
20244 * po/cs.po: Update from translation team.
20245
20246 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20247
20248 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
20249 void pointer and cast to uintptr_t.
20250 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
20251 path.
20252 * sysdeps/s390/s390-64/memcpy.S: Likewise.
20253 * sysdeps/s390/s390-64/memset.S: Likewise.
20254
20255 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
20256
20257 [BZ #14833]
20258 * menual/message.texi (Message Translation): Fix typos.
20259 (Helper programs for gettext): Likewise.
20260
20261 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20262
20263 [BZ #14898]
20264 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20265 Change to -1.
20266
20267 2012-12-07 David S. Miller <davem@davemloft.net>
20268
20269 * po/libc.pot: Update.
20270
20271 2012-12-07 Richard Henderson <rth@redhat.com>
20272
20273 [BZ #10114]
20274 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20275 normal/normal case to before the switch.
20276 (_FP_DIV): Likewise.
20277
20278 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20279 Mike Frysinger <vapier@gentoo.org>
20280
20281 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20282 check for __NR_fadvise64_64.
20283
20284 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20285
20286 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20287 0, not just to plain "0" as a statement.
20288 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20289 with cw.
20290
20291 2012-12-06 Joseph Myers <joseph@codesourcery.com>
20292
20293 * NEWS: Use sourceware.org in Bugzilla URL.
20294
20295 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20296
20297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20298 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20299
20300 * stdio-common/tst-put-error.c (do_test): Add newline to the
20301 padded test to ensure flush.
20302
20303 2012-12-05 Jeff Law <law@redhat.com>
20304
20305 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20306
20307 2012-12-05 Joseph Myers <joseph@codesourcery.com>
20308
20309 * README: Don't refer to ports add-on as distributed separately.
20310 Mention AArch64 in list of systems supported in the ports add-on.
20311
20312 * LICENSES: Add more non-FSF copyright and license notices.
20313
20314 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20315 ((unused)).
20316
20317 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20318
20319 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20320 10000 as width of padded output.
20321
20322 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20323
20324 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20325
20326 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20327 variable LX with __attribute__ ((unused)).
20328 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20329 Likewise.
20330 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20331 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20332 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20333 with __attribute__ ((unused)).
20334
20335 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
20336
20337 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20338
20339 2012-12-04 Joseph Myers <joseph@codesourcery.com>
20340
20341 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20342 (CFLAGS-nldbl-acos.c): New variable.
20343 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20344 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20345 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20346 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20347 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20348 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20349 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20350 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20351 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20352 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20353 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20354 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20355 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20356 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20357 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20358 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20359 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20360 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20361 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20362 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20363 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20364 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20365 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20366 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20367 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20368 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20369 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20370 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20371 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20372 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20373 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20374 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20375 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20376 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20377 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20378 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20379 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20380 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20381 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20382 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20383 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20384 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20385 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20386 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20387 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20388 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20389 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20390 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20391 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20392 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20393 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20394 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20395 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20396 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20397 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20398 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20399 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20400 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20401 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20402 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20403 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20404 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20405 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20406 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20407 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20408 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20409 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20410 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20411 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20412 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20413 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20414 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20415 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20416 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20417 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20418 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20419 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20420 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20421 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20422 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20423 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20424 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20425 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20426 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20427 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20428 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20429 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20430 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20431 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20432 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20433 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20434 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20435 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20436 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20437 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20438 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20439 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20440
20441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20442 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20443
20444 [BZ #14914]
20445 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20446 whole low double instead of just low 47 bits when splitting values
20447 into two parts.
20448
20449 2012-12-03 Allan McRae <allan@archlinux.org>
20450
20451 * manual/stdio.texi (Predefined Printf Handlers): Remove
20452 @hsep and @vsep usage.
20453
20454 2012-12-03 Mike Frysinger <vapier@gentoo.org>
20455
20456 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20457 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20458
20459 2012-12-03 Jeff Law <law@redhat.com>
20460
20461 * time/sys/time.h (settimeofday): Do not mark TV argument
20462 as __nonnull.
20463
20464 2012-12-01 Mike Frysinger <vapier@gentoo.org>
20465
20466 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20467 when currently writing and seek to current position when not.
20468 * libio/Makefile (tests): Remove bug-fclose1.
20469 * libio/bug-fclose1.c: Delete.
20470
20471 2012-12-01 Joseph Myers <joseph@codesourcery.com>
20472
20473 * manual/arith.texi (feenableexcept): Fix typo.
20474 (fedisableexcept): Likewise.
20475
20476 2012-11-30 Roland McGrath <roland@hack.frob.com>
20477
20478 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20479 second, differently-typed declaration, rather than a cast.
20480
20481 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20482
20483 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20484 * include/rpc/svc.h: ... here.
20485
20486 2012-11-30 Aurelien Jarno <aurel32@debian.org>
20487
20488 [BZ #13013]
20489 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20490 depending n and resplen2 to catch cases where answer
20491 equals answerp2.
20492
20493 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20494
20495 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20496 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20497
20498 2012-11-29 Mike Frysinger <vapier@gentoo.org>
20499
20500 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20501
20502 2012-11-29 Roland McGrath <roland@hack.frob.com>
20503
20504 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20505
20506 2012-11-28 Jeff Law <law@redhat.com>
20507
20508 [BZ #13761]
20509 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20510 dataset_temporary. Track alloca usage into alloca_used.
20511 If dataset is large allocate and release it via malloc/free.
20512
20513 2012-06-04 Florian Weimer <fweimer@redhat.com>
20514
20515 [BZ #14197]
20516 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20517
20518 2012-11-28 David S. Miller <davem@davemloft.net>
20519
20520 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20521
20522 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20523
20524 [BZ #14803]
20525 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20526 of pi/2 rounded to nearest to 64 bits.
20527 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20528 nearest to 64 bits.
20529 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20530 bits.
20531
20532 2012-11-28 Jeff Law <law@redhat.com>
20533 Martin Osvald <mosvald@redhat.com>
20534
20535 [BZ #14889]
20536 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20537 * sunrpc/svc.c: Include time.h.
20538 (__svc_accept_failed): New function.
20539 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20540 any reason other than EINTR, call __svc_accept_failed.
20541 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20542 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20543
20544 2012-11-28 Andreas Schwab <schwab@suse.de>
20545
20546 * scripts/abilist.awk: Also handle indirect functions in .opd
20547 section.
20548
20549 2012-11-28 Joseph Myers <joseph@codesourcery.com>
20550
20551 [BZ #13881]
20552 * sysdeps/x86/fpu/powl_helper.c: New file.
20553 * sysdeps/x86/fpu/Makefile: Likewise.
20554 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20555 (p3): New object.
20556 (__ieee754_powl): Use __powl_helper for finite arguments except
20557 integer exponents below 8.
20558 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20559 (p3): New object.
20560 (__ieee754_powl): Use __powl_helper for finite arguments except
20561 integer exponents below 8.
20562 * math/libm-test.inc (pow_test): Add more tests and enable some
20563 previously disabled tests.
20564 * sysdeps/i386/fpu/libm-test-ulps: Update.
20565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20566
20567 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20568 Carlos O'Donell <carlos_odonell@mentor.com>
20569
20570 * nss/makedb.c (is_prime): Assert that input is odd and greater
20571 than 4. Note that fact in a comment too.
20572 (next_prime): Add 4 to input.
20573
20574 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20575
20576 [BZ #11741]
20577 * libio/Makefile (tests): Add test case tst-fwrite-error.
20578 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20579 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20580 * libio/tst-fwrite-error.c: New test case.
20581
20582 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20583
20584 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20585 before casting to void *.
20586 * include/libc-internal.h (__pointer_type): New macro.
20587 (__integer_if_pointer_type_sub): Likewise.
20588 (__integer_if_pointer_type): Likewise.
20589 (cast_to_integer): Likewise.
20590 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20591 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20592 before casting to atomic64_t.
20593 (atomic_exchange_acq): Likewise.
20594 (__arch_exchange_and_add_body): Likewise.
20595 (__arch_add_body): Likewise.
20596 (atomic_add_negative): Likewise.
20597 (atomic_add_zero): Likewise.
20598
20599 2012-11-26 Joseph Myers <joseph@codesourcery.com>
20600
20601 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20602 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20603 (add_fdes): Likewise.
20604 (linear_search_fdes): Likewise.
20605 (binary_search_unencoded_fdes): Likewise.
20606
20607 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20608
20609 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20610
20611 2012-11-24 Adam Conrad <adconrad@0c3.net>
20612
20613 * configure.in: Autodetect C++ header directories.
20614 * configure: Regenerated.
20615
20616 2012-11-23 Mike Frysinger <vapier@gentoo.org>
20617
20618 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20619
20620 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20621
20622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20623
20624 2012-11-22 Joseph Myers <joseph@codesourcery.com>
20625
20626 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20627 LDBL_MANT_DIG == 106]: Disable some tests.
20628 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20629 Likewise.
20630 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20631 Likewise.
20632
20633 [BZ #14871]
20634 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20635 input for small inputs. Return +/- pi/2 for large inputs.
20636 * math/libm-test.inc (atan_test): Add more tests.
20637
20638 * sysdeps/generic/unwind-dw2-fde-glibc.c
20639 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20640 __attribute__ ((unused)).
20641
20642 [BZ #14645]
20643 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20644 x * y if x and y are nonzero and z is zero.
20645
20646 [BZ #14811]
20647 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20648 nonzero exponents with absolute value below 0x1p-117 to +/-
20649 0x1p-117.
20650
20651 [BZ #14869]
20652 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20653 up arguments below 2**-450, not just those below 2**-500.
20654 * math/libm-test.inc (hypot_test): Add another test.
20655
20656 [BZ #14868]
20657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20658 Return a+b for ratio over 2**120, not 2**60.
20659 * math/libm-test.inc (hypot_test): Add another test.
20660
20661 * math/libm-test.inc (clog_test): Use
20662 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20663 (clog10_test): Likewise.
20664
20665 [BZ #6778]
20666 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20667
20668 2012-11-22 Andreas Schwab <schwab@suse.de>
20669
20670 * sysdeps/i386/fpu/libm-test-ulps: Update.
20671
20672 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20673
20674 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20675 printf output with newline.
20676
20677 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20678
20679 [BZ #14865]
20680 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20681 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20682 -z nodlopen, -z initfirst and -z execstack support.
20683 * configure: Regenerated.
20684
20685 * elf/elf.h (DF_1_NODIRECT): New macro.
20686 (DF_1_IGNMULDEF): Likewise.
20687 (DF_1_NOKSYMS): Likewise.
20688 (DF_1_NOHDR): Likewise.
20689 (DF_1_EDITED): Likewise.
20690 (DF_1_NORELOC): Likewise.
20691 (DF_1_SYMINTPOSE): Likewise.
20692 (DF_1_GLOBAUDIT): Likewise.
20693 (DF_1_SINGLETON): Likewise.
20694 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20695 DT_1_SUPPORTED_MASK bits.
20696 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20697
20698 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20699
20700 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20701
20702 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20703
20704 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20705 macro.
20706
20707 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20708 (sendmmsg): Move declarations...
20709 * socket/sys/socket.h: ... here.
20710 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20711 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20712 include it from...
20713 * socket/recvmmsg.c: ... this new file.
20714 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20715 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20716 definition of __sendmmsg hidden.
20717 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20718 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20719 Move ENOSYS stub into and include it from...
20720 * socket/sendmmsg.c: ... this new file.
20721 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20722 (sysdep_routines): Move recvmmsg and sendmmsg...
20723 * socket/Makefile (routines): ... here.
20724 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20725 (GLIBC_PRIVATE): Add __sendmmsg.
20726 * include/sys/socket.h (__sendmmsg): Add declarations.
20727 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20728 sendmmsg.
20729
20730 2012-11-20 Joseph Myers <joseph@codesourcery.com>
20731
20732 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20733 variable I1 with __attribute__ ((unused)).
20734 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20735
20736 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20737
20738 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20739 DUMMY variables with __attribute__ ((unused)).
20740
20741 * bits/byteswap.h: Include <bits/types.h>.
20742 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20743
20744 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20745
20746 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20747 string_t. Do not manually set errno.
20748 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20749 length with __strnlen. Make sure to both set errno and return it on
20750 failure.
20751
20752 2012-11-19 David S. Miller <davem@davemloft.net>
20753
20754 With help from Joseph Myers.
20755 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20756 very large arguments properly.
20757 * math/libm-test.inc (atan_test): New tests.
20758 (atan2_test): New tests.
20759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20761
20762 2012-11-19 Joseph Myers <joseph@codesourcery.com>
20763
20764 [BZ #14856]
20765 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20766 Define to 3.
20767
20768 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20769 [POSIX] (EADDRNOTAVAIL): Likewise.
20770 [POSIX] (EAFNOSUPPORT): Likewise.
20771 [POSIX] (EALREADY): Likewise.
20772 [POSIX] (ECONNABORTED): Likewise.
20773 [POSIX] (ECONNREFUSED): Likewise.
20774 [POSIX] (ECONNRESET): Likewise.
20775 [POSIX] (EDESTADDRREQ): Likewise.
20776 [POSIX] (EDQUOT): Likewise.
20777 [POSIX] (EHOSTUNREACH): Likewise.
20778 [POSIX] (EIDRM): Likewise.
20779 [POSIX] (EISCONN): Likewise.
20780 [POSIX] (ELOOP): Likewise.
20781 [POSIX] (EMULTIHOP): Likewise.
20782 [POSIX] (ENETDOWN): Likewise.
20783 [POSIX] (ENETUNREACH): Likewise.
20784 [POSIX] (ENOBUFS): Likewise.
20785 [POSIX] (ENODATA): Likewise.
20786 [POSIX] (ENOLINK): Likewise.
20787 [POSIX] (ENOMSG): Likewise.
20788 [POSIX] (ENOPROTOOPT): Likewise.
20789 [POSIX] (ENOSR): Likewise.
20790 [POSIX] (ENOSTR): Likewise.
20791 [POSIX] (ENOTCONN): Likewise.
20792 [POSIX] (ENOTSOCK): Likewise.
20793 [POSIX] (EOPNOTSUPP): Likewise.
20794 [POSIX] (EOVERFLOW): Likewise.
20795 [POSIX] (EPROTO): Likewise.
20796 [POSIX] (EPROTONOSUPPORT): Likewise.
20797 [POSIX] (EPROTOTYPE): Likewise.
20798 [POSIX] (ESTALE): Likewise.
20799 [POSIX] (ETIME): Likewise.
20800 [POSIX] (ETXTBSY): Likewise.
20801 [POSIX] (EWOULDBLOCK): Likewise.
20802 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20803 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20804 [POSIX] (SEEK_CUR): Likewise.
20805 [POSIX] (SEEK_END): Likewise.
20806 [POSIX || UNIX98] (mode_t): Do not require.
20807 [POSIX] (off_t): Likewise.
20808 [POSIX] (pid_t): Likewise.
20809 [POSIX] (sys/stat.h): Do not allow header.
20810 [POSIX] (unistd.h): Likewise.
20811 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20812 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20813 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20814 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20815 require.
20816 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20817 sigevent): Specify elements.
20818 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20819 entry.
20820 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20821 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20822
20823 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20824 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20825 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20826 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20827 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20828 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20829 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20830 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20831 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20832 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20833 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20834 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20835 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20836 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20837 Likewise.
20838 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20839 Likewise.
20840 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20841 Likewise.
20842 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20843 Likewise.
20844 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20845 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20846 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20847 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20848 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20849 Specify lower bound on value.
20850 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20851 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20852 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20853 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20854 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20855 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20856 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20857 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20858 value.
20859 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20860 as optional.
20861 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20862 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20863 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20864 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20865 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20866 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20867 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20868 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20869 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20870 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20871 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20872 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20873 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20874 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20875 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20876 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20877 entry.
20878 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20879 optional.
20880 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20881 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20882 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20883 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20884 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20885 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20886 Likewise.
20887 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20888 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20889 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20890 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20891 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20892 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20893 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20894 as optional.
20895 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20896 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20897 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20898 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20899 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20900 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20901 specify as optional.
20902 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20903 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20904 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20905 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20906 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20907 [XPG3] (NL_LANGMAX): Likewise.
20908 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20909 [POSIX || XPG3] (NL_NMAX): Likewise.
20910 [POSIX || XPG3] (NL_SETMAX): Likewise.
20911 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20912 [XPG3] (NZERO): Likewise.
20913 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20914 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20915 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20916 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20917 (REG_ERANGE): Expect.
20918 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20919 optional-constant.
20920 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20921 Use (void) in prototype.
20922 [POSIX] (*_t): Allow.
20923 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20924 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20925 (WRDE_BADVAL): Expect.
20926
20927 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20928 expect.
20929 [XPG3 || XPG4] (O_RSYNC): Likewise.
20930 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20931 Likewise.
20932 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20933 [XPG3 || XPG4] (sigqueue): Likewise.
20934 [XPG3 || XPG4] (sigtimedwait): Likewise.
20935 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20936 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20937 [XPG3 || XPG4] (vsnprintf): Likewise.
20938 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20939 Likewise.
20940 [XPG3 || XPG4] (blksize_t): Likewise.
20941 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20942 Likewise.
20943 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20944 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20945 [XPG3 || XPG4] (struct itimerspec): Likewise.
20946 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20947 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20948 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20949 [XPG3 || XPG4] (clockid_t): Likewise.
20950 [XPG3 || XPG4] (timer_t): Likewise.
20951 [XPG3 || XPG4] (clock_getres): Likewise.
20952 [XPG3 || XPG4] (clock_gettime): Likewise.
20953 [XPG3 || XPG4] (clock_settime): Likewise.
20954 [XPG3 || XPG4] (nanosleep): Likewise.
20955 [XPG3 || XPG4] (timer_create): Likewise.
20956 [XPG3 || XPG4] (timer_delete): Likewise.
20957 [XPG3 || XPG4] (timer_gettime): Likewise.
20958 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20959 [XPG3 || XPG4] (timer_settime): Likewise.
20960 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20961 [XPG3 || XPG4] (getlogin_r): Likewise.
20962 [XPG3 || XPG4] (pread): Likewise.
20963 [XPG3 || XPG4] (pthread_atfork): Likewise.
20964 [XPG3 || XPG4] (pwrite): Likewise.
20965
20966 [BZ #14835]
20967 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20968 <bits/siginfo.h>.
20969
20970 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20971
20972 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20973 finalizing MALLSTREAM.
20974
20975 * sysdeps/mach/hurd/syncfs.c: New file.
20976
20977 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20978
20979 [BZ #14719]
20980 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20981 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20982 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20983 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20984 (_nss_dns_gethostbyname4_r): Likewise.
20985 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20986 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20987
20988 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20989
20990 [BZ #13763]
20991 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20992
20993 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20994
20995 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20996 * elf/cache.c (print_entry): Print ",AArch64" for
20997 FLAG_AARCH64_LIB64
20998
20999 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
21000 * elf/cache.c (print_entry): Print ",hard-float" for
21001 FLAG_ARM_LIBHF.
21002
21003 2012-11-18 David S. Miller <davem@davemloft.net>
21004
21005 With help from Joseph Myers.
21006 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
21007 cutoff to 2**-13.
21008 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
21009 cutoff to 2**-25.
21010 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
21011 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
21012 small.
21013 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
21014 * math/libm-test.inc (y0_test): New tests.
21015 (y1_test): New tests.
21016 * sysdeps/i386/fpu/libm-test-ulps: Update.
21017 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21018 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21019
21020 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
21021
21022 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
21023 64-bit targets.
21024 * configure: Regenerated.
21025
21026 2012-11-17 David S. Miller <davem@davemloft.net>
21027
21028 [BZ #14811]
21029 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
21030 nonzero exponents with absolute value below 0x1p-128 to +/-
21031 0x1p-128.
21032
21033 2012-11-17 Joseph Myers <joseph@codesourcery.com>
21034
21035 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
21036
21037 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
21038
21039 * posix/getconf-speclist.c: New file.
21040 * posix/posix-envs.def: Likewise.
21041 * posix/confstr.c (START_ENV_GROUP): New macro.
21042 (END_ENV_GROUP): Likewise.
21043 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21044 (KNOWN_PRESENT_ENV_STRING): Likewise.
21045 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21046 (UNKNOWN_ENVIRONMENT): Likewise.
21047 (confstr): Include posix-envs.def instead of handling
21048 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
21049 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
21050 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
21051 (END_ENV_GROUP): Likewise.
21052 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
21053 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
21054 (UNKNOWN_ENVIRONMENT): Likewise.
21055 (__sysconf): Include posix-envs.def instead of handling associated
21056 cases directly here.
21057 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
21058 preprocessing getconf-speclist.c rather than running getconf or
21059 generating empty file.
21060
21061 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
21062
21063 * scripts/check-local-headers.sh: Ignore 'mach' headers.
21064
21065 2012-11-16 Andrej Lajovic <natrij@gmail.com>
21066
21067 [BZ #14672]
21068 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
21069
21070 2012-11-16 David S. Miller <davem@davemloft.net>
21071
21072 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
21073 smaller than LDBL_EPSILON/2.0L, just return xm1.
21074
21075 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
21076
21077 * elf/tst-array1.c (init): Set constructor priority to 1000.
21078 (fini): Set destructor priority to 1000.
21079 * elf/tst-array2dep.c: Likewise.
21080
21081 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21082
21083 [BZ #11741]
21084 * libio/fileops.c (_IO_new_file_write): Correctly return error.
21085 (_IO_new_file_xsputn): Also return EOF if none of the input
21086 data was written when overflow failed.
21087 * libio/iopadn.c (_IO_padn): Likewise.
21088 * libio/iowpadn.c (_IO_wpadn): Likewise.
21089 * stdio-common/tst-put-error.c: Add copyright notice.
21090 (do_test): Add case for printing padded string.
21091 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
21092 _IO_padn returned error.
21093 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
21094 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
21095 return EOF.
21096
21097 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21098
21099 * libio/libioP.h: Add comment note that the references to C++
21100 bits are now obsolete.
21101
21102 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21103
21104 * math/libm-test.inc (check_complex): Use asprintf.
21105
21106 2012-11-14 Joseph Myers <joseph@codesourcery.com>
21107
21108 * debug/pcprofiledump.c (print_version): Update copyright year.
21109 * malloc/memusagestat.c (print_version): Likewise.
21110
21111 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
21112
21113 [BZ #14831]
21114 * elf/Makefile (tests): Add tst-audit8.
21115 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
21116 ($(objpfx)tst-audit8.out): New target.
21117 (tst-audit8-ENV): New variable.
21118 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
21119 audit if l_reloc_result is NULL.
21120 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
21121 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
21122 * elf/tst-audit8.c: New file.
21123
21124 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21125
21126 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
21127 * misc/Makefile (CFLAGS-select.c): Define.
21128 * posix/Makefile (CFLAGS-pause.c): Define.
21129
21130 2012-11-13 David S. Miller <davem@davemloft.net>
21131
21132 * crypt/Makefile: Move test targets after toplevel Rules
21133 inclusion. Grab any necessary sysdep routines when linking.
21134 * crypt/md5.c (md5_process_block): Remove define, we will always
21135 name it __md5_process_block.
21136 (md5_finish_ctx): Update md5_process_block call.
21137 (md5_stream): Likewise.
21138 (md5_process_bytes): Likewise.
21139 (md5_process_block): Rename to __md5_process_block and move to ...
21140 * crypt/md5-block.c: ... here.
21141 * crypt/sha256.c (sha256_process_block): Move to ...
21142 * crypt/sha256-block.c: ... here.
21143 * crypt/sha512.c (sha512_process_block): Move to ...
21144 * crypt/sha512-block.c: ... here.
21145 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
21146 path.
21147 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
21148 * sysdeps/sparc/sparc64/multiarch/Makefile
21149 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
21150 crypt subdir.
21151 (localedef-aux): Add md5 crypto assembler when in locale subdir.
21152 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
21153 multiarch changes.
21154 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
21155 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
21156 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
21157 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
21158 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
21159 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
21160 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
21161 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
21162 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
21163 file.
21164 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
21165 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
21166 file.
21167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
21168
21169 2012-11-13 Joseph Myers <joseph@codesourcery.com>
21170
21171 * timezone/tzselect.ksh: Update from tzcode git revision
21172 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
21173 * timezone/zdump.c: Likewise.
21174 * timezone/zic.c: Likewise.
21175 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
21176 in TZVERSION setting, not $(PKGVERSION).
21177 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
21178 REPORT_BUGS_TO settings.
21179
21180 [BZ #14838]
21181 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
21182 macro.
21183
21184 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21185
21186 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
21187 detection to immediately after _FP_ROUND().
21188 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
21189 bits are 0.
21190
21191 2012-11-11 David S. Miller <davem@davemloft.net>
21192
21193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
21194 inttypes.h
21195 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
21196 __close rather than their public counterparts.
21197
21198 2012-11-10 Joseph Myers <joseph@codesourcery.com>
21199
21200 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
21201 file.
21202 [UNIX98] (sem_timedwait): Do not expect.
21203 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
21204 [XPG4 || UNIX98] (sockatmark): Do not expect.
21205 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
21206 (clock_getcpuclockid): Do not expect.
21207 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
21208 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
21209 Do not expect.
21210 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
21211 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
21212 [UNIX98] (vwscanf): Likewise.
21213 [UNIX98] (vswscanf): Likewise.
21214
21215 2012-11-09 Joseph Myers <joseph@codesourcery.com>
21216
21217 * timezone/version.h: Remove file.
21218 * timezone/README: Do not refer to version.h.
21219 * timezone/Makefile ($(objpfx)zic.o): New dependency on
21220 $(objpfx)version.h.
21221 ($(objpfx)zdump.o): Likewise.
21222 ($(objpfx)version.h): New target.
21223
21224 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
21225 2012i.
21226 * timezone/README: Don't mention modification to tzselect.ksh.
21227 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
21228 work on unmodified tzselect.ksh. Substitute version numbers in
21229 tzselect.ksh.
21230
21231 * Makefile (format-me): Remove.
21232 (INSTALL): Adjust indentation. Use commands directly instead of
21233 using $(format-me).
21234
21235 * aclocal.m4 (ACX_PKGVERSION): New macro.
21236 (ACX_BUGURL): Likewise.
21237 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
21238 (PKGVERSION): New AC_DEFINE_UNQUOTED.
21239 (REPORT_BUGS_TO): Likewise.
21240 * configure: Regenerated.
21241 * config.h.in (PKGVERSION): New macro.
21242 (REPORT_BUGS_TO): Likewise.
21243 * config.make.in (PKGVERSION): New variable.
21244 (PKGVERSION_TEXI): Likewise.
21245 (REPORT_BUGS_TO): Likewise.
21246 (REPORT_BUGS_TEXI): Likewise.
21247 * Makefile (format-me): Use -I$(common-objpfx)manual.
21248 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
21249 ($(common-objpfx)manual/%): New target.
21250 (manual/%): Remove target.
21251 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
21252 (print_version): Use PKGVERSION.
21253 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
21254 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
21255 and REPORT_BUGS_TO.
21256 ($(objpfx)xtrace): Likewise.
21257 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21258 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21259 (print_version): Use PKGVERSION.
21260 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21261 (do_version): Use PKGVERSION.
21262 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21263 REPORT_BUGS_TO.
21264 (common-ldd-rewrite): Likewise.
21265 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21266 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21267 (print_version): Use PKGVERSION.
21268 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21269 * elf/pldd.c (argp_program_bug_address): Remove variable.
21270 (more_help): New function.
21271 (argp): Use more_help.
21272 (print_version): Use PKGVERSION.
21273 * elf/sln.c (main): Use PKGVERSION.
21274 (usage): Use REPORT_BUGS_TO.
21275 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21276 (top level): Use PKGVERSION.
21277 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21278 (print_version): Use PKGVERSION.
21279 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21280 (print_version): Use PKGVERSION.
21281 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21282 (print_version): Use PKGVERSION.
21283 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21284 (print_version): Use PKGVERSION.
21285 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21286 (print_version): Use PKGVERSION.
21287 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21288 (print_version): Use PKGVERSION.
21289 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21290 and BUGURL.
21291 ($(objpfx)memusage): Likewise.
21292 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21293 (do_version): Use PKGVERSION.
21294 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21295 (print_version): Use PKGVERSION.
21296 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21297 ($PKGVERSION): New variable.
21298 ($REPORT_BUGS_TO): Likewise.
21299 (usage): Use $REPORT_BUGS_TO.
21300 (top level): Use $PKGVERSION.
21301 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21302 ($(objpfx)pkgvers.texi): New rule.
21303 ($(objpfx)stamp-pkgvers): Likewise.
21304 * manual/install.texi: Include pkgvers.texi.
21305 (--with-pkgversion): Document new configure option.
21306 (--with-bugurl): Likewise.
21307 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21308 than necessarily for this particular distribution. Use
21309 REPORT_BUGS_TO for where to report bugs.
21310 * INSTALL: Regenerated.
21311 * manual/libc.texinfo: Include pkgvers.texi.
21312 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21313 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21314 (print_version): Use PKGVERSION.
21315 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21316 (print_version): Use PKGVERSION.
21317 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21318 (print_version): Use PKGVERSION.
21319 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21320 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21321 macro.
21322 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21323 (print_version): Use PKGVERSION.
21324 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21325 (print_version): Use PKGVERSION.
21326 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21327 and PKGVERSION.
21328
21329 * timezone/checktab.awk: Update from tzcode 2012i.
21330 * timezone/ialloc.c: Likewise.
21331 * timezone/private.h: Likewise.
21332 * timezone/scheck.c: Likewise.
21333 * timezone/tzfile.h: Likewise.
21334 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21335 (TZVERSION): Hardcode tzcode version number.
21336 * timezone/zdump.c: Update from tzcode 2012i.
21337 * timezone/zic.c: Likewise.
21338 * timezone/version.h: New file.
21339 * timezone/README: Describe version.h. Update upstream location.
21340
21341 [BZ #14824]
21342 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21343 (mktemp): Enable declaration.
21344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21345 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21347 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21348 Likewise.
21349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21350 Likewise.
21351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21352 Likewise.
21353 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21354 Likewise.
21355 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21356 Likewise.
21357 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21358 Likewise.
21359
21360 [BZ #14821]
21361 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21362 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21363 for copies of such integer values.
21364 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21365 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21366
21367 2012-11-09 Andreas Jaeger <aj@suse.de>
21368
21369 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21370 definitions and declarations that are provided by
21371 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21372
21373 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21374
21375 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
21376 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21377 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21378 definition.
21379
21380 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21381
21382 * elf/elf.h: Update comment before AArch64 relocations.
21383
21384 2012-11-07 David S. Miller <davem@davemloft.net>
21385
21386 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21387 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21388 (__start_context): Declare.
21389 (__makecontext_ret): Delete.
21390 (__makecontext): Hook up __start_context instead of
21391 __makecontext_ret.
21392 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21393 (sysdep_routines): Add __start_context when in stdlib.
21394
21395 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21396
21397 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21398 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21399 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21400 hardcoded "nm".
21401 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21402 (READELF): New variable. Use it instead of hardcoded "readelf".
21403
21404 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21405
21406 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21407 * sysdeps/x86/Makefile: Here.
21408 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21409 * sysdeps/x86/tst-xmmymm.sh: This.
21410
21411 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21412
21413 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21414 expectations.
21415 [UNIX98] (pthread_barrier_t): Do not expect.
21416 [UNIX98] (pthread_barrierattr_t): Likewise.
21417 [UNIX98] (pthread_spinlock_t): Likewise.
21418 [UNIX98] (pthread_barrier_destroy): Likewise.
21419 [UNIX98] (pthread_barrier_init): Likewise.
21420 [UNIX98] (pthread_barrier_wait): Likewise.
21421 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21422 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21423 [UNIX98] (pthread_barrierattr_init): Likewise.
21424 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21425 [UNIX98] (pthread_getcpuclockid): Likewise.
21426 [UNIX98] (pthread_mutex_timedlock): Likewise.
21427 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21428 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21429 [UNIX98] (pthread_sigmask): Likewise.
21430 [UNIX98] (pthread_spin_destroy): Likewise.
21431 [UNIX98] (pthread_spin_init): Likewise.
21432 [UNIX98] (pthread_spin_lock): Likewise.
21433 [UNIX98] (pthread_spin_trylock): Likewise.
21434 [UNIX98] (pthread_spin_unlock): Likewise.
21435 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21436 Do not expect.
21437 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21438 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21439 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21440 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21441 [XPG3 || XPG4] (pthread_key_t): Likewise.
21442 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21443 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21444 [XPG3 || XPG4] (pthread_once_t): Likewise.
21445 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21446 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21447 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21448 [XPG3 || XPG4] (pthread_t): Likewise.
21449
21450 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21451 not expect.
21452 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21453
21454 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21455 Change function return type to int.
21456
21457 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21458 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21459 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21460 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21461 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21462 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21463 [!POSIX] (posix_madvise): Likewise.
21464 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21465 && !UNIX98].
21466 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21467 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21468 (mode_t): Likewise.
21469 (posix_mem_offset): Likewise.
21470 (posix_typed_mem_get_info): Likewise.
21471 (posix_typed_mem_open): Likewise.
21472
21473 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21474 Change condition to [XOPEN2K8].
21475
21476 * conform/conformtest.pl: Preprocess allow-header data with -x c
21477 instead of from stdin.
21478 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21479 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21480 [C99-based standards] (cerfc): Likewise.
21481 [C99-based standards] (cexp2): Likewise.
21482 [C99-based standards] (cexpm1): Likewise.
21483 [C99-based standards] (clog10): Likewise.
21484 [C99-based standards] (clog1p): Likewise.
21485 [C99-based standards] (clog2): Likewise.
21486 [C99-based standards] (clgamma): Likewise.
21487 [C99-based standards] (ctgamma): Likewise.
21488 [C99-based standards] (cerff): Likewise.
21489 [C99-based standards] (cerfcf): Likewise.
21490 [C99-based standards] (cexp2f): Likewise.
21491 [C99-based standards] (cexpm1f): Likewise.
21492 [C99-based standards] (clog10f): Likewise.
21493 [C99-based standards] (clog1pf): Likewise.
21494 [C99-based standards] (clog2f): Likewise.
21495 [C99-based standards] (clgammaf): Likewise.
21496 [C99-based standards] (ctgammaf): Likewise.
21497 [C99-based standards] (cerfl): Likewise.
21498 [C99-based standards] (cerfcl): Likewise.
21499 [C99-based standards] (cexp2l): Likewise.
21500 [C99-based standards] (cexpm1l): Likewise.
21501 [C99-based standards] (clog10l): Likewise.
21502 [C99-based standards] (clog1pl): Likewise.
21503 [C99-based standards] (clog2l): Likewise.
21504 [C99-based standards] (clgammal): Likewise.
21505 [C99-based standards] (ctgammal): Likewise.
21506 * conform/data/inttypes.h-data [C99-based standards]: Include
21507 stdint.h-data. Remove all expectations for stdint.h contents.
21508 [C99-based standards] (PRI*): Do not allow.
21509 [C99-based standards] (SCN*): Likewise.
21510 [C99-based standards] (*_t): Likewise.
21511 [C99-based-standards] (PRId8): Expect macro.
21512 [C99-based-standards] (PRIi8): Likewise.
21513 [C99-based-standards] (PRIo8): Likewise.
21514 [C99-based-standards] (PRIu8): Likewise.
21515 [C99-based-standards] (PRIx8): Likewise.
21516 [C99-based-standards] (PRIX8): Likewise.
21517 [C99-based-standards] (SCNd8): Likewise.
21518 [C99-based-standards] (SCNi8): Likewise.
21519 [C99-based-standards] (SCNo8): Likewise.
21520 [C99-based-standards] (SCNu8): Likewise.
21521 [C99-based-standards] (SCNx8): Likewise.
21522 [C99-based-standards] (PRIdLEAST8): Likewise.
21523 [C99-based-standards] (PRIiLEAST8): Likewise.
21524 [C99-based-standards] (PRIoLEAST8): Likewise.
21525 [C99-based-standards] (PRIuLEAST8): Likewise.
21526 [C99-based-standards] (PRIxLEAST8): Likewise.
21527 [C99-based-standards] (PRIXLEAST8): Likewise.
21528 [C99-based-standards] (SCNdLEAST8): Likewise.
21529 [C99-based-standards] (SCNiLEAST8): Likewise.
21530 [C99-based-standards] (SCNoLEAST8): Likewise.
21531 [C99-based-standards] (SCNuLEAST8): Likewise.
21532 [C99-based-standards] (SCNxLEAST8): Likewise.
21533 [C99-based-standards] (PRIdFAST8): Likewise.
21534 [C99-based-standards] (PRIiFAST8): Likewise.
21535 [C99-based-standards] (PRIoFAST8): Likewise.
21536 [C99-based-standards] (PRIuFAST8): Likewise.
21537 [C99-based-standards] (PRIxFAST8): Likewise.
21538 [C99-based-standards] (PRIXFAST8): Likewise.
21539 [C99-based-standards] (SCNdFAST8): Likewise.
21540 [C99-based-standards] (SCNiFAST8): Likewise.
21541 [C99-based-standards] (SCNoFAST8): Likewise.
21542 [C99-based-standards] (SCNuFAST8): Likewise.
21543 [C99-based-standards] (SCNxFAST8): Likewise.
21544 [C99-based-standards] (PRId16): Likewise.
21545 [C99-based-standards] (PRIi16): Likewise.
21546 [C99-based-standards] (PRIo16): Likewise.
21547 [C99-based-standards] (PRIu16): Likewise.
21548 [C99-based-standards] (PRIx16): Likewise.
21549 [C99-based-standards] (PRIX16): Likewise.
21550 [C99-based-standards] (SCNd16): Likewise.
21551 [C99-based-standards] (SCNi16): Likewise.
21552 [C99-based-standards] (SCNo16): Likewise.
21553 [C99-based-standards] (SCNu16): Likewise.
21554 [C99-based-standards] (SCNx16): Likewise.
21555 [C99-based-standards] (PRIdLEAST16): Likewise.
21556 [C99-based-standards] (PRIiLEAST16): Likewise.
21557 [C99-based-standards] (PRIoLEAST16): Likewise.
21558 [C99-based-standards] (PRIuLEAST16): Likewise.
21559 [C99-based-standards] (PRIxLEAST16): Likewise.
21560 [C99-based-standards] (PRIXLEAST16): Likewise.
21561 [C99-based-standards] (SCNdLEAST16): Likewise.
21562 [C99-based-standards] (SCNiLEAST16): Likewise.
21563 [C99-based-standards] (SCNoLEAST16): Likewise.
21564 [C99-based-standards] (SCNuLEAST16): Likewise.
21565 [C99-based-standards] (SCNxLEAST16): Likewise.
21566 [C99-based-standards] (PRIdFAST16): Likewise.
21567 [C99-based-standards] (PRIiFAST16): Likewise.
21568 [C99-based-standards] (PRIoFAST16): Likewise.
21569 [C99-based-standards] (PRIuFAST16): Likewise.
21570 [C99-based-standards] (PRIxFAST16): Likewise.
21571 [C99-based-standards] (PRIXFAST16): Likewise.
21572 [C99-based-standards] (SCNdFAST16): Likewise.
21573 [C99-based-standards] (SCNiFAST16): Likewise.
21574 [C99-based-standards] (SCNoFAST16): Likewise.
21575 [C99-based-standards] (SCNuFAST16): Likewise.
21576 [C99-based-standards] (SCNxFAST16): Likewise.
21577 [C99-based-standards] (PRId32): Likewise.
21578 [C99-based-standards] (PRIi32): Likewise.
21579 [C99-based-standards] (PRIo32): Likewise.
21580 [C99-based-standards] (PRIu32): Likewise.
21581 [C99-based-standards] (PRIx32): Likewise.
21582 [C99-based-standards] (PRIX32): Likewise.
21583 [C99-based-standards] (SCNd32): Likewise.
21584 [C99-based-standards] (SCNi32): Likewise.
21585 [C99-based-standards] (SCNo32): Likewise.
21586 [C99-based-standards] (SCNu32): Likewise.
21587 [C99-based-standards] (SCNx32): Likewise.
21588 [C99-based-standards] (PRIdLEAST32): Likewise.
21589 [C99-based-standards] (PRIiLEAST32): Likewise.
21590 [C99-based-standards] (PRIoLEAST32): Likewise.
21591 [C99-based-standards] (PRIuLEAST32): Likewise.
21592 [C99-based-standards] (PRIxLEAST32): Likewise.
21593 [C99-based-standards] (PRIXLEAST32): Likewise.
21594 [C99-based-standards] (SCNdLEAST32): Likewise.
21595 [C99-based-standards] (SCNiLEAST32): Likewise.
21596 [C99-based-standards] (SCNoLEAST32): Likewise.
21597 [C99-based-standards] (SCNuLEAST32): Likewise.
21598 [C99-based-standards] (SCNxLEAST32): Likewise.
21599 [C99-based-standards] (PRIdFAST32): Likewise.
21600 [C99-based-standards] (PRIiFAST32): Likewise.
21601 [C99-based-standards] (PRIoFAST32): Likewise.
21602 [C99-based-standards] (PRIuFAST32): Likewise.
21603 [C99-based-standards] (PRIxFAST32): Likewise.
21604 [C99-based-standards] (PRIXFAST32): Likewise.
21605 [C99-based-standards] (SCNdFAST32): Likewise.
21606 [C99-based-standards] (SCNiFAST32): Likewise.
21607 [C99-based-standards] (SCNoFAST32): Likewise.
21608 [C99-based-standards] (SCNuFAST32): Likewise.
21609 [C99-based-standards] (SCNxFAST32): Likewise.
21610 [C99-based-standards] (PRId64): Likewise.
21611 [C99-based-standards] (PRIi64): Likewise.
21612 [C99-based-standards] (PRIo64): Likewise.
21613 [C99-based-standards] (PRIu64): Likewise.
21614 [C99-based-standards] (PRIx64): Likewise.
21615 [C99-based-standards] (PRIX64): Likewise.
21616 [C99-based-standards] (SCNd64): Likewise.
21617 [C99-based-standards] (SCNi64): Likewise.
21618 [C99-based-standards] (SCNo64): Likewise.
21619 [C99-based-standards] (SCNu64): Likewise.
21620 [C99-based-standards] (SCNx64): Likewise.
21621 [C99-based-standards] (PRIdLEAST64): Likewise.
21622 [C99-based-standards] (PRIiLEAST64): Likewise.
21623 [C99-based-standards] (PRIoLEAST64): Likewise.
21624 [C99-based-standards] (PRIuLEAST64): Likewise.
21625 [C99-based-standards] (PRIxLEAST64): Likewise.
21626 [C99-based-standards] (PRIXLEAST64): Likewise.
21627 [C99-based-standards] (SCNdLEAST64): Likewise.
21628 [C99-based-standards] (SCNiLEAST64): Likewise.
21629 [C99-based-standards] (SCNoLEAST64): Likewise.
21630 [C99-based-standards] (SCNuLEAST64): Likewise.
21631 [C99-based-standards] (SCNxLEAST64): Likewise.
21632 [C99-based-standards] (PRIdFAST64): Likewise.
21633 [C99-based-standards] (PRIiFAST64): Likewise.
21634 [C99-based-standards] (PRIoFAST64): Likewise.
21635 [C99-based-standards] (PRIuFAST64): Likewise.
21636 [C99-based-standards] (PRIxFAST64): Likewise.
21637 [C99-based-standards] (PRIXFAST64): Likewise.
21638 [C99-based-standards] (SCNdFAST64): Likewise.
21639 [C99-based-standards] (SCNiFAST64): Likewise.
21640 [C99-based-standards] (SCNoFAST64): Likewise.
21641 [C99-based-standards] (SCNuFAST64): Likewise.
21642 [C99-based-standards] (SCNxFAST64): Likewise.
21643 [C99-based-standards] (PRIdMAX): Likewise.
21644 [C99-based-standards] (PRIiMAX): Likewise.
21645 [C99-based-standards] (PRIoMAX): Likewise.
21646 [C99-based-standards] (PRIuMAX): Likewise.
21647 [C99-based-standards] (PRIxMAX): Likewise.
21648 [C99-based-standards] (PRIXMAX): Likewise.
21649 [C99-based-standards] (SCNdMAX): Likewise.
21650 [C99-based-standards] (SCNiMAX): Likewise.
21651 [C99-based-standards] (SCNoMAX): Likewise.
21652 [C99-based-standards] (SCNuMAX): Likewise.
21653 [C99-based-standards] (SCNxMAX): Likewise.
21654 [C99-based-standards] (PRIdPTR): Likewise.
21655 [C99-based-standards] (PRIiPTR): Likewise.
21656 [C99-based-standards] (PRIoPTR): Likewise.
21657 [C99-based-standards] (PRIuPTR): Likewise.
21658 [C99-based-standards] (PRIxPTR): Likewise.
21659 [C99-based-standards] (PRIXPTR): Likewise.
21660 [C99-based-standards] (SCNdPTR): Likewise.
21661 [C99-based-standards] (SCNiPTR): Likewise.
21662 [C99-based-standards] (SCNoPTR): Likewise.
21663 [C99-based-standards] (SCNuPTR): Likewise.
21664 [C99-based-standards] (SCNxPTR): Likewise.
21665 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21666 allow.
21667 * conform/data/stdint.h-data: Update comments to clarify
21668 requirements.
21669 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21670 type.
21671 [C99-based standards] (INT8_MAX): Likewise.
21672 [C99-based standards] (INT16_MIN): Likewise.
21673 [C99-based standards] (INT16_MAX): Likewise.
21674 [C99-based standards] (INT32_MIN): Likewise.
21675 [C99-based standards] (INT32_MAX): Likewise.
21676 [C99-based standards] (INT64_MIN): Likewise.
21677 [C99-based standards] (INT64_MAX): Likewise.
21678 [C99-based standards] (UINT8_MAX): Likewise.
21679 [C99-based standards] (UINT16_MAX): Likewise.
21680 [C99-based standards] (UINT32_MAX): Likewise.
21681 [C99-based standards] (UINT64_MAX): Likewise.
21682 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21683 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21684 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21685 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21686 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21687 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21688 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21689 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21690 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21691 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21692 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21693 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21694 [C99-based standards] (INT_FAST8_MIN): Likewise.
21695 [C99-based standards] (INT_FAST8_MAX): Likewise.
21696 [C99-based standards] (INT_FAST16_MIN): Likewise.
21697 [C99-based standards] (INT_FAST16_MAX): Likewise.
21698 [C99-based standards] (INT_FAST32_MIN): Likewise.
21699 [C99-based standards] (INT_FAST32_MAX): Likewise.
21700 [C99-based standards] (INT_FAST64_MIN): Likewise.
21701 [C99-based standards] (INT_FAST64_MAX): Likewise.
21702 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21703 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21704 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21705 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21706 [C99-based standards] (INTPTR_MIN): Likewise.
21707 [C99-based standards] (INTPTR_MAX): Likewise.
21708 [C99-based standards] (UINTPTR_MAX): Likewise.
21709 [C99-based standards] (INTMAX_MIN): Likewise.
21710 [C99-based standards] (INTMAX_MAX): Likewise.
21711 [C99-based standards] (UINTMAX_MAX): Likewise.
21712 [C99-based standards] (PTRDIFF_MIN): Likewise.
21713 [C99-based standards] (PTRDIFF_MAX): Likewise.
21714 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21715 [C99-based standards] (SIZE_MAX): Likewise.
21716 [C99-based standards] (WCHAR_MAX): Likewise.
21717 [C99-based standards] (WINT_MAX): Likewise.
21718 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21719 constraint on value.
21720 [C99-based standards] (WCHAR_MIN): Likewise.
21721 [C99-based standards] (WINT_MIN): Likewise.
21722 [C99-based standards] (*_t): Allow.
21723 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21724 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21725 Include math.h-data and complex.h-data. Remove all expectations
21726 of math.h and complex.h contents.
21727 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21728 at end of line.
21729 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21730 (struct tm): Expect tag.
21731 [C99-based-standards] (wcstof): Expect function.
21732 [C99-based-standards] (wcstold): Likewise.
21733 [C99-based-standards] (wcstoll): Likewise.
21734 [C99-based-standards] (wcstoull): Likewise.
21735 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21736 macro-int-constant. Specify type.
21737 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21738 constraint on value.
21739 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21740 Specify type.
21741 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21742 Specify value.
21743 [ISO C standards]: Do not allow headers.
21744 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21745 wcs[abcdefghijklmnopqrstuvwxyz]*.
21746 [ISO C standards] (*_t): Do not allow.
21747 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21748 Expect function.
21749 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21750 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21751 Specify type.
21752 [ISO C standards]: Do not allow headers.
21753 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21754 is[abcdefghijklmnopqrstuvwxyz]*.
21755 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21756 to[abcdefghijklmnopqrstuvwxyz]*.
21757 [ISO C standards] (*_t): Do not allow.
21758 * conform/data/stdalign.h-data: New file.
21759 * conform/data/stdbool.h-data: Likewise.
21760 * conform/data/stdnoreturn.h-data: Likewise.
21761
21762 2012-11-07 Roland McGrath <roland@hack.frob.com>
21763
21764 [BZ #14815]
21765 * manual/filesys.texi (Directory Entries): Typo fix.
21766 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21767
21768 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21769
21770 * elf/elf.h (EM_AARCH64): New macro.
21771 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21772 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21773 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21774 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21775 (R_AARCH64_TLSDESC): Likewise.
21776 (NT_ARM_TLS): Likewise.
21777 (NT_ARM_HW_BREAK): Likewise.
21778 (NT_ARM_HW_WATCH): Likewise.
21779
21780 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21781
21782 [BZ #14811]
21783 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21784 (__ieee754_powl): Saturate nonzero exponents with absolute value
21785 below 0x1p-79 to +/- 0x1p-79.
21786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21787 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21788 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21789 nonzero exponents with absolute value below 0x1p-32 to +/-
21790 0x1p-32.
21791 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21792 (__ieee754_powl): Saturate nonzero exponents with absolute value
21793 below 0x1p-79 to +/- 0x1p-79.
21794 * math/libm-test.inc (pow_test): Add more tests.
21795
21796 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21797
21798 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21799 _dl_s390_cap_flags with kernel. Increase string length.
21800 (_dl_s390_platforms): Add z196 and zEC12.
21801
21802 2012-11-07 Joseph Myers <joseph@codesourcery.com>
21803
21804 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21805 Change XOPEN21K to XOPEN2K.
21806
21807 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21808
21809 * string/memmove.c: Use memcpy when possible.
21810
21811 2012-11-06 Andreas Jaeger <aj@suse.de>
21812
21813 * po/eo.po: Update from translation team.
21814
21815 2012-11-06 Joseph Myers <joseph@codesourcery.com>
21816
21817 [BZ #14793]
21818 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21819 exponent and small x and y exponents, scale x or y up. Increase
21820 by 2 the exponent used in scaling up.
21821 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21823 * math/libm-test.inc (fma_test): Add more tests.
21824 (fma_test_towardzero): Likewise.
21825 (fma_test_downward): Likewise.
21826 (fma_test_upward): Likewise.
21827
21828 2012-11-05 Joseph Myers <joseph@codesourcery.com>
21829
21830 [BZ #14805]
21831 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21832 fenv_t *.
21833
21834 [BZ #14801]
21835 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21836 namespace for names of struct fields.
21837 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21838 fenv_t fields.
21839 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21840 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21841
21842 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21843
21844 [BZ #3665]
21845 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21846
21847 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21848
21849 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21850 PTR_DEMANGLE.
21851
21852 [BZ #5246]
21853 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21854 PTR_DEMANGLE.
21855
21856 2012-11-04 Joseph Myers <joseph@codesourcery.com>
21857
21858 [BZ #14797]
21859 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21860 definitely overflow as x * y not x * y + z.
21861 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21862 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21863 * math/libm-test.inc (fma_test): Add more tests.
21864 (fma_test_towardzero): Likewise.
21865 (fma_test_downward): Likewise.
21866 (fma_test_upward): Likewise.
21867
21868 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21869
21870 [BZ #157]
21871
21872 * include/stub-tag.h: Remove file.
21873 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21874 '#include' of it.
21875 * manual/maint.texi (Porting): Don't reference it.
21876 * Makerules ($(objpfx)stubs): Likewise.
21877 * dirent/closedir.c: Don't include <stub-tag.h>.
21878 * dirent/dirfd.c: Likewise.
21879 * dirent/fdopendir.c: Likewise.
21880 * dirent/getdents.c: Likewise.
21881 * dirent/getdents64.c: Likewise.
21882 * dirent/opendir.c: Likewise.
21883 * dirent/readdir.c: Likewise.
21884 * dirent/readdir64.c: Likewise.
21885 * dirent/readdir64_r.c: Likewise.
21886 * dirent/readdir_r.c: Likewise.
21887 * dirent/rewinddir.c: Likewise.
21888 * dirent/seekdir.c: Likewise.
21889 * dirent/telldir.c: Likewise.
21890 * gmon/profil.c: Likewise.
21891 * grp/setgroups.c: Likewise.
21892 * inet/if_index.c: Likewise.
21893 * io/access.c: Likewise.
21894 * io/chdir.c: Likewise.
21895 * io/chmod.c: Likewise.
21896 * io/chown.c: Likewise.
21897 * io/close.c: Likewise.
21898 * io/dup.c: Likewise.
21899 * io/dup2.c: Likewise.
21900 * io/dup3.c: Likewise.
21901 * io/euidaccess.c: Likewise.
21902 * io/faccessat.c: Likewise.
21903 * io/fchdir.c: Likewise.
21904 * io/fchmod.c: Likewise.
21905 * io/fchmodat.c: Likewise.
21906 * io/fchown.c: Likewise.
21907 * io/fchownat.c: Likewise.
21908 * io/fcntl.c: Likewise.
21909 * io/flock.c: Likewise.
21910 * io/fstatfs.c: Likewise.
21911 * io/fstatfs64.c: Likewise.
21912 * io/fstatvfs.c: Likewise.
21913 * io/fstatvfs64.c: Likewise.
21914 * io/futimens.c: Likewise.
21915 * io/fxstat.c: Likewise.
21916 * io/fxstat64.c: Likewise.
21917 * io/fxstatat.c: Likewise.
21918 * io/fxstatat64.c: Likewise.
21919 * io/getcwd.c: Likewise.
21920 * io/isatty.c: Likewise.
21921 * io/lchmod.c: Likewise.
21922 * io/lchown.c: Likewise.
21923 * io/link.c: Likewise.
21924 * io/linkat.c: Likewise.
21925 * io/lseek.c: Likewise.
21926 * io/lseek64.c: Likewise.
21927 * io/lxstat64.c: Likewise.
21928 * io/mkdir.c: Likewise.
21929 * io/mkdirat.c: Likewise.
21930 * io/mkfifo.c: Likewise.
21931 * io/mkfifoat.c: Likewise.
21932 * io/open.c: Likewise.
21933 * io/open64.c: Likewise.
21934 * io/openat.c: Likewise.
21935 * io/openat64.c: Likewise.
21936 * io/pipe.c: Likewise.
21937 * io/pipe2.c: Likewise.
21938 * io/poll.c: Likewise.
21939 * io/posix_fadvise.c: Likewise.
21940 * io/posix_fadvise64.c: Likewise.
21941 * io/posix_fallocate.c: Likewise.
21942 * io/posix_fallocate64.c: Likewise.
21943 * io/read.c: Likewise.
21944 * io/readlink.c: Likewise.
21945 * io/readlinkat.c: Likewise.
21946 * io/rmdir.c: Likewise.
21947 * io/sendfile.c: Likewise.
21948 * io/sendfile64.c: Likewise.
21949 * io/statfs.c: Likewise.
21950 * io/statfs64.c: Likewise.
21951 * io/statvfs.c: Likewise.
21952 * io/statvfs64.c: Likewise.
21953 * io/symlink.c: Likewise.
21954 * io/symlinkat.c: Likewise.
21955 * io/ttyname.c: Likewise.
21956 * io/ttyname_r.c: Likewise.
21957 * io/umask.c: Likewise.
21958 * io/unlink.c: Likewise.
21959 * io/unlinkat.c: Likewise.
21960 * io/utime.c: Likewise.
21961 * io/utimensat.c: Likewise.
21962 * io/write.c: Likewise.
21963 * io/xmknod.c: Likewise.
21964 * io/xmknodat.c: Likewise.
21965 * io/xstat.c: Likewise.
21966 * io/xstat64.c: Likewise.
21967 * login/getpt.c: Likewise.
21968 * login/grantpt.c: Likewise.
21969 * login/unlockpt.c: Likewise.
21970 * math/e_acoshl.c: Likewise.
21971 * math/e_acosl.c: Likewise.
21972 * math/e_asinl.c: Likewise.
21973 * math/e_atan2l.c: Likewise.
21974 * math/e_atanhl.c: Likewise.
21975 * math/e_coshl.c: Likewise.
21976 * math/e_expl.c: Likewise.
21977 * math/e_fmodl.c: Likewise.
21978 * math/e_gammal_r.c: Likewise.
21979 * math/e_hypotl.c: Likewise.
21980 * math/e_j0l.c: Likewise.
21981 * math/e_j1l.c: Likewise.
21982 * math/e_jnl.c: Likewise.
21983 * math/e_lgammal_r.c: Likewise.
21984 * math/e_log10l.c: Likewise.
21985 * math/e_log2l.c: Likewise.
21986 * math/e_logl.c: Likewise.
21987 * math/e_powl.c: Likewise.
21988 * math/e_rem_pio2l.c: Likewise.
21989 * math/e_sinhl.c: Likewise.
21990 * math/e_sqrtl.c: Likewise.
21991 * math/fclrexcpt.c: Likewise.
21992 * math/fedisblxcpt.c: Likewise.
21993 * math/feenablxcpt.c: Likewise.
21994 * math/fegetenv.c: Likewise.
21995 * math/fegetexcept.c: Likewise.
21996 * math/fegetround.c: Likewise.
21997 * math/feholdexcpt.c: Likewise.
21998 * math/fesetenv.c: Likewise.
21999 * math/fesetround.c: Likewise.
22000 * math/feupdateenv.c: Likewise.
22001 * math/fgetexcptflg.c: Likewise.
22002 * math/fraiseexcpt.c: Likewise.
22003 * math/fsetexcptflg.c: Likewise.
22004 * math/ftestexcept.c: Likewise.
22005 * math/k_cosl.c: Likewise.
22006 * math/k_rem_pio2l.c: Likewise.
22007 * math/k_sinl.c: Likewise.
22008 * math/k_tanl.c: Likewise.
22009 * math/s_asinhl.c: Likewise.
22010 * math/s_atanl.c: Likewise.
22011 * math/s_cbrtl.c: Likewise.
22012 * math/s_erfl.c: Likewise.
22013 * math/s_expm1l.c: Likewise.
22014 * math/s_log1pl.c: Likewise.
22015 * math/s_tanhl.c: Likewise.
22016 * misc/acct.c: Likewise.
22017 * misc/brk.c: Likewise.
22018 * misc/chflags.c: Likewise.
22019 * misc/chroot.c: Likewise.
22020 * misc/fchflags.c: Likewise.
22021 * misc/fgetxattr.c: Likewise.
22022 * misc/flistxattr.c: Likewise.
22023 * misc/fremovexattr.c: Likewise.
22024 * misc/fsetxattr.c: Likewise.
22025 * misc/fsync.c: Likewise.
22026 * misc/ftruncate.c: Likewise.
22027 * misc/futimes.c: Likewise.
22028 * misc/futimesat.c: Likewise.
22029 * misc/getdomain.c: Likewise.
22030 * misc/getdtsz.c: Likewise.
22031 * misc/gethostid.c: Likewise.
22032 * misc/gethostname.c: Likewise.
22033 * misc/getloadavg.c: Likewise.
22034 * misc/getpagesize.c: Likewise.
22035 * misc/getsysstats.c: Likewise.
22036 * misc/getxattr.c: Likewise.
22037 * misc/gtty.c: Likewise.
22038 * misc/ioctl.c: Likewise.
22039 * misc/lgetxattr.c: Likewise.
22040 * misc/listxattr.c: Likewise.
22041 * misc/llistxattr.c: Likewise.
22042 * misc/lremovexattr.c: Likewise.
22043 * misc/lsetxattr.c: Likewise.
22044 * misc/lutimes.c: Likewise.
22045 * misc/madvise.c: Likewise.
22046 * misc/mincore.c: Likewise.
22047 * misc/mlock.c: Likewise.
22048 * misc/mlockall.c: Likewise.
22049 * misc/mmap.c: Likewise.
22050 * misc/mprotect.c: Likewise.
22051 * misc/msync.c: Likewise.
22052 * misc/munlock.c: Likewise.
22053 * misc/munlockall.c: Likewise.
22054 * misc/munmap.c: Likewise.
22055 * misc/preadv.c: Likewise.
22056 * misc/preadv64.c: Likewise.
22057 * misc/ptrace.c: Likewise.
22058 * misc/pwritev.c: Likewise.
22059 * misc/pwritev64.c: Likewise.
22060 * misc/readv.c: Likewise.
22061 * misc/reboot.c: Likewise.
22062 * misc/remap_file_pages.c: Likewise.
22063 * misc/removexattr.c: Likewise.
22064 * misc/revoke.c: Likewise.
22065 * misc/select.c: Likewise.
22066 * misc/setdomain.c: Likewise.
22067 * misc/setegid.c: Likewise.
22068 * misc/seteuid.c: Likewise.
22069 * misc/sethostid.c: Likewise.
22070 * misc/sethostname.c: Likewise.
22071 * misc/setregid.c: Likewise.
22072 * misc/setreuid.c: Likewise.
22073 * misc/setxattr.c: Likewise.
22074 * misc/sstk.c: Likewise.
22075 * misc/stty.c: Likewise.
22076 * misc/swapoff.c: Likewise.
22077 * misc/swapon.c: Likewise.
22078 * misc/sync.c: Likewise.
22079 * misc/syncfs.c: Likewise.
22080 * misc/syscall.c: Likewise.
22081 * misc/truncate.c: Likewise.
22082 * misc/ualarm.c: Likewise.
22083 * misc/usleep.c: Likewise.
22084 * misc/ustat.c: Likewise.
22085 * misc/utimes.c: Likewise.
22086 * misc/vhangup.c: Likewise.
22087 * misc/writev.c: Likewise.
22088 * posix/_exit.c: Likewise.
22089 * posix/alarm.c: Likewise.
22090 * posix/execve.c: Likewise.
22091 * posix/fexecve.c: Likewise.
22092 * posix/fork.c: Likewise.
22093 * posix/fpathconf.c: Likewise.
22094 * posix/getaddrinfo.c: Likewise.
22095 * posix/getegid.c: Likewise.
22096 * posix/geteuid.c: Likewise.
22097 * posix/getgid.c: Likewise.
22098 * posix/getgroups.c: Likewise.
22099 * posix/getlogin.c: Likewise.
22100 * posix/getlogin_r.c: Likewise.
22101 * posix/getpgid.c: Likewise.
22102 * posix/getpid.c: Likewise.
22103 * posix/getppid.c: Likewise.
22104 * posix/getresgid.c: Likewise.
22105 * posix/getresuid.c: Likewise.
22106 * posix/getsid.c: Likewise.
22107 * posix/getuid.c: Likewise.
22108 * posix/glob64.c: Likewise.
22109 * posix/nanosleep.c: Likewise.
22110 * posix/pathconf.c: Likewise.
22111 * posix/pause.c: Likewise.
22112 * posix/posix_madvise.c: Likewise.
22113 * posix/pread.c: Likewise.
22114 * posix/pread64.c: Likewise.
22115 * posix/pwrite.c: Likewise.
22116 * posix/pwrite64.c: Likewise.
22117 * posix/sched_getaffinity.c: Likewise.
22118 * posix/sched_getp.c: Likewise.
22119 * posix/sched_gets.c: Likewise.
22120 * posix/sched_primax.c: Likewise.
22121 * posix/sched_primin.c: Likewise.
22122 * posix/sched_rr_gi.c: Likewise.
22123 * posix/sched_setaffinity.c: Likewise.
22124 * posix/sched_setp.c: Likewise.
22125 * posix/sched_sets.c: Likewise.
22126 * posix/sched_yield.c: Likewise.
22127 * posix/setgid.c: Likewise.
22128 * posix/setlogin.c: Likewise.
22129 * posix/setpgid.c: Likewise.
22130 * posix/setresgid.c: Likewise.
22131 * posix/setresuid.c: Likewise.
22132 * posix/setsid.c: Likewise.
22133 * posix/setuid.c: Likewise.
22134 * posix/sleep.c: Likewise.
22135 * posix/spawni.c: Likewise.
22136 * posix/sysconf.c: Likewise.
22137 * posix/times.c: Likewise.
22138 * posix/wait.c: Likewise.
22139 * posix/wait3.c: Likewise.
22140 * posix/wait4.c: Likewise.
22141 * posix/waitpid.c: Likewise.
22142 * resolv/gai_sigqueue.c: Likewise.
22143 * resource/getpriority.c: Likewise.
22144 * resource/getrlimit.c: Likewise.
22145 * resource/getrusage.c: Likewise.
22146 * resource/nice.c: Likewise.
22147 * resource/setpriority.c: Likewise.
22148 * resource/setrlimit.c: Likewise.
22149 * resource/ulimit.c: Likewise.
22150 * rt/aio_cancel.c: Likewise.
22151 * rt/aio_fsync.c: Likewise.
22152 * rt/aio_read.c: Likewise.
22153 * rt/aio_sigqueue.c: Likewise.
22154 * rt/aio_suspend.c: Likewise.
22155 * rt/aio_write.c: Likewise.
22156 * rt/clock_getres.c: Likewise.
22157 * rt/clock_gettime.c: Likewise.
22158 * rt/clock_nanosleep.c: Likewise.
22159 * rt/clock_settime.c: Likewise.
22160 * rt/lio_listio.c: Likewise.
22161 * rt/mq_close.c: Likewise.
22162 * rt/mq_getattr.c: Likewise.
22163 * rt/mq_notify.c: Likewise.
22164 * rt/mq_open.c: Likewise.
22165 * rt/mq_receive.c: Likewise.
22166 * rt/mq_send.c: Likewise.
22167 * rt/mq_setattr.c: Likewise.
22168 * rt/mq_timedreceive.c: Likewise.
22169 * rt/mq_timedsend.c: Likewise.
22170 * rt/mq_unlink.c: Likewise.
22171 * rt/shm_open.c: Likewise.
22172 * rt/shm_unlink.c: Likewise.
22173 * rt/timer_create.c: Likewise.
22174 * rt/timer_delete.c: Likewise.
22175 * rt/timer_getoverr.c: Likewise.
22176 * rt/timer_gettime.c: Likewise.
22177 * rt/timer_settime.c: Likewise.
22178 * setjmp/__longjmp.c: Likewise.
22179 * setjmp/setjmp.c: Likewise.
22180 * signal/kill.c: Likewise.
22181 * signal/killpg.c: Likewise.
22182 * signal/raise.c: Likewise.
22183 * signal/sigaction.c: Likewise.
22184 * signal/sigaltstack.c: Likewise.
22185 * signal/sigblock.c: Likewise.
22186 * signal/sigignore.c: Likewise.
22187 * signal/sigintr.c: Likewise.
22188 * signal/signal.c: Likewise.
22189 * signal/sigpause.c: Likewise.
22190 * signal/sigpending.c: Likewise.
22191 * signal/sigqueue.c: Likewise.
22192 * signal/sigreturn.c: Likewise.
22193 * signal/sigset.c: Likewise.
22194 * signal/sigsetmask.c: Likewise.
22195 * signal/sigstack.c: Likewise.
22196 * signal/sigsuspend.c: Likewise.
22197 * signal/sigtimedwait.c: Likewise.
22198 * signal/sigvec.c: Likewise.
22199 * signal/sigwait.c: Likewise.
22200 * signal/sigwaitinfo.c: Likewise.
22201 * signal/sysv_signal.c: Likewise.
22202 * socket/accept.c: Likewise.
22203 * socket/accept4.c: Likewise.
22204 * socket/bind.c: Likewise.
22205 * socket/connect.c: Likewise.
22206 * socket/getpeername.c: Likewise.
22207 * socket/getsockname.c: Likewise.
22208 * socket/getsockopt.c: Likewise.
22209 * socket/isfdtype.c: Likewise.
22210 * socket/listen.c: Likewise.
22211 * socket/recv.c: Likewise.
22212 * socket/recvfrom.c: Likewise.
22213 * socket/recvmsg.c: Likewise.
22214 * socket/send.c: Likewise.
22215 * socket/sendmsg.c: Likewise.
22216 * socket/sendto.c: Likewise.
22217 * socket/setsockopt.c: Likewise.
22218 * socket/shutdown.c: Likewise.
22219 * socket/sockatmark.c: Likewise.
22220 * socket/socket.c: Likewise.
22221 * socket/socketpair.c: Likewise.
22222 * stdio-common/ctermid.c: Likewise.
22223 * stdio-common/cuserid.c: Likewise.
22224 * stdio-common/remove.c: Likewise.
22225 * stdio-common/rename.c: Likewise.
22226 * stdio-common/renameat.c: Likewise.
22227 * stdio-common/tempname.c: Likewise.
22228 * stdlib/getcontext.c: Likewise.
22229 * stdlib/makecontext.c: Likewise.
22230 * stdlib/setcontext.c: Likewise.
22231 * stdlib/swapcontext.c: Likewise.
22232 * stdlib/system.c: Likewise.
22233 * streams/fattach.c: Likewise.
22234 * streams/fdetach.c: Likewise.
22235 * streams/getmsg.c: Likewise.
22236 * streams/getpmsg.c: Likewise.
22237 * streams/putmsg.c: Likewise.
22238 * streams/putpmsg.c: Likewise.
22239 * sysdeps/unix/bsd/getpt.c: Likewise.
22240 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
22241 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
22242 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
22244 Likewise.
22245 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
22246 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22247 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
22248 * sysvipc/msgctl.c: Likewise.
22249 * sysvipc/msgget.c: Likewise.
22250 * sysvipc/msgrcv.c: Likewise.
22251 * sysvipc/msgsnd.c: Likewise.
22252 * sysvipc/semctl.c: Likewise.
22253 * sysvipc/semget.c: Likewise.
22254 * sysvipc/semop.c: Likewise.
22255 * sysvipc/semtimedop.c: Likewise.
22256 * sysvipc/shmat.c: Likewise.
22257 * sysvipc/shmctl.c: Likewise.
22258 * sysvipc/shmdt.c: Likewise.
22259 * sysvipc/shmget.c: Likewise.
22260 * termios/tcdrain.c: Likewise.
22261 * termios/tcflow.c: Likewise.
22262 * termios/tcflush.c: Likewise.
22263 * termios/tcgetattr.c: Likewise.
22264 * termios/tcgetpgrp.c: Likewise.
22265 * termios/tcsendbrk.c: Likewise.
22266 * termios/tcsetattr.c: Likewise.
22267 * termios/tcsetpgrp.c: Likewise.
22268 * time/adjtime.c: Likewise.
22269 * time/clock.c: Likewise.
22270 * time/getitimer.c: Likewise.
22271 * time/gettimeofday.c: Likewise.
22272 * time/setitimer.c: Likewise.
22273 * time/settimeofday.c: Likewise.
22274 * time/stime.c: Likewise.
22275 * time/time.c: Likewise.
22276
22277 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
22278
22279 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22280 /usr/old/bin.
22281
22282 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22283 instead of spaces.
22284 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22285
22286 2012-11-03 Joseph Myers <joseph@codesourcery.com>
22287
22288 [BZ #14796]
22289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22290 FE_TONEAREST before applying Dekker multiplication and Knuth
22291 addition. Clear inexact exceptions and check for exact zero
22292 results afterwards.
22293 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22294 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22296 * math/libm-test.inc (fma_test): Add more tests.
22297 (fma_test_towardzero): Likewise.
22298 (fma_test_downward): Likewise.
22299 (fma_test_upward): Likewise.
22300 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22301 function.
22302 (libc_fesetround): New macro.
22303 (libc_fesetroundf): Likewise.
22304 (libc_fesetroundl): Likewise.
22305 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22306 function.
22307 (libc_fesetround_387): Likewise.
22308 (libc_fesetroundf): New macro.
22309 (libc_fesetround): Likewise.
22310 (libc_fesetroundl): Likewise.
22311 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22312 function.
22313 (libc_fesetroundf): New macro.
22314 (libc_fesetround): Likewise.
22315 (libc_fesetroundl): Likewise.
22316 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22317 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22318 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22319 libm_hidden_ver.
22320 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22321 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22322 libm_hidden_def.
22323 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22324 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22325 libm_hidden_ver.
22326 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22327 libm_hidden_def.
22328
22329 [BZ #3439]
22330 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22331 integer constant usable in #if and use that to give value to enum
22332 constant.
22333 (FE_DIVBYZERO): Likewise.
22334 (FE_UNDERFLOW): Likewise.
22335 (FE_OVERFLOW): Likewise.
22336 (FE_INVALID): Likewise.
22337 (FE_INVALID_SNAN): Likewise.
22338 (FE_INVALID_ISI): Likewise.
22339 (FE_INVALID_IDI): Likewise.
22340 (FE_INVALID_ZDZ): Likewise.
22341 (FE_INVALID_IMZ): Likewise.
22342 (FE_INVALID_COMPARE): Likewise.
22343 (FE_INVALID_SOFTWARE): Likewise.
22344 (FE_INVALID_SQRT): Likewise.
22345 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22346 (FE_TONEAREST): Likewise.
22347 (FE_TOWARDZERO): Likewise.
22348 (FE_UPWARD): Likewise.
22349 (FE_DOWNWARD): Likewise.
22350 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22351 (FE_DIVBYZERO): Likewise.
22352 (FE_OVERFLOW): Likewise.
22353 (FE_UNDERFLOW): Likewise.
22354 (FE_INEXACT): Likewise.
22355 (FE_TONEAREST): Likewise.
22356 (FE_DOWNWARD): Likewise.
22357 (FE_UPWARD): Likewise.
22358 (FE_TOWARDZERO): Likewise.
22359 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22360 (FE_UNDERFLOW): Likewise.
22361 (FE_OVERFLOW): Likewise.
22362 (FE_DIVBYZERO): Likewise.
22363 (FE_INVALID): Likewise.
22364 (FE_TONEAREST): Likewise.
22365 (FE_TOWARDZERO): Likewise.
22366 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22367 (FE_OVERFLOW): Likewise.
22368 (FE_UNDERFLOW): Likewise.
22369 (FE_DIVBYZERO): Likewise.
22370 (FE_INEXACT): Likewise.
22371 (FE_TONEAREST): Likewise.
22372 (FE_TOWARDZERO): Likewise.
22373 (FE_UPWARD): Likewise.
22374 (FE_DOWNWARD): Likewise.
22375 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22376 (FE_DIVBYZERO): Likewise.
22377 (FE_OVERFLOW): Likewise.
22378 (FE_UNDERFLOW): Likewise.
22379 (FE_INEXACT): Likewise.
22380 (FE_TONEAREST): Likewise.
22381 (FE_DOWNWARD): Likewise.
22382 (FE_UPWARD): Likewise.
22383 (FE_TOWARDZERO): Likewise.
22384
22385 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22386
22387 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22388
22389 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22390
22391 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22392 commands. Quote $PWD.
22393 (blacklist_exports): Don't use remove_newlines. Replace "declare
22394 -x" by "export".
22395 (remove_newlines): Remove.
22396
22397 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22398
22399 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22400 * stdlib/stdlib.h (atof): Moved to ...
22401 * include/bits/stdlib-float.h: Here. New file.
22402 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22403 * stdlib/bits/stdlib-float.h: New file.
22404 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22405 -mno-sse -mno-mmx.
22406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22407 <xmmintrin.h>.
22408
22409 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22410
22411 * conform/conformtest.pl (@headers): Add fenv.h.
22412 * conform/data/fenv.h-data: New file.
22413 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22414 include of <math/fenv.h>.
22415
22416 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22417 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22418 && !UNIX98]. Enables tests for XOPEN2K8.
22419 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22420 POSIX2008]: Likewise.
22421
22422 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22423 (struct rusage): Do not expect type or its members.
22424
22425 [BZ #3439]
22426 * math/math.h (FP_NAN): Define macro to integer constant usable in
22427 #if and use that to give value to enum constant.
22428 (FP_INFINITE): Likewise.
22429 (FP_ZERO): Likewise.
22430 (FP_SUBNORMAL): Likewise.
22431 (FP_NORMAL): Likewise.
22432
22433 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22434
22435 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22436 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22437 arguments.
22438
22439 2012-11-02 Roland McGrath <roland@hack.frob.com>
22440
22441 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22442 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22443 autoconf-time if not.
22444 * configure.in: Remove AC_PREREQ.
22445
22446 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22447
22448 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22449 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22450 of the internal implementation.
22451
22452 2012-11-02 Joseph Myers <joseph@codesourcery.com>
22453
22454 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22455 except include of <misc/sys/syslog.h>.
22456
22457 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22458
22459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22460 function returns with a NULL context exit with zero.
22461
22462 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22463
22464 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22465
22466 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22467
22468 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22469 (run_program_cmd): This.
22470 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22471 (tst_langinfo): New variable. Use it.
22472
22473 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22474
22475 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22476 floating point opcodes.
22477
22478 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22479
22480 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22481 variable.
22482
22483 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22484
22485 * sysdeps/mach/hurd/powerpc: Remove directory.
22486 * sysdeps/mach/powerpc: Likewise.
22487
22488 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22489
22490 * scripts/check-local-headers.sh: Ignore c++ headers.
22491
22492 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22493
22494 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22495 __libc_cleanup_region_start argument.
22496
22497 2012-11-01 Joseph Myers <joseph@codesourcery.com>
22498
22499 [BZ #14784]
22500 [BZ #14785]
22501 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22502 x * y using scaling, not as x * y + z.
22503 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22504 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22505 * math/libm-test.inc (fma_test): Add more tests.
22506 (fma_test_towardzero): Likewise.
22507 (fma_test_downward): Likewise.
22508 (fma_test_upward): Likewise.
22509
22510 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22511
22512 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22513
22514 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22515
22516 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22517 New variable.
22518
22519 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22520
22521 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22522
22523 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22524
22525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22526 Fix sort order.
22527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22528 Likewise.
22529
22530 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22531
22532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22533 Fix the order of the list for glibc 2.17.
22534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22535 Likewise.
22536
22537 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22538
22539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22540
22541 2012-10-31 Joseph Myers <joseph@codesourcery.com>
22542
22543 [BZ #14610]
22544 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22545 for low part of x being zero before using __atanl (y).
22546 * math/libm-test.inc (atan2_test): Add another test.
22547
22548 * manual/install.texi (Configuring and compiling): Document
22549 general use of test-wrapper and test-wrapper-env.
22550 * INSTALL: Regenerated.
22551
22552 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22553 (__fma): Do not extract and scale down low bits on after-rounding
22554 systems when result rounded to normal precision would have normal
22555 exponent.
22556 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22557 (__fmal): Do not extract and scale down low bits on after-rounding
22558 systems when result rounded to normal precision would have normal
22559 exponent.
22560 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22561 (__fmal): Do not extract and scale down low bits on after-rounding
22562 systems when result rounded to normal precision would have normal
22563 exponent.
22564 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22565 macro.
22566 (fma_test): Add more tests.
22567 (fma_test_towardzero): Likewise.
22568 (fma_test_downward): Likewise.
22569 (fma_test_upward): Likewise.
22570
22571 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22572
22573 * sysdeps/i386/tininess.h: Renamed to ...
22574 * sysdeps/x86/tininess.h: This.
22575 * sysdeps/x86_64/tininess.h: Removed.
22576
22577 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22578
22579 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22580 input. Use $(build-program-cmd).
22581 ($(objpfx)tst-array1-static.out): Likewise.
22582 ($(objpfx)tst-array2.out): Likewise.
22583 ($(objpfx)tst-array3.out): Likewise.
22584 ($(objpfx)tst-array4.out): Likewise.
22585 ($(objpfx)tst-array5.out): Likewise.
22586 ($(objpfx)tst-array5-static.out): Likewise.
22587
22588 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22589
22590 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22591 if defined.
22592
22593 * nss/nsswitch.h (nss_interface_function): Provide new
22594 macro for use with NSS functions.
22595 * grp/initgroups.c: Use new macro.
22596 * nss/getXXbyYY.c: Likewise.
22597 * nss/getXXbyYY_r.c: Likewise.
22598 * nss/getXXent.c: Likewise.
22599 * nss/getXXent_r.c: Likewise.
22600 * sysdeps/posix/getaddrinfo.c: Likewise.
22601
22602 2012-10-30 Andreas Jaeger <aj@suse.de>
22603
22604 * po/ru.po: Update Russion translation from translation project.
22605
22606 2012-10-30 Joseph Myers <joseph@codesourcery.com>
22607
22608 [BZ #14152]
22609 [BZ #14783]
22610 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22611 result and shift together with sticky bit instead of replicating
22612 round-to-nearest rounding.
22613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22614 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22615 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22616 missing underflow exceptions.
22617 (fma_test_towardzero): Add more tests.
22618 (fma_test_downward): Likewise.
22619 (fma_test_upward): Likewise.
22620
22621 [BZ #14047]
22622 * sysdeps/generic/tininess.h: New file.
22623 * sysdeps/i386/tininess.h: Likewise.
22624 * sysdeps/sh/tininess.h: Likewise.
22625 * sysdeps/x86_64/tininess.h: Likewise.
22626 * stdlib/tst-strtod-underflow.c: Likewise.
22627 * stdlib/tst-tininess.c: Likewise.
22628 * stdlib/strtod_l.c: Include <tininess.h>.
22629 (round_and_return): Do not set errno for exact underflow cases.
22630 Force an underflow exception when setting errno for underflow.
22631 Determine underflow based on rounding to normal precision if
22632 TININESS_AFTER_ROUNDING.
22633 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22634 ERANGE for exact underflow cases.
22635 * stdlib/Makefile (tests): Add tst-tininess and
22636 tst-strtod-underflow.
22637 ($(objpfx)tst-tininess): Use $(link-libm).
22638 ($(objpfx)tst-strtod-underflow): Likewise.
22639
22640 2012-10-30 Andreas Jaeger <aj@suse.de>
22641
22642 [BZ#14767]
22643 * elf/Makefile (tests): Remove conditional for have-initfini-array
22644 since this is now always required and the variable does not exist
22645 anymore.
22646 (tests-static): Likewise.
22647 (modules-names): Likewise.
22648
22649 * po/eo.po: Add Esperanto translation from translation project.
22650
22651 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22652 merged with constructor/destructor.
22653 (init_array): Likewise.
22654 * elf/tst-array2dep.c (fini_array): Likewise.
22655 (init_array): Likewise.
22656
22657 2012-10-29 Mike Frysinger <vapier@gentoo.org>
22658
22659 * manual/message.texi: Delete @cartouche tags.
22660
22661 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22662
22663 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22664 EOPNOTSUPP.
22665 * sysdeps/mach/hurd/fsync.c: Likewise.
22666
22667 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22668 [_POSIX_REALTIME_SIGNALS]: Change condition to
22669 [_POSIX_REALTIME_SIGNALS > 0].
22670
22671 2012-10-27 Andreas Jaeger <aj@suse.de>
22672
22673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22674 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22675 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22676 [__WORDSIZE != 64]: Likewise.
22677
22678 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22679
22680 * iconvdata/tst-table.sh: Remove ${SHELL}.
22681 * iconvdata/tst-tables.sh: Likewise.
22682
22683 2012-10-25 David S. Miller <davem@davemloft.net>
22684
22685 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22686 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22687 of strtoull.
22688
22689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22690 ifunc-impl-list.c
22691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22692 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22693 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22694 file.
22695
22696 2012-10-25 Roland McGrath <roland@hack.frob.com>
22697
22698 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22699 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22700 __getdirentries.
22701
22702 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22703 Jim Blandy <jimb@codesourcery.com>
22704
22705 * scripts/cross-test-ssh.sh: New file.
22706 * manual/install.texi (Configuring and compiling): Document use of
22707 cross-test-ssh.sh.
22708 * INSTALL: Regenerated.
22709
22710 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22711
22712 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22713 EOPNOTSUPP.
22714
22715 2012-10-25 Joseph Myers <joseph@codesourcery.com>
22716
22717 * Makeconfig (run-program-prefix): Fix comment.
22718
22719 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22720 Jim Blandy <jimb@codesourcery.com>
22721
22722 * Makeconfig (test-wrapper): New variable,
22723 (test-wrapper-env): Likewise.
22724 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22725 (run-built-tests): Define to yes.
22726 (run-program-prefix): Use $(test-wrapper).
22727 (built-program-cmd): Likewise.
22728 * Rules (make-test-out): Use $(test-wrapper-env) and
22729 $(host-built-program-cmd).
22730 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22731 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22732 tst-pathopt.sh.
22733 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22734 $(test-wrapper-env) to tst-rtld-load-self.sh.
22735 ($(objpfx)order2.out): Use $(test-wrapper).
22736 ($(objpfx)tst-initorder.out): Likewise.
22737 ($(objpfx)tst-initorder2.out): Likewise.
22738 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22739 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22740 (test_wrapper_env): New variable. Use it to run ld.so.
22741 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22742 Use it to run ld.so.
22743 (test_wrapper_env): Likewise.
22744 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22745 $(test-wrapper) to run-iconv-test.sh.
22746 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22747 (ICONV): Use $test_wrapper.
22748 * posix/Makefile ($(objpfx)globtest.out): Pass
22749 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22750 globtest.sh, not $(run-program-prefix).
22751 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22752 (test_wrapper): Likewise.
22753 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22754 set together with run_via_rtld_prefix.
22755 (run_program_prefix): Define in terms of test_wrapper and
22756 run_via_rtld_prefix.
22757
22758 2012-10-24 Roland McGrath <roland@hack.frob.com>
22759
22760 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22761 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22762 Targets removed.
22763
22764 [BZ #14743]
22765 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22766 Declare __clock_getres, __clock_gettime, __clock_settime,
22767 __clock_nanosleep, and __clock_getcpuclockid.
22768 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22769 Remove librt_hidden_def (clock_gettime).
22770 * sysdeps/unix/clock_gettime.c: Likewise.
22771 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22772 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22773 * rt/clock_getres.c: Define __clock_getres as an alias.
22774 * sysdeps/posix/clock_getres.c: Likewise.
22775 * rt/clock_settime.c: Define __clock_settime as an alias.
22776 * sysdeps/unix/clock_settime.c: Likewise.
22777 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22778 * sysdeps/unix/clock_nanosleep.c: Likewise.
22779 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22780 * rt/clock-compat.c: New file.
22781 * rt/Makefile (librt-routines): Add clock-compat and move
22782 $(clock-routines) to ...
22783 (routines): ... here, new variable.
22784 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22785 Don't add get_clockfreq here.
22786 * rt/Versions (libc: GLIBC_2.17): New version set.
22787 Add clock_* symbols here.
22788 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22789 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22790 (GLIBC_2.17): Add clock_* symbols.
22791 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22793 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22795 Likewise.
22796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22797 Likewise.
22798 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22799 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22802 * NEWS: Mention the move.
22803
22804 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22805 Use __open, __read, __close rather than their public counterparts.
22806 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22807 (__get_clockfreq_via_cpuinfo): Likewise.
22808 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22809 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22810
22811 * config.h.in (HAVE_IFUNC): New #undef.
22812 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22813 was successful.
22814 * configure: Regenerated.
22815
22816 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22817
22818 * configure.in: Move READELF check to start of file.
22819 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22820 libc_cv_asm_gnu_indirect_function in the process.
22821 * configure: Regenerated.
22822
22823 2012-10-24 Mike Frysinger <vapier@gentoo.org>
22824
22825 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22826 send the output to /dev/null.
22827 (libc_cv_cc_with_libunwind): Likewise.
22828 (libc_cv_as_noexecstack): Likewise.
22829 * configure: Regenerate.
22830
22831 2012-10-24 Joseph Myers <joseph@codesourcery.com>
22832
22833 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22834
22835 * posix/globtest.sh (TMPDIR): Do not set.
22836 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22837 (testout): Likewise.
22838
22839 2012-10-24 Andreas Jaeger <aj@suse.de>
22840
22841 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22842 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22843 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22844 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22845 posix_fadvise64, posix_fallocate64.
22846
22847 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22848 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22849 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22850 Likewise.
22851 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22852 Likewise.
22853 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22854
22855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22856 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22857 <bits/fcntl-linux.h>.
22858 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22859
22860 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22861 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22862 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22863 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22864 [__WORDSIZE != 64]: Likewise.
22865
22866 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22867
22868 * Makeconfig (run-built-tests): New variable.
22869 * Rules [$(cross-compiling) = yes]: Change condition to
22870 [$(run-built-tests) = no].
22871 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22872 to [$(run-built-tests) = yes].
22873 * elf/Makefile [$(cross-compiling) = no]: Likewise
22874 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22875 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22876 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22877 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22878 * io/Makefile [$(cross-compiling) = no]: Likewise.
22879 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22880 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22881 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22882 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22883 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22884 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22885 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22886 * string/Makefile [$(cross-compiling) = no]: Likewise.
22887
22888 * posix/Makefile ($(objpfx)globtest.out): Pass
22889 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22890 $(rtld-installed-name).
22891 * posix/globtest.sh (elf_objpfx): Remove variable.
22892 (rtld_installed_name): Likewise.
22893 (library_path): Likewise.
22894 (run_program_prefix): New variable. Use for running globtest
22895 binary.
22896
22897 2012-10-23 Jim Blandy <jimb@codesourcery.com>
22898 Joseph Myers <joseph@codesourcery.com>
22899
22900 * Makeconfig (host-built-program-cmd): New variable.
22901 * elf/Makefile (tst-stackguard1-ARGS): Use
22902 $(host-built-program-cmd).
22903 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22904 (tst-spawn-ARGS): Likewise.
22905 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22906
22907 2012-10-23 Joseph Myers <joseph@codesourcery.com>
22908 Jim Blandy <jimb@codesourcery.com>
22909
22910 * Makeconfig (run-via-rtld-prefix): New variable.
22911 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22912 (built-program-cmd): Likewise.
22913
22914 2012-10-22 Andreas Jaeger <aj@suse.de>
22915
22916 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22917 __O_RSYNC if it exists, otherwise to O_SYNC.
22918
22919 2012-10-22 Jim Blandy <jimb@codesourcery.com>
22920 Joseph Myers <joseph@codesourcery.com>
22921
22922 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22923 /dev/null.
22924 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22925 from /dev/null
22926 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22927 /dev/null.
22928
22929 2012-10-22 Andreas Jaeger <aj@suse.de>
22930
22931 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22932 Define always.
22933 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22934
22935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22936 bits/fcntl-linux.h.
22937
22938 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22939 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22940
22941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22942 to __O_LARGEFILE.
22943 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22944 to __O_LARGEFILE.
22945
22946 2012-10-21 Jim Blandy <jimb@codesourcery.com>
22947 Joseph Myers <joseph@codesourcery.com>
22948
22949 * config.make.in (NM): New variable.
22950
22951 2012-10-21 Andreas Jaeger <aj@suse.de>
22952
22953 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22954 definitions and declarations that are provided by
22955 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22956
22957 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22958
22959 [BZ #14683]
22960 * elf/Makefile (tests-static): Add tst-leaks1-static.
22961 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22962 ($(objpfx)tst-leaks1-static): New rule.
22963 ($(objpfx)tst-leaks1-static-mem): Likewise.
22964 (tst-leaks1-static-ENV): New macro.
22965 * elf/dl-open.c (dl_open_worker): Check the main application
22966 only if SHARED is defined.
22967 * elf/tst-leaks1-static.c: New file.
22968
22969 2012-10-20 Andreas Jaeger <aj@suse.de>
22970
22971 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22972 generic values for Linux.
22973 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22974 and declarations that are provided by <bits/fcntl-linux.h> and
22975 include <bits/fcntl-linux.h>.
22976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22977 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22978
22979 2012-10-20 Roland McGrath <roland@hack.frob.com>
22980
22981 * io/fcntl.h: Move include of <bits/types.h> to the top and
22982 include it unconditionally.
22983
22984 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22985
22986 * wcsmbs/Makefile (tests-ifunc): New variable.
22987 (tests): Add $(tests-ifunc).
22988 * wcsmbs/test-wcschr-ifunc.c: New file.
22989 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22990 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22991 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22992 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22993 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22994
22995 * string/Makefile (tests-ifunc): New variable.
22996 (tests): Add $(tests-ifunc).
22997 * string/test-memccpy.c (TEST_NAME): New macro.
22998 * string/test-memchr.c (TEST_NAME): Likewise.
22999 * string/test-memcmp.c (TEST_NAME): Likewise.
23000 * string/test-memcpy.c (TEST_NAME): Likewise.
23001 * string/test-memmem.c (TEST_NAME): Likewise.
23002 * string/test-memmove.c (TEST_NAME): Likewise.
23003 * string/test-memset.c (TEST_NAME): Likewise.
23004 * string/test-rawmemchr.c (TEST_NAME): Likewise.
23005 * string/test-stpcpy.c (TEST_NAME): Likewise.
23006 * string/test-stpncpy.c (TEST_NAME): Likewise.
23007 * string/test-strcasecmp.c (TEST_NAME): Likewise.
23008 * string/test-strcasestr.c (TEST_NAME): Likewise.
23009 * string/test-strcat.c (TEST_NAME): Likewise.
23010 * string/test-strchr.c (TEST_NAME): Likewise.
23011 * string/test-strcmp.c(TEST_NAME): Likewise.
23012 * string/test-strcpy.c (TEST_NAME): Likewise.
23013 * string/test-strcspn.c (TEST_NAME): Likewise.
23014 * string/test-strlen.c (TEST_NAME): Likewise.
23015 * string/test-strncasecmp.c (TEST_NAME): Likewise.
23016 * string/test-strncmp.c (TEST_NAME): Likewise.
23017 * string/test-strncpy.c (TEST_NAME): Likewise.
23018 * string/test-strnlen.c (TEST_NAME): Likewise.
23019 * string/test-strpbrk.c (TEST_NAME): Likewise.
23020 * string/test-strrchr.c (TEST_NAME): Likewise.
23021 * string/test-strspn.c (TEST_NAME): Likewise.
23022 * string/test-strstr.c (TEST_NAME): Likewise.
23023 * string/test-bcopy-ifunc.c: New file.
23024 * string/test-bzero-ifunc.c: Likewise.
23025 * string/test-memccpy-ifunc.c: Likewise.
23026 * string/test-memchr-ifunc.c: Likewise.
23027 * string/test-memcmp-ifunc.c: Likewise.
23028 * string/test-memcpy-ifunc.c: Likewise.
23029 * string/test-memmem-ifunc.c: Likewise.
23030 * string/test-memmove-ifunc.c: Likewise.
23031 * string/test-mempcpy-ifunc.c: Likewise.
23032 * string/test-memset-ifunc.c: Likewise.
23033 * string/test-rawmemchr-ifunc.c: Likewise.
23034 * string/test-stpcpy-ifunc.c: Likewise.
23035 * string/test-stpncpy-ifunc.c: Likewise.
23036 * string/test-strcasecmp-ifunc.c: Likewise.
23037 * string/test-strcasestr-ifunc.c: Likewise.
23038 * string/test-strcat-ifunc.c: Likewise.
23039 * string/test-strchr-ifunc.c: Likewise.
23040 * string/test-strchrnul-ifunc.c: Likewise.
23041 * string/test-strcmp-ifunc.c: Likewise.
23042 * string/test-strcpy-ifunc.c: Likewise.
23043 * string/test-strcspn-ifunc.c: Likewise.
23044 * string/test-strlen-ifunc.c: Likewise.
23045 * string/test-strncasecmp-ifunc.c: Likewise.
23046 * string/test-strncat-ifunc.c: Likewise.
23047 * string/test-strncmp-ifunc.c: Likewise.
23048 * string/test-strncpy-ifunc.c: Likewise.
23049 * string/test-strnlen-ifunc.c: Likewise.
23050 * string/test-strpbrk-ifunc.c: Likewise.
23051 * string/test-strrchr-ifunc.c: Likewise.
23052 * string/test-strspn-ifunc.c: Likewise.
23053 * string/test-strstr-ifunc.c: Likewise.
23054
23055 * debug/Makefile (tests-ifunc): New variable.
23056 (tests): Add $(tests-ifunc).
23057 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
23058 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
23059 * debug/test-stpcpy_chk-ifunc.c: New file.
23060 * debug/test-strcpy_chk-ifunc.c: Likewise.
23061
23062 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23063
23064 [BZ #13601]
23065 * elf/dl-load.c (open_verify): Retry read if the entire ELF
23066 header is not read in.
23067
23068 2012-10-19 Joseph Myers <joseph@codesourcery.com>
23069
23070 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
23071 script to $(SHELL) as $<. Pass $(common-objpfx) to script
23072 directly. Pass built executable to script as
23073 $(built-program-cmd).
23074 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
23075 $testprogram without using LD_LIBRARY_PATH and $ldso.
23076
23077 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
23078 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
23079 $(rtld-installed-name).
23080 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
23081 (rtld_installed_name): Likewise.
23082 (library_path): Likewise.
23083 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
23084 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
23085 $(run-program-prefix) to tst-tables.sh.
23086 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
23087 it to run tst-table-from and tst-table-to.
23088 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
23089 Pass it to tst-table.sh.
23090 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
23091 $(run-program-prefix) to tst-gettext.sh.
23092 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
23093 tst-translit.sh.
23094 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
23095 tst-gettext2.sh.
23096 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
23097 to run tst-gettext.
23098 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
23099 to run tst-gettext2.
23100 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
23101 to run tst-translit.
23102 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
23103 $(run-program-prefix) to tst-mtrace.sh.
23104 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
23105 to run tst-mtrace.
23106 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
23107 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
23108 $(rtld-installed-name).
23109 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
23110 (rtld_installed_name): Likewise.
23111 (run_program_prefix): New variable. Use it to run wordexp-test.
23112
23113 * Makeconfig (ARCH): Remove all definitions.
23114 (machine): Likewise.
23115 [ARCH]: Remove conditional code.
23116 [!objdir]: Give error.
23117 [!objdir] (objpfx): Remove.
23118 [!objdir] (common-objpfx): Likewise.
23119 [!objdir] (common-objdir): Likewise.
23120 * configure.in (config_makefile): Remove. Hardcode Makefile in
23121 AC_CONFIG_FILES call.
23122 * configure: Regenerated.
23123
23124 [BZ #13888]
23125 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
23126 or TMPDIR.
23127 (testout): Likewise.
23128
23129 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
23130 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
23131 $(rtld-installed-name).
23132 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
23133 (rtld_installed_name): Likwise.
23134 (runit): Remove function.
23135 (run_getconf): New variable, Use it for running getconf binary.
23136
23137 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
23138
23139 [BZ #14716]
23140 * string/test-memmem.c (check_result): New function.
23141 (do_one_test): Use it.
23142 (check1): New function.
23143 (test_main): Use it.
23144
23145 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
23146
23147 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
23148
23149 2012-10-18 Joseph Myers <joseph@codesourcery.com>
23150
23151 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
23152 (_G_LSEEK64): Likewise.
23153 (_G_MMAP64): Likewise.
23154 (_G_FSTAT64): Likewise.
23155 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
23156 (_G_LSEEK64): Likewise.
23157 (_G_MMAP64): Likewise.
23158 (_G_FSTAT64): Likewise.
23159 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
23160 unconditional. Call __mmap64 directly.
23161 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
23162 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
23163 __lseek64 directly.
23164 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
23165 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
23166 __mmap64 directly.
23167 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
23168 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
23169 __lseek64 directly.
23170 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
23171 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
23172 __lseek64 directly.
23173 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
23174 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
23175 __lseek64 directly.
23176 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
23177 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
23178 __fxstat64 directly.
23179 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
23180 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
23181 unconditional.
23182 (freopen64) [!_G_OPEN64]: Remove conditional code.
23183 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
23184 unconditional.
23185 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
23186 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
23187 unconditional.
23188 (ftello64) [!_G_LSEEK64]: Remove conditional code.
23189 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
23190 unconditional.
23191 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23192 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
23193 unconditional.
23194 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
23195 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
23196 unconditional.
23197 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23198 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
23199 unconditional.
23200 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
23201 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
23202 unconditional.
23203 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
23204
23205 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23206
23207 [BZ #12140]
23208 * manual/memory.texi (Malloc Tunable Parameters): Add note
23209 about free list pointers overwriting some perturb bytes.
23210 Wording suggested by Roland McGrath.
23211
23212 2012-10-17 Joseph Myers <joseph@codesourcery.com>
23213
23214 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
23215 (lgamma_test): Likewise.
23216 (tgamma_test): Likewise.
23217
23218 2012-10-16 Florian Weimer <fweimer@redhat.com>
23219
23220 [BZ #14700]
23221 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
23222 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
23223
23224 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
23225
23226 * NEWS: Mention BZ #14716.
23227 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
23228 when removing AVAILABLE1_USES_J macro.
23229
23230 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
23231
23232 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
23233 (__bswap_64): __uint64_t for unsigned 64-bit int.
23234
23235 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
23236
23237 * include/string.h (memmem): Declare libc hidden alias.
23238 * string/memmem.c (memmem): Define libc hidden alias.
23239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
23240 __read, __close instead of open, read, close.
23241
23242 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
23243
23244 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
23245 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
23246 global and hidden.
23247 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
23248 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
23249 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
23250 Likewise.
23251 (__rawmemchr_sse2): Likewise.
23252 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
23253 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
23254 (__strchr_sse2): Likewise.
23255 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
23256 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23257 (__strcasecmp_sse2): Likewise.
23258 (__strncasecmp_sse2): Likewise.
23259 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23260 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23261 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23262 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23263 (__strrchr_sse2): Likewise.
23264 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23265 ifunc-impl-list.c.
23266 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23267 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23268 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23269 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23270 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23271 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23272 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23273 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23274 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23275 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23276 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23277 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23278 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23279 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23280 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23281 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23282 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23283 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23284 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23285 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23286 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23287 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23288 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23289 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23290 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23291 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23292 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23293 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23294 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23295 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23296
23297 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23298 global and hidden.
23299 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23300 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23301 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23302 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23303 Likewise.
23304 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23305 Likewise.
23306 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23307 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23308 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23309 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23310 ifunc-impl-list.c.
23311 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23312 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23313 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23314 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23315 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23316 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23317 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23318 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23319 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23320 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23321 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23322 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23323 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23324 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23325 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23327 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23328 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23329 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23330 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23331 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23332 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23333 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23334 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23336 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23337 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23338 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23339 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23340 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23341 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23342 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23343 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23344 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23345 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23346 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23347 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23348 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23349 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23350 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23351 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23352
23353 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23354 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23355 * include/ifunc-impl-list.h: New file.
23356 * misc/ifunc-impl-list.c: Likewise.
23357 * misc/Makefile (routines): Add ifunc-impl-list.
23358 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23359 * string/test-string.h: Include <ifunc-impl-list.h>.
23360 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
23361 TEST_NAME]: New variables.
23362 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23363 are defined.
23364 (test_init): Call __libc_ifunc_impl_list to initialize
23365 func_list if TEST_IFUNC and TEST_NAME are defined.
23366
23367 * string/Makefile (strop-tests): Add bcopy and bzero.
23368 * string/test-bcopy.c: New file.
23369 * string/test-bzero.c: Likewise.
23370 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23371 defined.
23372 * string/test-memset.c: Support bzero test if TEST_BZERO is
23373 defined.
23374 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23375 __libc_memmove.
23376 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23377 __libc_memset.
23378 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23379 of memset.
23380
23381 2012-10-10 Joseph Myers <joseph@codesourcery.com>
23382
23383 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23384 * configure: Regenerated.
23385
23386 * Makeconfig (+link-static-before-libc): Don't include
23387 $(link-static-libc).
23388
23389 * libio/libio.h (_IO_pos_t): Remove.
23390
23391 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23392
23393 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23394 McGrath.
23395
23396 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23397
23398 * crypt/crypt-entry.c: Include fips-private.h.
23399 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23400 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23401 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23402 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23403
23404 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
23405
23406 * crypt/crypt-private.h: Include stdbool.h.
23407 (_ufc_setup_salt_r): Return bool.
23408 * crypt/crypt-entry.c: Include errno.h.
23409 (__crypt_r): Return NULL with EINVAL for bad salt.
23410 * crypt/crypt_util.c (bad_for_salt): New.
23411 (_ufc_setup_salt_r): Check that salt is long enough and within
23412 the specified alphabet.
23413 * crypt/badsalttest.c: New file.
23414 * crypt/Makefile (tests): Add it.
23415 ($(objpfx)badsalttest): New.
23416
23417 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23418
23419 * NEWS: Add entry for BZ #14602.
23420
23421 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23422
23423 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23424 type-generic.
23425 * math/libm-test.inc: Update comment listing what functions and
23426 macros are tested.
23427 (isgreater_test): New function.
23428 (isgreaterequal_test): Likewise.
23429 (isless_test): Likewise.
23430 (islessequal_test): Likewise.
23431 (islessgreater_test): Likewise.
23432 (isunordered_test): Likewise.
23433 (main): Call the new functions.
23434
23435 2012-10-09 Roland McGrath <roland@hack.frob.com>
23436
23437 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23438 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23439 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23440 * sysdeps/i386/configure: Regenerated.
23441 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23442 * sysdeps/mach/configure: Regenerated.
23443 * sysdeps/mach/hurd/configure: Regenerated.
23444 * sysdeps/powerpc/configure: Regenerated.
23445 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23446 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23447 * sysdeps/s390/s390-32/configure: Regenerated.
23448 * sysdeps/s390/s390-64/configure: Regenerated.
23449 * sysdeps/sh/configure: Regenerated.
23450 * sysdeps/sparc/configure: Regenerated.
23451 * sysdeps/unix/sysv/linux/configure: Regenerated.
23452 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23453 * sysdeps/x86_64/configure: Regenerated.
23454
23455 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23456 defined. Don't check if MAP is NULL.
23457
23458 2012-10-09 Joseph Myers <joseph@codesourcery.com>
23459
23460 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23461 (_G_stat64): Likewise.
23462 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23463 (_G_stat64): Likewise.
23464 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23465 instead of struct _G_stat64.
23466 * libio/fileops.c (mmap_remap_check): Likewise.
23467 (decide_maybe_mmap): Likewise.
23468 (_IO_new_file_seekoff): Likewise.
23469 (_IO_file_stat): Likewise.
23470 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23471 _G_off64_t.
23472 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23473 instead of struct _G_stat64.
23474 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23475
23476 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23477
23478 [BZ #14602]
23479 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23480 Replace with ...
23481 (CHECK_EOL): New macro.
23482 (two_way_short_needle): Check beginning of haystack for EOL. Use
23483 CHECK_EOL.
23484 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23485 Replace with CHECK_EOL.
23486 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23487 Replace with CHECK_EOL.
23488
23489 2012-10-08 Joseph Myers <joseph@codesourcery.com>
23490
23491 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23492 type-generic.
23493 * math/libm-test.inc: Update comment listing what functions and
23494 macros are tested.
23495 (finite_test): New function.
23496 (isinf_test): Likewise.
23497 (isnan_test): Likewise.
23498 (fpclassify_test): Test subnormal input.
23499 (isfinite_test): Likewise.
23500 (isnormal_test): Likewise.
23501 (main): Call the new functions.
23502
23503 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23504
23505 [BZ #14660]
23506 * Makerules (%.dynsym): Force C locale when running
23507 $(OBJDUMP) --dynamic-syms.
23508
23509 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23510
23511 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23512 <stdint.h>.
23513
23514 2012-10-06 David S. Miller <davem@davemloft.net>
23515
23516 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23517 upper 32-bits of the length value in %o2 since we use branch-on-register
23518 tests which consider the entire 64-bit register.
23519
23520 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23521
23522 * string/test-strstr.c (check2): Add a test for page boundary.
23523
23524 2012-10-05 David S. Miller <davem@davemloft.net>
23525
23526 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23527 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23528 file.
23529 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23530 sysdep_routines.
23531 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23532 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23533 and bzero when HWCAP_SPARC_CRYPTO is present.
23534
23535 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23536
23537 [BZ #14602]
23538 * string/test-strstr.c (check2): New function.
23539 (test_main): Call check2.
23540
23541 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23542 and bug-strchr1.
23543 * string/bug-strcasestr1.c (do_test): Moved to ...
23544 * string/test-strcasestr.c (check1): Here. New function.
23545 (do_one_test): Break out result checking code into ...
23546 (check_result): This. New function.
23547 (do_one_test): Call check_result.
23548 (test_main): Call check1.
23549 * string/bug-strchr1.c (do_test): Moved to ...
23550 * string/test-strchr.c (check1): Here. New function.
23551 (do_one_test): Break out result checking code into ...
23552 (check_result): This. New function.
23553 (do_one_test): Call check_result.
23554 (test_main): Call check1.
23555 * string/bug-strstr1.c (main): Moved to ...
23556 * string/test-strstr.c (check1): Here. New function.
23557 (do_one_test): Break out result checking code into ...
23558 (check_result): This. New function.
23559 (do_one_test): Call check_result.
23560 (test_main): Call check1.
23561 * string/bug-strcasestr1.c: Removed.
23562 * string/bug-strchr1.c: Likewise.
23563 * string/bug-strstr1.c: Likewise.
23564
23565 * elf/Makefile (dl-routines): Add hwcaps.
23566 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23567 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23568 (_dl_important_hwcaps): Moved to ...
23569 * elf/dl-hwcaps.c: Here. New file.
23570 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23571
23572 [BZ #14557]
23573 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23574 if IS_IN_rtld isn't defined.
23575
23576 * elf/dl-support.c (_dl_sysinfo_map): New.
23577 Include "get-dynamic-info.h" and "setup-vdso.h".
23578 (_dl_non_dynamic_init): Call setup_vdso.
23579 * elf/dynamic-link.h: Don't include <assert.h>.
23580 (elf_get_dynamic_info): Moved to ...
23581 * elf/get-dynamic-info.h: Here. New file.
23582 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23583 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23584 * elf/setup-vdso.h: Here. New file.
23585 * elf/rtld.c: Include "setup-vdso.h".
23586 (dl_main): Call setup_vdso.
23587
23588 2012-10-05 Joseph Myers <joseph@codesourcery.com>
23589
23590 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23591 creal in comment listing functions tested. List finite, isinf,
23592 isnan, isless, islessequal, isgreater, isgreaterequal,
23593 islessgreater, isunordered, lgamma_r and pow10 as functions and
23594 macros not tested. Mention which functions not tested are aliases
23595 for other functions. Fix typo. Note that signs of NaNs are not
23596 tested.
23597
23598 * scripts/config.guess: Update from config.git.
23599 * scripts/config.sub: Likewise.
23600
23601 2012-10-04 Roland McGrath <roland@hack.frob.com>
23602
23603 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23604 * misc/madvise.c (madvise): Renamed to __madvise.
23605 Make madvise a weak alias.
23606 * include/sys/mman.h: Declare __madvise.
23607 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23608 * sysdeps/unix/syscalls.list
23609 (madvise): Make __madvise the strong name, and madvise a weak alias.
23610 * sysdeps/unix/sysv/linux/syscalls.list
23611 (madvise, mmap): Remove redundant entries.
23612 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23613 * malloc/malloc.c (mtrim): Likewise.
23614 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23615
23616 2012-10-03 Roland McGrath <roland@hack.frob.com>
23617
23618 * sysdeps/mach/hurd/dl-cache.c: File removed.
23619 * config.h.in (USE_LDCONFIG): New #undef.
23620 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23621 * configure: Regenerated.
23622 * elf/Makefile (dl-routines): Add dl-cache only under
23623 [$(use-ldconfig) = yes].
23624 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23625 cache on [USE_LDCONFIG].
23626 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23627 [USE_LDCONFIG].
23628 * elf/rtld.c (dl_main): Likewise.
23629
23630 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23631
23632 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23633 _SC_LEVEL4_CACHE_LINESIZE.
23634
23635 2012-10-03 Roland McGrath <roland@hack.frob.com>
23636
23637 * sysdeps/unix/bsd/confstr.h: File removed.
23638
23639 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
23640
23641 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23642 sys/sdt-config.h.
23643
23644 2012-10-02 Roland McGrath <roland@hack.frob.com>
23645
23646 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23647 Make 'mapoff' field ElfW(Off) rather than off_t.
23648
23649 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23650
23651 * nscd/Makefile: Remove nscd-cflags and all its users.
23652 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23653 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23654
23655 [BZ #10631]
23656 * malloc.c (malloc_printerr): Clarify error message.
23657
23658 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23659
23660 [BZ #14648]
23661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23662 Set bit_FMA_Usable if FMA is supported.
23663 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23664 macro.
23665 (bit_FMA4_Usable): Updated.
23666 (index_FMA_Usable): New macro.
23667 (CPUID_FMA): Likewise
23668 (HAS_FMA): Defined with bit_FMA_Usable.
23669
23670 2012-10-01 Roland McGrath <roland@hack.frob.com>
23671
23672 * bits/types.h (__swblk_t): Type removed.
23673 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23674 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23676 (__SWBLK_T_TYPE): Likewise.
23677 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23678 (__SWBLK_T_TYPE): Likewise.
23679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23680 (__SWBLK_T_TYPE): Likewise.
23681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23682 (__SWBLK_T_TYPE): Likewise.
23683
23684 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
23685 Honza Horak <hhorak@redhat.com>
23686
23687 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23688 (xdr_mapname): Use YPMAXMAP as maxsize.
23689 (xdr_peername): Use YPMAXPEER as maxsize.
23690 (xdr_keydat): Use YPAXRECORD as maxsize.
23691 (xdr_valdat): Use YPMAXRECORD as maxsize.
23692
23693 2012-10-01 Roland McGrath <roland@hack.frob.com>
23694
23695 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23696
23697 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23698 * csu/init-first.c: ... here.
23699 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23700 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23701 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23702 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23703 * sysdeps/i386/init-first.c: File removed.
23704 * sysdeps/sh/init-first.c: File removed.
23705
23706 2012-10-01 Joseph Myers <joseph@codesourcery.com>
23707
23708 [BZ #14645]
23709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23710 if x * y might underflow to zero and z is zero.
23711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23712 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23713 * math/libm-test.inc (min_subnorm_value): New variable.
23714 (fma_test): Add more tests.
23715 (fma_test_towardzero): Likewise.
23716 (fma_test_downward): Likewise
23717 (fma_test_upward): Likewise.
23718 (initialize): Set min_subnorm_value.
23719
23720 2012-09-29 Joseph Myers <joseph@codesourcery.com>
23721
23722 [BZ #14638]
23723 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23724 0 + 0.
23725 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23726 mode for addition resulting in exact zero.
23727 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23728 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23729 exact 0 + 0.
23730 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23731 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23732 * math/libm-test.inc (fma_test): Add more tests.
23733 (fma_test_towardzero): New function.
23734 (fma_test_downward): Likewise.
23735 (fma_test_upward): Likewise.
23736 (main): Call the new functions.
23737
23738 2012-09-28 David S. Miller <davem@davemloft.net>
23739
23740 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23741
23742 2012-09-28 Roland McGrath <roland@hack.frob.com>
23743
23744 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23745 instead of SIGALRM.
23746
23747 * sysdeps/gnu/_G_config.h: Moved to ...
23748 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23749 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23750 * sysdeps/generic/_G_config.h: ... here.
23751
23752 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23753
23754 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23755
23756 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23757 Conditionalize target on [libnss_test1.so-version].
23758
23759 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23760
23761 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23762 (elfobjdir): Move out of conditionals.
23763
23764 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23765 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23766 (__nss_lookup_function): Conditionalize label remove_from_tree on
23767 [!DO_STATIC_NSS || SHARED], matching its only use.
23768
23769 2012-09-28 David S. Miller <davem@davemloft.net>
23770
23771 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23773 file.
23774 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23775 sysdep_routines.
23776 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23777 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23778 when HWCAP_SPARC_CRYPTO is present.
23779
23780 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23781
23782 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23783
23784 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23785
23786 [BZ #6530]
23787 * stdio-common/vfprintf.c (process_string_arg): Revert
23788 2000-07-22 change.
23789
23790 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23791
23792 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23793 for testcase.
23794 * stdio-common/tst-sprintf.c: Include <locale.h>
23795 (main): Test sprintf's handling of incomplete multibyte
23796 characters.
23797
23798 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23799
23800 * elf/dl-runtime.c (VERSYMIDX): Removed.
23801 * elf/dl-version.c (VERSYMIDX): Likewise.
23802 * elf/do-rel.h (VERSYMIDX): Likewise.
23803 (VALIDX): Likewise.
23804 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23805 * elf/rtld.c (VALIDX): Likewise.
23806 (ADDRIDX): Likewise.
23807 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23808 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23809 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
23810 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23811 (VALIDX): Likewise.
23812 (ADDRIDX): Likewise.
23813
23814 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23815
23816 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23817
23818 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23819
23820 [BZ #11438]
23821 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23822 to global scope.
23823 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23824 addresses are in the same scope as 192.0.2/24.
23825 * posix/gai.conf: Document new scope table defaults.
23826
23827 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23828
23829 [BZ #5298]
23830 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23831 for ftell. Compute offsets from write pointers instead.
23832 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23833
23834 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23835
23836 [BZ #14543]
23837 * libio/Makefile (tests): New test case tst-fseek.
23838 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23839 combination works in wide mode.
23840 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23841 state when the external buffer state changes.
23842
23843 2012-09-27 David S. Miller <davem@davemloft.net>
23844
23845 [BZ #14376]
23846 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23847 pass reloc->r_addend in as the 'high' argument to
23848 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23849
23850 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23851
23852 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23853
23854 * rt/tst-aio2.c: Include <pthread.h>.
23855 * rt/tst-aio3.c: Likewise.
23856
23857 2012-09-27 Steve Ellcey <sellcey@mips.com>
23858
23859 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23860
23861 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23862
23863 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23864 contents on [SHARED].
23865
23866 2012-09-26 Marek Polacek <polacek@redhat.com>
23867
23868 [BZ #14530]
23869 [BZ #13741]
23870 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23871 for C++ and GCC <4.3 as well as for non GCC compilers.
23872
23873 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23874
23875 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23876
23877 2012-09-25 Roland McGrath <roland@hack.frob.com>
23878
23879 * Makefile.in (all, install): Declare with .PHONY.
23880 Reported by Michael Hope <michael.hope@linaro.org>.
23881
23882 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23883
23884 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23885 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23886 system header.
23887 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23888 Likewise.
23889 (sydep_routines): Add the new and the internal functions.
23890 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23891 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23893 (GLIBC_2.17): Add the new function.
23894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23895 (GLIBC_2.17): Likewise.
23896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23897 (GLIBC_2.17): Likewise.
23898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23899 (GLIBC_2.17): Likewise.
23900 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23901
23902 2012-09-25 Alan Modra <amodra@gmail.com>
23903
23904 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23905 Add release barrier before setting once_control to say
23906 initialisation is done. Add hints on lwarx. Use macro in
23907 place of isync.
23908 (clear_once_control): Add release barrier.
23909
23910 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23911
23912 [BZ #13629]
23913 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23914 specially.
23915 * math/s_clog10.c (__clog10): Likewise.
23916 * math/s_clog10f.c (__clog10f): Likewise.
23917 * math/s_clog10l.c (__clog10l): Likewise.
23918 * math/s_clogf.c (__clogf): Likewise.
23919 * math/s_clogl.c (__clogl): Likewise.
23920 * math/Makefile (libm-calls): Add x2y2m1.
23921 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23922 (__x2y2m1): Likewise.
23923 (__x2y2m1l): Likewise.
23924 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23925 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23926 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23927 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23928 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23929 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23930 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23931 * sysdeps/i386/fpu/libm-test-ulps: Update.
23932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23933
23934 [BZ #14621]
23935 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23936 int as type of variable DEPTH.
23937 (glob): Use size_t instead of int as type of variables NEWCOUNT
23938 and OLD_PATHC.
23939
23940 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23941
23942 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23943 Add s_sincosf-sse2.
23944 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23945 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23946 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23947 macros for using routine as __sincosf_ia32.
23948 Use macro for function declaration and weak_alias.
23949 * sysdeps/i386/fpu/libm-test-ulps: Update.
23950
23951 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23953
23954 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
23955 subnormal argument.
23956 * math/s_cexpf.c (__cexpf): Likewise.
23957 * math/s_csinf.c (__csinf): Likewise.
23958 * math/s_csinhf.c (__csinhf): Likewise.
23959 * math/s_ctanf.c (__ctanf): Likewise.
23960 * math/s_ctanhf.c (__ctanhf): Likewise.
23961 * math/s_ccosh.c (__ccoshf): Likewise.
23962 * math/s_cexp.c (__cexpl): Likewise.
23963 * math/s_csin.c (__csin): Likewise.
23964 * math/s_csinh.c (__csinh): Likewise.
23965 * math/s_ctan.c (__ctan): Likewise.
23966 * math/s_ctanh.c (ctanh): Likewise.
23967 * math/s_ccoshl.c (__ccoshl): Likewise.
23968 * math/s_cexpl.c (__cexpl): Likewise.
23969 * math/s_csinl.c (__csinl): Likewise.
23970 * math/s_csinhl.c (__csinhl): Likewise.
23971 * math/s_ctanl.c (__ctanl): Likewise.
23972 * math/s_ctanhl.c (__ctanhl): Likewise.
23973
23974 2012-09-25 Joseph Myers <joseph@codesourcery.com>
23975
23976 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23977 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23978 (_IO_off_t): Define to __off_t, not _G_off_t.
23979 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23980 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23981 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23982 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23983 type of __dummy and __dummy2 fields.
23984 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23985 (_G_ssize_t): Likewise.
23986 (_G_off_t): Likewise.
23987 (_G_pid_t): Likewise.
23988 (_G_uid_t): Likewise.
23989 (_G_wchar_t): Likewise.
23990 (_G_wint_t): Likewise.
23991 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23992 (_G_ssize_t): Likewise.
23993 (_G_off_t): Likewise.
23994 (_G_pid_t): Likewise.
23995 (_G_uid_t): Likewise.
23996 (_G_wchar_t): Likewise.
23997 (_G_wint_t): Likewise.
23998 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23999 (_G_ssize_t): Likewise.
24000 (_G_off_t): Likewise.
24001 (_G_pid_t): Likewise.
24002 (_G_uid_t): Likewise.
24003 (_G_wchar_t): Likewise.
24004 (_G_wint_t): Likewise.
24005
24006 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24007
24008 * malloc/arena.c: Include malloc-sysdep.h.
24009 (shrink_heap): Use check_may_shrink_heap to decide if madvise
24010 is sufficient to shrink the heap or an unmap is needed.
24011 * sysdeps/generic/malloc-sysdep.h: New file. Define
24012 new function check_may_shrink_heap.
24013 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
24014 new function check_may_shrink_heap.
24015
24016 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24017
24018 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
24019 comments.
24020
24021 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
24022
24023 * catgets/test-gencat.sh: Add "set -e".
24024 * elf/tst-pathopt.sh: Likewise.
24025 * grp/tst_fgetgrent.sh: Likewise.
24026 * iconvdata/run-iconv-test.sh: Likewise.
24027 * intl/tst-gettext.sh: Likewise.
24028 * intl/tst-gettext2.sh: Likewise.
24029 * intl/tst-gettext4.sh: Likewise.
24030 * intl/tst-gettext6.sh: Likewise.
24031 * intl/tst-translit.sh: Likewise.
24032 * io/ftwtest-sh: Likewise.
24033 * libio/test-freopen.sh: Likewise.
24034 * malloc/tst-mtrace.sh: Likewise.
24035 * posix/globtest.sh: Likewise.
24036 * posix/tst-getconf.sh: Likewise.
24037 * posix/wordexp-tst.sh: Likewise.
24038 * stdio-common/tst-printf.sh: Likewise.
24039 * stdio-common/tst-unbputc.sh: Likewise.
24040 * stdlib/tst-fmtmsg.sh: Likewise.
24041 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24042 * catgets/Makefile: Do not specify -e option when running
24043 testsuite shell scripts.
24044 * elf/Makefile: Likewise.
24045 * grp/Makefile: Likewise.
24046 * iconvdata/Makefile: Likewise.
24047 * intl/Makefile: Likewise.
24048 * io/Makefile: Likewise.
24049 * libio/Makefile: Likewise.
24050 * malloc/Makefile: Likewise.
24051 * posix/Makefile: Likewise.
24052 * stdio-common/Makefile: Likewise.
24053 * stdlib/Makefile: Likewise.
24054 * sysdeps/x86_64/Makefile: Likewise.
24055
24056 * io/ftwtest-sh: Add copyright header.
24057 * posix/globtest.sh: Likewise.
24058 * posix/tst-getconf.sh: Likewise.
24059 * posix/wordexp-tst.sh: Likewise.
24060 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
24061
24062 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
24063
24064 [BZ #13679]
24065 * Makeconfig (+link): Defined as $(+link-static) if
24066 $(build-shared) isn't yes.
24067 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
24068 isn't yes.
24069 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
24070
24071 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
24072
24073 [BZ #14562]
24074 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
24075 new chunk size with MALLOC_ALIGN_MASK.
24076
24077 2012-09-24 Joseph Myers <joseph@codesourcery.com>
24078
24079 [BZ #5044]
24080 * stdio-common/printf_fphex.c: Include <stdbool.h> and
24081 <rounding-mode.h>.
24082 (__printf_fphex): Determine rounding using get_rounding_mode and
24083 round_away.
24084 * stdio-common/tst-printf-round.c (struct hex_test): New
24085 structure.
24086 (hex_tests): New variable.
24087 (test_hex_in_one_mode): New function.
24088 (do_test): Also run tests for hex float output.
24089
24090 2012-09-21 Joseph Myers <joseph@codesourcery.com>
24091
24092 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24093 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24094 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
24095 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
24096 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
24097 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
24098 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24099 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
24100
24101 2012-09-20 Joseph Myers <joseph@codesourcery.com>
24102
24103 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
24104 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
24105 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
24106 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
24107
24108 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
24109
24110 [BZ #14579]
24111 * elf/rtld.c (dl_main): Limit the check for self loading to normal
24112 mode only.
24113 * elf/tst-rtld-load-self.sh: New test.
24114 * elf/Makefile: Run it.
24115
24116 2012-09-18 Joseph Myers <joseph@codesourcery.com>
24117
24118 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
24119 (tst-writev-ENV): Remove.
24120 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
24121
24122 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
24123
24124 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
24125
24126 2012-09-17 Joseph Myers <joseph@codesourcery.com>
24127
24128 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
24129 unconditional.
24130 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
24131 Likewise.
24132 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
24133 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
24134 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
24135 Likewise.
24136
24137 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
24138
24139 [BZ #14587]
24140 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
24141 * config.make.in (have-cpp-asm-debuginfo): Removed.
24142 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
24143 * configure: Regenerated.
24144
24145 2012-09-14 Joseph Myers <joseph@codesourcery.com>
24146
24147 [BZ #5044]
24148 * stdio-common/printf_fp.c: Include <stdbool.h> and
24149 <rounding-mode.h>.
24150 (___printf_fp): Determine rounding using get_rounding_mode and
24151 round_away.
24152 * stdio-common/tst-printf-round.c: New file.
24153 * stdio-common/Makefile (tests): Add tst-printf-round.
24154 (link-libm): New variable.
24155 ($(objpfx)tst-printf-round): Depend in $(link-libm).
24156
24157 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
24158
24159 [BZ #14576]
24160 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
24161 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
24162 Likewise.
24163 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
24164 Likewise.
24165
24166 2012-09-13 Joseph Myers <joseph@codesourcery.com>
24167
24168 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
24169 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24170 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24171 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
24172
24173 2012-09-12 Joseph Myers <joseph@codesourcery.com>
24174
24175 [BZ #14518]
24176 * include/rounding-mode.h: New file.
24177 * sysdeps/generic/get-rounding-mode.h: Likewise.
24178 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
24179 * stdlib/strtod_l.c: Include <rounding-mode.h>.
24180 (MAX_VALUE): New macro.
24181 (MIN_VALUE): Likewise.
24182 (overflow_value): New function.
24183 (underflow_value): Likewise.
24184 (round_and_return): Use overflow_value and underflow_value to
24185 determine return values in overflow and underflow cases. Use
24186 round_away to determine rounding depending on rounding mode.
24187 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
24188 determine return values in overflow and underflow cases.
24189 * stdlib/tst-strtod-round.c: Include <fenv.h>.
24190 (struct test_results): New structure.
24191 (struct test): Use struct test_results to store expected results
24192 for all rounding modes.
24193 (TEST): Include expected results for all rounding modes.
24194 (test_in_one_mode): New function.
24195 (do_test): Use test_in_one_mode to compute and check results.
24196 Check results for all rounding modes.
24197 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
24198 $(link-libm).
24199
24200 2012-12-09 Allan McRae <allan@archlinux.org>
24201
24202 * sysdeps/i386/fpu/libm-test-ulps: Update
24203
24204 2012-09-11 Joseph Myers <joseph@codesourcery.com>
24205
24206 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
24207 (_G_int32_t): Likewise.
24208 (_G_uint16_t): Likewise.
24209 (_G_uint32_t): Likewise.
24210 (_G_HAVE_BOOL): Likewise.
24211 (_G_HAVE_ATEXIT): Likewise.
24212 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24213 (_G_HAVE_IO_FILE_OPEN): Likewise.
24214 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
24215 (_G_int32_t): Likewise.
24216 (_G_uint16_t): Likewise.
24217 (_G_uint32_t): Likewise.
24218 (_G_HAVE_BOOL): Likewise.
24219 (_G_HAVE_ATEXIT): Likewise.
24220 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24221 (_G_HAVE_IO_FILE_OPEN): Likewise.
24222 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
24223 (_G_int32_t): Likewise.
24224 (_G_uint16_t): Likewise.
24225 (_G_uint32_t): Likewise.
24226 (_G_HAVE_BOOL): Likewise.
24227 (_G_HAVE_ATEXIT): Likewise.
24228 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
24229 (_G_HAVE_IO_FILE_OPEN): Likewise.
24230
24231 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
24232
24233 * csu/libc-tls.c: Update copyright years.
24234
24235 2012-09-10 Joseph Myers <joseph@codesourcery.com>
24236
24237 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
24238 [!_G_USING_THUNKS]: Remove conditional code.
24239 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
24240 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
24241
24242 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
24243 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
24244 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24245 (_G_VTABLE_LABEL_PREFIX): Likewise.
24246 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24247 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24248 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24249 (_G_VTABLE_LABEL_PREFIX): Likewise.
24250 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24251 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
24252 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
24253 (_G_VTABLE_LABEL_PREFIX): Likewise.
24254 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
24255
24256 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24257
24258 * libio/Makefile: Include ../Makeconfig before tests.
24259 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24260 only if $(build-shared) is yes.
24261
24262 * iconv/gconv_db.c: Update copyright years.
24263
24264 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24265
24266 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24267 unwind info if defined PIC. Fix special cases description.
24268 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24269
24270 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24271 DP_HI_MASK entry.
24272 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24273
24274 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24275
24276 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24277
24278 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24279 is NULL.
24280
24281 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24282 (LDLIBS-tst-chk4): This.
24283 (LDFLAGS-tst-chk5): Renamed to ...
24284 (LDLIBS-tst-chk5): This.
24285 (LDFLAGS-tst-chk6): Renamed to ...
24286 (LDLIBS-tst-chk6): This.
24287 (LDFLAGS-tst-lfschk4): Renamed to ...
24288 (LDLIBS-tst-lfschk4): This.
24289 (LDFLAGS-tst-lfschk5): Renamed to ...
24290 (LDLIBS-tst-lfschk5): This.
24291 (LDFLAGS-tst-lfschk6): Renamed to ...
24292 (LDLIBS-tst-lfschk6): This.
24293
24294 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24295 on $(common-objpfx)soversions.mk.
24296
24297 2012-09-07 Joseph Myers <joseph@codesourcery.com>
24298
24299 [BZ #10014]
24300 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24301 example host name.
24302
24303 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24304
24305 * malloc/arena.c (arena_get_retry): New function that gets
24306 another arena for the caller to try its request on.
24307 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24308 current arena cannot fulfill the request.
24309 (__libc_memalign): Likewise.
24310 (__libc_memalign): Likewise.
24311 (__libc_pvalloc): Likewise.
24312 (__libc_calloc): Likewise.
24313
24314 2012-09-05 John Tobey <john.tobey@gmail.com>
24315
24316 [BZ #13542]
24317 * manual/arith.texi (Operations on Complex): Fix description
24318 of carg branch cut.
24319
24320 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24321
24322 [BZ #10014]
24323 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24324 host name.
24325
24326 [BZ #10038]
24327 * manual/memory.texi (Memory): Make order of menu items match
24328 order of sections.
24329
24330 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24331
24332 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24333 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24334 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24335
24336 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24337
24338 * csu/libc-tls.c (static_dtv): Renamed to ...
24339 (_dl_static_dtv): This. Make it global.
24340 (_dl_initial_dtv): Removed.
24341 (__libc_setup_tls): Updated.
24342 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24343 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24344 DL_INITIAL_DTV.
24345
24346 2012-09-06 Petr Machata <pmachata@redhat.com>
24347
24348 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24349 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24350 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24351 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24352
24353 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24354
24355 [BZ #14545]
24356 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24357 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24358 freeing dtv[-1].
24359
24360 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24361
24362 [BZ #14544]
24363 * Makeconfig (link-static-before-libc): Replace $(+prector)
24364 with $(+prectorT).
24365 (link-static-after-libc): Replace $(+postctor) with
24366 $(+postctorT).
24367 (link-bounded): Replace $(+prector)/$(+postctor) with
24368 $(+prectorT)/$(+postctorT).
24369 (+prectorT): New macro.
24370 (+postctorT): Likewise.
24371
24372 2012-09-06 Joseph Myers <joseph@codesourcery.com>
24373
24374 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24375 (round_str): Handle values above the maximum for IBM long double
24376 as inexact.
24377 * stdlib/tst-strtod-round.c (tests): Regenerated.
24378
24379 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24380
24381 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24382 assembler flag.
24383 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24384 zarch_nohighgprs around the zarch optimized routines.
24385 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24386 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24387 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24388 for zarch.
24389
24390 2012-09-05 David S. Miller <davem@davemloft.net>
24391
24392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24393
24394 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
24395 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24396 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24397 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24398 entries.
24399
24400 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24401
24402 * malloc/arena.c: Fold copyright years.
24403 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24404
24405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24406
24407 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24408
24409 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24410
24411 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24412
24413 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24414
24415 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24416 change internal state upon failure.
24417
24418 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
24419
24420 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24421 * malloc/memusage.c (mmap): Likewise.
24422 (mmap64, mremap): Likewise. Adjust name in comment.
24423
24424 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24425
24426 * libio/fileops.c: Fix typos in comments.
24427 * libio/oldfileops.c: Likewise.
24428 * libio/wfileops.c: Likewise.
24429
24430 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24431
24432 [BZ #1349]
24433 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24434 (tst-malloc-usable-ENV): Set environment for test case.
24435 * malloc/hooks.c (malloc_check_get_size): New function to get
24436 requested size.
24437 * malloc/malloc.c (musable): Use malloc_check_get_size.
24438 * malloc/tst-malloc-usable.c: New test case.
24439
24440 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24441
24442 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24443
24444 2012-09-05 Allan McRae <allan@archlinux.org>
24445
24446 [BZ #13966]
24447 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24448 determine header location.
24449 * configure: Regenerated.
24450
24451 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24452
24453 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24454 float format.
24455 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
24456 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24457 format.
24458 (test): Regenerate.
24459
24460 2012-09-04 David S. Miller <davem@davemloft.net>
24461
24462 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24463 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24464 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24465
24466 2012-09-04 Florian Weimer <fweimer@redhat.com>
24467
24468 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24469 failures.
24470
24471 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24472
24473 2012-09-04 Joseph Myers <joseph@codesourcery.com>
24474
24475 [BZ #9914]
24476 * libio/iogetdelim.c: Include <limits.h>.
24477 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24478 + len + 1 would overflow.
24479
24480 2012-09-03 Andreas Jaeger <aj@suse.de>
24481
24482 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24483 * sysdeps/i386/fpu/libm-test-ulps: Update.
24484
24485 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24486
24487 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24488 Add s_sinf-sse2, s_conf-sse2.
24489
24490 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24491 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24492 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24493 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24494
24495 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24496 for using routine as __sinf_ia32.
24497 Use macro for function declaration and weak_alias.
24498 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24499 for using routine as __cosf_ia32.
24500 Use macro for function declaration and weak_alias.
24501
24502 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24503 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24504
24505 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24506 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24507 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24508
24509 * math/libm-test.inc (cos_test): Add more test cases.
24510 (sin_test): Likewise.
24511 (sincos_test): Likewise.
24512
24513 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24514
24515 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24516 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24517 hidden.
24518 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24519
24520 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24521
24522 [BZ #14538]
24523 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24524 first element of the GOT.
24525 (elf_machine_load_address): Return the difference between
24526 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24527
24528 2012-09-01 Allan McRae <allan@archlinux.org>
24529
24530 [BZ #13412]
24531 * configure.in (AWK): Require gawk version 3.0 or later.
24532 * configure: Regenerated.
24533
24534 2012-09-01 Joseph Myers <joseph@codesourcery.com>
24535
24536 * sysdeps/unix/sysv/linux/kernel-features.h
24537 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24538 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24539 [__NR_clock_getres]: Make code unconditional.
24540 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24541 (clock_getcpuclockid): Remove code left unreachable by removal of
24542 conditionals.
24543 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24544 code unconditional.
24545 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24546 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24547 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24548 Make code unconditional.
24549 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24550 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24551 * sysdeps/unix/sysv/linux/clock_settime.c
24552 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24553 conditional code.
24554 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24556
24557 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24558
24559 [BZ #14476]
24560 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24561 scripts/test-installation.pl.
24562
24563 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24564 and $ld_so_version if it is set.
24565
24566 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24567
24568 [BZ #14516]
24569 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24570 failure if reading from procfs failed.
24571 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24572
24573 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24574
24575 * sysdeps/unix/sysv/linux/kernel-features.h
24576 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24577 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24578 Remove conditional code.
24579 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24580 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24581 Remove conditional code.
24582 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24583 * sysdeps/unix/sysv/linux/i386/fxstat.c
24584 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24585 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24586 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24587 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24588 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24589 * sysdeps/unix/sysv/linux/i386/lxstat.c
24590 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24591 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24592 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24593 Remove conditional code.
24594 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24595 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24596 Remove conditional code.
24597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24598 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24599 <kernel-features.h>.
24600 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24601 Remove.
24602 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24603 Remove conditional code.
24604 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24605 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24606 Remove conditional.
24607
24608 2012-08-27 Mike Frysinger <vapier@gentoo.org>
24609
24610 [BZ #5400]
24611 * NEWS: Add fixed bug number.
24612
24613 2012-08-27 Joseph Myers <joseph@codesourcery.com>
24614
24615 [BZ #14519]
24616 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24617 underflowing exponent in case of negative sign.
24618 * stdlib/tst-strtod-round-data: Add more tests.
24619 * stdlib/tst-strtod-round.c (tests): Regenerated.
24620
24621 [BZ #3479]
24622 * stdlib/strtod_l.c (NDIG): Remove.
24623 (HEXNDIG): Likewise.
24624 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24625 smallest representable value.
24626 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24627 lie within an exact representation of 1/2 ulp of the result.
24628 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24629 unconditionally.
24630 (TENS_P9_IDX): Define unconditionally.
24631 (TENS_P9_SIZE): Likewise.
24632 (TENS_P10_IDX): Likewise.
24633 (TENS_P10_SIZE): Likewise.
24634 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24635 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24636 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24637 entries for 10^2^13 and 10^2^14.
24638 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24639 (TENS_P13_IDX): Define.
24640 (TENS_P13_SIZE): Likewise.
24641 (TENS_P14_IDX): Likewise.
24642 (TENS_P14_SIZE): Likewise.
24643 (_fpioconst_pow10): Change array size to
24644 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24645 unconditional.
24646 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24647 1024]: Add entries for 10^2^13 and 10^2^14.
24648 [LAST_POW10 > _LAST_POW10]: Remove #error.
24649 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24650 (_fpioconst_pow10): Change array size to
24651 FPIOCONST_POW10_ARRAY_SIZE.
24652 * stdlib/gen-fpioconst.c: New file.
24653 * stdlib/gen-tst-strtod-round.c: Likewise.
24654 * stdlib/tst-strtod-round-data: Likewise.
24655 * stdlib/tst-strtod-round.c: Likewise.
24656 * stdlib/Makefile (tests): Add tst-strtod-round.
24657
24658 [BZ #14459]
24659 * stdlib/strtod_l.c: Include <stdint.h>.
24660 (NDEBUG): Do not define.
24661 (round_and_return): Change EXPONENT parameter to type intmax_t.
24662 Rearrange calculations to avoid internal overflow possibilities.
24663 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24664 Rearrange calculations to avoid internal overflow possibilities.
24665 Assert that number fits inside MPNSIZE limbs.
24666 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24667 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24668 calculations and add assertions to avoid internal overflow
24669 possibilities. Add casts to avoid signed/unsigned operations.
24670 * stdlib/tst-strtod-overflow.c: New file.
24671 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24672
24673 2012-08-25 Marek Polacek <polacek@redhat.com>
24674
24675 * time/time.h: Fix some typos in comments.
24676
24677 2012-08-23 Roland McGrath <roland@hack.frob.com>
24678
24679 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24680 * posix/tst-rfc3484-2.c: Likewise.
24681 * posix/tst-rfc3484-3.c: Likewise.
24682
24683 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24684
24685 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24686 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24687
24688 2012-08-23 Joseph Myers <joseph@codesourcery.com>
24689
24690 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24691 #include of fxstatat64.c.
24692
24693 2012-08-22 Roland McGrath <roland@hack.frob.com>
24694
24695 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24696 * shadow/getspent_r.c: Likewise.
24697 * shadow/getspnam.c: Likewise.
24698 * shadow/getspnam_r.c: Likewise.
24699 * gshadow/getsgent.c: Likewise.
24700 * gshadow/getsgent_r.c: Likewise.
24701 * gshadow/getsgnam.c: Likewise.
24702 * gshadow/getsgnam_r.c: Likewise.
24703 * inet/getnetbyad.c: Likewise.
24704 * inet/getnetbyad_r.c: Likewise.
24705 * inet/getnetbynm.c: Likewise.
24706 * inet/getnetbynm_r.c: Likewise.
24707 * inet/getnetent.c: Likewise.
24708 * inet/getnetent_r.c: Likewise.
24709 * inet/getproto.c: Likewise.
24710 * inet/getproto_r.c: Likewise.
24711 * inet/getprtent.c: Likewise.
24712 * inet/getprtent_r.c: Likewise.
24713 * inet/getprtname.c: Likewise.
24714 * inet/getprtname_r.c: Likewise.
24715 * inet/getrpcbyname.c: Likewise.
24716 * inet/getrpcbyname_r.c: Likewise.
24717 * inet/getrpcbynumber.c: Likewise.
24718 * inet/getrpcbynumber_r.c: Likewise.
24719 * inet/getrpcent.c: Likewise.
24720 * inet/getrpcent_r.c: Likewise.
24721 * inet/getaliasent.c: Likewise.
24722 * inet/getaliasent_r.c: Likewise.
24723 * inet/getaliasname.c: Likewise.
24724 * inet/getaliasname_r.c: Likewise.
24725 * nscd/getgrgid_r.c: Likewise.
24726 * nscd/getgrnam_r.c: Likewise.
24727 * nscd/gethstbyad_r.c: Likewise.
24728 * nscd/gethstbynm3_r.c: Likewise.
24729 * nscd/getpwnam_r.c: Likewise.
24730 * nscd/getpwuid_r.c: Likewise.
24731 * nscd/getsrvbynm_r.c: Likewise.
24732 * nscd/getsrvbypt_r.c: Likewise.
24733 * nscd/gai.c: Likewise.
24734
24735 * configure.in (build_nscd): New substituted variable, set
24736 by --disable-build-nscd and defaults to $use_nscd.
24737 * configure: Regenerated.
24738 * config.make.in (build-nscd): New substituted variable.
24739 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24740 Change conditional to require [$(build-nscd) = yes] as well.
24741 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24742
24743 [BZ# 13696]
24744 * configure.in (use_nscd): New substituted variable, set by
24745 --disable-nscd. If enabled, define USE_NSCD.
24746 * configure: Regenerated.
24747 * config.h.in: Add USE_NSCD.
24748 * config.make.in (use-nscd): New substituted variable.
24749 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24750 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24751 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24752 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24753 (CFLAGS-getgrnam_r.c): Likewise.
24754 (CFLAGS-initgroups.c): Likewise.
24755 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24756 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24757 Variables removed.
24758 * inet/getnetgrent_r.c
24759 (nscd_setnetgrent): New function, broken out of ...
24760 (setnetgrent): ... here. Call it.
24761 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24762 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24763 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24764 * nscd/Makefile (routines, aux): Move definitions after include of
24765 Makeconfig. Conditionalize on [$(use-nscd) != no].
24766 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24767 Conditionalize on [USE_NSCD].
24768 (is_nscd, nscd_init_cb): Likewise.
24769 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24770 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24771 * nss/nss_db/db-init.c: Likewise.
24772 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24773 [USE_NSCD].
24774 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24775 (make_request): Use it.
24776 (cache_valid_p): New function.
24777 (__check_pf): Use it.
24778 * NEWS: Add item for --disable-nscd.
24779
24780 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24781
24782 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24783 to support sed >= 4.2.1-20-ga9bf076.
24784 * configure: Regenerated.
24785
24786 2012-08-22 Roland McGrath <roland@hack.frob.com>
24787
24788 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24789 Conditionalize whole body on [IREL].
24790
24791 2012-08-22 Jeff Law <law@redhat.com>
24792
24793 [BZ #14505]
24794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24795 if the family is PF_UNSPEC.
24796
24797 2012-08-22 Mike Frysinger <vapier@gentoo.org>
24798
24799 * Makerules (lib-version): Rename from V.
24800 (install-lib-nosubdir): Change V to lib-version.
24801
24802 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24803
24804 [BZ #14252]
24805 * powerpc32/power6/wcschr.c: New file.
24806 * powerpc32/power6/wcscpy.c: New file.
24807 * powerpc32/power6/wcsrchr.c: New file.
24808 * powerpc64/power6/wcschr.c: New file.
24809 * powerpc64/power6/wcscpy.c: New file.
24810 * powerpc64/power6/wcsrchr.c: New file.
24811
24812 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24813
24814 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24815 (two_way_short_needle): Use it.
24816 * string/strstr.c (AVAILABLE1_USES_J): Define.
24817 * string/strcasestr.c: Likewise.
24818
24819 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24820 array references.
24821 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24822
24823 [BZ #11607]
24824 * NEWS: Add an entry.
24825 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24826 define their defaults.
24827 (two_way_short_needle): Detect end-of-string on-the-fly.
24828 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24829 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24830 * string/bug-strcasestr1.c: New test.
24831 * string/Makefile: Run it.
24832
24833 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24834
24835 [BZ #11607]
24836 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24837 the first character.
24838
24839 2012-08-21 Roland McGrath <roland@hack.frob.com>
24840
24841 * csu/elf-init.c (__libc_csu_irel): Function removed.
24842 * csu/libc-start.c (apply_irel): New function.
24843 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24844
24845 2012-08-21 Joseph Myers <joseph@codesourcery.com>
24846
24847 * sysdeps/unix/sysv/linux/kernel-features.h
24848 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24849 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24850 <kernel-features.h>.
24851 [__NR_fadvise64_64]: Make code unconditional.
24852 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24853 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24854 !__NR_fadvise64_64)]: Likewise.
24855 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24856 !__NR_fadvise64_64))]: Likewise.
24857 [__NR_fadvise64]: Make code unconditional.
24858 [!__NR_fadvise64]: Remove conditional code.
24859 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24860 <kernel-features.h>.
24861 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24862 unconditional.
24863 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24864 conditional code.
24865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24866 not include <kernel-features.h>.
24867 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24868 unconditional.
24869 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24870 conditional code.
24871 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24872 include <kernel-features.h>.
24873 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24874 unconditional.
24875 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24876 conditional code.
24877
24878 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24879
24880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24881 slight instruction rearrangements per scrollpipe analysis.
24882 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24883
24884 2012-08-20 Roland McGrath <roland@hack.frob.com>
24885
24886 * manual/syslog.texi (syslog; vsyslog, closelog):
24887 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24888 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24889
24890 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24891 DSOCAPS to match condition on defining it.
24892
24893 2012-08-20 Joseph Myers <joseph@codesourcery.com>
24894
24895 * sysdeps/unix/sysv/linux/kernel-features.h
24896 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24898 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24899 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24901 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24902 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24904 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24905 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24906
24907 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24908 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24909
24910 * sysdeps/unix/sysv/linux/kernel-features.h
24911 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24912 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24913 unconditional.
24914 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24915 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24916 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24917 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24918 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24919 Make code unconditional.
24920 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24921 (__mmap64) [!__NR_mmap2]: Likewise.
24922 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24923 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24924 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24925 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24926 [__NR_mmap2]: Make code unconditional.
24927 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24928 (__mmap64) [!__NR_mmap2]: Likewise.
24929
24930 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24931
24932 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24933
24934 2012-08-18 Andreas Jaeger <aj@suse.de>
24935
24936 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24937
24938 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24939
24940 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24941 * include/unistd.h (__have_sock_cloexec): Likewise.
24942 (__have_pipe2): Likewise.
24943 (__have_dup3): Likewise.
24944
24945 2012-08-18 Mike Frysinger <vapier@gentoo.org>
24946
24947 [BZ #9685]
24948 * include/unistd.h (__have_pipe2): Change define into an extern int.
24949 (__have_dup3): Likewise.
24950 * socket/have_sock_cloexec.c: Include fcntl.h.
24951 (__have_pipe2): New variable.
24952 (__have_dup3): Likewise.
24953
24954 2012-08-17 Mike Frysinger <vapier@gentoo.org>
24955
24956 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24957
24958 2012-08-17 Marek Polacek <polacek@redhat.com>
24959
24960 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24961 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24962
24963 2012-08-17 Roland McGrath <roland@hack.frob.com>
24964
24965 * configure.in: Add AC_SUBST for sysheaders.
24966 * configure: Regenerated.
24967 * config.make.in (sysheaders): New substituted variable.
24968
24969 * sysdeps/unix/mkfifo.c: Moved ...
24970 * sysdeps/posix/mkfifo.c: ... here.
24971 * sysdeps/unix/mkfifoat.c: Moved ...
24972 * sysdeps/posix/mkfifoat.c: ... here.
24973
24974 * sysdeps/unix/utime.c: Moved ...
24975 * sysdeps/posix/utime.c: ... here.
24976
24977 * sysdeps/unix/time.c: Moved ...
24978 * sysdeps/posix/time.c: ... here.
24979 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24980 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
24981
24982 * sysdeps/unix/nice.c: Moved ...
24983 * sysdeps/posix/nice.c: ... here.
24984
24985 * sysdeps/unix/alarm.c: Moved ...
24986 * sysdeps/posix/alarm.c: ... here.
24987
24988 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24989
24990 2012-08-17 Jeff Law <law@redhat.com>
24991
24992 * intl/Makefile (codeset_mo): New variable.
24993 ($(codeset_mo)): New target.
24994 (tst-codeset.out): Depend on that. Remove explicit rule.
24995 (tst-gettext3.out, tst-gettext5.out): Likewise.
24996 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24997 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24998 * intl/tst-codeset.sh: Remove.
24999 * intl/tst-gettext3.sh: Likewise.
25000 * intl/tst-gettext5.sh: Likewise.
25001
25002 2012-08-17 Roland McGrath <roland@hack.frob.com>
25003
25004 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
25005 * sysdeps/unix/syscalls.list: ... here.
25006
25007 * sysdeps/posix/getaddrinfo.c
25008 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
25009 (gaiconf_init, gaiconf_reload): Use them.
25010 [!_STATBUF_ST_NSEC]
25011 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
25012 Define using time_t rather than struct timespec.
25013
25014 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
25015 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
25016 Macros removed.
25017 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
25018 [!NO_THREADS].
25019 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
25020 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
25021 Likewise.
25022
25023 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
25024 __libc_cleanup_push argument.
25025
25026 * bits/param.h: New file.
25027 * misc/sys/param.h: New file.
25028 * include/sys/param.h: New file.
25029 * misc/Makefile (headers): Add bits/param.h.
25030 * sysdeps/generic/sys/param.h: File removed.
25031 * sysdeps/unix/sysv/linux/bits/param.h: New file.
25032 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
25033 * sysdeps/mach/hurd/bits/param.h: New file.
25034 * sysdeps/mach/hurd/sys/param.h: File removed.
25035
25036 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
25037 last change.
25038
25039 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
25040 [_IO_MTSAFE_IO].
25041 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
25042 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
25043 New macros.
25044
25045 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
25046 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
25047 rather than -D_IO_MTSAFE_IO conditionally.
25048 * stdio-common/Makefile (CPPFLAGS): Likewise.
25049 * wcsmbs/Makefile (CPPFLAGS): Likewise.
25050 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
25051 Use $(libio-mtsafe).
25052 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
25053 of -D_IO_MTSAFE_IO.
25054 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
25055 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
25056 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
25057 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
25058 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
25059 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
25060 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
25061 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
25062 (CFLAGS-fread_u_chk.c): Likewise.
25063 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
25064 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
25065 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
25066 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
25067 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
25068 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
25069 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
25070 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
25071 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
25072
25073 * libio/Makefile: Test [$(libc-reentrant) = yes]
25074 instead of [$(filter %REENTRANT, $(defines)) nonempty].
25075
25076 * Makeconfig
25077 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
25078 * sysdeps/pthread/configure: File removed.
25079 * sysdeps/pthread/Makeconfig: New file.
25080 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
25081 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
25082
25083 2012-08-16 Gary Benson <gbenson@redhat.com>
25084
25085 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
25086 unmapping the first object in a namespace.
25087
25088 2012-08-16 Roland McGrath <roland@hack.frob.com>
25089
25090 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
25091 (__internal_setnetgrent): ... this. Add internal_function to
25092 definition. Add libc_hidden_def.
25093 (setnetgrent): Update caller.
25094 (internal_endnetgrent): Renamed to ...
25095 (__internal_endnetgrent): ... this. Add internal_function to
25096 definition. Add libc_hidden_def.
25097 (endnetgrent): Update caller.
25098 (internal_getnetgrent_r): Renamed to ...
25099 (__internal_getnetgrent_r): ... this. Add internal_function to
25100 definition. Add libc_hidden_def.
25101 (__getnetgrent_r): Update caller.
25102 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
25103
25104 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25105
25106 * stdlib/longlong.h: Update from GCC.
25107
25108 2012-08-16 Roland McGrath <roland@hack.frob.com>
25109
25110 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
25111 on _QL, which is set by umul_ppmm but never used.
25112 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
25113 variables, which are set by GMP macros but never used.
25114 * stdio-common/_itowa.c (_itowa): Likewise.
25115 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
25116 * stdlib/mod_1.c (mpn_mod_1): Likewise.
25117
25118 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
25119
25120 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
25121 struct La_sh_regs is not constant.
25122 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
25123 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
25124 and struct La_sparc64_regs are not constant.
25125
25126 2012-08-16 Joseph Myers <joseph@codesourcery.com>
25127
25128 * sysdeps/unix/sysv/linux/kernel-features.h
25129 (__ASSUME_POSIX_TIMERS): Remove.
25130 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25131 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25132 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
25133 Make code unconditional.
25134 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25135 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
25136 Make code unconditional.
25137 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25138 * sysdeps/unix/sysv/linux/clock_nanosleep.c
25139 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
25140 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25141 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
25142 Make code unconditional.
25143 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
25144 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
25145 (__libc_missing_posix_timers): Remove.
25146
25147 2012-08-15 Roland McGrath <roland@hack.frob.com>
25148
25149 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
25150 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
25151
25152 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
25153
25154 * elf/dl-sym.c: Include <stdlib.h>.
25155
25156 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
25157 constants, which avoids warnings in 32-bit builds.
25158
25159 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
25160 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
25161
25162 * misc/lseek.c: File moved to ...
25163 * io/lseek.c: ... here.
25164
25165 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
25166
25167 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
25168 shifting LEN more than 31 bits at once.
25169
25170 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25171
25172 [BZ #14195]
25173 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
25174 segmentation fault for a case of two empty input strings.
25175 * string/test-strncasecmp.c (check1): Renamed to...
25176 (bz12205): ...this.
25177 (bz14195): Add new testcase for two empty input strings and N > 0.
25178 (test_main): Call new testcase, adapt for renamed function.
25179
25180 2012-08-15 Andreas Jaeger <aj@suse.de>
25181
25182 [BZ #14090]
25183 * crypt/md5test2.c: New test, based on test supplied by Serge
25184 Belyshev <belyshev@depni.sinp.msu.ru>.
25185 * crypt/Makefile (xtests): Add md5test-giant..
25186 * crypt/Makefile ($(objpfx)md5test-giant): Add.
25187
25188 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
25189
25190 [BZ #14090]
25191 * crypt/md5.c (md5_process_block): Don't assume the buffer
25192 length is less than 2**32.
25193 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
25194 length is less than 2**64.
25195
25196 2012-08-15 Roland McGrath <roland@hack.frob.com>
25197
25198 * string/str-two-way.h: Include <sys/param.h>.
25199 (MAX): Macro removed.
25200
25201 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
25202 Move #define and #undef of memmove to just before and after
25203 including <string.h>.
25204
25205 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
25206 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
25207 and after including <string.h>. Move declarations of
25208 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
25209 to before #include "string/memmove.c".
25210
25211 * include/dirent.h: Declare __getdirentries.
25212
25213 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
25214 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
25215
25216 2012-08-14 Mike Frysinger <vapier@gentoo.org>
25217
25218 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
25219 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
25220 * sysdeps/i386/configure: Regenerated.
25221 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
25222 STABS_CURRENT_FILE, and STABS_FUN.
25223 (END): Remove call to STABS_FUN_END.
25224 (STABS_CURRENT_FILE1): Delete.
25225 (STABS_CURRENT_FILE): Likewise.
25226 (STABS_FUN): Likewise.
25227 (STABS_FUN_END): Likewise.
25228 (STABS_FUN2): Likewise.
25229 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
25230 * sysdeps/x86_64/configure: Regenerated.
25231
25232 2012-08-14 Roland McGrath <roland@hack.frob.com>
25233
25234 * elf/dl-open.c: Include <atomic.h>.
25235 * elf/dl-lookup.c: Likewise.
25236
25237 2012-08-14 Joseph Myers <joseph@codesourcery.com>
25238
25239 * sysdeps/unix/sysv/linux/kernel-features.h
25240 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
25241 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
25242 unconditionally.
25243 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
25244 unconditionally.
25245 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
25246 condition on __ASSUME_CLONE_THREAD_FLAGS.
25247
25248 2012-08-14 Andreas Jaeger <aj@suse.de>
25249
25250 * sysdeps/i386/fpu/libm-test-ulps: Update.
25251
25252 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
25253
25254 * include/atomic.h (atomic_exchange_and_add): Split into ...
25255 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
25256 New atomic macros.
25257
25258 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25259
25260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25261
25262 2012-08-13 Jeff Law <law@redhat.com>
25263
25264 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25265 null byte in the output string.
25266
25267 2012-08-10 Joseph Myers <joseph@codesourcery.com>
25268
25269 * sysdeps/unix/sysv/linux/kernel-features.h
25270 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25271 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25272 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25273 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25274 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25275 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25276 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25277
25278 2012-08-09 Jeff Law <law@redhat.com>
25279
25280 [BZ #13939]
25281 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25282 When avoid_arena is set, don't retry in the that arena. Pick the
25283 next one, whatever it might be.
25284 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25285 (arena_lock): Pass in new parameter to arena_get2.
25286 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25287 arena_get2.
25288 (__libc_malloc): Unify retrying after main arena failure with
25289 __libc_memalign version.
25290 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25291
25292 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25293
25294 [BZ #14166]
25295 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25296 to __redirect_strstr.
25297 (__strstr_sse42): Use typeof __redirect_strstr.
25298 (__strstr_ia32): Likewise.
25299 (__libc_strstr): New prototype.
25300 (strstr): Renamed to ...
25301 (__libc_strstr): This.
25302 (strstr): New strong alias of __libc_strstr.
25303 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25304 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25305 __redirect_time.
25306 Include <time.h>.
25307 (__libc_time): New prototype.
25308 (time_ifunc): Replace time with __libc_time.
25309 (time): New strong alias and hidden definition of __libc_time.
25310 (__GI_time): Remove strong alias.
25311 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25312 Include <stddef.h>.
25313 (memmove): Redefined to __redirect_memmove.
25314 (__memmove_sse2): Use typeof __redirect_memmove.
25315 (__memmove_ssse3): Likewise.
25316 (__memmove_ssse3_back): Likewise.
25317 (__libc_memmove): New prototype.
25318 (memmove): Renamed to ...
25319 (__libc_memmove): This.
25320 (memmove): New strong alias of __libc_memmove.
25321
25322 2012-08-08 Mark Salter <msalter@redhat.com>
25323
25324 * elf/elf.h
25325 (R_MN10300_TLS_GD): Define.
25326 (R_MN10300_TLS_LD): Likewise.
25327 (R_MN10300_TLS_LDO): Likewise.
25328 (R_MN10300_TLS_GOTIE): Likewise.
25329 (R_MN10300_TLS_IE): Likewise.
25330 (R_MN10300_TLS_LE): Likewise.
25331 (R_MN10300_TLS_DTPMOD): Likewise.
25332 (R_MN10300_TLS_DTPOFF): Likewise.
25333 (R_MN10300_TLS_TPOFF): Likewise.
25334 (R_MN10300_SYM_DIFF): Likewise.
25335 (R_MN10300_ALIGN): Likewise.
25336 (R_MN10300_NUM): Update.
25337
25338 2012-08-08 Joseph Myers <joseph@codesourcery.com>
25339
25340 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25341 Remove.
25342
25343 2012-08-08 Roland McGrath <roland@hack.frob.com>
25344
25345 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25346
25347 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25348 sysdeps/unix -> sysdeps/posix move.
25349 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25350
25351 2012-08-07 Allan McRae <allan@archlinux.org>
25352
25353 [BZ #14303]
25354 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25355 (SUNOS_CPP): Likewise.
25356 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25357 not found.
25358 (open_input): Call CPP using execvp.
25359
25360 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25361
25362 * sysdeps/unix/sysv/linux/kernel-features.h
25363 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25364 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25365 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25366 (__ASSUME_WAITID_SYSCALL): Likewise.
25367 * sysdeps/unix/sysv/linux/dl-execstack.c
25368 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25369 code unconditional.
25370 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25371 conditional code.
25372 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25373 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25374 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25375 code.
25376 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25377 unconditional.
25378 [__ASSUME_WAITID_SYSCALL]: Likewise.
25379 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25380
25381 2012-08-07 Roland McGrath <roland@hack.frob.com>
25382
25383 * sysdeps/unix/closedir.c: Renamed to ...
25384 * sysdeps/posix/closedir.c: ... here.
25385 * sysdeps/unix/dirfd.c: Renamed to ...
25386 * sysdeps/posix/dirfd.c: ... here.
25387 * sysdeps/unix/dirstream.h: Renamed to ...
25388 * sysdeps/posix/dirstream.h: ... here.
25389 * sysdeps/unix/fdopendir.c: Renamed to ...
25390 * sysdeps/posix/fdopendir.c: ... here.
25391 * sysdeps/unix/opendir.c: Renamed to ...
25392 * sysdeps/posix/opendir.c: ... here.
25393 * sysdeps/unix/readdir.c: Renamed to ...
25394 * sysdeps/posix/readdir.c: ... here.
25395 * sysdeps/unix/readdir_r.c: Renamed to ...
25396 * sysdeps/posix/readdir_r.c: ... here.
25397 * sysdeps/unix/rewinddir.c: Renamed to ...
25398 * sysdeps/posix/rewinddir.c: ... here.
25399 * sysdeps/unix/seekdir.c: Renamed to ...
25400 * sysdeps/posix/seekdir.c: ... here.
25401 * sysdeps/unix/telldir.c: Renamed to ...
25402 * sysdeps/posix/telldir.c: ... here.
25403 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25404 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25405 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25406 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25407
25408 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25409 * bits/fcntl.h: ... here.
25410
25411 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25412 not 0.
25413 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25414 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25415 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25416 (struct flock): Move l_start, l_len to the beginning.
25417 Use __pid_t for l_pid.
25418 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25419 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25420 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25421 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25422 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25423 [__USE_LARGEFILE64] (struct flock64): New type.
25424 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25425
25426 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25427 * bits/dirent.h: ... here.
25428
25429 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25430 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25431
25432 2012-08-07 Joseph Myers <joseph@codesourcery.com>
25433
25434 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25435 Change from 2.6.0 to 2.6.16.
25436 * sysdeps/unix/sysv/linux/configure: Regenerated.
25437 * sysdeps/unix/sysv/linux/kernel-features.h
25438 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25439 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25440 version.
25441 (__ASSUME_UTIMES): Likewise.
25442 (__ASSUME_CLONE_STOPPED): Remove.
25443 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25444 architectures, not kernel version.
25445 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25446 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25447 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25448 (__ASSUME_WAITID_SYSCALL): Likewise.
25449 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25450 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25451 * README: State 2.6.16 as minimum Linux kernel version. Do not
25452 refer to older versions.
25453
25454 2012-08-06 Roland McGrath <roland@hack.frob.com>
25455
25456 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25457 Define alphasort64 as an alias.
25458 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25459 Define versionsort64 as an alias.
25460 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25461 Define scandir64 as an alias.
25462 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25463 Define scandirat64 as an alias.
25464 * dirent/alphasort64.c (alphasort64):
25465 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25466 * dirent/versionsort64.c: Likewise.
25467 * dirent/scandir64.c: Likewise.
25468 * dirent/scandirat64.c: Likewise.
25469 * sysdeps/wordsize-64/alphasort.c: File removed.
25470 * sysdeps/wordsize-64/alphasort64.c: File removed.
25471 * sysdeps/wordsize-64/scandir.c: File removed.
25472 * sysdeps/wordsize-64/scandir64.c: File removed.
25473 * sysdeps/wordsize-64/scandirat.c: File removed.
25474 * sysdeps/wordsize-64/scandirat64.c: File removed.
25475 * sysdeps/wordsize-64/versionsort.c: File removed.
25476 * sysdeps/wordsize-64/versionsort64.c: File removed.
25477 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25478 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25479 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25480 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25481 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25482 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25483 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25484 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25485
25486 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25487 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25488 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25489 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25490 [defined __arch64__ || defined __sparcv9]
25491 (__INO_T_MATCHES_INO64_T): New macro.
25492 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25493 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25494 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25495 * sysdeps/unix/sysv/linux/bits/dirent.h
25496 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25497 (_DIRENT_MATCHES_DIRENT64): New macro.
25498
25499 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25500 Define lockf64 as an alias.
25501 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25502 Define fseeko64 as an alias.
25503 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25504 Define ftello64 as an alias.
25505 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25506 Define _IO_fgetpos64 and fgetpos64 as aliases.
25507 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25508 Define _IO_fsetpos64 and fsetpos64 as aliases.
25509 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25510 Conditionalize body on this.
25511 * libio/fseeko64.c: Likewise.
25512 * libio/ftello64.c: Likewise.
25513 * libio/iofgetpos64.c: Likewise.
25514 * libio/iofsetpos64.c: Likewise.
25515 * sysdeps/wordsize-64/lockf.c: File removed.
25516 * sysdeps/wordsize-64/lockf64.c: File removed.
25517 * sysdeps/wordsize-64/fseeko.c: File removed.
25518 * sysdeps/wordsize-64/fseeko64.c: File removed.
25519 * sysdeps/wordsize-64/ftello.c: File removed.
25520 * sysdeps/wordsize-64/ftello64.c: File removed.
25521 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25522 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25523 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25524 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25525 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25526 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25527 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25528 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25529 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25530 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25531 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25532 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25533 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25534 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25535
25536 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25538 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25540 [defined __arch64__ || defined __sparcv9]
25541 (__OFF_T_MATCHES_OFF64_T): New macro.
25542 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25543 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25544 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25545 (__OFF_T_MATCHES_OFF64_T): New macro.
25546
25547 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25548
25549 * stdlib/secure-getenv.c (__secure_getenv): Replace
25550 GLIBC_2_16 with GLIBC_2_17.
25551
25552 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25553
25554 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25555 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25556
25557 2012-08-03 David S. Miller <davem@davemloft.net>
25558
25559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25560
25561 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25562
25563 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25564 Remove.
25565 (__ASSUME_CORRECT_SI_PID): Likewise.
25566 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25567 (__ASSUME_TMPFS_NAME): Likewise.
25568 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25569 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25570 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25571 (HAVE_AUX_SECURE): Make definition unconditional.
25572 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25573 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25574
25575 2012-08-03 Roland McGrath <roland@hack.frob.com>
25576
25577 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25578 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25579 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25580 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25581 __eloop_threshold instead of SYMLOOP_MAX.
25582
25583 * sysdeps/generic/eloop-threshold.h: New file.
25584 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25585 of MAXSYMLINKS.
25586 * elf/chroot_canon.c (chroot_canon): Likewise.
25587
25588 2012-08-03 Joseph Myers <joseph@codesourcery.com>
25589
25590 [BZ #13717]
25591 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25592 Change to 2.6.0 everywhere.
25593 * sysdeps/unix/sysv/linux/configure: Regenerated.
25594 * sysdeps/unix/sysv/linux/kernel-features.h
25595 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25596 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25597 kernel versions.
25598 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25599 (__ASSUME_FUTEX_REQUEUE): Remove.
25600 (__ASSUME_STATFS64): Define unconditionally.
25601 (__ASSUME_AT_SECURE): Likewise.
25602 (__ASSUME_CORRECT_SI_PID): Likewise.
25603 (__ASSUME_TGKILL): Define without depending on kernel version for
25604 i386.
25605 (__ASSUME_UTIMES): Likewise.
25606 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25607 kernel version.
25608 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25609 (__ASSUME_TMPFS_NAME): Likewise.
25610 * README: Update reference to Linux kernel versions.
25611
25612 2012-08-02 Marek Polacek <polacek@redhat.com>
25613
25614 [BZ# 14150]
25615 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25616 libc_cv_asm_type_prefix with %.
25617 * configure: Regenerated.
25618 * include/libc-symbols.h: Remove comment about
25619 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25620 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25621 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25622 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25623 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25624 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25625 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25626 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25627 * elf/tst-unique2mod1.c: Likewise.
25628 * elf/tst-unique1mod2.c: Likewise.
25629 * elf/tst-unique1mod1.c: Likewise.
25630 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25631 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25632 Replace ASM_TYPE_DIRECTIVE with .type.
25633 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25634 * sysdeps/i386/sysdep.h: Likewise.
25635 * sysdeps/x86_64/sysdep.h: Likewise.
25636 * sysdeps/sh/sysdep.h: Likewise.
25637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25638 Do not define ASM_TYPE_DIRECTIVE.
25639 * sysdeps/powerpc/sysdep.h: Likewise.
25640 * sysdeps/powerpc/powerpc32/sysdep.h:
25641 Replace ASM_TYPE_DIRECTIVE with .type.
25642 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25643 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25644 * sysdeps/i386/fpu/e_powf.S: Likewise.
25645 * sysdeps/i386/fpu/e_expl.S: Likewise.
25646 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25647 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25648 * sysdeps/i386/fpu/e_pow.S: Likewise.
25649 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25650 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25651 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25652 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25653 * sysdeps/i386/fpu/e_log2.S: Likewise.
25654 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25655 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25656 * sysdeps/i386/fpu/e_powl.S: Likewise.
25657 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25658 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25659 * sysdeps/i386/fpu/e_logl.S: Likewise.
25660 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25661 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25662 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25663 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25664 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25665 * sysdeps/i386/fpu/e_log.S: Likewise.
25666 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25667 * sysdeps/i386/fpu/e_logf.S: Likewise.
25668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25669 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25670 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25671 * sysdeps/i386/fpu/e_log10.S: Likewise.
25672 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25673 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25674 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25675 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25676 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25677 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25678 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25679 * sysdeps/i386/i686/strtok.S: Likewise.
25680 * sysdeps/i386/i386-mcount.S: Likewise.
25681 * sysdeps/i386/strtok.S: Likewise.
25682 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25684 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25685 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25686 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25687 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25688 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25689 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25690 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25691 * sysdeps/x86_64/_mcount.S: Likewise.
25692 * sysdeps/x86_64/strtok.S: Likewise.
25693 * sysdeps/sh/_mcount.S: Likewise.
25694
25695 2012-08-01 Roland McGrath <roland@hack.frob.com>
25696
25697 * libio/iofopen.c: Include <fcntl.h>.
25698 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25699 (_IO_fopen64, fopen64): Define as aliases.
25700 * libio/iofopen64.c: Include <fcntl.h>.
25701 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25702 Conditionalize body on this.
25703 * sysdeps/wordsize-64/iofopen.c: File removed.
25704 * sysdeps/wordsize-64/iofopen64.c: File removed.
25705
25706 2012-08-01 Marek Polacek <polacek@redhat.com>
25707
25708 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25709 Use dlfcn directly instead of a variable.
25710 (binfmt-subdir): Do not define.
25711 (dlfcn): Likewise.
25712
25713 2012-08-01 Joseph Myers <joseph@codesourcery.com>
25714
25715 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25716 Remove all definitions.
25717 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25718 <kernel-features.h>.
25719 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25720 (miss_F_GETOWN_EX): Remove all definitions.
25721 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25722 macro definition.
25723 [!__ASSUME_FCNTL64]: Remove conditional code.
25724 [__ASSUME_FCNTL64]: Make code unconditional.
25725 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25726 <kernel-features.h>.
25727 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25728 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25729 (lockf64) [__NR_fcntl64]: Make code unconditional.
25730 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25731
25732 * sysdeps/unix/sysv/linux/kernel-features.h
25733 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25734 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25735 Make code unconditional.
25736 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25737 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25739 [__NR_vfork]: Make code unconditional.
25740 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25741 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25743 [__NR_vfork]: Make code unconditional.
25744 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25745 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25746
25747 2012-08-01 Roland McGrath <roland@hack.frob.com>
25748
25749 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25750 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25751
25752 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25753 Define mkstemp64 as an alias.
25754 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25755 Define mkstemps64 as an alias.
25756 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25757 Define mkostemp64 as an alias.
25758 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25759 Define mkostemps64 as an alias.
25760 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25761 Conditionalize body on this.
25762 * misc/mkostemp64.c: Likewise.
25763 * misc/mkostemps64.c: Likewise.
25764 * misc/mkstemps64.c: Likewise.
25765 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25766 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25767 * sysdeps/wordsize-64/mkostemp.c: File removed.
25768 * sysdeps/wordsize-64/mkstemp.c: File removed.
25769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25770 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25771 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25772 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25773
25774 [BZ #14138]
25775 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25776 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25777 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25778 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25779
25780 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25781 compat_symbol macros from <shlib-compat.h> rather than the underlying
25782 default_symbol_version and symbol_version macros, so that DEFAULT
25783 lines in shlib-versions are respected.
25784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25785
25786 2012-08-01 Florian Weimer <fweimer@redhat.com>
25787
25788 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25789 Declare with warn_unused_result.
25790 (setgid, setregid, setegid, setresgid): Likewise.
25791 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25792 Likewise.
25793 * WUR-REPORT: Remove set*id functions.
25794
25795 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25796
25797 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25798
25799 2012-07-31 Roland McGrath <roland@hack.frob.com>
25800
25801 [BZ #10191]
25802 * include/sys/socket.h (__libc_accept, __libc_accept4):
25803 Add attribute_hidden.
25804 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25805
25806 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25807 use of PTR_MANGLE.
25808 * inet/getnetgrent_r.c (setup): Likewise.
25809
25810 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25811
25812 2012-07-31 David S. Miller <davem@davemloft.net>
25813
25814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25815
25816 2012-07-31 Joseph Myers <joseph@codesourcery.com>
25817
25818 [BZ #13629]
25819 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25820 value between 1.0 and 2.0 and smaller part has absolute value less
25821 than 1.0.
25822 * math/s_clog10.c (__clog10): Likewise.
25823 * math/s_clog10f.c (__clog10f): Likewise.
25824 * math/s_clog10l.c (__clog10l): Likewise.
25825 * math/s_clogf.c (__clogf): Likewise.
25826 * math/s_clogl.c (__clogl): Likewise.
25827 * math/libm-test.inc (clog_test): Add more tests.
25828 (clog10_test): Likewise.
25829 * sysdeps/i386/fpu/libm-test-ulps: Update.
25830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25831
25832 2012-07-31 Florian Weimer <fweimer@redhat.com>
25833
25834 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25835 Exit with zero in case no suitable GID is found, and write a
25836 message to standard error.
25837
25838 2012-07-30 Roland McGrath <roland@hack.frob.com>
25839
25840 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25841 rather than to 1.
25842 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25843 (MAXPATHLEN): Removed.
25844 (NOGROUP, NODEV): New macros.
25845 (setbit, clrbit, isset, isclr): New macros.
25846 (howmany, roundup, powerof2): New macros.
25847 (DEV_BSIZE): New macro.
25848
25849 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25850 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25851
25852 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25853 definition on [!__NO_LONG_DOUBLE_MATH].
25854
25855 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25856 PTR_MANGLE and PTR_DEMANGLE.
25857
25858 * socket/accept4.c (accept4): Rename to __libc_accept4.
25859 Define accept4 as a weak alias.
25860
25861 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25862 on [_DIRENT_HAVE_D_TYPE].
25863 * io/ftw.c (ftw_dir): Likewise.
25864
25865 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25866
25867 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25868
25869 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25870 Use the BSD numbers rather than the arbitrary ones we had.
25871 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25872 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25873 (SIGXCPU, SIGXFSZ): New macros.
25874 (_NSIG): Now 32.
25875
25876 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25877 initializer on [_LIBC_REENTRANT].
25878
25879 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25880 definitions inside [_POSIX_MAPPED_FILES].
25881
25882 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25883
25884 * dirent/opendir.c: Include <fcntl.h>.
25885
25886 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25887 (__libc_getspecific): Likewise.
25888 (__libc_key_create): Likewise.
25889
25890 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25891 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25892 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25893 (tmpfile64): Define as alias.
25894 * sysdeps/wordsize-64/tmpfile.c: File removed.
25895 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25896 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25897 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25898
25899 * stdio-common/vfscanf.c: Include <stdbool.h>.
25900 * nss/makedb.c: Likewise.
25901 * stdio-common/_i18n_number.h: Likewise.
25902 * argp/argp-help.c: Likewise.
25903 * posix/wordexp.c: Likewise.
25904 * sysdeps/posix/spawni.c: Likewise.
25905 * nss/nss_files/files-initgroups.c: Likewise.
25906 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25907 * nss/nss_files/files-initgroups.c: Likewise.
25908 * nss/nss_db/db-netgrp.c: Likewise.
25909 * nss/nss_db/db-initgroups.c: Likewise.
25910 * io/fchmodat.c: Include <sys/stat.h>.
25911
25912 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25913 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25914
25915 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25916 [HAVE_MMAP].
25917
25918 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25919 Add multiple inclusion protection.
25920
25921 2012-07-27 David S. Miller <davem@davemloft.net>
25922
25923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25924
25925 2012-07-27 Gary Benson <gbenson@redhat.com>
25926
25927 [BZ #14298]
25928 * elf/rtld.c: Include <stap-probe.h>.
25929 (dl_main): Added static probes "init_start" and "init_complete".
25930 * elf/dl-load.c: Include <stap-probe.h>.
25931 (lose): Take new parameter "nsid".
25932 Added static probe "map_failed".
25933 (_dl_map_object_from_fd): Pass namespace id to lose.
25934 Added static probe "map_start".
25935 (open_verify): Pass namespace id to lose.
25936 * elf/dl-open.c: Include <stap-probe.h>.
25937 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25938 and "reloc_complete".
25939 * elf/dl-close.c: Include <stap-probe.h>.
25940 (_dl_close_worker): Added static probes "unmap_start" and
25941 "unmap_complete".
25942 * elf/rtld-debugger-interface.txt: New file documenting the above.
25943
25944 2012-07-26 Roland McGrath <roland@hack.frob.com>
25945
25946 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25947 rather than a string variable.
25948 * sunrpc/rpc_main.c (h_output): Likewise.
25949 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25950
25951 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25952
25953 * inet/check_native.c: New file.
25954
25955 2012-07-26 Joseph Myers <joseph@codesourcery.com>
25956
25957 [BZ #13629]
25958 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25959 if larger part has absolute value 1.0.
25960 * math/s_clog10.c (__clog10): Likewise.
25961 * math/s_clog10f.c (__clog10f): Likewise.
25962 * math/s_clog10l.c (__clog10l): Likewise.
25963 * math/s_clogf.c (__clogf): Likewise.
25964 * math/s_clogl.c (__clogl): Likewise.
25965 * math/libm-test.inc (clog_test): Add more tests.
25966 (clog10_test): Likewise.
25967 * sysdeps/i386/fpu/libm-test-ulps: Update.
25968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25969
25970 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25971 (pltexit): Likewise.
25972 (La_regs): Likewise.
25973 (La_retval): Likewise.
25974 (int_retval): Likewise.
25975 Update #error for removed macros to refer only to definitions in
25976 tst-audit.h.
25977 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25978 macro.
25979 (pltexit): Likewise.
25980 (La_regs): Likewise.
25981 (La_retval): Likewise.
25982 (int_retval): Likewise.
25983 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25984 macro.
25985 (pltexit): Likewise.
25986 (La_regs): Likewise.
25987 (La_retval): Likewise.
25988 (int_retval): Likewise.
25989 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25990 macro.
25991 (pltexit): Likewise.
25992 (La_regs): Likewise.
25993 (La_retval): Likewise.
25994 (int_retval): Likewise.
25995 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25996 macro.
25997 (pltexit): Likewise.
25998 (La_regs): Likewise.
25999 (La_retval): Likewise.
26000 (int_retval): Likewise.
26001 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
26002 macro.
26003 (pltexit): Likewise.
26004 (La_regs): Likewise.
26005 (La_retval): Likewise.
26006 (int_retval): Likewise.
26007 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
26008 macro.
26009 (pltexit): Likewise.
26010 (La_regs): Likewise.
26011 (La_retval): Likewise.
26012 (int_retval): Likewise.
26013 * sysdeps/generic/tst-audit.h: Update comment to refer only to
26014 macro definitions in tst-audit.h.
26015 * sysdeps/i386/tst-audit.h: New file.
26016 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
26017 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
26018 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
26019 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
26020 * sysdeps/sh/tst-audit.h: Likewise.
26021 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
26022 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
26023 * sysdeps/x86_64/tst-audit.h: Likewise.
26024
26025 2012-07-26 Andreas Jaeger <aj@suse.de>
26026
26027 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
26028 ptrace.
26029
26030 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
26031 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
26032 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
26033 PTRACE_O_MASK.
26034 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
26035 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
26036 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
26037
26038 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
26039 value.
26040
26041 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
26042 _sigsys.
26043 (si_call_addr, si_syscall, si_arch): Define new macro.
26044 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
26045 _sigsys.
26046 (si_call_addr, si_syscall, si_arch): Define new marcro.
26047 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
26048 _sigsys.
26049 (si_call_addr, si_syscall, si_arch): Define new macro.
26050 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
26051 _sigsys.
26052 (si_call_addr, si_syscall, si_arch): Define new macro.
26053
26054 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26055
26056 [BZ #13717]
26057 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26058 Change to 2.4.21 where previously 2.4.1.
26059 * sysdeps/unix/sysv/linux/configure: Regenerated.
26060 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
26061 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
26062 Linux kernel version.
26063 (__ASSUME_STD_AUXV): Remove.
26064 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
26065 kernel version.
26066 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
26067 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
26068 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
26069 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
26070 (__ASSUME_NETLINK_SUPPORT): Likewise.
26071 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
26072 (__no_netlink_support): Remove conditional definition.
26073 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
26074 Remove.
26075 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26076 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
26077 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
26078 (if_nameindex_ioctl): Remove.
26079 (if_nameindex_netlink): Do not handle __no_netlink_support.
26080 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26081 code.
26082 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
26083 Remove conditional code.
26084 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
26085 code.
26086 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
26087 unconditional.
26088 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
26089 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
26090 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
26091 Remove.
26092 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
26093 [!__ASSUME_STD_AUXV]: Remove conditional code.
26094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
26095 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
26096 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
26097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
26098 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
26099 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26100 code.
26101 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26103 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
26104 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26105 conditional code.
26106 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
26107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26108 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
26109 code.
26110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26111 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
26112 conditional code.
26113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
26114 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26115 code unconditional.
26116 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26117 conditional code.
26118 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26119 unconditional.
26120 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26121 conditional code.
26122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26123 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26124 unconditional.
26125 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26126 conditional code.
26127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26128 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26129 code unconditional.
26130 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26131 conditional code.
26132 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26133 unconditional.
26134 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26135 conditional code.
26136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26137 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
26138 code unconditional.
26139 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26140 conditional code.
26141 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
26142 unconditional.
26143 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
26144 conditional code.
26145
26146 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
26147
26148 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
26149 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
26150 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
26151 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
26152 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
26153 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
26154 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26155 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26156 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
26157 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26158 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
26159 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
26160 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
26161 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
26162 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
26163 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
26164 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
26165 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
26166 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
26167 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
26168 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
26169 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
26170 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26171
26172 2012-07-25 Florian Weimer <fweimer@redhat.com>
26173
26174 * Versions.def: Add GLIBC_2.17.
26175 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
26176 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
26177 Introduce __libc_secure_getenv.
26178 * stdlib/Versions (2.17): Add secure_getenv
26179 (GLIBC_PRIVATE): Add __libc_secure_getenv.
26180 * stdlib/secure-getenv.c: Rename __secure_getenv to
26181 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
26182 symbol __secure_getenv for GLIBC_2.0.
26183 * stdlib/tst-secure-getenv.c: New.
26184 * stdlib/Makefile (tests): Add testcase.
26185 * manual/startup.texi (Environment Access): Document
26186 secure_getenv.
26187 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
26188 __libc_secure_getenv.
26189 * inet/ruserpass.c (ruserpass): Likewise.
26190 * malloc/mtrace.c (mtrace): Likewise.
26191 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
26192 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
26193 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
26194 * sysdeps/posix/tempname.c: Likewise. Evaluate
26195 HAVE_SECURE_GETENV.
26196 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
26197 __secure_getenv to __libc_secure_getenv.
26198 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
26199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26200 Likewise.
26201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26202 Likewise.
26203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26204 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26205 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26207 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26210
26211 2012-07-25 Joseph Myers <joseph@codesourcery.com>
26212
26213 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
26214 (struct La_i86_retval): Likewise.
26215 (struct La_x86_64_regs): Likewise.
26216 (struct La_x86_64_retval): Likewise.
26217 (struct La_x32_regs): Likewise.
26218 (struct La_x32_retval): Likewise.
26219 (struct La_ppc32_regs): Likewise.
26220 (struct La_ppc32_retval): Likewise.
26221 (struct La_ppc64_regs): Likewise.
26222 (struct La_ppc64_retval): Likewise.
26223 (struct La_sh_regs): Likewise.
26224 (struct La_sh_retval): Likewise.
26225 (struct La_s390_32_regs): Likewise.
26226 (struct La_s390_32_retval): Likewise.
26227 (struct La_s390_64_regs): Likewise.
26228 (struct La_s390_64_retval): Likewise.
26229 (struct La_sparc32_regs): Likewise.
26230 (struct La_sparc32_retval): Likewise.
26231 (struct La_sparc64_regs): Likewise.
26232 (struct La_sparc64_retval): Likewise.
26233 (struct audit_ifaces): Remove architecture-specific pltenter and
26234 pltexit members.
26235 * sysdeps/i386/ldsodefs.h: New file.
26236 * sysdeps/powerpc/ldsodefs.h: Likewise.
26237 * sysdeps/s390/ldsodefs.h: Likewise.
26238 * sysdeps/sh/ldsodefs.h: Likewise.
26239 * sysdeps/sparc/ldsodefs.h: Likewise.
26240 * sysdeps/x86_64/ldsodefs.h: Likewise.
26241
26242 2012-07-25 Marek Polacek <polacek@redhat.com>
26243
26244 [BZ #6808]
26245 * math/libm-test.inc (yn_test): Add another test.
26246 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
26247 to ERANGE when the result is +-Inf.
26248 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
26249 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
26250 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
26251 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
26252
26253 2012-07-24 Joseph Myers <joseph@codesourcery.com>
26254
26255 * conform/data/time.h-data (NULL): Use macro-constant. Require
26256 equal to 0.
26257 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26258 clock_t.
26259 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26260
26261 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26262
26263 * configure.in <sysdeps resolving>: Correct printing
26264 Implies_before.
26265 * configure: Regenerate.
26266
26267 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26268
26269 * math/w_ilogb.c: Include <limits.h>.
26270 * math/w_ilogbl.c: Likewise.
26271
26272 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26273
26274 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26275 va_copy. Document allowing for unavailable va_copy only as
26276 pre-C99 compatibility.
26277 * manual/string.texi (Copying and Concatenation): Use va_copy
26278 instead of __va_copy in concat example.
26279
26280 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26281
26282 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26283 (__sendto): Use create_address_port. Initialize APORT and deallocate
26284 it if not null.
26285
26286 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26287 with O_NOLINK passed to __file_name_lookup.
26288
26289 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26290 with O_NOLINK passed to __file_name_lookup.
26291
26292 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26293 negative N or less than NGIDS.
26294
26295 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26296 type to string_t. Set ERANGE as errno and return it if NAME is not big
26297 enough. Use memcpy instead of strncpy.
26298
26299 2012-07-20 Joseph Myers <joseph@codesourcery.com>
26300
26301 * elf/Makefile (check-data): Remove.
26302 (localplt.data): New vpath directive.
26303 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26304 instead of $(check-data).
26305 * scripts/data/localplt-generic.data: Move to ...
26306 * sysdeps/generic/localplt.data: ... here.
26307 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26308 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26309 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26311 ... here.
26312 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26314 ... here.
26315 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26317 ... here.
26318 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26320 ... here.
26321 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26323 ... here.
26324 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26326 ... here.
26327
26328 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26329
26330 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26331 PPC32 and PPC64 files.
26332 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26333 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26334
26335 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26336
26337 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26338 __makecontext_ret to ...
26339 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26340 ... here and call exit if uc_link is NULL. New file.
26341 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26342 __makecontext_ret.S.
26343 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26344 __makecontext_ret to ...
26345 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26346 ... here and call exit if uc_link is NULL. New file.
26347 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26348 __makecontext_ret.S.
26349
26350 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26351
26352 * elf/elf.h (R_390_IRELATIVE): New definition.
26353 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26354 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26355 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26356 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26357 (elf_machine_lazy_rel): Likewise.
26358 * sysdeps/s390/dl-irel.h: New file.
26359 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26360 * sysdeps/s390/s390-64/memset.S: New asm code.
26361 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26362 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26363 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26364 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26365 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26366 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26367 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26368 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26369 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26370 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26371 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26372 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26373 * sysdeps/s390/s390-32/memset.S: New asm code.
26374 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26375
26376 2012-07-17 Marek Polacek <polacek@redhat.com>
26377
26378 [BZ #14349]
26379 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26380 * sysdeps/s390/s390-64/configure.in: Likewise.
26381 * sysdeps/sparc/configure.in: Likewise.
26382 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26383 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26384 * sysdeps/i386/configure.in: Likewise.
26385 * sysdeps/x86_64/configure.in: Likewise.
26386 * sysdeps/sh/configure.in: Likewise.
26387 * sysdeps/s390/s390-32/configure: Regenerated.
26388 * sysdeps/s390/s390-64/configure: Likewise.
26389 * sysdeps/x86_64/configure: Likewise.
26390 * sysdeps/sh/configure: Likewise.
26391 * sysdeps/powerpc/powerpc64/configure: Likewise.
26392 * sysdeps/powerpc/powerpc32/configure: Likewise.
26393 * sysdeps/sparc/configure: Likwise.
26394 * sysdeps/i386/configure: Likewise.
26395
26396 * elf/dl-open.c: Comment fixes.
26397
26398 2012-07-17 Joseph Myers <joseph@codesourcery.com>
26399
26400 * Makefile [CXX] (check-data): Remove.
26401 [CXX] (c++-types.data): New vpath directive.
26402 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26403 vpath. Do not allow for C++ type data being missing.
26404 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26405 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26406 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26407 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26408 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26409 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26410 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26412 ... here.
26413 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26415 ... here.
26416 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26418 ... here.
26419 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26421 ... here.
26422 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26424 ... here.
26425 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26427 ... here.
26428 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26429 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26430 ... here.
26431 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26433
26434 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26435 definitions to architecture-specific files.
26436 (TLS_IE): Likewise.
26437 (TLS_LD): Likewise.
26438 (TLS_GD): Likewise.
26439 * sysdeps/i386/tls-macros.h: New file.
26440 * sysdeps/powerpc/tls-macros.h: Likewise.
26441 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26442 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26443 * sysdeps/sh/tls-macros.h: Likewise.
26444 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26445 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26446 * sysdeps/x86_64/tls-macros.h: Likewise.
26447
26448 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26449
26450 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26451 zero value for regular exit case.
26452
26453 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26454 (__start_context): Preserve zero value for regular exit case.
26455
26456 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26457 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26458
26459 * manual/setjmp.texi (setcontext): Clarify normal process
26460 termination when uc_link is the null pointer.
26461 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26462 exit call.
26463
26464 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26465
26466 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26467 preprocessor. Test for each exception mask separately.
26468
26469 2012-07-16 Andreas Jaeger <aj@suse.de>
26470
26471 * po/ru.po: Update from translation team.
26472
26473 2012-07-15 Joseph Myers <joseph@codesourcery.com>
26474
26475 * conform/data/string.h-data (NULL): Use macro-constant. Require
26476 equal to 0.
26477 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26478 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26479 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26480 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26481 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26482
26483 2012-07-13 Andreas Jaeger <aj@suse.de>
26484
26485 * po/fr.po: Update from translation team.
26486
26487 2012-07-12 Marek Polacek <polacek@redhat.com>
26488
26489 [BZ #14173]
26490 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26491 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26492 loop condition.
26493
26494 2012-07-12 Joseph Myers <joseph@codesourcery.com>
26495
26496 [BZ #13717]
26497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26498 Change to 2.4.1 where previously 2.4.0.
26499 * sysdeps/unix/sysv/linux/configure: Regenerated.
26500 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26501 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26502 version.
26503 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26504 (__ASSUME_AT_CLKTCK): Remove.
26505 (__ASSUME_AT_PAGESIZE): Likewise.
26506 (__ASSUME_AT_XID): Likewise.
26507 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26508 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26509 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26510 unconditionally.
26511 (HAVE_AUX_PAGESIZE): Likewise.
26512 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26513 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26514 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26515
26516 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26517
26518 [BZ #14307]
26519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26520 the temporary buffer used to invoke __gethostbyname2_r,
26521 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26522 host_data / struct gaih_addrtuple.
26523 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26524 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26525 header file nss/nsswitch.h.
26526 * nss/nsswitch.h (global scope): Add definition of implementation
26527 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26528 resolv/nss_dns/dns-host.c).
26529
26530 2012-07-11 Andreas Jaeger <aj@suse.de>
26531
26532 * po/fr.po: Update from translation team.
26533
26534 * po/sv.po: Update from translation team
26535 * po/fr.po: Another update from translation team.
26536
26537 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26538
26539 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26540 for subnormals or multiply small sinh result by itself.
26541 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26542 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26543
26544 2012-07-11 David S. Miller <davem@davemloft.net>
26545
26546 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26547
26548 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26549
26550 [BZ #14347]
26551 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26552 (INTERNAL_MARK): Shift it here.
26553
26554 2012-07-10 Marek Polacek <polacek@redhat.com>
26555
26556 [BZ #14151]
26557 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26558 libc_cv_asm_global_directive with .globl.
26559 * configure: Regenerated.
26560 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26561 with .globl.
26562 * sysdeps/i386/configure: Regenerated.
26563 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26564 with .globl.
26565 * sysdeps/x86_64/configure: Regenerated.
26566 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26567 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26568 * elf/tst-unique2mod2.c: Likewise.
26569 * elf/tst-unique2mod1.c: Likewise.
26570 * elf/tst-unique1mod2.c: Likewise.
26571 * elf/tst-unique1mod1.c: Likewise.
26572 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26573 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26574 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26575 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26576 * sysdeps/mach/sysdep.h: Likewise.
26577 * sysdeps/i386/sysdep.h: Likewise.
26578 * sysdeps/i386/i386-mcount.S: Likewise.
26579 * sysdeps/x86_64/_mcount.S: Likewise.
26580 * sysdeps/x86_64/sysdep.h: Likewise.
26581 * sysdeps/sh/_mcount.S: Likewise.
26582 * sysdeps/sh/sysdep.h: Likewise.
26583 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26584 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26585 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26586 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26587 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26588 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26589 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26590 * locale/localeinfo.h: Likewise.
26591 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26592 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26593
26594 2012-07-09 Roland McGrath <roland@hack.frob.com>
26595
26596 [BZ #14336]
26597 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26598 system".
26599 * manual/message.texi (The Uniforum approach): Likewise.
26600 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26601 (glibc iconv Implementation): Likewise.
26602
26603 2012-07-09 Joseph Myers <joseph@codesourcery.com>
26604
26605 [BZ #14337]
26606 * math/s_clog.c (__clog): Avoid scaling a value down where that
26607 could result in underflow.
26608 * math/s_clog10.c (__clog10): Likewise.
26609 * math/s_clog10f.c (__clog10f): Likewise.
26610 * math/s_clog10l.c (__clog10l): Likewise.
26611 * math/s_clogf.c (__clogf): Likewise.
26612 * math/s_clogl.c (__clogl): Likewise.
26613 * math/libm-test.inc (clog_test): Add more tests.
26614 (clog10_test): Likewise.
26615 * sysdeps/i386/fpu/libm-test-ulps: Update.
26616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26617
26618 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26619
26620 [BZ #14283]
26621 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26622 by 7 not 8 to examine high bit of fractional part.
26623
26624 [BZ #14042]
26625 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26626 for call to __mcount_internal.
26627 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26628 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26629 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26630
26631 2012-07-06 Joseph Myers <joseph@codesourcery.com>
26632
26633 [BZ #14154]
26634 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26635 approximation for values within 0x1p-13f of an odd multiple of
26636 pi/4.
26637 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26638 exception. Add more tests.
26639 * sysdeps/i386/fpu/libm-test-ulps: Update.
26640
26641 [BZ #6778]
26642 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26643 inputs and return -1 for them. Do not check for +Inf in case not
26644 reachable for +Inf.
26645 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26646 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26647 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26648 and return -1 for them. Do not check for +Inf in case not
26649 reachable for +Inf.
26650 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26651 define.
26652 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26653 and return -1 for them. Do not check for +Inf in case not
26654 reachable for +Inf.
26655 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26656 spurious underflow.
26657 * sysdeps/i386/fpu/libm-test-ulps: Update.
26658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26659
26660 2012-07-06 Mike Frysinger <vapier@gentoo.org>
26661
26662 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26663
26664 2012-07-05 Joseph Myers <joseph@codesourcery.com>
26665
26666 [BZ #14157]
26667 [BZ #14331]
26668 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26669 could result in spurious underflow. Scale down values above
26670 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26671 * math/s_csqrtf.c (__csqrtf): Likewise.
26672 * math/s_csqrtl.c (__csqrtl): Likewise.
26673 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26674 spurious underflow.
26675 * sysdeps/i386/fpu/libm-test-ulps: Update.
26676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26677
26678 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26679
26680 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26681 xopen-msg.sed.
26682 * catgets/xopen-msg.awk: New file.
26683 * catgets/xopen-msg.sed: Removed.
26684
26685 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26686 po2text.sed.
26687 * intl/po2test.awk: New file.
26688 * intl/po2test.sed: Removed.
26689
26690 2012-07-04 Joseph Myers <joseph@codesourcery.com>
26691
26692 [BZ #14328]
26693 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26694 or multiply small sinh result by itself.
26695 * math/s_ctanf.c (__ctanf): Likewise.
26696 * math/s_ctanh.c (__ctanh): Likewise.
26697 * math/s_ctanhf.c (__ctanhf): Likewise.
26698 * math/s_ctanhl.c (__ctanhl): Likewise.
26699 * math/s_ctanl.c (__ctanl): Likewise.
26700 * math/libm-test.inc (ctan_test_tonearest): New function.
26701 (ctan_test_towardzero): Likewise.
26702 (ctan_test_downward): Likewise.
26703 (ctan_test_upward): Likewise.
26704 (ctanh_test_tonearest): Likewise.
26705 (ctanh_test_towardzero): Likewise.
26706 (ctanh_test_downward): Likewise.
26707 (ctanh_test_upward): Likewise.
26708 (main): Call these new functions.
26709 * sysdeps/i386/fpu/libm-test-ulps: Update.
26710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26711
26712 2012-07-03 Mike Frysinger <vapier@gentoo.org>
26713
26714 * .gitignore: Delete /ports entry.
26715
26716 2012-07-03 Andreas Jaeger <aj@suse.de>
26717
26718 * po/bg.po: Update from translation team.
26719 * po/cs.po: Likewise.
26720 * po/de.po: Likewise.
26721 * po/hr.po: Likewise.
26722 * po/nl.pl: Likewise.
26723 * po/pl.po: Likewise.
26724 * po/vi.po: Likewise.
26725
26726 2012-07-03 Joseph Myers <joseph@codesourcery.com>
26727
26728 * Makeconfig [!+link] (+link-before-libc): New variable.
26729 [!+link] (+link-after-libc): Likewise.
26730 [!+link] (+link-tests): Likewise.
26731 [!+link] (+link): Define in terms of $(+link-before-libc) and
26732 $(+link-after-libc).
26733 [!+link-static] (+link-static-before-libc): New variable.
26734 [!+link-static] (+link-static-after-libc): Likewise.
26735 [!+link-static] (+link-static-tests): Likewise.
26736 [!+link-static] (+link-static): Define in terms of
26737 $(+link-static-before-libc) and $(+link-static-after-libc).
26738 [build-shared] (link-libc-before-gnulib): New variable.
26739 [build-shared] (link-libc-tests): Likewise.
26740 [build-shared] (link-libc): Define in terms of
26741 $(link-libc-before-gnulib).
26742 [!build-shared] (link-libc-tests): New variable.
26743 (link-libc-static-tests): New variable.
26744 [!gnulib] (gnulib-arch): New variable.
26745 [!gnulib] (gnulib-tests): Likewise.
26746 [!gnulib] (static-gnulib-arch): Likewise.
26747 [!gnulib] (static-gnulib-tests): Likewise.
26748 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26749 Define with "=" instead of ":=".
26750 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26751 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26752 * Rules (binaries-all-notests): New variable.
26753 (binaries-all-tests): Likewise.
26754 (binaries-static-notests): Likewise.
26755 (binaries-static-tests): Likewise.
26756 (binaries-all): Define using $(binaries-all-notests) and
26757 $(binaries-all-tests).
26758 (binaries-static): Define using $(binaries-static-notests) and
26759 $(binaries-static-tests).
26760 (binaries-shared-tests): New variable.
26761 (binaries-shared-notests): Likewise.
26762 (binaries-shared): Remove variable.
26763 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26764 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26765 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26766 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26767 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26768 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26769 * elf/Makefile (sln-modules): New variable.
26770 (extra-objs): Add $(sln-modules:=.o).
26771 (ldconfig-modules): Add static-stubs.
26772 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26773 * elf/static-stubs.c: New file.
26774
26775 [BZ #14283]
26776 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26777 by 7 not 8 to examine high bit of fractional part. Use volatile
26778 variables when splitting into final array of floats if
26779 __FLT_EVAL_METHOD__ != 0.
26780 * math/libm-test.inc (cos_test): Add another test.
26781 (sin_test): Likewise.
26782 * sysdeps/i386/fpu/libm-test-ulps: Update.
26783
26784 [BZ #14273]
26785 * math/libm-test.inc (cosh_test): Add more tests.
26786
26787 * version.h (RELEASE): Set to "development".
26788 (VERSION): Set to "2.16.90".
26789
26790 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26791
26792 * NEWS: Update copyright. Remove last-updated date.
26793 Mention math library bug fixes and timezone data changes.
26794 * README: Mention GNU/Hurd, x32, and HPPA support status.
26795
26796 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26797
26798 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26799
26800 2012-06-27 Andreas Jaeger <aj@suse.de>
26801
26802 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26803
26804 2012-06-25 Andreas Jaeger <aj@suse.de>
26805
26806 * sysdeps/s390/fpu/libm-test-ulps: Update.
26807
26808 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26809 Thomas Schwinge <thomas@codesourcery.com>
26810
26811 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26812 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26813 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26814 fanotify_mark.
26815
26816 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26817
26818 * sysdeps/mach/start.c: Remove file.
26819 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26820 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26821 * sysdeps/sh/init-first.c: Likewise.
26822
26823 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26824 registers for frame unwinding purposes, add CFI directives.
26825 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26826 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26827 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26828 Likewise.
26829
26830 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26831 __fortify_fail returning.
26832 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26833
26834 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26835 sysdeps/sh/____longjmp_chk.S.
26836 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26837 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26838 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26839 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26840
26841 * sysdeps/sh/abort-instr.h: New file.
26842 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26843 process in case exit returns.
26844
26845 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26846 initialize the GOT register before use.
26847
26848 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26849 calculation of ARGC > 4.
26850
26851 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26852 meaningful names to some local labels.
26853
26854 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26855 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26856
26857 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26858 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26859 (__arch_compare_and_exchange_val_16_acq): Likewise.
26860 (__arch_compare_and_exchange_val_32_acq): Likewise.
26861 (atomic_exchange_and_add): Fix gUSA sequence.
26862 (atomic_add): Likewise.
26863 (atomic_add_negative): Likewise.
26864 (atomic_add_zero): Likewise.
26865 (atomic_bit_test_set): Likewise.
26866
26867 2012-06-22 Andreas Schwab <schwab@redhat.com>
26868
26869 [BZ #13579]
26870 * include/link.h (struct link_map): Add l_free_initfini.
26871 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26872 l_initfini.
26873 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26874 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26875 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26876 set.
26877
26878 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26879
26880 * configure.in: Use AC_LANG_SOURCE.
26881 * configure: Regenerate.
26882
26883 2012-06-22 Roland McGrath <roland@hack.frob.com>
26884
26885 * configure.in (libc_cv_localstatedir): New substituted variable.
26886 * configure: Regenerated.
26887 * config.make.in (localstatedir): New variable, substituted from
26888 libc_cv_localstatedir.
26889 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26890 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26891 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26892 * sysdeps/gnu/configure: Regenerated.
26893
26894 2012-06-21 Jeff Law <law@redhat.com>
26895
26896 [BZ #14277]
26897 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26898 free. Simplify list management for _LIBC case.
26899
26900 2012-06-21 Joseph Myers <joseph@codesourcery.com>
26901
26902 [BZ #14273]
26903 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26904 Clear sign bit of 64-bit integer value before comparing against
26905 overflow value.
26906
26907 * sysdeps/mach/configure: Regenerated.
26908
26909 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26910
26911 [BZ #14278]
26912 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26913
26914 2012-06-21 Jeff Law <law@redhat.com>
26915
26916 [BZ #13882]
26917 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26918 uint16_t for elements in the "seen" array to avoid char overflows.
26919 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26920 * elf/dl-open.c (dl_open_worker): Likewise.
26921
26922 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26923
26924 * scripts/list-sources.sh: Scan PORTS for translations.
26925 * po/libc.pot: Regenerated.
26926
26927 2012-06-21 Andreas Jaeger <aj@suse.de>
26928
26929 [BZ #12194]
26930 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26931 warning.
26932 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26933 * bits/byteswap-16.h (__bswap_16): Likewise.
26934 * bits/byteswap.h (__bswap_constant_16): Likewise.
26935
26936 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26937
26938 [BZ #14117]
26939 * sysdeps/i386/fpu_control.h: Removed.
26940 * sysdeps/x86_64/fpu_control.h: Moved to ...
26941 * sysdeps/x86/fpu_control.h: Here.
26942
26943 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26944 (_FPU_SETCW): Likewise.
26945
26946 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26947
26948 [BZ #14117]
26949 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26950 * sysdeps/x86/fpu/bits/mathinline.h: This.
26951 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26952
26953 [BZ #14050]
26954 [BZ #14117]
26955 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26956 functions if __x86_64__ is defined.
26957
26958 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26959
26960 * string/endian.h: Add !__ASSEMBLER__ condition for including
26961 conversion interfaces.
26962
26963 2012-06-15 Joseph Myers <joseph@codesourcery.com>
26964
26965 [BZ #14241]
26966 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26967 of ABS(x) in calculating zero to negative powers other than odd
26968 integers.
26969 * math/libm-test.inc (pow_test): Add more tests.
26970
26971 2012-06-15 Andreas Jaeger <aj@suse.de>
26972
26973 * manual/contrib.texi (Contributors): Update entry of Liubov
26974 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26975 Machado Filho.
26976
26977 2012-06-15 Cyril Hrubis <metan@ucw.cz>
26978
26979 * string/string.h: Add __wur to GNU version of strerror_r.
26980
26981 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26982
26983 [BZ #14229]
26984 * string/Makefile (tests): Add tst-strtok_r.
26985 * string/tst-strtok_r.c: New file.
26986 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26987 RAX_LP/RDX_LP on SAVE_PTR.
26988
26989 2012-06-14 Roland McGrath <roland@hack.frob.com>
26990
26991 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26992
26993 2012-06-14 Joseph Myers <joseph@codesourcery.com>
26994
26995 * libm_test.inc (csqrt_test): Allow more spurious underflow
26996 exceptions.
26997 (j0_test): Likewise.
26998 (j1_test): Likewise.
26999 (y0_test): Likewise.
27000 (y1_test): Likewise.
27001
27002 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
27003
27004 * po/Makefile (libc.pot): Use UTF-8 charset.
27005
27006 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
27007
27008 [BZ #14210]
27009 Suppress sign-conversion warning from FD_SET.
27010 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
27011 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
27012 not unsigned long int.
27013 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
27014
27015 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
27016
27017 [BZ #14050]
27018 [BZ #14117]
27019 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
27020 __extern_always_inline instead of __extern_inline.
27021 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
27022 (__signbit): Likewise.
27023 (__signbitl): Support C++ namespace.
27024 (lrintf): New inline function.
27025 (lrint): Likewise.
27026 (llrintf): Likewise.
27027 (llrint): Likewise.
27028 (fmaxf): Likewise.
27029 (fmax): Likewise.
27030 (fminf): Likewise.
27031 (fmin): Likewise.
27032 (rint): Likewise.
27033 (rintf): Likewise.
27034 (ceil): Likewise.
27035 (ceilf): Likewise.
27036 (floor): Likewise.
27037 (floorf): Likewise.
27038 (nearbyint): Likewise.
27039 (nearbyintf): Likewise.
27040
27041 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
27042
27043 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
27044 non-default versions.
27045
27046 2012-06-11 Roland McGrath <roland@hack.frob.com>
27047
27048 [BZ #14218]
27049 * manual/argp.texi (Argp): Reword argp_parse description slightly.
27050
27051 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
27052
27053 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
27054 (FE_UPWARD, FE_DOWNWARD): Don't define.
27055 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
27056 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27057
27058 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
27059 reading it.
27060 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27061 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27062
27063 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27064
27065 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
27066 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
27067 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
27068 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
27069
27070 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
27071
27072 [BZ #14117]
27073 * sysdeps/i386/fpu/bits/fenv.h: Removed.
27074 * sysdeps/i386/fpu/Implies: New file.
27075 * sysdeps/x86_64/fpu/Implies: Likewise.
27076 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
27077 * sysdeps/x86/fpu/bits/fenv.h: This.
27078
27079 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
27080 __SSE_MATH__.
27081
27082 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
27083
27084 [BZ #14134]
27085 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
27086 character 0xffff that matches the last element of the
27087 conversion table.
27088
27089 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27090
27091 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
27092 fmodl commit.
27093
27094 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27095
27096 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
27097 values higher than 25.6283.
27098
27099 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27100
27101 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
27102 subnormal exponent extraction and add some __builtin_expect.
27103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
27104 Fix for subnormal mantissa calculation.
27105
27106 2012-06-04 Mike Frysinger <vapier@gentoo.org>
27107
27108 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
27109 cpu2 is -1 and errno is not ENOSYS.
27110
27111 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
27112
27113 [BZ #14117]
27114 * sysdeps/i386/i486/bits/string.h: Renamed to ...
27115 * sysdeps/x86/bits/string.h: This.
27116 * sysdeps/x86_64/bits/string.h: Removed.
27117
27118 * sysdeps/i386/i486/bits/string.h: Define inline functions only
27119 if not compiling for x86-64, but compiling for >= i486.
27120
27121 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
27122 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
27123
27124 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
27125 New macro from Linux kernel 3.4.0.
27126 (FP_XSTATE_MAGIC2): Likewise.
27127 (FP_XSTATE_MAGIC2_SIZE): Likewise.
27128 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
27129 (struct _fpx_sw_bytes): New struct.
27130 (struct _xsave_hdr): Likewise.
27131 (struct _ymmh_state): Likewise.
27132 (struct _xstate): Likewise.
27133
27134 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
27135 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
27136 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
27137 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
27138 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
27139 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
27140
27141 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
27142 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
27143 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
27144 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
27145 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
27146 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
27147
27148 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27149
27150 [BZ #13743]
27151 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
27152 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
27153 (sysdep_headers): Include sys/platform/ppc.h.
27154 * sysdeps/powerpc/test-gettimebase.c: Test for
27155 __ppc_get_timebase() to catch future ISA opcode/insn changes.
27156 * manual/Makefile (appendices): Include platform.texi.
27157 * manual/contrib.texi (Contributors): Update @node pointers.
27158 * manual/maint.texi (Maintenance): Likewise.
27159 (Platform): New node.
27160 * manual/platform.texi: New file. Document the new features.
27161
27162 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
27163 Jakub Jelinek <jakub@redhat.com>
27164
27165 [BZ #14188]
27166 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
27167 where __builtin_expect is unavailable.
27168
27169 2012-06-03 David S. Miller <davem@davemloft.net>
27170
27171 * stdlib/longlong.h: Updated from GCC.
27172
27173 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
27174
27175 [BZ #14042]
27176 * sysdeps/powerpc/powerpc32/mcount.c: New file.
27177 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
27178 __mcount_internal.
27179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27180 (GLIBC_2.16): Likewise.
27181
27182 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27183
27184 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
27185
27186 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27187
27188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
27189 (default-abi): New variable.
27190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
27191 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
27192 variable.
27193 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
27194 Likewise.
27195 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
27196 Likewise.
27197 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
27198 Likewise.
27199
27200 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
27201 definition. Document in comment.
27202
27203 2012-06-01 David S. Miller <davem@davemloft.net>
27204
27205 * stdlib/longlong.h: Updated from GCC.
27206
27207 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27208
27209 [BZ #14117]
27210 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
27211 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
27212 sys/debugreg.h sys/io.h here.
27213 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
27214 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
27215 sys/io.h.
27216 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
27217 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
27218 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
27219 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
27220 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
27221 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
27222
27223 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
27224 Define only if __x86_64__ is defined.
27225
27226 2012-06-01 Joseph Myers <joseph@codesourcery.com>
27227
27228 [BZ #14048]
27229 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
27230 Use int64_t for variable i.
27231 * math/libm-test.inc (fmod_test): Add more tests.
27232
27233 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
27234 z computation is not scheduled after fetestexcept.
27235 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
27236 Use math_force_eval instead of asm to ensure calculation scheduled
27237 before exception test.
27238 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
27239 Ensure a1 + u.d computation is not scheduled after fetestexcept.
27240
27241 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
27242
27243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
27244 computation is not scheduled after fetestexcept.
27245
27246 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
27247
27248 [BZ #14117]
27249 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
27250 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
27251
27252 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27253
27254 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
27255 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27256
27257 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27258
27259 [BZ #14117]
27260 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27261 <bits/wordsize.h>.
27262 (__WCHAR_MIN): Support __WORDSIZE == 64.
27263 (__WCHAR_MAX): Likewise.
27264
27265 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27266 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27267
27268 [BZ #14183]
27269 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27270 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27271
27272 [BZ #14117]
27273 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27274 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27275
27276 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27277 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27278
27279 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27280 Defined to 1 if __x86_64__ isn't defined.
27281 (_STAT_VER_LINUX_OLD): New.
27282 (st_atime): Remove duplicate.
27283 (st_mtime): Likewise.
27284 (st_ctime): Likewise.
27285
27286 2012-05-31 David S. Miller <davem@davemloft.net>
27287
27288 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27289 entries.
27290
27291 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27292
27293 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27294 gen-libm-test.pl.
27295
27296 [BZ #14132]
27297 * elf/dl-reloc.c: Include <_itoa.h>.
27298 (_dl_reloc_bad_type): Remove use of INTUSE.
27299 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27300 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27301 * stdio-common/psiginfo.c (psiginfo): Likewise.
27302 * stdio-common/psignal.c (psignal): Likewise.
27303 * string/strsignal.c (strsignal): Likewise.
27304 * include/signal.h (_sys_siglist): Declare hidden proto.
27305 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27306 INTVARDEF with libc_hidden_data_def.
27307 * stdio-common/itoa-udigits.c: Likewise.
27308 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27309 (_itoa_lower_digits_internal): Remove declaration.
27310 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27311 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27312 (_sys_sigabbrev_internal): Remove aliases.
27313 (_sys_siglist): Define hidden alias.
27314
27315 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27316
27317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27318 bits/sysctl.h.
27319
27320 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27321
27322 [BZ #14117]
27323 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27324 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27325
27326 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27327 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27328 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27329 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27330 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27331 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27332
27333 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27334 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27335 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27336
27337 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27338 with __addr.
27339 (insw): Likewise.
27340 (insl): Likewise.
27341 (outsb): Likewise.
27342 (outsw): Likewise.
27343 (outsl): Likewise.
27344
27345 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27346 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27347 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27348
27349 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27350 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27351 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27352 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27353 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27354 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27355
27356 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27357 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27358
27359 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27360 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27361
27362 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27363 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27364 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27365
27366 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27367 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27368 to ...
27369 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27370
27371 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27372 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27373 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27374
27375 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27376 for x86-64.
27377 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27378
27379 2012-05-31 Joseph Myers <joseph@codesourcery.com>
27380
27381 * math/math.h (M_El): Use two more decimal places.
27382 (M_LOG2El): Likewise.
27383 (M_LOG10El): Likewise.
27384 (M_LN2l): Likewise.
27385 (M_LN10l): Likewise.
27386 (M_PIl): Likewise.
27387 (M_PI_2l): Likewise.
27388 (M_PI_4l): Likewise.
27389 (M_1_PIl): Likewise.
27390 (M_2_PIl): Likewise.
27391 (M_2_SQRTPIl): Likewise.
27392 (M_SQRT2l): Likewise.
27393 (M_SQRT1_2l): Likewise.
27394
27395 2012-05-31 David S. Miller <davem@davemloft.net>
27396
27397 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27398 values between float registers.
27399 * sysdeps/sparc/sparc64/memset.S: Likewise.
27400 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27401
27402 2012-05-31 Mike Frysinger <vapier@gentoo.org>
27403
27404 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27405 -D_FORTIFY_SOURCE=1.
27406 (CPPFLAGS-tst-longjmp_chk.c): Define.
27407 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27408 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27409 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27410 CFLAGS-tst-wchar-h.c.
27411
27412 2012-05-31 Marek Polacek <polacek@redhat.com>
27413
27414 [BZ #14132]
27415 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27416 __endmntent_internal): Remove declaration.
27417 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27418 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27419 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27420
27421 2012-05-30 David S. Miller <davem@davemloft.net>
27422
27423 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27424 (___Q_simulate_exceptions): Use real FP ops rather than writing
27425 into the %fsr.
27426 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27427 Likewise.
27428
27429 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27430
27431 [BZ #14117]
27432 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27433 * sysdeps/x86/bits/xtitypes.h: This.
27434
27435 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27436 * sysdeps/x86/bits/wordsize.h: This.
27437
27438 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27439 * sysdeps/x86/bits/huge_vall.h: This.
27440
27441 * sysdeps/i386/bits/select.h: Removed.
27442 * sysdeps/x86_64/bits/select.h: Renamed to ...
27443 * sysdeps/x86/bits/select.h: This.
27444
27445 * sysdeps/i386/bits/setjmp.h: Removed.
27446 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27447 * sysdeps/x86/bits/setjmp.h: This.
27448
27449 * sysdeps/i386/bits/mathdef.h: Removed.
27450 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27451 * sysdeps/x86/bits/mathdef.h: This.
27452
27453 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27454
27455 [BZ #14132]
27456 * include/sys/socket.h (__connect_internal)
27457 (__libc_sa_len_internal): Remove declaration.
27458 (__connect, __libc_sa_len): Declare hidden_proto.
27459 (SA_LEN): Remove use of INTUSE.
27460 * socket/connect.c: Add libc_hidden_def.
27461 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27462 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27463 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27464 alias.
27465 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27466 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27467 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27468 of adding _internal alias.
27469
27470 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27471
27472 [BZ #14117]
27473 * sysdeps/i386/bits/link.h: Removed.
27474 * sysdeps/i386/bits/linkmap.h: Likewise.
27475 * sysdeps/x86_64/bits/link.h: Renamed to ...
27476 * sysdeps/x86/bits/link.h: This.
27477 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27478 * sysdeps/x86/bits/linkmap.h: This.
27479
27480 * sysdeps/i386/bits/endian.h: Removed.
27481 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27482 * sysdeps/x86/bits/endian.h: This.
27483
27484 * sysdeps/i386/bits/byteswap.h: Removed.
27485 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27486 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27487 * sysdeps/x86/bits/byteswap.h: This.
27488 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27489 * sysdeps/x86/bits/byteswap-16.h: This.
27490 * sysdeps/i386/Implies: Add x86.
27491 * sysdeps/x86_64/Implies: Likewise.
27492
27493 2012-05-30 David S. Miller <davem@davemloft.net>
27494
27495 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27496 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27497 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27498 (FP_TRAPPING_EXCEPTIONS): Define.
27499 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27500 (FP_TRAPPING_EXCEPTIONS): Define.
27501 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27502 subnormals only when inexact has been signalled or underflow
27503 exceptions are enabled.
27504 (_FP_PACK_CANONICAL): Likewise.
27505
27506 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27507
27508 [BZ #14183]
27509 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27510 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27511
27512 2012-05-30 Richard Henderson <rth@twiddle.net>
27513
27514 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27515 with #ifndef NOT_IN_libc.
27516
27517 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27518 marked to avoid plt entry.
27519
27520 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27521
27522 [BZ #14112]
27523 * Makeconfig (default-abi): New macro.
27524 (abi-includes): Likewise.
27525 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27526 $(abi-$(default-abi)-lib-soname) for soname if defined.
27527 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27528 abi-variants.
27529 * Makefile (installed-stubs): Likewise.
27530 * include/stubs-biarch.h: Removed.
27531 * scripts/lib-names.awk: Only handle one library at a time.
27532 * scripts/soversions.awk: Remove WORDSIZE support.
27533 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27534 entries.
27535 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27536 Removed.
27537 (syscall-list-default-condition): Likewise.
27538 (syscall-list-default-condition): Likewise.
27539 (syscall-list-includes): Likewise.
27540 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27541 syscall-list-* with abi-*. Handle undefined abi-variants.
27542 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27543 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27544 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27545 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27546 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27547 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27548 Removed.
27549 (syscall-list-32-options): Likewise.
27550 (syscall-list-32-condition): Likewise.
27551 (syscall-list-64-options): Likewise.
27552 (syscall-list-64-condition): Likewise.
27553 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27554 macro.
27555 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27556 Renamed to ...
27557 (abi-*): This.
27558 (abi-64-ld-soname): New macro.
27559 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27560 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27561 Renamed to ...
27562 (abi-*): This.
27563 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27564 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27565
27566 2012-05-30 Joseph Myers <joseph@codesourcery.com>
27567
27568 * sysdeps/unix/sysv/linux/kernel-features.h
27569 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27570 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27571 include <kernel-features.h>.
27572 [!__NR_ftruncate64]: Remove conditional code.
27573 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27574 [__NR_ftruncate64]: Make code unconditional.
27575 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27576 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27577 include <kernel-features.h>.
27578 [!__NR_ftruncate64]: Remove conditional code.
27579 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27580 [__NR_ftruncate64]: Make code unconditional.
27581 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27583 include <kernel-features.h>.
27584 [!__NR_ftruncate64]: Remove conditional code.
27585 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27586 [__NR_ftruncate64]: Make code unconditional.
27587 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27589 include <kernel-features.h>.
27590 [!__NR_ftruncate64]: Remove conditional code.
27591 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27592 [__NR_ftruncate64]: Make code unconditional.
27593 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27594
27595 * configure.in (libc_cv_fpie): Weaken to a compile test using
27596 LIBC_TRY_CC_OPTION.
27597 * configure: Regenerated.
27598
27599 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27600
27601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27602 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27604 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27605 Refreshed.
27606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27612 Refreshed.
27613
27614 2012-05-27 David S. Miller <davem@davemloft.net>
27615
27616 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27617 (___Q_zero): New.
27618 (__Q_simulate_exceptions): Return void. Change to simulate
27619 exceptions by writing into the %fsr.
27620 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27621 (__Qp_handle_exceptions): Likewise.
27622 (numbers): Delete.
27623 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27624 __Qp_handle_exceptions.
27625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27626 __Qp_handle_exceptions.
27627 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27628 as unused and give dummy FP_RND_NEAREST initializer.
27629 (FP_INHIBIT_RESULTS): Define.
27630 (___Q_simulate_exceptions): Update declaration.
27631 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27632 formatting.
27633 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27634 as unused and give dummy FP_RND_NEAREST initializer.
27635 (__Qp_handle_exceptions): Update declaration.
27636 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27637 formatting.
27638
27639 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27640
27641 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27642 the temporary FPU control word.
27643 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27644 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27645 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27646 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27647 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27648 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27649 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27650 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27651 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27652 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27653 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27654
27655 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27656
27657 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27658 fields.
27659
27660 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27661
27662 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27663 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27664 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27665 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27666 Likewise.
27667 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27668 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27669 Likewise.
27670
27671 2012-05-27 Ulrich Drepper <drepper@gmail.com>
27672
27673 * po/h.po: Update from translation team.
27674
27675 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27676
27677 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27678
27679 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27680 handling of denormals.
27681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27682 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27683 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27684 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27685 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27686 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27687 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27688 Likewise.
27689
27690 2012-05-26 Marek Polacek <polacek@redhat.com>
27691
27692 [BZ #14152]
27693 * math/libm-test.inc (fma_test): Don't always expect underflow
27694 exception.
27695
27696 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27697
27698 [BZ #12416]
27699 * elf/tst-execstack.c: Include stackinfo.h.
27700 (do_test): Adjust test case to ensure that pthread_getattr_np
27701 behaviour remains the same after marking stack executable.
27702
27703 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27704
27705 * sysdeps/unix/sysv/linux/kernel-features.h
27706 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27707 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27708 kernel-features.h.
27709 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27710 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27711 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27712 kernel-features.h.
27713 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27714 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27715
27716 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27717
27718 * configure.in: Define the default includes to being none.
27719 * configure: Regenerated.
27720
27721 2012-05-25 Roland McGrath <roland@hack.frob.com>
27722
27723 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27724 * sysdeps/x86_64/setjmp.S: Likewise.
27725 * sysdeps/i386/bsd-setjmp.S: Likewise.
27726 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27727 * sysdeps/i386/setjmp.S: Likewise.
27728 * sysdeps/i386/__longjmp.S: Likewise.
27729 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27730 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27731
27732 * include/stap-probe.h: New file.
27733 * configure.in: Handle --enable-systemtap.
27734 * configure: Regenerated.
27735 * config.h.in (USE_STAP_PROBE): New #undef.
27736 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27737 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27738 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27739
27740 2012-05-25 Joseph Myers <joseph@codesourcery.com>
27741
27742 [BZ #13717]
27743 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27744 to 2.4.0 where earlier.
27745 * sysdeps/unix/sysv/linux/configure: Regenerated.
27746 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27747 <kernel-features.h>.
27748 [__ASSUME_32BITUIDS]: Make code unconditional.
27749 [!__ASSUME_32BITUIDS]: Remove conditional code.
27750 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27751 <kernel-features.h>.
27752 [__ASSUME_32BITUIDS]: Make code unconditional.
27753 [!__ASSUME_32BITUIDS]: Remove conditional code.
27754 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27755 [__ASSUME_32BITUIDS]: Make code unconditional.
27756 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27757 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27758 <kernel-features.h>.
27759 [__ASSUME_32BITUIDS]: Make code unconditional.
27760 [!__ASSUME_32BITUIDS]: Remove conditional code.
27761 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27762 <kernel-features.h>.
27763 [__ASSUME_32BITUIDS]: Make code unconditional.
27764 [!__ASSUME_32BITUIDS]: Remove conditional code.
27765 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27766 <kernel-features.h>.
27767 [__ASSUME_32BITUIDS]: Make code unconditional.
27768 [!__ASSUME_32BITUIDS]: Remove conditional code.
27769 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27770 <kernel-features.h>.
27771 [__ASSUME_32BITUIDS]: Make code unconditional.
27772 [!__ASSUME_32BITUIDS]: Remove conditional code.
27773 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27774 <kernel-features.h>.
27775 [__ASSUME_32BITUIDS]: Make code unconditional.
27776 [!__ASSUME_32BITUIDS]: Remove conditional code.
27777 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27778 <kernel-features.h>.
27779 [__ASSUME_32BITUIDS]: Make code unconditional.
27780 [!__ASSUME_32BITUIDS]: Remove conditional code.
27781 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27782 <kernel-features.h>.
27783 [__ASSUME_32BITUIDS]: Make code unconditional.
27784 [!__ASSUME_32BITUIDS]: Remove conditional code.
27785 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27786 <kernel-features.h>.
27787 [__ASSUME_32BITUIDS]: Make code unconditional.
27788 [!__ASSUME_32BITUIDS]: Remove conditional code.
27789 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27790 <kernel-features.h>.
27791 [__ASSUME_32BITUIDS]: Make code unconditional.
27792 [!__ASSUME_32BITUIDS]: Remove conditional code.
27793 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27794 <kernel-features.h>.
27795 [__ASSUME_32BITUIDS]: Make code unconditional.
27796 [!__ASSUME_32BITUIDS]: Remove conditional code.
27797 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27798 <kernel-features.h>.
27799 [__NR_setresgid] (__setresgid): Do not declare.
27800 [__ASSUME_32BITUIDS]: Make code unconditional.
27801 [!__ASSUME_32BITUIDS]: Remove conditional code.
27802 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27803 <kernel-features.h>.
27804 [__NR_setresuid] (__setresuid): Do not declare.
27805 [__ASSUME_32BITUIDS]: Make code unconditional.
27806 [!__ASSUME_32BITUIDS]: Remove conditional code.
27807 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27808 <kernel-features.h>.
27809 [__ASSUME_32BITUIDS]: Make code unconditional.
27810 [!__ASSUME_32BITUIDS]: Remove conditional code.
27811 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27812 <kernel-features.h>.
27813 [__ASSUME_32BITUIDS]: Make code unconditional.
27814 [!__ASSUME_32BITUIDS]: Remove conditional code.
27815 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27816 <kernel-features.h>.
27817 [__ASSUME_32BITUIDS]: Make code unconditional.
27818 [!__ASSUME_32BITUIDS]: Remove conditional code.
27819 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27820 <kernel-features.h>.
27821 [__ASSUME_32BITUIDS]: Make code unconditional.
27822 [!__ASSUME_32BITUIDS]: Remove conditional code.
27823 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27824 <kernel-features.h>.
27825 [__ASSUME_32BITUIDS]: Make code unconditional.
27826 [!__ASSUME_32BITUIDS]: Remove conditional code.
27827 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27828 <kernel-features.h>.
27829 [__ASSUME_32BITUIDS]: Make code unconditional.
27830 [!__ASSUME_32BITUIDS]: Remove conditional code.
27831 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27832 <kernel-features.h>.
27833 [__ASSUME_32BITUIDS]: Make code unconditional.
27834 [!__ASSUME_32BITUIDS]: Remove conditional code.
27835 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27836 <kernel-features.h>.
27837 [__ASSUME_32BITUIDS]: Make code unconditional.
27838 [!__ASSUME_32BITUIDS]: Remove conditional code.
27839 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27840 <kernel-features.h>.
27841 [__ASSUME_32BITUIDS]: Make code unconditional.
27842 [!__ASSUME_32BITUIDS]: Remove conditional code.
27843 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27844 <kernel-features.h>.
27845 [__ASSUME_32BITUIDS]: Make code unconditional.
27846 [!__ASSUME_32BITUIDS]: Remove conditional code.
27847 * sysdeps/unix/sysv/linux/kernel-features.h
27848 (__ASSUME_SETRESUID_SYSCALL): Remove.
27849 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27850 (__ASSUME_32BITUIDS): Likewise.
27851 (__ASSUME_LDT_WORKS): Likewise.
27852 (__ASSUME_O_DIRECTORY): Likewise.
27853 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27854 architecture but not kernel version.
27855 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27856 (__ASSUME_MMAP2_SYSCALL): Likewise.
27857 (__ASSUME_STAT64_SYSCALL): Likewise.
27858 (__ASSUME_IPC64): Likewise.
27859 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27860 <kernel-features.h>.
27861 [__ASSUME_32BITUIDS]: Make code unconditional.
27862 [!__ASSUME_32BITUIDS]: Remove conditional code.
27863 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27864 <kernel-features.h>.
27865 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27866 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27867 132096]: Remove conditional code.
27868 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27869 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27870 <kernel-features.h>.
27871 [__ASSUME_32BITUIDS]: Make code unconditional.
27872 [!__ASSUME_32BITUIDS]: Remove conditional code.
27873 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27874 <kernel-features.h>.
27875 [__ASSUME_32BITUIDS]: Make code unconditional.
27876 [!__ASSUME_32BITUIDS]: Remove conditional code.
27877 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27878 <kernel-features.h>.
27879 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27880 unconditional.
27881 (__setresgid): Do not declare.
27882 [__ASSUME_32BITUIDS]: Make code unconditional.
27883 [!__ASSUME_32BITUIDS]: Remove conditional code.
27884 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27885 <kernel-features.h>.
27886 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27887 unconditional.
27888 (__setresuid): Do not declare.
27889 [__ASSUME_32BITUIDS]: Make code unconditional.
27890 [!__ASSUME_32BITUIDS]: Remove conditional code.
27891 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27892 <kernel-features.h>.
27893 [__ASSUME_32BITUIDS]: Make code unconditional.
27894 [!__ASSUME_32BITUIDS]: Remove conditional code.
27895 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27896 <kernel-features.h>.
27897 [__ASSUME_32BITUIDS]: Make code unconditional.
27898 [!__ASSUME_32BITUIDS]: Remove conditional code.
27899
27900 2012-05-25 Richard Henderson <rth@twiddle.net>
27901
27902 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27903 dl_hwcap to ifunc resolver.
27904 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27905 elf_ifunc_invoke.
27906 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27907 dl_hwcap to ifunc resolver.
27908 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27909
27910 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27911
27912 [BZ #14153]
27913 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27914 for |x| <= 2**-26, not 2**-57.
27915 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27916 exception.
27917
27918 2012-05-24 Jeff Law <law@redhat.com>
27919
27920 * stdio-common/Makefile (tests): Add bug25.
27921 * stdio-common/bug25.c: New test.
27922
27923 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27924
27925 [BZ #13576]
27926 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27927 multiple of MALLOC_ALIGNMENT in size.
27928 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27929
27930 2012-05-24 Joseph Myers <joseph@codesourcery.com>
27931
27932 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27933 Require >= 256.
27934 (FILENAME_MAX): Use macro-int-constant.
27935 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27936 (_IOFBF): Use macro-int-constant.
27937 (_IOLBF): Likewise.
27938 (_IONBF): Likewise.
27939 (SEEK_CUR): Likewise.
27940 (SEEK_END): Likewise.
27941 (SEEK_SET): Likewise.
27942 (TMP_MAX): Likewise.
27943 (EOF): Use macro-int-constant. Require < 0.
27944 (NULL): Use macro-constant. Require == 0.
27945 (stdin): Require type to be FILE *.
27946 (stdout): Likewise.
27947 (stderr): Likewise.
27948 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27949 macro-int-constant.
27950 (EXIT_SUCCESS): Likewise.
27951 (NULL): Use macro-constant. Require == 0.
27952 (RAND_MAX): Use macro-int-constant.
27953 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27954 [C99-based standards] (strtof): Require function.
27955 [C99-based standards] (strtold): Likewise.
27956 [C99-based standards] (strtoll): Likewise.
27957 [C99-based standards] (strtoull): Likewise.
27958 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27959 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27960 [ISO || ISO99 || ISO11] (math.h): Likewise.
27961 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27962 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27963 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27964
27965 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27966
27967 [BZ #14132]
27968 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27969 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27970 * intl/dgettext.c (DCGETTEXT): Likewise.
27971 * intl/gettext.c (DCGETTEXT): Likewise.
27972 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27973 * posix/regex_internal.h (gettext): Likewise.
27974 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27975 Remove declaration.
27976 * include/argz.h (__argz_count_internal)
27977 (__argz_stringify_internal): Remove declaration.
27978 (__argz_count, __argz_stringify): Declare hidden proto.
27979 * intl/dcgettext.c: Remove use of INTDEF.
27980 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27981 * string/argz-stringify.c: Likewise.
27982 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27983 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27984 Declare hidden proto.
27985 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27986 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27987 Declare hidden proto.
27988 * include/stdio.h (__asprintf_internal): Don't declare.
27989 (__asprintf): Don't define as macro. Declare hidden proto.
27990 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27991 (__fsetlocking): Declare hidden proto.
27992 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27993 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27994 hidden proto.
27995 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27996 (_IO_setlinebuf): Remove use of INTUSE.
27997 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27998 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27999 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
28000 Remove declaration.
28001 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
28002 (_IO_do_flush): Remove use of INTUSE.
28003 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
28004 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
28005 (_IO_adjust_column, _IO_least_wmarker)
28006 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
28007 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
28008 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
28009 (_IO_default_doallocate, _IO_wdefault_doallocate)
28010 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
28011 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
28012 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
28013 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
28014 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
28015 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
28016 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
28017 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
28018 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
28019 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
28020 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
28021 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
28022 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
28023 proto.
28024 (_IO_flush_all_internal, _IO_adjust_column_internal)
28025 (_IO_default_uflow_internal, _IO_default_finish_internal)
28026 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
28027 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
28028 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
28029 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
28030 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
28031 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
28032 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
28033 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
28034 (_IO_file_close_internal, _IO_file_close_it_internal)
28035 (_IO_file_underflow_internal, _IO_file_overflow_internal)
28036 (_IO_file_init_internal, _IO_file_attach_internal)
28037 (_IO_file_fopen_internal, _IO_file_read_internal)
28038 (_IO_file_sync_internal, _IO_file_seek_internal)
28039 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
28040 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
28041 (_IO_str_underflow_internal, _IO_str_overflow_internal)
28042 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
28043 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
28044 (_IO_list_all_internal, _IO_link_in_internal)
28045 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
28046 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
28047 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
28048 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
28049 (_IO_do_write_internal, _IO_padn_internal)
28050 (_IO_getline_info_internal, _IO_getline_internal)
28051 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
28052 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
28053 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
28054 (_IO_vfscanf_internal, _IO_vfprintf_internal)
28055 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
28056 (_IO_init_internal, _IO_un_link_internal): Don't declare.
28057 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
28058 with libc_hidden_ver, remove use of INTUSE.
28059 * libio/genops.c: Likewise.
28060 * libio/freopen.c: Likewise.
28061 * libio/freopen64.c: Likewise.
28062 * libio/iofclose.c: Likewise.
28063 * libio/iofdopen.c: Likewise.
28064 * libio/iofflush.c: Likewise.
28065 * libio/iofflush_u.c: Likewise.
28066 * libio/iofgets.c: Likewise.
28067 * libio/iofgets_u.c: Likewise.
28068 * libio/iofopen.c: Likewise.
28069 * libio/iofopncook.c: Likewise.
28070 * libio/iofread.c: Likewise.
28071 * libio/iofread_u.c: Likewise.
28072 * libio/ioftell.c: Likewise.
28073 * libio/iofwrite.c: Likewise.
28074 * libio/iogetline.c: Likewise.
28075 * libio/iogets.c: Likewise.
28076 * libio/iogetwline.c: Likewise.
28077 * libio/iopadn.c: Likewise.
28078 * libio/iopopen.c: Likewise.
28079 * libio/ioseekoff.c: Likewise.
28080 * libio/ioseekpos.c: Likewise.
28081 * libio/iosetbuffer.c: Likewise.
28082 * libio/iosetvbuf.c: Likewise.
28083 * libio/ioungetc.c: Likewise.
28084 * libio/ioungetwc.c: Likewise.
28085 * libio/iovdprintf.c: Likewise.
28086 * libio/iovsprintf.c: Likewise.
28087 * libio/iovsscanf.c: Likewise.
28088 * libio/memstream.c: Likewise.
28089 * libio/obprintf.c: Likewise.
28090 * libio/oldfileops.c: Likewise.
28091 * libio/oldiofclose.c: Likewise.
28092 * libio/oldiofdopen.c: Likewise.
28093 * libio/oldiofopen.c: Likewise.
28094 * libio/oldiopopen.c: Likewise.
28095 * libio/oldstdfiles.c: Likewise.
28096 * libio/putc.c: Likewise.
28097 * libio/setbuf.c: Likewise.
28098 * libio/setlinebuf.c: Likewise.
28099 * libio/stdfiles.c: Likewise.
28100 * libio/strops.c: Likewise.
28101 * libio/vasprintf.c: Likewise.
28102 * libio/vscanf.c: Likewise.
28103 * libio/vsnprintf.c: Likewise.
28104 * libio/vswprintf.c: Likewise.
28105 * libio/wfiledoalloc.c: Likewise.
28106 * libio/wfileops.c: Likewise.
28107 * libio/wgenops.c: Likewise.
28108 * libio/wmemstream.c: Likewise.
28109 * libio/wstrops.c: Likewise.
28110 * libio/__fpurge.c: Likewise.
28111 * libio/__fsetlocking.c: Likewise.
28112 * assert/assert.c: Likewise.
28113 * debug/fgets_chk.c: Likewise.
28114 * debug/fgets_u_chk.c: Likewise.
28115 * debug/fread_chk.c: Likewise.
28116 * debug/fread_u_chk.c: Likewise.
28117 * debug/gets_chk.c: Likewise.
28118 * debug/obprintf_chk.c: Likewise.
28119 * debug/vasprintf_chk.c: Likewise.
28120 * debug/vdprintf_chk.c: Likewise.
28121 * debug/vsnprintf_chk.c: Likewise.
28122 * debug/vsprintf_chk.c: Likewise.
28123 * malloc/mtrace.c: Likewise.
28124 * misc/error.c: Likewise.
28125 * misc/syslog.c: Likewise.
28126 * stdio-common/asprintf.c: Likewise.
28127 * stdio-common/fxprintf.c: Likewise.
28128 * stdio-common/getw.c: Likewise.
28129 * stdio-common/isoc99_fscanf.c: Likewise.
28130 * stdio-common/isoc99_scanf.c: Likewise.
28131 * stdio-common/isoc99_vfscanf.c: Likewise.
28132 * stdio-common/isoc99_vscanf.c: Likewise.
28133 * stdio-common/isoc99_vsscanf.c: Likewise.
28134 * stdio-common/printf-prs.c: Likewise.
28135 * stdio-common/printf_fp.c: Likewise.
28136 * stdio-common/printf_fphex.c: Likewise.
28137 * stdio-common/printf_size.c: Likewise.
28138 * stdio-common/putw.c: Likewise.
28139 * stdio-common/scanf.c: Likewise.
28140 * stdio-common/sprintf.c: Likewise.
28141 * stdio-common/tmpfile.c: Likewise.
28142 * stdio-common/vfprintf.c: Likewise.
28143 * stdio-common/vfscanf.c: Likewise.
28144 * stdlib/strfmon_l.c: Likewise.
28145 * sunrpc/openchild.c: Likewise.
28146 * sunrpc/xdr_stdio.c: Likewise.
28147 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28148 * sysdeps/mach/hurd/tmpfile.c: Likewise.
28149
28150 2012-05-24 Roland McGrath <roland@hack.frob.com>
28151
28152 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28153
28154 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
28155 in the third column, to generate for the shared library an IFUNC
28156 that uses _dl_vdso_vsym.
28157 * Makerules (COMPILE.c, compile-stdin.c): New variables.
28158 * Makeconfig (object-suffixes-noshared): New variable.
28159
28160 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
28161 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
28162 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
28163 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
28164
28165 [BZ #14132]
28166 * include/sys/time.h (__gettimeofday): Remove macro.
28167 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
28168 * time/gettimeofday.c (__gettimeofday): Remove #undef.
28169 Remove INTDEF.
28170 (__gettimeofday): Add libc_hidden_def.
28171 (gettimeofday): Add libc_hidden_weak.
28172 * sysdeps/mach/gettimeofday.c: Likewise.
28173 * sysdeps/posix/gettimeofday.c: Likewise.
28174 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28175 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
28176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
28177 (__gettimeofday_internal): Remove strong_alias.
28178 (__gettimeofday): Add libc_hidden_def.
28179 (gettimeofday): Add libc_hidden_weak.
28180 * sysdeps/unix/syscalls.list (gettimeofday):
28181 Remove __gettimeofday_internal alias.
28182
28183 2012-05-24 Daniel Jacobowitz <drow@false.org>
28184 H.J. Lu <hongjiu.lu@intel.com>
28185
28186 [BZ #12495]
28187 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
28188 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
28189 (largebin_index_32_big): New.
28190 (largebin_index): Use it for 16-byte alignment.
28191 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
28192 correction with front_misalign.
28193
28194 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
28195
28196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
28197 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28198 Likewise.
28199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
28200 Likewise.
28201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28202 Likewise.
28203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
28204 Likewise.
28205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
28206 Likewise.
28207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
28208 Likewise.
28209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
28210 Likewise.
28211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28212 Likewise.
28213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
28214 Likewise.
28215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
28216 Likewise.
28217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28218 Likewise.
28219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
28220 Likewise.
28221
28222 * scripts/data/c++-types-x32-linux-gnu.data: New file.
28223 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
28224
28225 2012-05-24 Joseph Myers <joseph@codesourcery.com>
28226
28227 [BZ #10846]
28228 [BZ #14036]
28229 * math/libm-test.inc (exp_test): Add test from bug 14036.
28230 (pow_test): Add test from bug 10846.
28231
28232 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
28233 and other flags.
28234 (special_function): Do not include flags in test name.
28235 (parse_args): Likewise.
28236 * sysdeps/i386/fpu/libm-test-ulps: Update.
28237 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28238 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28239 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28241
28242 * math/gen-libm-test.pl (%beautify): Add entries for underflow
28243 exceptions.
28244 * math/libm-test.inc ("Philosophy"): Update comment about
28245 exception testing.
28246 (UNDERFLOW_EXCEPTION): New macro.
28247 (UNDERFLOW_EXCEPTION_OK): Likewise.
28248 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
28249 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
28250 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
28251 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
28252 (INVALID_EXCEPTION_OK): Update value.
28253 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28254 (OVERFLOW_EXCEPTION_OK): Likewise.
28255 (IGNORE_ZERO_INF_SIGN): Likewise.
28256 (test_exceptions): Handle underflow exceptions.
28257 (acos_test): Update for underflow exception expectations.
28258 (cexp_test): Likewise.
28259 (clog_test): Likewise.
28260 (clog10_test): Likewise.
28261 (csqrt_test): Likewise.
28262 (ctan_test): Likewise.
28263 (ctanh_test): Likewise.
28264 (exp_test): Likewise.
28265 (exp10_test): Likewise.
28266 (exp2_test): Likewise.
28267 (expm1_test): Likewise.
28268 (fma_test): Likewise.
28269 (j0_test): Likewise.
28270 (jn_test): Likewise.
28271 (nexttoward_test): Likewise.
28272 (pow_test): Likewise.
28273 (scalbn_test): Likewise.
28274 (scalbln_test): Likewise.
28275 (tan_test): Likewise.
28276 (y1_test): Likewise.
28277 * sysdeps/i386/fpu/libm-test-ulps: Update.
28278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28279
28280 2012-05-23 David S. Miller <davem@davemloft.net>
28281
28282 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28283 (__libc_sigaction): Remove unused local variables.
28284
28285 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28286
28287 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28288
28289 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28290
28291 mktime: avoid signed integer overflow
28292 * time/mktime.c (__mktime_internal): Do not mishandle the case
28293 where diff == INT_MIN.
28294
28295 mktime: simplify computation of average
28296 * time/mktime.c (ranged_convert): Use new time_t_avg function
28297 instead of rolling our own (probably-slower) code.
28298
28299 mktime: do not assume signed right shift propagates sign bit
28300 * time/mktime.c (isdst_differ): New static function.
28301 (__mktime_internal): No need to normalize tm_isdst now.
28302 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28303 tm_isdst values.
28304
28305 mktime: merge another wrapv change from gnulib
28306 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28307 from some compilers.
28308
28309 mktime: remove incorrect attempt at unusual arithmetics
28310 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28311 The code didn't really work on such machines anyway.
28312 (TYPE_MINIMUM): Assume two's complement.
28313 (twos_complement_arithmetic): Verify that long_int and time_t
28314 are two's complement (or unsigned, in the latter case).
28315
28316 mktime: check signed shifts on long_int and time_t, too
28317 * time/mktime.c (SHR): Check that shifts work as desired
28318 on the types long_int and time_t too, as SHR is used on
28319 such types.
28320
28321 mktime: do not assume 'long' is wide enough
28322 * time/mktime.c (verify): Move decl up.
28323 (long_int): New type.
28324 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28325 to remove assumption in the code that 'long' is wide enough to
28326 store year values. This assumption is not true on x32 and on
28327 some non-glibc platforms.
28328
28329 mktime: merge wrapv change from gnulib
28330 * time/mktime.c (WRAPV): New macro.
28331 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28332 (guess_time_tm, __mktime_internal): Do not assume that signed
28333 integer overflow wraps around; modern compilers generate code
28334 where this assumption is no longer valid.
28335
28336 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28337
28338 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28339 Replace "jmp L(pseudo_end)" with "ret".
28340 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28341 Likewise.
28342
28343 2012-05-23 Andreas Jaeger <aj@suse.de>
28344
28345 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28346 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28347
28348 2012-05-23 Andreas Jaeger <aj@suse.de>
28349 Maximilian Attems <max@stro.at>
28350
28351 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28352 New macros.
28353
28354 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28355
28356 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28357 code so that pseudo_end is just ret and the stack pointer is
28358 correct also for static library in error case.
28359
28360 2012-05-23 Joseph Myers <joseph@codesourcery.com>
28361
28362 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28363 move to syscalls.list.
28364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28368
28369 * manual/install.texi (Running make install): Do not mention Linux
28370 kernel version for which pt_chown is not needed.
28371 (Linux): Do not mention problems with nscd with 2.0 kernels.
28372 * INSTALL: Regenerated.
28373
28374 2012-05-23 Andreas Jaeger <aj@suse.de>
28375
28376 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28377 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28378 macro.
28379 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28380 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28381 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28382 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28383 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28384 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28385 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28386 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28387 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28388 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28389 * sysdeps/unix/sysv/linux/bits/in.h
28390 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28391
28392 2012-05-22 Roland McGrath <roland@hack.frob.com>
28393
28394 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28395 (PREPARE_VERSION): Just use assert instead, it will be elided
28396 under [NDEBUG] anyway.
28397
28398 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28399
28400 * sysdeps/unix/sysv/linux/Makefile: Include
28401 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
28402 (sysdep_routines): Remove sysctl.
28403 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28404 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28405 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28406 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28407 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28408
28409 2012-05-22 Andreas Jaeger <aj@suse.de>
28410
28411 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28412 that pseudo_end is just ret and the stack pointer is correct also
28413 for static library in error case.
28414
28415 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28416
28417 [BZ #14122]
28418 * nss/nsswitch.c (defconfig_entries): New variable.
28419 (__nss_database_lookup): Don't leak defconfig entries.
28420 (nss_parse_service_list): Don't leak on error paths.
28421 (free_database_entries): New function.
28422 (free_defconfig): New function.
28423 (free_mem): Move common code to free_database_entries.
28424
28425 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28426
28427 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28428 Add arch_prctl.
28429 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28430
28431 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28432 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28434 New macro.
28435 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28436 (INTERNAL_SYSCALL_TYPES): Likewise.
28437 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28438 (LOAD_REGS_TYPES_[1-6]): Likewise.
28439 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28440 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28441
28442 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28443
28444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28445 copysignl for GLIBC_2_0.
28446 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28447 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28448 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28449 logbl for GLIBC_2_0.
28450 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28451 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28452
28453 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28456 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28457
28458 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28459 Use "neg %eax".
28460
28461 * time/mktime.c: Update copyright years.
28462
28463 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28464
28465 mktime: merge comment-quoting-style change from gnulib
28466 * time/mktime.c: Quote 'like this' in comments.
28467 The GNU coding standards suggest that we no longer quote `like this',
28468 as "`" and "'" are typically rendered asymmetrically nowadays.
28469 The typical gnulib style is to quote 'like this' when quoting
28470 code, and "like this" when quoting English.
28471
28472 * time/mktime.c (compile-command): Add "-I.".
28473
28474 mktime: merge mktime-internal.h change from gnulib
28475 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28476
28477 mktime: merge time_r change from gnulib
28478 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28479
28480 mktime: merge DEBUG change from gnulib
28481 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28482 case system <time.h> has a #define.
28483
28484 mktime: merge <sys/types.h> change from gnulib
28485 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28486 since <time.t> is now guaranteed to define time_t.
28487
28488 mktime: merge HAVE_CONFIG_H change from gnulib
28489 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28490
28491 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28492
28493 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28494 Use "neg %eax".
28495
28496 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28497 __rlim_t cast.
28498 (struct rusage): Use anonymous union to pad each field to
28499 __syscall_slong_t.
28500
28501 2012-05-21 David S. Miller <davem@davemloft.net>
28502
28503 * Makefules (o-iterator): Remove .s cases.
28504 (compile-command.s): Delete.
28505 (COMPILE.s): Delete.
28506 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28507
28508 2012-05-21 Joseph Myers <joseph@codesourcery.com>
28509
28510 * configure.in (libc_cv_predef_stack_protector): Only consider
28511 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28512 * configure: Regenerated.
28513
28514 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28515
28516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28517 New macro. Use R*LP on int and pointer.
28518 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
28519 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28520 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
28521 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28522
28523 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28524 [__WORDSIZE_TIME64_COMPAT32] instead of
28525 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28526 (struct utmp): Likewise.
28527 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28528 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28529 Renamed to ...
28530 (__WORDSIZE_TIME64_COMPAT32): This.
28531 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28532 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28533 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28534 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28535 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28536 (__WORDSIZE_TIME64_COMPAT32): New macro.
28537
28538 2012-05-21 Andreas Jaeger <aj@suse.de>
28539
28540 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28541 only if [SHARED]. Add prototype for __wcschr_ia32.
28542
28543 2012-05-21 Roland McGrath <roland@hack.frob.com>
28544
28545 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28546 of %rbp unmolested in the jmp_buf while mangling the low bits.
28547 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28548 unmolested high bits of %rbp while demangling the low bits.
28549 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28550
28551 2012-05-21 Andreas Jaeger <aj@suse.de>
28552
28553 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28554 * sunrpc/svc_simple.c: Use it for registerrpc.
28555 * sunrpc/xcrypt.c: Use it for passwd2des.
28556
28557 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28558
28559 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28560
28561 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28562 Don't define if [__SYSCALL_WORDSIZE != 32].
28563 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28564 New macro.
28565
28566 2012-05-21 Bruno Haible <bruno@clisp.org>
28567 Andreas Jaeger <aj@suse.de>
28568
28569 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28570 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28571 inptr and inend for must_buffer_ch.
28572 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28573 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28574 * stdio-common/Makefile (tests): Remove bug15.
28575 (bug15-ENV): Remove macro.
28576 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28577 anymore.
28578
28579 2012-05-19 Andreas Jaeger <aj@suse.de>
28580 Roland McGrath <roland@hack.frob.com>
28581
28582 * manual/contrib.texi: Completely rewritten. It contains now an
28583 alphabetical list of contributors and their contributions.
28584
28585 2012-05-21 Richard Henderson <rth@twiddle.net>
28586
28587 * misc/getauxval.c (__getauxval): Use unsigned long int.
28588 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28589 (getauxval): Use unsigned long int.
28590
28591 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28592
28593 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28594
28595 2012-05-21 Roland McGrath <roland@hack.frob.com>
28596
28597 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28598 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28599 __alignof__ (long double).
28600
28601 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28602
28603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28604
28605 2012-05-20 Richard Henderson <rth@twiddle.net>
28606
28607 * misc/getauxval.c: New file.
28608 * misc/sys/auxv.h: New file.
28609 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28610 (routines): Add getauxval.
28611 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28612 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28613 * elf/dl-sysdep.c (_dl_auxv): Remove.
28614 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28615 * elf/dl-support.c (_dl_auxv): New variable.
28616 (_dl_aux_init): Initialize it.
28617 * manual/startup.texi (Auxiliary Vector): New node.
28618 * sysdeps/generic/bits/hwcap.h: New file.
28619 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28620 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28621 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28622 * sysdeps/sparc/sysdep.h: ... here. Include it.
28623 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28624 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
28625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28626 Update.
28627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28630 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28632 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28634 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28635
28636 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28637
28638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28639
28640 2012-05-19 David S. Miller <davem@davemloft.net>
28641
28642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28643
28644 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28645
28646 [BZ #14123]
28647 * math/s_ccosh.c: Include <float.h>
28648 (__ccosh): Avoid internal overflow calculating sinh and cosh
28649 values before multiplying by sin and cos values.
28650 * math/s_ccoshf.c: Likewise.
28651 * math/s_ccoshl.c: Likewise.
28652 * math/s_csin.c: Likewise.
28653 * math/s_csinf.c: Likewise.
28654 * math/s_csinl.c: Likewise.
28655 * math/s_csinh.c: Likewise.
28656 * math/s_csinhf.c: Likewise.
28657 * math/s_csinhl.c: Likewise.
28658 * math/libm-test.inc (ccos_test): Add more tests.
28659 (ccosh_test): Likewise.
28660 (csin_test): Likewise.
28661 (csinh_test): Likewise.
28662 * sysdeps/i386/fpu/libm-test-ulps: Update.
28663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28664
28665 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28666
28667 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28668 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28669
28670 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28671
28672 2012-05-19 Joseph Myers <joseph@codesourcery.com>
28673
28674 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28675 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28676 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28677 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28678 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28679 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28680 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28681 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28682 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28683 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28684 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28685 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28686 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28687 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28688 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28689 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28690 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28691 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28692 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28693 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28694 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28695 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28696 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28697 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28698 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28699 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28700 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28701 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28702 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28703 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28704 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28705
28706 2012-05-18 Andreas Jaeger <aj@suse.de>
28707
28708 * csu/.gitignore: Delete.
28709
28710 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28711
28712 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28713 (timex): Use __syscall_slong_t.
28714
28715 2012-05-18 Andreas Jaeger <aj@suse.de>
28716 Carlos O'Donell <carlos_odonell@mentor.com>
28717
28718 * manual/install.texi (Configuring and compiling): Update
28719 description about files modified in the source directory.
28720 * INSTALL: Regenerated.
28721
28722 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28723
28724 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28725 value. Use "or" to set return value to -1.
28726 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28727 negate return value.
28728
28729 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28730
28731 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
28732 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28733 failure if the compiler has Graphite support disabled.
28734 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28735 Likewise.
28736 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
28737 (CFLAGS-memmove.c): Likewise.
28738 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28739 Likewise.
28740
28741 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28742
28743 * sysdeps/x86_64/x32/_itoa.h: New file.
28744
28745 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28746 getdents system call only if kernel and user dirents have the
28747 same d_ino and d_off.
28748
28749 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28750 LLONG_MAX != LONG_MAX.
28751 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28752 (_fitoa_word): Likewise.
28753
28754 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28755 years.
28756 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28757 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28759
28760 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28761 include <bits/wordsize.h>. Check __x86_64__ instead of
28762 __WORDSIZE.
28763 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28764 if __x86_64__ is defined. Use anonymous union on fpstate.
28765
28766 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28767 anonymous union.
28768
28769 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28770
28771 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28772 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28773 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28774 Refer to _rtld_local_ro instead of _rtld_global_ro.
28775 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28776 Likewise.
28777 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28778 Likewise.
28779 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28780 Likewise.
28781 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28782 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28783 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28784
28785 * sysdeps/powerpc/powerpc32/dl-machine.c
28786 (__elf_machine_runtime_setup) [PROF]: Don't reference
28787 _dl_prof_resolve.
28788
28789 2012-05-18 Andreas Jaeger <aj@suse.de>
28790
28791 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28792 function only available for GCCs before 3.4 since GCC 3.4
28793 introduced a builtin.
28794 (lrint): Likewise.
28795 (llrintf): Likewise.
28796 (llrint): Likewise.
28797 (fmaxf): Likewise.
28798 (fmax): Likewise.
28799 (fminf): Likewise.
28800 (fmin): Likewise.
28801 (rint): Likewise.
28802 (rintf): Likewise.
28803 (nearbyint): Likewise.
28804 (nearbyintf): Likewise.
28805 (ceil): Likewise.
28806 (ceilf): Likewise.
28807 (floor): Likewise.
28808 (floorf): Likewise.
28809
28810 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28811
28812 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28813 on both fields and cast pointer to __syscall_ulong_t.
28814
28815 * bits/types.h (__fsword_t): New type.
28816 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28817 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28819 (__FSWORD_T_TYPE): Likewise.
28820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28821 (__FSWORD_T_TYPE): Likewise.
28822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28823 (__FSWORD_T_TYPE): Likewise.
28824 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28825 (__FSWORD_T_TYPE): Likewise.
28826 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28827 __SWORD_TYPE with __fsword_t.
28828 (statfs64): Likewise.
28829
28830 2012-05-17 David S. Miller <davem@davemloft.net>
28831
28832 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28833
28834 2012-05-17 Andreas Jaeger <aj@suse.de>
28835
28836 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28837 warning.
28838
28839 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28840
28841 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28842
28843 2012-05-17 Andreas Jaeger <aj@suse.de>
28844
28845 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28846 when it is used.
28847
28848 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28849
28850 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28851
28852 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28853
28854 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28855 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28856
28857 2012-05-17 Andreas Jaeger <aj@suse.de>
28858 Carlos O'Donell <carlos_odonell@mentor.com>
28859
28860 [BZ #14059]
28861 * sysdeps/x86_64/multiarch/init-arch.h
28862 (bit_YMM_Usable): Rename to...
28863 (bit_AVX_Usable): ... this.
28864 (bit_FMA4_Usable): New macro.
28865 (bit_XMM_state): New macro.
28866 (bit_YMM_state): New macro.
28867 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28868 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28869 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28870 (CPUID_OSXSAVE): New macro.
28871 (CPUID_AVX): New macro.
28872 (CPUID_FMA4): New macro.
28873 (index_YMM_Usable): Rename to...
28874 (index_AVX_Usable): ... this.
28875 (HAS_AVX): Use HAS_ARCH_FEATURE.
28876 (HAS_FMA4): Likewise.
28877 (HAS_YMM_USABLE): Remove.
28878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28879 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28880 are present.
28881 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28882 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28883 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28884 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28885 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28886
28887 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28888
28889 * math/libm-test.c: Support platforms without multiple rounding modes.
28890 * math/bug-nextafter.c: Support platforms without FP exceptions.
28891 * math/bug-nexttoward.c: Likewise.
28892 * math/test-fenv.c: Likewise.
28893 * math/test-misc.c: Likewise.
28894 * stdlib/bug-getcontext.c: Likewise.
28895
28896 2012-05-17 Andreas Jaeger <aj@suse.de>
28897
28898 * manual/examples/search.c (critter_cmp): Change signature to
28899 avoid warnings.
28900 * manual/string.texi (Collation Functions): Likewise.
28901
28902 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28903
28904 * bits/types.h: Fold copyright years.
28905 * bits/typesizes.h: Likewise.
28906 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28908 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28909 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28910 * time/time.h: Likewise.
28911
28912 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28913
28914 [BZ #208]
28915 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28916 in instead of returning them. Return void.
28917 (__libc_mallinfo): Accumulate over all arenas.
28918 (__malloc_stats): Adjust for change in int_mallinfo interface.
28919
28920 2012-05-16 Roland McGrath <roland@hack.frob.com>
28921
28922 [BZ #10375]
28923 * configure.in (NM): Add AC_CHECK_TOOL for it.
28924 (libc_extra_cflags): New substituted variable.
28925 Check for -fstack-protector being used implicitly.
28926 * configure: Regenerated.
28927 * config.make.in (config-extra-cflags): New variable,
28928 gets @libc_extra_cflags@.
28929 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28930
28931 [BZ #10375]
28932 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28933 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28934 * configure: Regenerated.
28935 * config.make.in (CPPUNDEFS): New substituted variable.
28936 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28937 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28938 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28939
28940 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28941
28942 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28943 (mq_attr): Use __syscall_slong_t.
28944
28945 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28948 Check __x86_64__ instead of __WORDSIZE.
28949 (_STAT_VER_LINUX): Likewise.
28950 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28951 __syscall_ulong_t and __syscall_slong_t.
28952 (stat64): Likewise.
28953
28954 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28955
28956 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28957
28958 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28959
28960 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28961
28962 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28963
28964 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28965 __syscall_ulong_t.
28966
28967 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28968 include <bits/wordsize.h>. Check __x86_64__ instead of
28969 __WORDSIZE.
28970 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28971 defined.
28972 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28973
28974 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28975 include <bits/wordsize.h>. Check __x86_64__ instead of
28976 __WORDSIZE.
28977 (user_regs_struct): Use "__extension__ unsigned long long"
28978 instead of "unsigned long" if __x86_64__ is defined.
28979 (user): Likewise. Pad after pointer field if __ILP32__ is
28980 defined.
28981
28982 2012-05-16 Joseph Myers <joseph@codesourcery.com>
28983
28984 * configure.in (makeinfo): Require version 4.5 or later. Allow
28985 versions 5 to 9.
28986 * configure: Regenerated.
28987 * manual/install.texi (texinfo): Increase version requirement to
28988 4.5 or later.
28989 * INSTALL: Regenerated.
28990
28991 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28992
28993 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28994
28995 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28996
28997 * sysdeps/x86_64/x32/ffs.c: New file.
28998
28999 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
29000 __syscall_ulong_t.
29001 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
29002 defined. Use __syscall_ulong_t.
29003 (shminfo): Use __syscall_ulong_t.
29004 (shm_info): Likewise.
29005
29006 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
29007 __syscall_ulong_t.
29008
29009 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
29010 <bits/wordsize.h>.
29011 (msgqnum_t): Use __syscall_ulong_t.
29012 (msglen_t): Likewise.
29013 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
29014 __syscall_ulong_t.
29015
29016 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
29017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29018
29019 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
29020
29021 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
29022 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
29023
29024 * sysvipc/sys/msg.h (msgbuf): Replace long int with
29025 __syscall_slong_t.
29026
29027 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
29028 include <bits/wordsize.h>. Check __x86_64__ instead of
29029 __WORDSIZE.
29030
29031 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
29032 "unsigned long long int" if __x86_64__ is defined.
29033 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
29034
29035 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
29036 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
29037 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
29038
29039 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
29040 <stdint.h>.
29041 (GET_PC): Cast to uintptr_t first.
29042 (GET_FRAME): Likewise.
29043 (GET_STACK): Likewise.
29044
29045 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
29046 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
29047 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
29048 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
29049 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
29050 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
29051 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
29052 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
29053 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
29054 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
29055 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
29056 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
29057 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
29058 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
29059 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
29060 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
29061 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
29062 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
29063 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
29064 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
29065 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
29066 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
29067 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
29068 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
29069 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
29070 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
29071 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
29072 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
29073 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
29074
29075 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
29076
29077 * Makerules (+depfiles): Also collect depfiles from .oS in
29078 $(extra-objs).
29079 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
29080 .oS, $(libnldbl-routines)).
29081
29082 * Makerules (native-compile-mkdep-flags): Define.
29083 * sunrpc/Makefile (extra-objs): Add $(addprefix
29084 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
29085 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
29086 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
29087 calling $(make-target-directory).
29088
29089 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29090
29091 * bits/types.h (__snseconds_t): Removed.
29092 * time/time.h (struct timespec): Replace __snseconds_t with
29093 __syscall_slong_t.
29094 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
29095 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
29096 Likewise.
29097 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29098 (__SNSECONDS_T_TYPE): Likewise.
29099 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29100 (__SNSECONDS_T_TYPE): Likewise.
29101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29102 (__SNSECONDS_T_TYPE): Likewise.
29103
29104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29105
29106 * sysdeps/mach/hurd/bits/typesizes.h
29107 (__SYSCALL_SLONG_TYPE): New macro.
29108 (__SYSCALL_ULONG_TYPE): Likewise.
29109
29110 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29111
29112 * bits/types.h (__syscall_slong_t): New type.
29113 (__syscall_ulong_t): Likewise.
29114
29115 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
29116 (__SYSCALL_ULONG_TYPE): Likewise.
29117 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29118 (__SYSCALL_SLONG_TYPE): Likewise.
29119 (__SYSCALL_ULONG_TYPE): Likewise.
29120 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29121 (__SYSCALL_SLONG_TYPE): Likewise.
29122 (__SYSCALL_ULONG_TYPE): Likewise.
29123 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29124 (__SYSCALL_SLONG_TYPE): Likewise.
29125 (__SYSCALL_ULONG_TYPE): Likewise.
29126
29127 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29128
29129 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
29130 Add sigaltstack-offsets.sym.
29131 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
29132 <sigaltstack-offsets.h>.
29133 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
29134 longjmp_msg pointer.
29135 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
29136 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
29137 signal stack.
29138 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
29139
29140 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29141
29142 * elf/stackguard-macros.h: Remove file.
29143 * sysdeps/generic/stackguard-macros.h: New file.
29144 * sysdeps/i386/stackguard-macros.h: Likewise.
29145 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
29146 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
29147 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
29148 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
29149 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
29150 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
29151 * sysdeps/x86_64/stackguard-macros.h: Likewise.
29152 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
29153 <elf/stackguard-macros.h>.
29154
29155 [BZ #14109]
29156 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
29157 __aligned__ in attribute.
29158 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
29159 (gregset_t): Likewise.
29160
29161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29162
29163 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
29164 * sysdeps/x86_64/64/Implies-after: Here. New file.
29165 * sysdeps/x86_64/x32/Implies-after: New file.
29166
29167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29168
29169 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
29170 and access return value for _dl_profile_fixup. Use R10_LP to
29171 load frame size.
29172
29173 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29174
29175 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
29176
29177 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29178
29179 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
29180 * sysdeps/x86_64/x32/sysdep.h: New file.
29181
29182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29183
29184 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
29185 * sysdeps/x86_64/setjmp.S: Likewise.
29186
29187 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29188
29189 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
29190 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
29191 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
29192 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
29193 remove unused global constant.
29194
29195 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
29196
29197 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
29198 include of <not-cancel.h>.
29199
29200 2012-05-15 Roland McGrath <roland@hack.frob.com>
29201
29202 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
29203
29204 2012-05-15 Jeff Law <law@redhat.com>
29205 Andreas Jaeger <aj@suse.de>
29206
29207 [BZ #13594]
29208 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
29209 out from...
29210 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
29211 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
29212 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
29213 code changing __hst_map_handle.map.
29214
29215 2012-05-15 Roland McGrath <roland@hack.frob.com>
29216
29217 * configure.in (sysnames): Look for Implies-before and Implies-after
29218 files.
29219 * configure: Regenerated.
29220
29221 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29222
29223 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
29224 8-byte data alignment with LP_SIZE alignment.
29225
29226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29227
29228 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
29229 into R10_LP.
29230
29231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29232
29233 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
29234
29235 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29236
29237 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
29238 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
29239 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
29240 Likewise.
29241 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29242
29243 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29244
29245 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
29246 (stackinfo_sub_sp): Likewise.
29247
29248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29249
29250 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
29251 RAX_LP.
29252
29253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29254
29255 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
29256 into R*_LP.
29257
29258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29259
29260 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29261 sizes into R*_LP.
29262
29263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29264
29265 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29266
29267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29268
29269 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29270 into R11_LP and load __x86_64_shared_cache_size_half into
29271 R8_LP.
29272
29273 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29274
29275 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29276 R8_LP.
29277
29278 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29279
29280 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29281 logb for POWER7.
29282 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29283 logbf for POWER7.
29284 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29285 logbl for POWER7.
29286 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29287 powerpc32/power7/fpu/s_logb.c via #include.
29288 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29289 powerpc32/power7/fpu/s_logbf.c via #include.
29290 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29291 powerpc32/power7/fpu/s_logbl.c via #include.
29292
29293 2012-05-15 Joseph Myers <joseph@codesourcery.com>
29294
29295 * README.libm: Remove file.
29296
29297 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29298
29299 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29300 count for x32. Use R*_LP and omit operand-size suffix.
29301
29302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29303
29304 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29305 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29306 * sysdeps/x86_64/x32/shlib-versions: New file.
29307
29308 2012-05-14 Roland McGrath <roland@hack.frob.com>
29309
29310 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29311 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29312 Use _dl_fatal_printf instead.
29313
29314 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29315
29316 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29317 set if not set by the user. Do not allow for being unset.
29318 * sysdeps/unix/sysv/linux/configure: Regenerated.
29319
29320 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29321
29322 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29323 the `q' suffix from lea and replace .quad with ASM_ADDR.
29324
29325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29326
29327 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29328 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29329 instead of $17.
29330 (PTR_DEMANGLE): Likewise.
29331
29332 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29333
29334 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29335 (LP_OP): Likewise.
29336 (ASM_ADDR): Likewise.
29337 (RAX_LP): Likewise.
29338 (RBP_LP): Likewise.
29339 (RBX_LP): Likewise.
29340 (RCX_LP): Likewise.
29341 (RDI_LP): Likewise.
29342 (RSI_LP): Likewise.
29343 (RSP_LP): Likewise.
29344 (R8_LP): Likewise.
29345 (R9_LP): Likewise.
29346 (R10_LP): Likewise.
29347 (R10_LP): Likewise.
29348 (R11_LP): Likewise.
29349 (R12_LP): Likewise.
29350 (R13_LP): Likewise.
29351 (R14_LP): Likewise.
29352 (R15_LP): Likewise.
29353
29354 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29355
29356 * sysdeps/x86_64/x32/dl-machine.h: New file.
29357
29358 2012-05-14 Andreas Jaeger <aj@suse.de>
29359
29360 * manual/Makefile (subdir): Remove export of subdir.
29361 (all): Remove target.
29362 (.PHONY): Remove all from list.
29363 (mkinstalldirs): Remove.
29364 (.PHONY): Remove installdirs from list.
29365 ($(inst_infodir)/libc.info): Use make-target-directory.
29366 (installdirs): Remove.
29367 (subdir_%): Remove.
29368 (glibc-targets): Remove.
29369 (lib): Remove.
29370 (stubs): Remove.
29371 ($(objpfx)stubs ../po/manual.pot): Remove.
29372 ($(objpfx)stamp%): Remove.
29373 (make-target-directory): Remove.
29374 (subdir_install): Remove.
29375 (routines): Remove.
29376 (aux): Remove.
29377 (sources): Remove.
29378 (objects): Remove.
29379 (headers): Remove.
29380
29381 [BZ #13750]
29382 * manual/.gitignore: Remove, it's not needed anymore.
29383 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29384 all files in it.
29385 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29386 directory.
29387 (texis): Renamed to $(objpfx)texis.
29388 (texis-path): New, contains path to generated files.
29389 (chapters.%): Use texis-path for complete path, add extra argument
29390 libc-texinfo.sh.
29391 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29392 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29393 (summary,texi, stamp-summary): Use complete path of
29394 files. Generate files in build dir.
29395 (dir-add.texi): Build in build dir.
29396 (libm-err.texi,stamp-libm-err): Likewise.
29397 (version.texi, stamp-version): Likewise.
29398 (.%c.texi): Likewise.
29399 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29400 (mostlyclean): Remove target.
29401 (realclean): Remove target.
29402 (generated): Add new variable with contents from mostlyclean and
29403 realclean, remove entries duplicated in common-mostlyclean, add
29404 stamp-libm-err and stamp-version.
29405 (generated-dirs): Add libc directory.
29406 ($(inst_infodir)/libc.info): Install files from build dir.
29407
29408 * manual/install.texi (Configuring and compiling): Adjust since
29409 the info files are not part of the tar ball anymore.
29410
29411 2012-05-14 Andreas Jaeger <aj@suse.de>
29412
29413 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29414 variable.
29415
29416 2012-05-14 Joseph Myers <joseph@codesourcery.com>
29417
29418 [BZ #13717]
29419 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29420 to 2.2.0 where earlier.
29421 * sysdeps/unix/sysv/linux/configure: Regenerated.
29422 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29423 Remove conditional code.
29424 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29425 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29426 Remove conditional code.
29427 [!__NR_lchown]: Likewise.
29428 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29429 [__NR_lchown]: Likewise.
29430 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29431 comment referencing __ASSUME_LCHOWN_SYSCALL.
29432 * sysdeps/unix/sysv/linux/i386/sigaction.c
29433 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29434 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29435 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29436 Remove conditional code.
29437 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29438 (__protocol_available): Remove #if 0 code.
29439 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29440 conditional code.
29441 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29442 * sysdeps/unix/sysv/linux/kernel-features.h
29443 (__ASSUME_GETCWD_SYSCALL): Don't define.
29444 (__ASSUME_REALTIME_SIGNALS): Likewise.
29445 (__ASSUME_PREAD_SYSCALL): Likewise.
29446 (__ASSUME_PWRITE_SYSCALL): Likewise.
29447 (__ASSUME_POLL_SYSCALL): Likewise.
29448 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29449 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29450 non-SPARC.
29451 (__ASSUME_SIOCGIFNAME): Don't define.
29452 (__ASSUME_MSG_NOSIGNAL): Likewise.
29453 (__ASSUME_SENDFILE): Define unconditionally.
29454 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29455 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29456 conditional code.
29457 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29458 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29459 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29460 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29461 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29462 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29463 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29465 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29466 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29468 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29469 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29471 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29472 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29474 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29475 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29477 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29478 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29480 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29481 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29483 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29484 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29486 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29487 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29488 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29489 Remove conditional code.
29490 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29491 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29492 Remove conditional code.
29493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29494 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29495 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29496 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29497 Remove conditional code.
29498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29499 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29500 Remove conditional code.
29501 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29502 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29503 Remove conditional code.
29504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29505 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29506 Remove conditional code.
29507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29508 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29509 Remove conditional code.
29510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29511 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29512 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29514 * sysdeps/unix/sysv/linux/sigaction.c
29515 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29516 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29517 * sysdeps/unix/sysv/linux/sigpending.c
29518 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29519 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29520 * sysdeps/unix/sysv/linux/sigprocmask.c
29521 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29522 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29523 * sysdeps/unix/sysv/linux/sigsuspend.c
29524 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29525 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29526 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29527 (__libc_missing_rt_sigs): Remove.
29528 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29529 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29530 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29531 Remove conditional code.
29532 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29533 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29534 return 1.
29535 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29536 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29537 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29538 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29539
29540 2012-05-14 Andreas Jaeger <aj@suse.de>
29541
29542 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29543 it's not used in glibc.
29544 (__coshm1): Likewise.
29545 (__acosh1p): Likewise.
29546 (__sgn): Likewise.
29547
29548 * manual/string.texi (Copying and Concatenation): Add missing
29549 variable in concat example.
29550 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29551
29552 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29553
29554 [BZ #14103]
29555 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29556 __builtin_clzl with __builtin_clzll.
29557
29558 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29559
29560 [BZ #14104]
29561 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29562 libc_freeres_ptr.
29563
29564 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29565
29566 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29567 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29568 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29569 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29570
29571 2012-05-14 Mike Frysinger <vapier@gentoo.org>
29572
29573 * NEWS: Update ia64 info.
29574
29575 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29576
29577 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29578 used as bcopy.
29579
29580 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29581
29582 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29583 * sysdeps/unix/syscalls.list (dup3): Likewise.
29584 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29585 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29586
29587 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29588
29589 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29590 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29591
29592 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29593
29594 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29595 thread pointer.
29596 (TLS_IE): Use mov/add instead of movq/addq to load thread
29597 pointer.
29598 (TLS_GD_PREFIX): New.
29599 (TLS_GD): Use it.
29600
29601 2012-05-11 David S. Miller <davem@davemloft.net>
29602
29603 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29604 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29605 (_FPU_SETCW): Likewise.
29606
29607 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29608
29609 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29610 is 32-byte aligned.
29611
29612 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29613
29614 [BZ #11837]
29615 * iconvdata/gb18030.c: Update tables.
29616 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29617 characters specially.
29618 (BODY for TO_LOOP): Add encoding of missing ranges.
29619
29620 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29621
29622 [BZ #13673]
29623 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29624 * sysdeps/mach/hurd/dup3.c: Likewise.
29625 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29626 * sysdeps/powerpc/memmove.c:: Likewise.
29627
29628 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29629
29630 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29631 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29632
29633 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29634
29635 * elf/elf.h (R_X86_64_RELATIVE64): New.
29636 (R_X86_64_NUM): Updated.
29637 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29638 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29639 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29640 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29641 tst-quad1pie tst-quad2pie
29642 (modules-names): Add tst-quadmod1 tst-quadmod2.
29643 ($(objpfx)tst-quad1): New dependency.
29644 ($(objpfx)tst-quad2): Likewise.
29645 ($(objpfx)tst-quad1pie): Likewise.
29646 ($(objpfx)tst-quad2pie): Likewise.
29647 * sysdeps/x86_64/tst-quad1.c: New file.
29648 * sysdeps/x86_64/tst-quad1pie.c: New file.
29649 * sysdeps/x86_64/tst-quad2.c: Likewise.
29650 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29651 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29652 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29653 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29654 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29655
29656 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29657
29658 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29659 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29660 * streams/stropts.h (t_scalar_t): Define type.
29661
29662 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29663 (_PATH_PRESERVE): Set to "/var/lib".
29664 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29665
29666 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29667 instead of int.
29668
29669 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29670 if __dir_mkfile succeeded.
29671
29672 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29673 checking for _hurd_dtablesize. Unlock it right after having
29674 finished _hurd_dtable allocation.
29675
29676 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29677
29678 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29679 * sysdeps/mach/hurd/configure: Regenerated.
29680 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29681 special-casing to...
29682 * sysdeps/gnu/configure.in: ... this new file.
29683 * sysdeps/unix/sysv/linux/configure: Regenerated.
29684 * sysdeps/gnu/configure: New generated file.
29685
29686 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29687 for Linux: use nsec instead of usec, as well as:
29688 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29689 members of type struct timespec.
29690 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29691 New macros.
29692 (struct stat64): Likewise.
29693 (_STATBUF_ST_NSEC): New macro.
29694 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29695
29696 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29697 __strtoul_internal rather than strtoul.
29698
29699 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29700
29701 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29702 and reject them.
29703
29704 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29705
29706 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29707 which preserves existing values.
29708 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29709
29710 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29711
29712 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29713 TIMEOUT values. Return EINVAL for NFDS values either negative or
29714 greater than FD_SETSIZE.
29715
29716 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29717
29718 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29719 allocated, call __vm_protect to finish enabling the existing space, and
29720 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29721 allocate the remainder.
29722
29723 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29724
29725 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29726 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29727
29728 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29729
29730 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29731 sysdeps/mach/hurd/readlink.c.
29732
29733 * posix/tst-sysconf.c (posix_options): Only use
29734 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29735 _POSIX_SYNCHRONIZED_IO when they are defined
29736 * sysdeps/mach/hurd/bits/posix_opt.h:
29737 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29738 (_XOPEN_REALTIME): Undefine macro.
29739 (_XOPEN_REALTIME_THREADS): Undefine macro.
29740 (_XOPEN_SHM): Undefine macro.
29741 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29742 macro to -1.
29743 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29744 macro to -1.
29745 (_POSIX_ASYNC_IO): Undefine macro.
29746 (_POSIX_PRIORITIZED_IO): Undefine macro.
29747 (_POSIX_SPIN_LOCKS): Define macro to -1.
29748
29749 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29750 SA_NODEFER, SA_RESETHAND.
29751 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29752 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29753 F_DUPFD_CLOEXEC.
29754
29755 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29756
29757 * elf/Makefile (pldd-modules): Define unconditionally.
29758
29759 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29760
29761 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29762
29763 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29764
29765 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29766 Return ENOENT when name is empty.
29767 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29768
29769 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29770
29771 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29772
29773 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29774
29775 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29776
29777 Fix mlock in all cases except non-readable pages.
29778 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29779 instead of VM_PROT_ALL as parameter to __vm_wire function.
29780
29781 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29782 (__mkdir): When path is `/', just fail with EEXIST.
29783 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29784
29785 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29786
29787 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29788 <sys/uio.h> (for writev).
29789 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29790 and <sys/param.h> (for MIN).
29791
29792 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29793
29794 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29795 REQUESTED_TIME. Properly set the remaining time and return EINTR
29796 if interrupted.
29797
29798 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29799
29800 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29801 Depend on against $(link-rpcuserlibs).
29802
29803 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29804
29805 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29806 (__libc_stack_end): Do not use attribute_relro.
29807 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29808 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
29809 to libthread-provided value.
29810 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29811 attribute_relro.
29812
29813 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29814
29815 [BZ #3748]
29816 * bits/libc-lock.h (__libc_once_get): New macro.
29817 * sysdeps/mach/bits/libc-lock.h: Likewise.
29818 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29819 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29820 instead of using implementation details.
29821
29822 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29823 * libio/freopen.c: Likewise.
29824 * libio/freopen64.c: Likewise.
29825 * misc/syslog.c: Likewise.
29826 * nscd/connections.c: Likewise.
29827 * nscd/netgroupcache.c: Likewise.
29828 * sysdeps/posix/getcwd.c: Likewise.
29829
29830 2012-05-10 Roland McGrath <roland@hack.frob.com>
29831
29832 * math/w_ilogbf.c: Add #include <limits.h>.
29833
29834 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29835
29836 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
29837 path instead of returning without unlocking.
29838
29839 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29840 immediate-write ioctls.
29841 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29842
29843 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29844
29845 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29846 __builtin_frame_address instead of making assumptions about the
29847 location of the return address relative to DATA. Force early load of
29848 the return address.
29849 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29850 __builtin_frame_address.
29851
29852 dup3 for GNU Hurd.
29853 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29854 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29855 implement dup3 and do some further code clean-ups.
29856 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29857 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29858
29859 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29860
29861 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29862
29863 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29864 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29865 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29866 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29867 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29868 d->port.lock.
29869
29870 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29871 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29872 when handler == SIG_ERR, not when handler != SIG_ERR.
29873
29874 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29875
29876 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29877 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29878 definitions.
29879
29880 accept4 for GNU Hurd.
29881 * include/sys/socket.h (__libc_accept4): New prototype.
29882 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29883 to implement __libc_accept4.
29884 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29885 __libc_accept4.
29886 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29887
29888 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29889 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29890 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29891 signal-defines.sym.
29892
29893 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29894
29895 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
29896
29897 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
29898
29899 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29900 assertion on O_CLOEXEC flag.
29901 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29902 * hurd/intern-fd.c: Likewise.
29903 * hurd/port2fd.c: Likewise.
29904
29905 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29906
29907 [BZ #3906]
29908 * bits/in.h (IPV6_PKTINFO): Define new macro.
29909 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29910
29911 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29912
29913 [BZ #13954]
29914 [BZ #13955]
29915 [BZ #13956]
29916 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29917 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29918 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29919 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29920 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29921 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29922 * math/libm-test.inc (logb_test) : Additional logb tests.
29923
29924 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29925 Andreas Jaeger <aj@suse.de>
29926
29927 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29928 * configure: Regenerated.
29929 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29930 * config.make.in (link-obsolete-rpc): New substituted variable.
29931 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29932 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29933 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29934 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29935 so that libc.a contains the symbols.
29936 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29937 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29938 * sunrpc/auth_none.c: Likewise.
29939 * sunrpc/auth_unix.c: Likewise.
29940 * sunrpc/authdes_prot.c: Likewise.
29941 * sunrpc/authuxprot.c: Likewise.
29942 * sunrpc/clnt_gen.c: Likewise.
29943 * sunrpc/clnt_perr.c: Likewise.
29944 * sunrpc/clnt_raw.c: Likewise.
29945 * sunrpc/clnt_simp.c: Likewise.
29946 * sunrpc/clnt_tcp.c: Likewise.
29947 * sunrpc/clnt_udp.c: Likewise.
29948 * sunrpc/clnt_unix.c: Likewise.
29949 * sunrpc/des_crypt.c: Likewise.
29950 * sunrpc/des_soft.c: Likewise.
29951 * sunrpc/get_myaddr.c: Likewise.
29952 * sunrpc/key_call.c: Likewise.
29953 * sunrpc/key_prot.c: Likewise.
29954 * sunrpc/netname.c: Likewise.
29955 * sunrpc/pm_getmaps.c: Likewise.
29956 * sunrpc/pm_getport.c: Likewise.
29957 * sunrpc/pmap_clnt.c: Likewise.
29958 * sunrpc/pmap_prot.c: Likewise.
29959 * sunrpc/pmap_prot2.c: Likewise.
29960 * sunrpc/pmap_rmt.c: Likewise.
29961 * sunrpc/publickey.c: Likewise.
29962 * sunrpc/rpc_cmsg.c: Likewise.
29963 * sunrpc/rpc_common.c: Likewise.
29964 * sunrpc/rpc_dtable.c: Likewise.
29965 * sunrpc/rpc_prot.c: Likewise.
29966 * sunrpc/rpc_thread.c: Likewise.
29967 * sunrpc/rtime.c: Likewise.
29968 * sunrpc/svc.c: Likewise.
29969 * sunrpc/svc_auth.c: Likewise.
29970 * sunrpc/svc_raw.c: Likewise.
29971 * sunrpc/svc_run.c: Likewise.
29972 * sunrpc/svc_tcp.c: Likewise.
29973 * sunrpc/svc_udp.c: Likewise.
29974 * sunrpc/svc_unix.c: Likewise.
29975 * sunrpc/svcauth_des.c: Likewise.
29976 * sunrpc/xcrypt.c: Likewise.
29977 * sunrpc/xdr.c: Likewise.
29978 * sunrpc/xdr_array.c: Likewise.
29979 * sunrpc/xdr_float.c: Likewise.
29980 * sunrpc/xdr_intXX_t.c: Likewise.
29981 * sunrpc/xdr_mem.c: Likewise.
29982 * sunrpc/xdr_rec.c: Likewise.
29983 * sunrpc/xdr_ref.c: Likewise.
29984 * sunrpc/xdr_sizeof.c: Likewise.
29985 * sunrpc/xdr_stdio.c: Likewise.
29986
29987 2012-05-10 Roland McGrath <roland@hack.frob.com>
29988
29989 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29990 change. Update copyright years.
29991
29992 2012-05-10 Joseph Myers <joseph@codesourcery.com>
29993
29994 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29995
29996 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29997 Joseph Myers <joseph@codesourcery.com>
29998 Paul Pluzhnikov <ppluzhnikov@google.com>
29999
30000 [BZ #14012]
30001 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
30002 requiring rpcgen.
30003 [cross-compiling] (extra-libs): Likewise.
30004 [cross-compiling] (extra-libs-others): Likewise.
30005 [cross-compiling] (librpcsvc-routines): Likewise.
30006 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
30007 [cross-compiling] (omit-deps): Likewise.
30008 (sunrpc-CPPFLAGS): New variable.
30009 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
30010 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
30011 (cross-rpcgen-objs): New variable.
30012 (extra-objs): Append $(cross-rpcgen-objs).
30013 ($(cross-rpcgen-objs)): New rule.
30014 ($(objpfx)cross-rpcgen): Likewise.
30015 (rpcgen-cmd): Define to use $(built-program-file). Expand
30016 comment.
30017 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
30018 ($(objpfx)x%.stmp): Likewise.
30019 * sunrpc/proto.h [IS_IN_build] (_): Define.
30020 [IS_IN_build] (_libc_intl_domainname): Likewise.
30021
30022 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
30023
30024 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
30025 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
30026 and R_X86_64_TPOFF64.
30027
30028 2012-05-10 Joseph Myers <joseph@codesourcery.com>
30029
30030 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
30031 sysdeps/unix/sysv/syscalls.list.
30032 (stime): Likewise.
30033 (utime): Likewise.
30034 * sysdeps/unix/sysv/syscalls.list: Remove file.
30035
30036 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
30037
30038 [BZ #3440]
30039 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
30040 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
30041 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
30042 (__LC_IDENTIFICATION): Make these macros useful in #if
30043 expressions, as required by C99.
30044
30045 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
30046
30047 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
30048 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
30049 after this.
30050
30051 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
30052
30053 * stdlib/longlong.h: Updated from GCC.
30054
30055 2012-05-09 Andreas Jaeger <aj@suse.de>
30056
30057 * nscd/nscd.c (run_modes): Make named enum, reorder so that
30058 default is first entry.
30059 (run_mode): Set type.
30060 (main): Remove informal message about syslog.
30061 (options): Fix typo.
30062
30063 [BZ #14053]
30064 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
30065 to asm.
30066 (lrint): Likewise.
30067 (llrintf): Likewise.
30068 (llrint): Likewise.
30069 (rint): Likewise.
30070 (rintf): Likewise.
30071 (nearbyint): Likewise.
30072 (nearbyintf): Likewise.
30073
30074 2012-05-09 Andreas Jaeger <aj@suse.de>
30075 Pedro Alves <palves@redhat.com>
30076
30077 * nscd/nscd.c (run_mode): Use enum.
30078 (main): Cleanup coding style issue.
30079
30080 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
30081 Andreas Jaeger <aj@suse.de>
30082
30083 * nscd/nscd.c (go_background): Replaced with...
30084 (run_mode): ... this.
30085 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
30086 (options): Add -F --foreground.
30087 (main): Implement it.
30088 (parse_opt): Parse it.
30089
30090 2012-05-09 Andreas Jaeger <aj@suse.de>
30091
30092 [BZ #14083]
30093 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
30094 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
30095 -Wconversion warning.
30096 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
30097 Likewise.
30098
30099 2012-05-09 Joseph Myers <joseph@codesourcery.com>
30100
30101 * conform/data/locale.h-data (NULL): Use macro-constant. Require
30102 == 0.
30103 (LC_ALL): Use macro-int-constant.
30104 (LC_COLLATE): Likewise.
30105 (LC_CTYPE): Likewise.
30106 (LC_MESSAGES): Likewise.
30107 (LC_MONETARY): Likewise.
30108 (LC_NUMERIC): Likewise.
30109 (LC_TIME): Likewise.
30110 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
30111 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30112 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30113 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
30114 Specify type.
30115 [C99-based standards] (float_t): Expect type.
30116 [C99-based standards] (double_t): Expect type.
30117 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
30118 type.
30119 [C99-based standards] (HUGE_VALL): Likewise.
30120 [C99-based standards] (INFINITY): Likewise.
30121 [C99-based standards] (NAN): Likewise.
30122 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
30123 [C99-based standards] (FP_NAN): Likewise.
30124 [C99-based standards] (FP_NORMAL): Likewise.
30125 [C99-based standards] (FP_SUBNORMAL): Likewise.
30126 [C99-based standards] (FP_ZERO): Likewise.
30127 [C99-based standards] (FP_FAST_FMA): Use
30128 optional-macro-int-constant. Specify type. Require == 1.
30129 [C99-based standards] (FP_FAST_FMAF): Likewise.
30130 [C99-based standards] (FP_FAST_FMAL): Likewise.
30131 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
30132 [C99-based standards] (FP_ILOGBNAN): Likewise.
30133 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
30134 Specify type.
30135 [C99-based standards] (MATH_ERREXCEPT): Likewise.
30136 [C99-based standards] (math_errhandling): Specify type.
30137 [ISO99 || ISO11] (signgam): Do not allow.
30138 [non-C99-based standards] (copysignf): Do not allow.
30139 [non-C99-based standards] (exp2f): Likewise.
30140 [non-C99-based standards] (log2f): Likewise.
30141 [non-C99-based standards] (modff): Allow.
30142 [non-C99-based standards] (erff): Do not allow.
30143 [non-C99-based standards] (erfcf): Likewise.
30144 [non-C99-based standards] (gammaf): Likewise.
30145 [non-C99-based standards] (hypotf): Likewise.
30146 [non-C99-based standards] (j0f): Likewise.
30147 [non-C99-based standards] (j1f): Likewise.
30148 [non-C99-based standards] (jnf): Likewise.
30149 [non-C99-based standards] (lgammaf): Likewise.
30150 [non-C99-based standards] (tgammaf): Likewise.
30151 [non-C99-based standards] (y0f): Likewise.
30152 [non-C99-based standards] (y1f): Likewise.
30153 [non-C99-based standards] (ynf): Likewise.
30154 [non-C99-based standards] (isnanf): Likewise.
30155 [non-C99-based standards] (acoshf): Likewise.
30156 [non-C99-based standards] (asinhf): Likewise.
30157 [non-C99-based standards] (atanhf): Likewise.
30158 [non-C99-based standards] (cbrtf): Likewise.
30159 [non-C99-based standards] (expm1f): Likewise.
30160 [non-C99-based standards] (ilogbf): Likewise.
30161 [non-C99-based standards] (log1pf): Likewise.
30162 [non-C99-based standards] (logbf): Likewise.
30163 [non-C99-based standards] (nextafterf): Likewise.
30164 [non-C99-based standards] (remainderf): Likewise.
30165 [non-C99-based standards] (rintf): Likewise.
30166 [non-C99-based standards] (scalbf): Likewise.
30167 [non-C99-based standards] (copysignl): Likewise.
30168 [non-C99-based standards] (exp2l): Likewise.
30169 [non-C99-based standards] (log2l): Likewise.
30170 [non-C99-based standards] (modfl): Allow.
30171 [non-C99-based standards] (erfl): Do not allow.
30172 [non-C99-based standards] (erfcl): Likewise.
30173 [non-C99-based standards] (gammal): Likewise.
30174 [non-C99-based standards] (hypotl): Likewise.
30175 [non-C99-based standards] (j0l): Likewise.
30176 [non-C99-based standards] (j1l): Likewise.
30177 [non-C99-based standards] (jnl): Likewise.
30178 [non-C99-based standards] (lgammal): Likewise.
30179 [non-C99-based standards] (tgammal): Likewise.
30180 [non-C99-based standards] (y0l): Likewise.
30181 [non-C99-based standards] (y1l): Likewise.
30182 [non-C99-based standards] (ynl): Likewise.
30183 [non-C99-based standards] (isnanl): Likewise.
30184 [non-C99-based standards] (acoshl): Likewise.
30185 [non-C99-based standards] (asinhl): Likewise.
30186 [non-C99-based standards] (atanhl): Likewise.
30187 [non-C99-based standards] (cbrtl): Likewise.
30188 [non-C99-based standards] (expm1l): Likewise.
30189 [non-C99-based standards] (ilogbl): Likewise.
30190 [non-C99-based standards] (log1pl): Likewise.
30191 [non-C99-based standards] (logbl): Likewise.
30192 [non-C99-based standards] (nextafterl): Likewise.
30193 [non-C99-based standards] (remainderl): Likewise.
30194 [non-C99-based standards] (rintl): Likewise.
30195 [non-C99-based standards] (scalbl): Likewise.
30196 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30197 [non-C99-based standards] (FP_*): Do not allow.
30198 [C99-based standards] (FP_*): Change to
30199 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
30200 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30201 allow.
30202 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
30203 (SIG_ERR): Likewise.
30204 [X/Open-based standards] (SIG_HOLD): Likewise.
30205 (SIG_IGN): Likewise.
30206 (SIGABRT): Use macro-int-constant. Specify type. Require
30207 positive value.
30208 (SIGFPE): Likewise.
30209 (SIGILL): Likewise.
30210 (SIGINT): Likewise.
30211 (SIGSEGV): Likewise.
30212 (SIGTER): Likewise.
30213 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
30214 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
30215 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
30216 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
30217 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
30218 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
30219 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
30220 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
30221 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
30222 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
30223 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
30224 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
30225 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
30226 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
30227 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
30228 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
30229 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
30230 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
30231 [X/Open-based standards] (SIGTRAP): Likewise.
30232 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
30233 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
30234 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
30235 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
30236 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30237 allow.
30238
30239 2012-05-08 Ian Wienand <ianw@vmware.com>
30240
30241 [BZ #14080]
30242 * time/tzset.c (__tzset_parse_tz): Update default rules for
30243 daylight time changes in the Energy Policy Act of 2005.
30244
30245 2012-05-09 Andreas Jaeger <aj@suse.de>
30246
30247 [BZ #13983]
30248 * elf/ldconfig.c (parse_conf): Change string to make clear that
30249 ldconfig only issued a warning if ld.so.conf does not exist.
30250
30251 2012-05-08 David S. Miller <davem@davemloft.net>
30252
30253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
30254 movxtod instead of popping the value on the stack.
30255
30256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30257
30258 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30259
30260 * config.h.in: Add HAVE_ARM_PCS_VFP.
30261
30262 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
30263
30264 [BZ #13979]
30265 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30266 checking but the checks are disabled for any reason.
30267
30268 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30269
30270 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30271 and ELF64_R_TYPE with ELFW(R_TYPE).
30272
30273 2012-05-08 Joseph Myers <joseph@codesourcery.com>
30274
30275 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30276 (ulimit): Likewise.
30277
30278 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30279 (settimeofday): Likewise.
30280
30281 2012-05-08 Mike Frysinger <vapier@gentoo.org>
30282
30283 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30284 a struct th_u2 inside the union, and move tu_block/tu_code into
30285 a new th_u3 union of tu_block/tu_code inside of that. Move
30286 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30287 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30288 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30289 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30290 (th_stuff): Change to th_u1.tu_stuff.
30291 (th_data): Define.
30292 (th_msg): Change to th_u1.th_u2.tu_data.
30293
30294 2012-05-07 David S. Miller <davem@davemloft.net>
30295
30296 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30297
30298 [BZ #14074]
30299 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30300 (SETUP_PIC_REG): Use it.
30301 (SETUP_PIC_REG_LEAF): Use it.
30302
30303 2012-05-07 Joseph Myers <joseph@codesourcery.com>
30304
30305 [BZ #13885]
30306 [BZ #13923]
30307 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30308 USE_AS_EXPM1L.
30309 (EXPL_FINITE): Likewise.
30310 (FLDLOG): Likewise.
30311 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30312 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30313 e_expl.S.
30314 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30315 USE_AS_EXPM1L.
30316 (EXPL_FINITE): Likewise.
30317 (FLDLOG): Likewise.
30318 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30319 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30320 e_expl.S.
30321 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30322 test of -max_value argument for long double.
30323 * sysdeps/i386/fpu/libm-test-ulps: Update.
30324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30325
30326 2012-05-06 David S. Miller <davem@davemloft.net>
30327
30328 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30329 quad soft-float symbols whose references which are compiler
30330 generated.
30331 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30332
30333 2012-05-06 Joseph Myers <joseph@codesourcery.com>
30334
30335 [BZ #13884]
30336 [BZ #13914]
30337 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30338 USE_AS_EXP10L.
30339 (EXPL_FINITE): Likewise.
30340 (FLDLOG): Likewise.
30341 (c0): Likewise.
30342 (c1): Likewise.
30343 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30344 Adjust comments for base varying.
30345 (__expl_finite): Change alias to EXPL_FINITE.
30346 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30347 e_expl.S.
30348 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30349 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30351 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30352 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30353 USE_AS_EXP10L.
30354 (EXPL_FINITE): Likewise.
30355 (FLDLOG): Likewise.
30356 (c0): Likewise.
30357 (c1): Likewise.
30358 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30359 Adjust comments for base varying.
30360 (__expl_finite): Change alias to EXPL_FINITE.
30361 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30362 tests for bugs.
30363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30364
30365 [BZ #14064]
30366 * math/libm-test.inc (check_float_internal): Correct ulp
30367 calculation for subnormal expected results.
30368
30369 2012-05-06 Andreas Jaeger <aj@suse.de>
30370
30371 * Makeconfig (+math-flags): New, set to -frounding-math.
30372 (+cflags): Add +math-flags so that all of glibc gets compiled with
30373 it.
30374
30375 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30376
30377 2012-05-05 Joseph Myers <joseph@codesourcery.com>
30378
30379 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30380 Disable one test.
30381
30382 [BZ #13787]
30383 [BZ #13922]
30384 [BZ #14036]
30385 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30386 (__ieee754_expl): Allow for and saturate large arguments.
30387 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30388 (u_threshold): Likewise.
30389 (__exp): Call __ieee754_exp before checking for overflow and
30390 underflow.
30391 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30392 (u_threshold): Likewise.
30393 (__expf): Call __ieee754_expf before checking for overflow and
30394 underflow.
30395 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30396 (u_threshold): Likewise.
30397 (__expl): Call __ieee754_expl before checking for overflow and
30398 underflow.
30399 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30400 (__ieee754_expl): Allow for and saturate large arguments.
30401 * math/libm-test.inc (exp_test): Add another test. Do not allow
30402 missing overflow exception on overflow.
30403 (expm1_test): Do not allow missing overflow exception on overflow.
30404
30405 * sysdeps/i386/fpu/e_expl.c: Move to ...
30406 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30407 rather than using inline asm.
30408 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30409 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30410 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30411
30412 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30413 (nice): Likewise.
30414 (poll): Likewise.
30415 (signal): Likewise.
30416 (time): Likewise.
30417 (times): Likewise.
30418
30419 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30420
30421 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30422 sysdeps/unix/common/syscalls.list.
30423 (fchmod): Likewise.
30424 (fchown): Likewise.
30425 (ftruncate): Likewise.
30426 (getrusage): Likewise.
30427 (gettimeofday): Likewise.
30428 (setpgid): Likewise.
30429 (setregid): Likewise.
30430 (setreuid): Likewise.
30431 (sigaction): Likewise.
30432 (truncate): Likewise.
30433 (vhangup): Likewise.
30434 * sysdeps/unix/common/syscalls.list: Remove file.
30435 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30436 * sysdeps/unix/sysv/linux/Implies: Likewise.
30437
30438 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30439
30440 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30441 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30442 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30443 Moved to ...
30444 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30445 Here.
30446 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30447 to ...
30448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30449 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30450 to ...
30451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30452 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30453 to ...
30454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30455 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30456 to ...
30457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30458 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30459 to ...
30460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30461 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30462 to ...
30463 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30464 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30465 to ...
30466 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30467 Here.
30468 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30469 to ...
30470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30471 Here.
30472 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30473 to ...
30474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30475 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30476 Moved to ...
30477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30478 Here.
30479 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30480 to ...
30481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30482
30483 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30484
30485 * sysdeps/unix/common/bits/dirent.h: Remove file.
30486 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30487
30488 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30489 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30490 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30491 * sysdeps/unix/bsd/isatty.c: Likewise.
30492 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30493 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30494 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30495
30496 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30497
30498 [BZ #13563]
30499 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30500 long double comparison inaccuracies.
30501 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30503
30504 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30505
30506 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30507 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30508
30509 2012-05-04 Joseph Myers <joseph@codesourcery.com>
30510
30511 [BZ #14049]
30512 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30513 nonzero digits before rounding a hex value.
30514 * stdlib/tst-strtod.c (tests): Add another test.
30515
30516 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30517
30518 * sysdeps/s390/fpu/libm-test-ulps: Update.
30519
30520 2012-05-03 Andreas Jaeger <aj@suse.de>
30521
30522 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30523 does not get optimized out.
30524 (malloc_opt_barrier): New.
30525
30526 2012-05-03 Andreas Jaeger <aj@suse.de>
30527 Roland McGrath <roland@hack.frob.com>
30528
30529 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
30530 intermediate file deletion.
30531 (generated): Add .symlist files.
30532
30533 2012-05-03 Joseph Myers <joseph@codesourcery.com>
30534
30535 [BZ #13775]
30536 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30537 Redirect under this condition.
30538 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30539 [__USE_GNU] (__dprintf_chk): Not under this condition.
30540 [__USE_GNU] (__vdprintf_chk): Likewise.
30541 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30542 under this condition.
30543 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30544 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30545 [__USE_XOPEN2K8] (vdprintf): Likewise.
30546 [__USE_GNU] (__dprintf_chk): Not under this condition.
30547 [__USE_GNU] (__vdprintf_chk): Likewise.
30548 [__USE_GNU] (dprintf): Likewise.
30549 [__USE_GNU] (vdprintf): Likewise.
30550
30551 2012-05-03 Roland McGrath <roland@hack.frob.com>
30552
30553 * elf/Makefile (common-generated): Set this instead of generated for
30554 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30555 $(all-built-dso)-derived lists.
30556
30557 2012-05-03 Andreas Jaeger <aj@suse.de>
30558
30559 * sysdeps/i386/fpu/libm-test-ulps: Update.
30560
30561 * FAQ: Removed.
30562 * FAQ.in: Likewise.
30563 * scripts/gen-FAQ.pl: Likewise.
30564 * manual/install.texi (Installation): Point to online location of
30565 FAQ.
30566 * Makefile (files-for-dist): Remove FAQ.
30567 (FAQ): Remove.
30568
30569 2012-05-02 Allan McRae <allan@archlinux.org>
30570
30571 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30572 (LDFLAGS-reldepmod5.so): Likewise.
30573 (LDFLAGS-reldep6mod1.so): Likewise.
30574 (LDFLAGS-reldep6mod4.so): Likewise.
30575 (LDFLAGS-reldep8mod3.so): Likewise.
30576 (LDFLAGS-unload4mod1.so): Likewise.
30577 (LDFLAGS-unload4mod2.so): Likewise.
30578 (LDFLAGS-tst-initorder): Likewise.
30579 (LDFLAGS-tst-initordera2.so): Likewise.
30580 (LDFLAGS-tst-initordera3.so): Likewise.
30581 (LDFLAGS-tst-initordera4.so): Likewise.
30582 (LDFLAGS-tst-initorderb2.so): Likewise.
30583 (LDFLAGS-noload): Likewise.
30584 (LDFLAGS-next): Likewise.
30585 (LDFLAGS-order2mod1.so): Likewise.
30586 (LDFLAGS-order2mod2.so): Likewise.
30587 (LDFLAGS-tst-initorder2): Likewise.
30588 (LDFLAGS-tst-initorder2a.so): Likewise.
30589 (LDFLAGS-tst-initorder2b.so): Likewise.
30590 (LDFLAGS-tst-initorder2c.so): Likewise.
30591 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30592
30593 2012-05-02 David S. Miller <davem@davemloft.net>
30594
30595 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30596
30597 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30598
30599 [BZ #14055]
30600 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30601
30602 2012-05-02 Andreas Jaeger <aj@suse.de>
30603
30604 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30605 since we manipulate rounding mode.
30606 (CPPFLAGS-test-idouble.c): Likewise.
30607 (CPPFLAGS-test-ifloat.c): Likewise.
30608 (CFLAGS-test-ldouble.c): Likewise.
30609 (CFLAGS-test-double.c): Likewise.
30610 (CFLAGS-test-float.c): Likewise.
30611 (CFLAGS-test-misc.c): Likewise.
30612 (CFLAGS-test-test-fenv.c): Likewise.
30613
30614 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30615
30616 [BZ #2550]
30617 [BZ #2570]
30618 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30619 comparisons to determine direction to adjust input.
30620
30621 2012-05-01 Roland McGrath <roland@hack.frob.com>
30622
30623 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30624 output to the target.
30625
30626 * scripts/localplt.awk: New file.
30627 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30628 (check-localplt-CFLAGS): Variable removed.
30629 ($(all-built-dso:=.jmprel)): New static pattern rule.
30630 (generated): Add those targets.
30631 (localplt-built-dso): New variable.
30632 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30633
30634 * elf/check-localplt.c: File removed.
30635
30636 * scripts/check-execstack.awk: New file.
30637 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30638 (check-execstack-CFLAGS): Variable removed.
30639 ($(objpfx)check-execstack.h): Target removed.
30640 ($(objpfx)execstack-default): New target.
30641 (generated): Add that instead of check-execstack.h.
30642 ($(all-built-dso:=.phdr)): New static pattern rule.
30643 (generated): Add those targets.
30644 * elf/check-execstack.c: File removed.
30645
30646 * scripts/check-textrel.awk: New file.
30647 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30648 (check-textrel-CFLAGS): Variable removed.
30649 (all-built-dso): Use := to define.o
30650 ($(all-built-dso:=.dyn)): New static pattern rule.
30651 (generated): Add those targets.
30652 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30653 * config.make.in (READELF): New substituted variable.
30654 * elf/check-textrel.c: File removed.
30655
30656 2012-05-01 Joseph Myers <joseph@codesourcery.com>
30657
30658 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30659 allow.
30660 * conform/data/ctype.h-data [C99-based standards] (isblank):
30661 Expect function.
30662 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30663 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30664 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30665 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30666 Specify type. Require positive value.
30667 (EILSEQ): Likewise.
30668 (ERANGE): Likewise.
30669 [ISO || POSIX] (EILSEQ): Do not expect.
30670 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30671 Specify type. Require positive value.
30672 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30673 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30674 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30675 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30676 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30677 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30678 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30679 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30680 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30681 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30682 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30683 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30684 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30685 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30686 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30687 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30688 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30689 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30690 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30691 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30692 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30693 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30694 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30695 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30696 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30697 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30698 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30699 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30700 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30701 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30702 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30703 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30704 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30705 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30706 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30707 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30708 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30709 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30710 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30711 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30712 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30713 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30714 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30715 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30716 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30717 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30718 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30719 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30720 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30721 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30722 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30723 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30724 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30725 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30726 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30727 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30728 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30729 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30730 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30731 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30732 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30733 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30734 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30735 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30736 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30737 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30738 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30739 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30740 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30741 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30742 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30743 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30744 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30745 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30746 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30747 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30748 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30749 Require >= 2.
30750 (FLT_ROUNDS): Expect as macro, not constant.
30751 (FLT_MANT_DIG): Use macro-int-constant.
30752 (DBL_MANT_DIG): Likewise.
30753 (LDBL_MANT_DIG): Likewise.
30754 (FLT_DIG): Likewise.
30755 (DBL_DIG): Likewise.
30756 (LDBL_DIG): Likewise.
30757 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30758 (DBL_MIN_EXP): Likewise.
30759 (LDBL_MIN_EXP): Likewise.
30760 (FLT_MAX_EXP): Use macro-int-constant.
30761 (DBL_MAX_EXP): Likewise.
30762 (LDBL_MAX_EXP): Likewise.
30763 (FLT_MAX_10_EXP): Likewise.
30764 (DBL_MAX_10_EXP): Likewise.
30765 (LDBL_MAX_10_EXP): Likewise.
30766 (FLT_MAX): Use macro-constant.
30767 (DBL_MAX): Likewise.
30768 (LDBL_MAX): Likewise.
30769 (FLT_EPSILON): Use macro-constant. Give upper bound.
30770 (DBL_EPSILON): Likewise.
30771 (LDBL_EPSILON): Likewise.
30772 (FLT_MIN): Likewise.
30773 (DBL_MIN): Likewise.
30774 (LDBL_MIN): Likewise.
30775 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30776 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30777 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30778 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30779 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30780 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30781 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30782 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30783 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30784 [ISO11] (FLT_TRUE_MIN): Likewise.
30785 [ISO11] (LDBL_TRUE_MIN): Likewise.
30786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30787 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30788 (SCHAR_MIN): Use macro-int-constant. Specify type.
30789 (SCHAR_MAX): Likewise.
30790 (UCHAR_MAX): Likewise.
30791 (CHAR_MIN): Likewise.
30792 (CHAR_MAX): Likewise.
30793 (MB_LEN_MAX): Use macro-int-constant.
30794 (SHRT_MIN): Use macro-int-constant. Specify type.
30795 (SHRT_MAX): Likewise.
30796 (USHRT_MAX): Likewise.
30797 (INT_MAX): Likewise.
30798 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30799 bound negative.
30800 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30801 bound with "U".
30802 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30803 bound with "L".
30804 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30805 bound negative. Suffix upper bound with "L".
30806 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30807 bound with "UL".
30808 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30809 Specify type.
30810 [C99-based standards] (LLONG_MAX): Likewise.
30811 [C99-based standards] (ULLONG_MAX): Likewise.
30812 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30813 == 0.
30814 [ISO11] (max_align_t): Require type.
30815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30816
30817 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30818 from $CFLAGS, without defining away __attribute__ calls.
30819 (checknamespace): Use $CFLAGS_namespace.
30820
30821 * conform/conformtest.pl (@keywords): Only include C99 keywords
30822 for standards based on C99 or C11.
30823
30824 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30825 Disable tests.
30826 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30827 UNIX98]: Likewise.
30828
30829 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30830 usability of symbols in #if.
30831
30832 * conform/conformtest.pl: If macro or constant types start
30833 "promoted:", expect the symbol to be of the following type
30834 promoted by the integer promotions.
30835
30836 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30837 in one place. Also handle "macro-constant".
30838
30839 * conform/conformtest.pl: Only accept expected macro values with
30840 "==". Parse all "macro" lines in one place.
30841 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30842
30843 * conform/conformtest.pl: Handle braced types on "constant" lines
30844 instead of handling "typed-constant".
30845 * conform/data/signal.h-data: Use "constant" instead of
30846 "typed-constant".
30847
30848 * conform/conformtest.pl: Handle "optional-" at start of lines in
30849 one place rather than duplicating several cases. Handle each
30850 format of "macro" line with initial "optional-".
30851
30852 * conform/conformtest.pl: Only accept expected constant or
30853 optional-constant values with "==". Parse all "constant" lines in
30854 one place. Parse all "optional-constant" lines in one place.
30855 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30856 * conform/data/fmtmsg.h-data: Likewise.
30857 * conform/data/netinet/in.h-data: Likewise.
30858 * conform/data/tar.h-data: Likewise.
30859 * conform/data/limits.h-data: Use "==" form on "constant" and
30860 "optional-constant" lines.
30861
30862 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30863 Use -std=c99 for XOPEN2K.
30864 (@knownproblems): Remove.
30865 (newtoken): Don't check %isknown.
30866
30867 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30868 Do not expect macro.
30869 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30870 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30871 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30872 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30873 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30874 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30875 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30876 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30877 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30878 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30879 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30880 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30881 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30882 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30883 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30884 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30885 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30886 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30887 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30888 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30889 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30890 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30891 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30892 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30893 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30894 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30895 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30896 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30897 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30898 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30899 [XPG3] (acosh): Likewise.
30900 [XPG3] (asinh): Likewise.
30901 [XPG3] (atanh): Likewise.
30902 [XPG3] (cbrt): Likewise.
30903 [XPG3] (expm1): Likewise.
30904 [XPG3] (ilogb): Likewise.
30905 [XPG3] (log1p): Likewise.
30906 [XPG3] (logb): Likewise.
30907 [XPG3] (nextafter): Likewise.
30908 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30909 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30910 [XPG3] (remainder): Likewise.
30911 [XPG3] (rint): Likewise.
30912 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30913 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30914 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30915 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30916 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30917 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30918 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30919 [UNIX98 || XOPEN2K] (scalb): Expect.
30920 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30921 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30922 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30923 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30924 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30925 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30926 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30927 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30928 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30929 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30930 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30931 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30932 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30933 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30934 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30935 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30936 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30937 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30938 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30939 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30940 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30941 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30942 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30943 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30944 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30945 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30946 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30947 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30948 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30949 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30950 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30951 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30952 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30953 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30954 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30955 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30956 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30957 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30958 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30959 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30960 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30961 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30962 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30963 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30964 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30965 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30966 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30967 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30968 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30969 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30970 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30971 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30972 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30973 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30974 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30975 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30976 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30977 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30978 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30979 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30980 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30981 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30982 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30983 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30984 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30985 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30986 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30987 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30988 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30989 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30990 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30991 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30992 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30993 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30994 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30995 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30996 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30997 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30998 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30999 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
31000 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
31001 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
31002 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
31003 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
31004 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
31005 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
31006 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
31007 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
31008 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
31009 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
31010 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
31011 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
31012 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
31013 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
31014 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
31015 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
31016 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
31017 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
31018 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
31019 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
31020 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
31021 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
31022 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
31023 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
31024 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
31025 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
31026 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
31027 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
31028 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
31029 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
31030 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
31031 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
31032 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
31033 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
31034 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
31035 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
31036 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
31037 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
31038 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
31039 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
31040 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
31041 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
31042 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
31043 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
31044 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
31045 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
31046 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
31047 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
31048 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
31049 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
31050 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
31051 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
31052 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
31053 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
31054 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
31055 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
31056 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
31057
31058 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
31059 _XOPEN_SOURCE_EXTENDED for XPG4.
31060
31061 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
31062
31063 * Makeconfig (localtime): Remove variable.
31064 (inst_localtime-file): Likewise.
31065
31066 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31067
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31069 Update.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31071 Update.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31073 Update.
31074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31075 Update.
31076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31077 Update.
31078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
31079 Update.
31080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31081 Update.
31082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
31083 Update.
31084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31085 Update.
31086
31087 2012-05-01 Joseph Myers <joseph@codesourcery.com>
31088
31089 [BZ #2550]
31090 [BZ #2570]
31091 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
31092 comparisons to determine direction to adjust input.
31093 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31094 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
31095 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
31096 Likewise.
31097 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
31098 Likewise.
31099 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31100 Likewise.
31101 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
31102 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31103 Likewise.
31104 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31105 Likewise.
31106 * math/libm-test.inc (nexttoward_test): Add more tests.
31107
31108 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
31109
31110 [BZ #14040]
31111 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
31112 in version GLIBC_2.1, not GLIBC_2.0.
31113 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
31114 Likewise.
31115
31116 2012-04-30 Joseph Myers <joseph@codesourcery.com>
31117
31118 [BZ #13942]
31119 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
31120 (1 - x) * (1 + x).
31121 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31122 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
31123 * math/libm-test.inc (acos_test): Add more tests.
31124 (asin_test): Likewise.
31125 * sysdeps/i386/fpu/libm-test-ulps: Update.
31126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31127
31128 [BZ #14034]
31129 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
31130 of square root.
31131 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
31132 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
31133 * math/libm-test.inc (acos_test_tonearest): New function.
31134 (acos_test_towardzero): Likewise.
31135 (acos_test_downward): Likewise.
31136 (acos_test_upward): Likewise.
31137 (asin_test_tonearest): Likewise.
31138 (asin_test_towardzero): Likewise.
31139 (asin_test_downward): Likewise.
31140 (asin_test_upward): Likewise.
31141 (main): Call the new functions.
31142 * sysdeps/i386/fpu/libm-test-ulps: Update.
31143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31144
31145 [BZ #13884]
31146 [BZ #13924]
31147 * math/e_exp10.c: Include <float.h>.
31148 (__ieee754_exp10): Handle underflow here rather than multiplying
31149 large negative argument by M_LN10.
31150 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
31151 of __ieee754_expf.
31152 * math/e_exp10l.c: Include <float.h>.
31153 (__ieee754_exp10l): Handle underflow here rather than multiplying
31154 large negative argument by M_LN10l.
31155 * math/libm-test.inc (exp10_test): Add another test. Do not allow
31156 spurious overflow exception on underflow.
31157
31158 2012-04-29 Marek Polacek <polacek@redhat.com>
31159
31160 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
31161 (__fortify_function): New macro.
31162 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
31163 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
31164 __extern_always_inline.
31165 * libio/bits/stdio2.h: Likewise.
31166 * libio/bits/stdio.h: Likewise.
31167 * string/string.h: Likewise.
31168 * string/bits/string3.h: Likewise.
31169 * include/stdio.h: Likewise.
31170 * stdlib/bits/stdlib.h: Likewise.
31171 * stdlib/stdlib.h: Likewise.
31172 * rt/bits/mqueue2.h: Likewise.
31173 * rt/mqueue.h: Likewise.
31174 * posix/bits/unistd.h: Likewise.
31175 * posix/unistd.h: Likewise.
31176 * io/bits/poll2.h: Likewise.
31177 * io/bits/fcntl2.h: Likewise.
31178 * io/fcntl.h: Likewise.
31179 * io/sys/poll.h: Likewise.
31180 * misc/bits/syslog.h: Likewise.
31181 * misc/bits/syslog-ldbl.h: Likewise.
31182 * misc/sys/syslog.h: Likewise.
31183 * socket/bits/socket2.h: Likewise.
31184 * socket/sys/socket.h: Likewise.
31185 * debug/tst-chk1.c: Likewise.
31186 * wcsmbs/bits/wchar2.h: Likewise.
31187 * wcsmbs/bits/wchar-ldbl.h: Likewise.
31188 * wcsmbs/wchar.h: Likewise.
31189
31190 2012-04-29 Andreas Jaeger <aj@suse.de>
31191
31192 * Makerules (tests): Remove enable-check-abi protection.
31193 (check-abi-warn): Remove.
31194 (check-abi-%): Remove check-abi-warn usage.
31195
31196 * configure.in: Remove check-abi configure option.
31197 * configure: Regenerated.
31198 * config.make.in (enable-check-abi): Remove.
31199
31200 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
31201
31202 [BZ #14033]
31203 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
31204 double functions to double *_finite functions.
31205
31206 [BZ #13941]
31207 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
31208 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
31209 LDBL_MIN_EXP.
31210 * stdio-common/Makefile (tests): Add tst-sprintf3.
31211 * stdio-common/tst-sprintf3.c: New file.
31212
31213 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
31214 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
31215
31216 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31217
31218 * conform/conformtest.pl: Remove duplicate typed-constant
31219 handling.
31220
31221 2012-04-28 David S. Miller <davem@davemloft.net>
31222
31223 * Makerules (%.abilist): Add vpath on sysdep_dirs.
31224 (check-abi-%): Remove AWK script prerequisite and explicit
31225 abilist directory.
31226 (check-abi): Rewrite to just diff the symlist with the abilist.
31227 (config-tls, config-abi-config): Delete, no longer used.
31228 (update-abi-%): Remove AWK script and explicit abilist directory.
31229 (update-abi): Rewrite to simply compare and conditionally copy the
31230 symlist and the sysdep abilist file. Remove update-abi-config
31231 checks.
31232 * abilist/ld.abilist: Remove.
31233 * abilist/libBrokenLocale.abilist: Remove.
31234 * abilist/libanl.abilist: Remove.
31235 * abilist/libcrypt.abilist: Remove.
31236 * abilist/libdl.abilist: Remove.
31237 * abilist/librt.abilist: Remove.
31238 * abilist/libthread_db.abilist: Remove.
31239 * abilist/libutil.abilist: Remove.
31240 * scripts/extract-abilist.awk: Remove.
31241 * scripts/merge-abilist.awk: Remove.
31242 * sysdeps/generic/libcidn.abilist: New file.
31243 * sysdeps/generic/libnss_compat.abilist: New file.
31244 * sysdeps/generic/libnss_db.abilist: New file.
31245 * sysdeps/generic/libnss_dns.abilist: New file.
31246 * sysdeps/generic/libnss_files.abilist: New file.
31247 * sysdeps/generic/libnss_hesiod.abilist: New file.
31248 * sysdeps/generic/libnss_nis.abilist: New file.
31249 * sysdeps/generic/libnss_nisplus.abilist: New file.
31250 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
31251 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
31252 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
31253 file.
31254 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
31255 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
31256 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31257 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31258 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31259 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31260 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31261 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31262 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31263 file.
31264 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31265 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31266 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31267 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31268 file.
31269 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31270 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31271 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31272 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31273 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31274 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31275 file.
31276 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31277 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31278 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31279 file.
31280 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31282 New file.
31283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31284 New file.
31285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31286 New file.
31287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31288 New file.
31289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31290 New file.
31291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31292 New file.
31293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31294 New file.
31295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31296 New file.
31297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31298 New file.
31299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31300 New file.
31301 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31302 New file.
31303 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31304 New file.
31305 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31306 New file.
31307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31308 file.
31309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31310 New file.
31311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31312 New file.
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31314 file.
31315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31316 New file.
31317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31318 New file.
31319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31320 file.
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31322 New file.
31323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31324 New file.
31325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31326 New file.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31328 New file.
31329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31330 New file.
31331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31332 New file.
31333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31335 file.
31336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31337 New file.
31338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31339 file.
31340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31341 file.
31342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31343 file.
31344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31345 file.
31346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31347 file.
31348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31349 New file.
31350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31351 file.
31352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31353 file.
31354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31355 New file.
31356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31357 file.
31358 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31360 file.
31361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31362 New file.
31363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31364 file.
31365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31366 file.
31367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31368 file.
31369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31370 file.
31371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31372 file.
31373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31374 New file.
31375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31376 file.
31377 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31378 file.
31379 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31380 New file.
31381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31382 file.
31383 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31384 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31385 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31386 file.
31387 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31388 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31389 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31390 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31391 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31392 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31393 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31394 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31395 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31396 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31397 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31399 file.
31400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31401 New file.
31402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31403 file.
31404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31405 file.
31406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31407 file.
31408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31409 file.
31410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31411 file.
31412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31413 New file.
31414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31415 New file.
31416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31417 file.
31418 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31419 New file.
31420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31421 file.
31422 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31424 file.
31425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31426 New file.
31427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31428 file.
31429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31430 file.
31431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31432 file.
31433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31434 file.
31435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31436 file.
31437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31438 New file.
31439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31440 New file.
31441 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31442 file.
31443 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31444 New file.
31445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31446 file.
31447
31448 2012-04-28 Joseph Myers <joseph@codesourcery.com>
31449
31450 * conform/conformtest.pl: Fix typo in handling typed-constant from
31451 allow-header.
31452
31453 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31454
31455 * README: Cut down references to pre-2.6 Linux kernels and
31456 Linuxthreads. Update lists of configurations in libc and ports
31457 and sort alphabetically. Say "or newer" with Linux kernel version
31458 requirements.
31459
31460 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31461
31462 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31463
31464 [BZ #887]
31465 * math/libm-test.inc (logb_test_downward): New test to expose
31466 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31467 rounding mode.
31468
31469 2012-04-27 Joseph Myers <joseph@codesourcery.com>
31470
31471 [BZ #14027]
31472 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31473 to be done.
31474 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31475 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31476
31477 2012-04-26 Joseph Myers <joseph@codesourcery.com>
31478
31479 * sysdeps/unix/i386/brk.S: Remove file.
31480 * sysdeps/unix/i386/dl-brk.S: Likewise.
31481 * sysdeps/unix/i386/pipe.S: Likewise.
31482 * sysdeps/unix/i386/sigreturn.S: Likewise.
31483 * sysdeps/unix/i386/syscall.S: Likewise.
31484 * sysdeps/unix/i386/vfork.S: Likewise.
31485 * sysdeps/unix/i386/wait.S: Likewise.
31486
31487 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31488 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31489
31490 * configure.in (arm*-none*): Do not allow without
31491 --enable-hacker-mode.
31492 (netbsd*): Remove case setting base_os.
31493 (386bsd*): Likewise.
31494 (freebsd*): Likewise.
31495 (bsdi*): Likewise.
31496 (osf*): Likewise.
31497 (sunos*): Likewise.
31498 (ultrix*): Likewise.
31499 (newsos*): Likewise.
31500 (dynix*): Likewise.
31501 (*bsd*): Likewise.
31502 (sysv*): Likewise.
31503 (isc*): Likewise.
31504 (esix*): Likewise.
31505 (sco*): Likewise.
31506 (minix*): Likewise.
31507 (irix4*): Likewise.
31508 (irix6*): Likewise.
31509 (solaris[2-9]*): Likewise.
31510 (none): Likewise.
31511 * configure: Regenerated.
31512
31513 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31514
31515 [BZ #11521]
31516 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31517 overflow or cancellation in calculating denominator.
31518 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31519 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31520 down expression to avoid unexpected rounding in newer GCCs.
31521 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31522
31523 2012-04-26 David S. Miller <davem@davemloft.net>
31524
31525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31526 long-double compat symbols.
31527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31540
31541 2012-04-25 David S. Miller <davem@davemloft.net>
31542
31543 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31544 HWCAP_* values only after the memory barriers have been defined.
31545 (atomic_full_barrier): Define.
31546 (atomic_read_barrier): Define.
31547 (atomic_write_barrier): Define.
31548
31549 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31550
31551 * shlib-versions: Add libgcc_s version information.
31552 * sysdeps/generic/libgcc_s.h: Remove.
31553 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31554 libgcc_s.h.
31555 * sysdeps/gnu/unwind-resume.c: Likewise.
31556 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31557
31558 2012-04-25 David S. Miller <davem@davemloft.net>
31559
31560 * sysdeps/unix/sparc/brk.S: Delete.
31561 * sysdeps/unix/sparc/dl-brk.S: Delete.
31562 * sysdeps/unix/sparc/pipe.S: Delete.
31563 * sysdeps/unix/sparc/sysdep.S: Delete.
31564 * sysdeps/unix/sparc/sysdep.h: Delete.
31565 * sysdeps/unix/sparc/vfork.S: Delete.
31566 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
31567 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31568 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
31569 (ret_ERRVAL, r0, r1, MOVE): Define.
31570 (JUMPTARGET): Remove.
31571 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31572 sysdeps/unix/sparc/sysdep.h
31573 (ENTRY, END): Remove.
31574 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31575
31576 2012-04-25 Joseph Myers <joseph@codesourcery.com>
31577
31578 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31579 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31580 -DIS_IN_build.
31581
31582 * timezone/README: Update upstream location and email address for
31583 tzcode and tzdata.
31584 * timezone/zdump.c: Update from tzcode 2012b.
31585 * timezone/zic.c: Likewise.
31586
31587 * configure.in (libc_cv_as_needed): Remove test.
31588 * configure: Regenerated.
31589 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31590 conditional definition.
31591 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31592 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31593 * config.make.in (have-as-needed): Remove variable.
31594
31595 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31596 Paul Pluzhnikov <ppluzhnikov@google.com>
31597
31598 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31599 strings correctly.
31600
31601 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31602
31603 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31604 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31605 * sysdeps/sh/strlen.S: Likewise.
31606
31607 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31608
31609 * sysdeps/unix/fork.S: Remove file.
31610 * sysdeps/unix/i386/fork.S: Likewise.
31611 * sysdeps/unix/sparc/fork.S: Likewise.
31612
31613 * sysdeps/unix/system.c: Remove file.
31614 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31615
31616 * sysdeps/unix/getegid.S: Remove file.
31617 * sysdeps/unix/geteuid.S: Likewise.
31618
31619 2012-04-24 Roland McGrath <roland@hack.frob.com>
31620
31621 * scripts/check-localplt.awk: New file.
31622 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31623 of diff.
31624 * scripts/data/localplt-generic.data: Add a comment.
31625
31626 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31627 NODE when __dir_mkfile failed.
31628 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31629 Reported by Ludovic Courtès <ludo@gnu.org>.
31630
31631 2012-04-24 Andreas Jaeger <aj@suse.de>
31632
31633 * Makerules (common-clean): Also remove gen-as-const-headers
31634 files.
31635
31636 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31637
31638 * Makerules (native-compile): Do not change working directory for
31639 build. Use $(OUTPUT_OPTION) in command.
31640 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31641
31642 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31643
31644 [BZ #13886]
31645 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31646 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31647 * math/libm-test.inc (floor_test): Add more tests.
31648 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31649
31650 2012-04-24 Joseph Myers <joseph@codesourcery.com>
31651
31652 * sysdeps/unix/getdents.c: Remove file.
31653 * sysdeps/unix/sysv/getdents.c: Likewise.
31654 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31655
31656 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31657 sysdeps/unix/mman/syscalls.list.
31658 (mmap): Likewise.
31659 (mprotect): Likewise.
31660 (msync): Likewise.
31661 (munmap): Likewise.
31662 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31663 * sysdeps/unix/mman/syscalls.list: Remove.
31664 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31665
31666 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31667 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31668 * configure: Regenerated.
31669 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31670 $(libgcc_s_suffix).
31671 * config.make.in (libgcc_s_suffix): Remove variable.
31672
31673 2012-04-23 Joseph Myers <joseph@codesourcery.com>
31674
31675 * sysdeps/unix/sysv/gethostname.c: Move to ...
31676 * sysdeps/posix/gethostname.c: ... here.
31677
31678 * sysdeps/unix/execve.S: Remove file.
31679
31680 * sysdeps/unix/_exit.S: Remove file.
31681
31682 2012-04-23 Andreas Jaeger <aj@suse.de>
31683
31684 [BZ #13739]
31685 * manual/Makefile: Remove make dist support, there's no
31686 need for a stand-alone documentation tar ball.
31687 (TEXI2DVI): Define always, it's not in Makeconfig.
31688 (dist): Removed.
31689 (tar-it): Removed.
31690 (edition): Removed.
31691 (glibc-doc-$(edition).tar): Removed
31692 (%.Z): Removed.
31693 (%.gz): Removed.
31694 (%.uu): Removed.
31695 (ETAGS): Remove, it's in Makeconfig.
31696 (move-if-change): Remove, it's in Makeconfig.
31697
31698 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
31699
31700 [BZ #13970]
31701 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31702 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31703 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31704 (strtod_l, strtof_l, strtold_l): Remove __wur.
31705 It is not necessarily an error to ignore strtol's return value.
31706 One can reliably look at the stored endptr to decide whether
31707 the number had valid syntax.
31708
31709 2012-04-21 Andreas Jaeger <aj@suse.de>
31710
31711 [BZ #13739]
31712 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31713
31714 2012-04-21 Joseph Myers <joseph@codesourcery.com>
31715
31716 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31717 * sysdeps/unix/sysv/Versions: Remove file.
31718
31719 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31720
31721 [BZ #13927]
31722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31723
31724 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
31725
31726 [BZ #7064]
31727 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31728 version from __vm86.
31729
31730 2012-04-20 Joseph Myers <joseph@codesourcery.com>
31731
31732 * sysdeps/unix/common/lxstat.c: Remove file.
31733 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31734
31735 * sysdeps/unix/sysv/Makefile: Remove file.
31736
31737 * sysdeps/unix/sysv/direct.h: Remove file.
31738
31739 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31740 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31741 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31742 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31743 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31744 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31745 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31746
31747 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31748
31749 * sysdeps/unix/xmknod.c: Remove file.
31750 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31751
31752 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31753
31754 * sysdeps/unix/sysv/i386/time.S: Remove file.
31755
31756 * sysdeps/unix/fxstat.c: Remove file.
31757 * sysdeps/unix/xstat.c: Likewise.
31758 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31759
31760 * sysdeps/unix/sysv/sigaction.c: Remove file.
31761
31762 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31763 (sysdep_headers): Remove variable.
31764 [termio.h not in sysdep_headers] (generated): Likewise.
31765 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31766 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31767 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31768 * sysdeps/unix/sysv/tcflow.c: Likewise.
31769 * sysdeps/unix/sysv/tcflush.c: Likewise.
31770 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31771 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31772 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31773 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31774 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31775
31776 * sysdeps/unix/siglist.c: Remove file.
31777
31778 * sysdeps/unix/getppid.S: Remove file.
31779
31780 * sysdeps/unix/mkdir.c: Remove file.
31781 * sysdeps/unix/rmdir.c: Likewise.
31782
31783 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31784
31785 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31786 ERR_MAX value.
31787 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31788 errlist-compat value.
31789
31790 2012-04-18 David S. Miller <davem@davemloft.net>
31791
31792 * sysdeps/generic/memcopy.h (reg_char): Delete.
31793 * debug/strcat_chk.c: Use char, not reg_char.
31794 * debug/strcpy_chk.c: Likewise.
31795 * debug/strncat_chk.c: Likewise.
31796 * debug/strncpy_chk.c: Likewise.
31797 * string/memchr.c: Likewise.
31798 * string/memrchr.c: Likewise.
31799 * string/rawmemchr.c: Likewise.
31800 * string/strcat.c: Likewise.
31801 * string/strchr.c: Likewise.
31802 * string/strchrnul.c: Likewise.
31803 * string/strcmp.c: Likewise.
31804 * string/strcpy.c: Likewise.
31805 * string/strncat.c: Likewise.
31806 * string/strncmp.c: Likewise.
31807 * string/strncpy.c: Likewise.
31808
31809 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31810
31811 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31812 __builtin_memcopy is called when src and dest ranges are known to not
31813 overlap.
31814
31815 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31816
31817 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31818 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31819 fwd_align_merge macro call.
31820 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31821 bwd_align_merge macro call.
31822 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31823
31824 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31825
31826 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31827 bwd_align_merge macros.
31828 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31829 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31830 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31831
31832 2012-04-18 David S. Miller <davem@davemloft.net>
31833
31834 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31835
31836 2012-04-18 Andreas Jaeger <aj@suse.de>
31837
31838 [BZ# 6794]
31839 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31840 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31841 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31842
31843 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31844 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31845 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31846
31847 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31848 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31849 Adjust for changed ldbl-128 files.
31850
31851 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31852 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31853 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31854
31855 2012-04-17 David S. Miller <davem@davemloft.net>
31856
31857 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31858
31859 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31860
31861 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31862 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31863 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31864 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31865 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31866 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31867
31868 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31869
31870 [BZ #6794]
31871 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31872 * math/libm-test.inc: Add ilogb errno and exception tests.
31873 * math/w_ilogb.c: New file: ilogb wrapper.
31874 * math/w_ilogbf.c: New file: ilogbf wrapper.
31875 * math/w_ilogbl.c: New file: ilogbl wrapper.
31876 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31877 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31878 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31879 exception being thrown with 0.0 as argument.
31880 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31881 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31882 exception being thrown with 0.0 as argument.
31883 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31884 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31885 exception being thrown with 0.0 as argument.
31886 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31887 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31888 exception being thrown with 0.0 as argument.
31889 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31890 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
31891 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
31892 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31893 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31894 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31895 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31896 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31897 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31898
31899 2012-04-17 Petr Baudis <pasky@ucw.cz>
31900
31901 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31902 with altivec.
31903
31904 2012-04-16 Marek Polacek <polacek@redhat.com>
31905
31906 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31907
31908 2012-04-16 Marek Polacek <polacek@redhat.com>
31909
31910 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31911 operands of fdivp instruction.
31912
31913 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31914
31915 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31916 * elf/tst-auditmod3b.c: Likewise.
31917 * elf/tst-auditmod4b.c: Likewise.
31918 * elf/tst-auditmod5b.c: Likewise.
31919 * elf/tst-auditmod6b.c: Likewise.
31920 * elf/tst-auditmod6c.c: Likewise.
31921 * elf/tst-auditmod7b.c: Likewise.
31922 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31923 * sysdeps/x86_64/preconfigure.in: Likewise.
31924 * sysdeps/x86_64/preconfigure: Regenerated.
31925
31926 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31927
31928 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31929 __ILP32__.
31930
31931 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
31932
31933 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31934 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31935
31936 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31937
31938 [BZ #13973]
31939 * locale/iso-639.def: Fix gl language name. Spotted by
31940 Yaron Shahrabani.
31941
31942 2012-04-12 Roland McGrath <roland@hack.frob.com>
31943
31944 [BZ #2074]
31945 * libio/libio.h (__io_write_fn): Update comment.
31946
31947 2012-04-12 Petr Baudis <pasky@ucw.cz>
31948
31949 [BZ #2074]
31950 * stdio.texi (Hook Functions): The user provided writer function
31951 is not allowed to return -1.
31952
31953 2012-04-11 David S. Miller <davem@davemloft.net>
31954
31955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31956
31957 2012-04-11 Mike Frysinger <vapier@gentoo.org>
31958
31959 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31960 Add a leading slash to rtkaio.
31961
31962 2012-04-11 Jim Meyering <meyering@redhat.com>
31963
31964 [BZ #11959]
31965 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31966 It is not necessarily an error to ignore fwrite's return
31967 value. One can reliably use ferror to test for errors after
31968 the fact.
31969
31970 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31971
31972 * bits/types.h (__snseconds_t): New type.
31973 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31974
31975 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31976 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31977 (__SNSECONDS_T_TYPE): Likewise.
31978 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31979 (__SNSECONDS_T_TYPE): Likewise.
31980 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31981 (__SNSECONDS_T_TYPE): Likewise.
31982
31983 2012-04-10 Andreas Jaeger <aj@suse.de>
31984
31985 [BZ #2636]
31986 * manual/time.texi (Processor Time): Return type of times is
31987 elapsed real time since an arbitrary point in the past.
31988 (CPU Time): Move CLK_TCK from here...
31989 (Processor Time): ...to here. Correct description.
31990 * manual/conf.texi (Constants for Sysconf): Correct description of
31991 _SC_CLK_TCK.
31992
31993 2012-04-10 David S. Miller <davem@davemloft.net>
31994
31995 [BZ #13967]
31996 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31997 where the is a gap between DT_REL(A) and DT_JMPREL.
31998
31999 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
32000
32001 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
32002 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32003 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32004
32005 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32006
32007 * elf/dl-support.c (_dl_inhibit_cache): New variable.
32008 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
32009 (dl_main): Handle --inhibit-cache.
32010 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
32011 _dl_inhibit_cache.
32012 * elf/dl-load.c (_dl_map_object): Use it.
32013 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
32014
32015 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32016
32017 [BZ #13872]
32018 * sysdeps/i386/fpu/e_powl.S (p78): New object.
32019 (__ieee754_powl): Saturate large exponents rather than testing for
32020 overflow of y*log2(x).
32021 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32022 * math/libm-test.inc (pow_test): Do not permit spurious overflow
32023 exceptions.
32024
32025 [BZ #11521]
32026 * math/s_ctan.c: Include <float.h>.
32027 (__ctan): Avoid internal overflow or cancellation in calculating
32028 denominator.
32029 * math/s_ctanf.c: Likewise.
32030 * math/s_ctanl.c: Likewise.
32031 * math/s_ctanh.c: Likewise.
32032 * math/s_ctanhf.c: Likewise.
32033 * math/s_ctanhl.c: Likewise.
32034 * math/libm-test.inc (ctan_test): Add more tests.
32035 (ctanh_test): Likewise.
32036 * sysdeps/i386/fpu/libm-test-ulps: Update.
32037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32038
32039 2012-04-09 Andreas Jaeger <aj@suse.de>
32040
32041 [BZ #6894]
32042 * manual/filesys.texi (Directory Entries): Mention that d_namlen
32043 is an optional BSD extension.
32044
32045 [BZ #10254]
32046 * manual/stdio.texi (Opening Streams): Document additional fopen
32047 parameters.
32048
32049 2012-04-09 Roland McGrath <roland@hack.frob.com>
32050
32051 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
32052 %eax without telling the compiler.
32053
32054 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
32055
32056 [BZ # 13963]
32057 * manual/install.texi: Use sourceware.org.
32058
32059 2012-04-09 Joseph Myers <joseph@codesourcery.com>
32060
32061 [BZ #13873]
32062 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
32063 (__ieee754_pow): Generate overflow and underflow using huge*huge
32064 and tiny*tiny rather than just returning constant infinity or zero
32065 for large exponents.
32066 * math/libm-test.inc (pow_test): Require overflow exceptions for
32067 applicable cases of large exponents.
32068
32069 [BZ #706]
32070 * sysdeps/i386/fpu/e_pow.S (p10): New object.
32071 (__ieee754_pow): Use iterative multiplication algorithm only for
32072 integer exponents with absolute value below 1024. Check for odd
32073 integer exponents when using algorithm for real exponents.
32074 * math/libm-test.inc (pow_test): Add more tests.
32075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32076
32077 2012-04-08 Joseph Myers <joseph@codesourcery.com>
32078
32079 [BZ #13705]
32080 * math/libm-test.inc (exp_test): Do not allow overflow exception
32081 on underflow test.
32082
32083 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
32084
32085 [BZ #13705]
32086 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
32087 instead of __kernel_standard_f.
32088
32089 2012-04-08 Mike Frysinger <vapier@gentoo.org>
32090
32091 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
32092 * sysdeps/x86_64/memset_chk.S: Likewise.
32093
32094 2012-04-08 Andreas Jaeger <aj@suse.de>
32095
32096 [BZ #10153]
32097 * manual/startup.texi (Environment Access): Describe return value
32098 for putenv and setenv.
32099
32100 [BZ #6895]
32101 * manual/filesys.texi (Directory Entries): Add description for
32102 DT_LNK.
32103
32104 [BZ #6890]
32105 * manual/filesys.texi (Directory Entries): Clarify that it's file
32106 system not operating system in the description of DT_UNKNOWN.
32107
32108 [BZ #6578]
32109 * manual/syslog.texi (closelog): Fix reference, it's openlog.
32110
32111 2012-04-08 Stephen Compall <s11@member.fsf.org>
32112
32113 [BZ #6649]
32114 * manual/llio.texi (Opening and Closing Files): Add cross
32115 reference to explain mode argument.
32116
32117 2012-04-07 Mike Frysinger <vapier@gentoo.org>
32118
32119 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
32120 * sysdeps/x86_64/memset_chk.S: Likewise.
32121
32122 2012-04-07 David S. Miller <davem@davemloft.net>
32123
32124 * elf/elf.h (R_SPARC_WDISP10): Define.
32125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
32126 R_SPARC_SIZE32.
32127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
32128 R_SPARC_SIZE64 and R_SPARC_H34.
32129
32130 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
32131
32132 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
32133 conditions and remove no longer applicable assertion.
32134
32135 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32136
32137 * bits/byteswap.h: Include <features.h>.
32138 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
32139 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
32140
32141 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
32142
32143 * bits/byteswap.h (__bswap_16): Removed.
32144 Include <bits/byteswap-16.h> to get __bswap_16.
32145 * sysdeps/i386/bits/byteswap.h: Likewise.
32146 * sysdeps/s390/bits/byteswap.h: Likewise.
32147 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32148 * bits/byteswap-16.h: New file.
32149 * sysdeps/i386/bits/byteswap-16.h: Likewise.
32150 * sysdeps/s390/bits/byteswap-16.h: Likewise.
32151 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
32152 * string/Makefile (headers): Add bits/byteswap-16.h.
32153
32154 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32155
32156 [BZ #13895]
32157 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
32158 extra indirection.
32159 * nss/Makefile (tests-static, tests): Add tst-nss-static.
32160 * nss/tst-nss-static.c: New.
32161
32162 2012-04-06 Robert Millan <rmh@gnu.org>
32163
32164 [BZ #6486]
32165 * manual/llio.texi (File Position Primitive): lseek
32166 refers to WHENCE when it really means OFFSET.
32167
32168 2012-04-06 Andreas Jaeger <aj@suse.de>
32169
32170 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
32171 strncmp declarations.
32172
32173 * abilist/libc.abilist: Add __poll and __ppoll.
32174
32175 2012-04-05 David S. Miller <davem@davemloft.net>
32176
32177 * scripts/check-local-headers.sh: Accept a host triplet in the
32178 path matched by the exclude regexp.
32179
32180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
32181 definition.
32182 * sysdeps/powerpc/powerpc32/dl-machine.h
32183 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
32184 * sysdeps/s390/s390-32/dl-machine.h
32185 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32186 * sysdeps/sparc/sparc32/dl-machine.h
32187 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32188 * sysdeps/sparc/sparc64/dl-machine.h
32189 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
32190
32191 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
32192 lazy binding.
32193 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
32194 undefined symbol errors.
32195
32196 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
32197 DT_NEEDED entries.
32198
32199 2012-04-05 Michael Matz <matz@suse.de>
32200
32201 [BZ #13592]
32202 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
32203
32204 2012-04-05 Andreas Jaeger <aj@suse.de>
32205
32206 [BZ #13908]
32207 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
32208 comment.
32209
32210 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32211
32212 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
32213 which ROUND is no valid rounding mode.
32214
32215 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32216
32217 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
32218 read again.
32219 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
32220
32221 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32222
32223 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
32224 an exception using FPU order intentionally.
32225
32226 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
32227
32228 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
32229 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
32230 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
32231 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
32232
32233 2012-04-05 Simon Josefsson <simon@josefsson.org>
32234
32235 [BZ #12340]
32236 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
32237 EINVAL when BUFLEN is too smal.
32238
32239 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
32240
32241 [BZ #13553]
32242 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
32243 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
32244
32245 2012-04-03 Andreas Jaeger <aj@suse.de>
32246
32247 [BZ #13938]
32248 * manual/setjmp.texi (System V contexts): Fix sentence.
32249
32250 [BZ #13926]
32251 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
32252 New macro for this case.
32253 [!__GNUC__] (__bswap_64): New inline function for this case.
32254 * sysdeps/x86_64/bits/byteswap.h: Likewise.
32255 * bits/byteswap.h: Likewise.
32256 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32257 ull, guard with __GLIBC_HAVE_LONG_LONG.
32258
32259 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32260 __GLIBC_HAVE_LONG_LONG.
32261
32262 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32263 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32264
32265 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32266
32267 [BZ #13691]
32268 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32269 inptr and inend, rather than using last_ch.
32270
32271 2012-04-02 David S. Miller <davem@davemloft.net>
32272
32273 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32274 * stdio-common/printf-parse.h (read_int): Change return type to
32275 'int', return -1 on INT_MAX overflow.
32276 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32277 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32278 overflows INT_MAX. Check for overflow of in-format-string precision
32279 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32280 SIZE_MAX not INT_MAX for integer overflow test.
32281 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32282 skip the construct in the format string but do not record anything.
32283 * stdio-common/bug22.c: Adjust to test both width/prevision
32284 INT_MAX overflow as well as total length INT_MAX overflow. Check
32285 explicitly for proper errno values.
32286
32287 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32288
32289 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32290 CHAR_MAX.
32291 * string/test-strcmp.c [! WIDE]: Likewise.
32292 * time/tst-mktime2.c: Likewise for INT_MAX.
32293 * string/test-string.h: #include <sys/param.h> for MIN.
32294
32295 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32296 * sysdeps/i386/init-first.c (init): Likewise.
32297 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32298 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32299 * sysdeps/sh/init-first.c (init): Likewise.
32300
32301 2012-04-01 Ulrich Drepper <drepper@gmail.com>
32302
32303 * po/ru.po: Update from translation team.
32304 * po/vi.po: Likewise.
32305
32306 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32307
32308 * resolv/nss_dns/dns-host.c: Merge copyright years.
32309
32310 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32311
32312 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32313 Optimize memcpy with prefetch if
32314 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32315 src, dst pointers have unequal 16 byte alignments.
32316
32317 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32318
32319 [BZ #13928]
32320 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32321 from a CNAME entry and return the minimum ttl for the query.
32322 (gaih_getanswer_slice): Likewise.
32323
32324 2012-03-30 Jeff Law <law@redhat.com>
32325
32326 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32327 due to long keys.
32328 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32329 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32330
32331 * resolv/nss_dns/dns-host.c: Update copyright year.
32332
32333 2012-03-30 Ulrich Drepper <drepper@gmail.com>
32334
32335 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
32336 requests to save a system call. Fix check that all bytes are sent.
32337
32338 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32339 comments for sendmmsg.
32340
32341 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32342
32343 [BZ #13691]
32344 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32345 with only 1 character between 0x0041 and 0x01b0.
32346 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32347 * wcsmbs/tst-mbsnrtowcs.c: New file.
32348
32349 2012-03-29 David S. Miller <davem@davemloft.net>
32350
32351 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32352 small copies by hand.
32353
32354 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32355
32356 [BZ #13761]
32357 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
32358 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
32359 group memberships.
32360
32361 2012-03-28 David S. Miller <davem@davemloft.net>
32362
32363 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32364 that branches into memcpy.
32365 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32366 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32367 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32368 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32370 bits.
32371 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32372 implementation too.
32373 * sysdeps/sparc/mempcpy.S: New file.
32374
32375 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32376 the IFUNC routine in the libc case.
32377 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32378
32379 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32380 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32381 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32382 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32383 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32384 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32385 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32386 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32387
32388 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32389 loop to 256 bytes instead of 64 bytes and fix test signedness.
32390
32391 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32392 * sysdeps/sparc/sparc32/Makefile: rather than here...
32393 * sysdeps/sparc/sparc64/Makefile: and here.
32394
32395 2012-03-28 Ulrich Drepper <drepper@gmail.com>
32396
32397 * malloc/mallocbug.c: Avoid warnings about unused variables.
32398
32399 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32400
32401 [BZ #13760]
32402 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32403 in the right place. Discard and retry query if response is
32404 larger than input buffer size.
32405
32406 2012-03-28 Joseph Myers <joseph@codesourcery.com>
32407
32408 [BZ #369]
32409 [BZ #2678]
32410 [BZ #3866]
32411 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32412 x for large integer exponent.
32413 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32414 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32415 sign of result as needed afterwards.
32416 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32417 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32418 result for underflowing pow the same as for overflow.
32419 (__kernel_standard_l): Handle powl overflow and underflow here
32420 rather than calling __kernel_standard.
32421 * math/libm-test.inc (pow_test): Add more tests.
32422
32423 [BZ #3868]
32424 [BZ #13879]
32425 [BZ #13910]
32426 [BZ #13911]
32427 [BZ #13912]
32428 [BZ #13913]
32429 [BZ #13915]
32430 [BZ #13916]
32431 [BZ #13917]
32432 [BZ #13918]
32433 [BZ #13919]
32434 [BZ #13920]
32435 [BZ #13921]
32436 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32437 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32438 (__kernel_standard_l): New function.
32439 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32440 __kernel_standard.
32441 * math/w_acosl.c (__acosl): Likewise.
32442 * math/w_asinl.c (__asinl): Likewise.
32443 * math/w_atan2l.c (__atan2l): Likewise.
32444 * math/w_atanhl.c (__atanhl): Likewise.
32445 * math/w_coshl.c (__coshl): Likewise.
32446 * math/w_exp10l.c (__exp10l): Likewise.
32447 * math/w_exp2l.c (__exp2l): Likewise.
32448 * math/w_fmodl.c (__fmodl): Likewise.
32449 * math/w_hypotl.c (__hypotl): Likewise.
32450 * math/w_j0l.c (__j0l, __y0l): Likewise.
32451 * math/w_j1l.c (__j1l, __y1l): Likewise.
32452 * math/w_jnl.c (__jnl, __ynl): Likewise.
32453 * math/w_lgammal.c (__lgammal): Likewise.
32454 * math/w_log10l.c (__log10l): Likewise.
32455 * math/w_log2l.c (__log2l): Likewise.
32456 * math/w_logl.c (__logl): Likewise.
32457 * math/w_powl.c (__powl): Likewise.
32458 * math/w_remainderl.c (__remainderl): Likewise.
32459 * math/w_scalbl.c (sysv_scalbl): Likewise.
32460 * math/w_sinhl.c (__sinhl): Likewise.
32461 * math/w_sqrtl.c (__sqrtl): Likewise.
32462 * math/w_tgammal.c (__tgammal): Likewise.
32463 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32464 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32465 * math/libm-test.inc (acos_test): Add more tests.
32466 (acosh_test): Likewise.
32467 (asin_test): Likewise.
32468 (atanh_test): Likewise.
32469 (exp_test): Likewise.
32470 (exp10_test): Likewise.
32471 (exp2_test): Likewise.
32472 (expm1_test): Likewise.
32473 (lgamma_test): Likewise.
32474 (log_test): Likewise.
32475 (log10_test): Likewise.
32476 (log1p_test): Likewise.
32477 (log2_test): Likewise.
32478 (pow_test): Do not allow some spurious overflow exceptions.
32479 (sqrt_test): Add more tests.
32480 (tgamma_test): Likewise.
32481 (y0_test): Likewise.
32482 (y1_test): Likewise.
32483 (yn_test): Likewise.
32484
32485 2012-03-27 Anton Blanchard <anton@samba.org>
32486
32487 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32488 MAP_HUGETLB.
32489 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32490 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32491 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32492
32493 2012-03-27 David S. Miller <davem@davemloft.net>
32494
32495 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32496
32497 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32498 have-as-vis3 check.
32499
32500 2012-03-27 Andreas Jaeger <aj@suse.de>
32501
32502 * sysdeps/x86_64/elf/configure.in: Moved to ...
32503 * sysdeps/x86_64/configure.in: ... here.
32504 * sysdeps/x86_64/elf/start.S: Moved to ...
32505 * sysdeps/x86_64/start.S: ... here.
32506 * sysdeps/x86_64/elf/configure: Delete.
32507
32508 * sysdeps/x86_64/configure.in: Merge contents from
32509 sysdeps/i386/configure.in (without i686 check).
32510
32511 * sysdeps/i386/elf/Versions: Merge into ...
32512 * sysdeps/i386/Versions: ... this.
32513 * sysdeps/i386/elf/Versions: Delete file.
32514 * sysdeps/i386/elf/start.S: Moved to ...
32515 * sysdeps/i386/start.S: ...here.
32516 * sysdeps/i386/elf/configure.in: Merge into...
32517 * sysdeps/i386/configure.in: ...here.
32518 * sysdeps/i386/elf/configure.in: Delete file.
32519 * sysdeps/i386/elf/configure: Delete file.
32520
32521 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32522 * debug/backtracesyms.c: ... here.
32523 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32524 * debug/backtracesymsfd.c: ... here.
32525 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32526 * sysdeps/generic/ifunc-sel.h: ... here.
32527
32528 * sysdeps/unix/i386/start.c: Delete file.
32529 * sysdeps/unix/sparc/start.c: Delete file.
32530 * sysdeps/unix/start.c: Delete file.
32531
32532 * sysdeps/sh/elf/configure.in: Moved to ...
32533 * sysdeps/sh/configure.in: ... here.
32534 * sysdeps/sh/elf/start.S: Moved to ...
32535 * sysdeps/sh/start.S: ... here.
32536 * sysdeps/sh/elf/configure: Delete file.
32537
32538 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32539 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32540 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32541 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32542 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32543 * sysdeps/powerpc/powerpc64/start.S: here.
32544 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32545 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32546 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32547 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32548 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32549
32550 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32551 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32552 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32553 * sysdeps/powerpc/powerpc32/start.S: ... here.
32554 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32555 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32556 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32557
32558 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32559 * sysdeps/powerpc/ifunc-sel.h: ... here.
32560 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32561 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32562
32563 * sysdeps/sparc/elf/configure.in: Moved to ...
32564 * sysdeps/sparc/configure.in: ... here.
32565 * sysdeps/sparc/elf/configure: Delete file.
32566 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32567 * sysdeps/sparc/sparc32/start.S: ... here.
32568 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32569 * sysdeps/sparc/sparc64/start.S: ... here.
32570 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32571 * sysdeps/sparc/sparc32/Makefile: ... this.
32572 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32573 * sysdeps/sparc/sparc64/Makefile: ... this.
32574
32575 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32576 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32577 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32578 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32579 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32580 * sysdeps/s390/s390-32/setjmp.S: ... here.
32581 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32582 * sysdeps/s390/s390-32/configure.in: ... here.
32583 * sysdeps/s390/s390-32/elf/configure: Delete file.
32584 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32585 * sysdeps/s390/s390-32/start.S: ... here.
32586
32587 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32588 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32589 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32590 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32591 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32592 * sysdeps/s390/s390-64/setjmp.S: ... here.
32593 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32594 * sysdeps/s390/s390-64/configure.in: ... here
32595 * sysdeps/s390/s390-64/elf/configure: Delete file.
32596 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32597 * sysdeps/s390/s390-64/start.S: ... here.
32598 * sysdeps/s390/s390-64/elf/configure: Delete.
32599
32600 * configure.in: Remove support for elf directories in sysdeps.
32601
32602 * configure: Regenerated.
32603 * sysdeps/i386/configure: Regenerated.
32604 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32605 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32606 * sysdeps/s390/s390-32/configure: Regenerated.
32607 * sysdeps/s390/s390-64/configure: Regenerated.
32608 * sysdeps/sh/configure: Regenerated.
32609 * sysdeps/sparc/configure: Regenerated.
32610 * sysdeps/x86_64/configure: Regenerated.
32611
32612 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32613
32614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32615
32616 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32617 denormal result into account.
32618
32619 2012-03-25 Roland McGrath <roland@hack.frob.com>
32620
32621 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32622 Reported by Allan McRae <allan@archlinux.org>.
32623
32624 2012-03-23 Jeff Law <law@redhat.com>
32625
32626 * nss/getnssent.c (__nss_getent): Fix typo.
32627
32628 2012-03-23 David S. Miller <davem@davemloft.net>
32629
32630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32631
32632 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32633
32634 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32635 to pad to uint64_t for each field.
32636 (dl_tls_index): Replace unsigned long with uint64_t.
32637
32638 2012-03-23 Daniel Jacobowitz <dmj@google.com>
32639 Paul Pluzhnikov <ppluzhnikov@google.com>
32640
32641 [BZ #6528]
32642 * grp/Makefile (otherlibs): Don't set it.
32643 * inet/Makefile (otherlibs): Likewise.
32644 * login/Makefile (otherlibs): Likewise.
32645 * nscd/Makefile (otherlibs): Likewise.
32646 * posix/Makefile (otherlibs): Likewise.
32647 * pwd/Makefile (otherlibs): Likewise.
32648 * rt/Makefile (otherlibs): Likewise.
32649 * sunrpc/Makefile (otherlibs): Likewise.
32650 * nss/Makefile (otherlibs): Likewise.
32651 Add libnss_files to routines and static-only-routines.
32652 ($(objpfx)getent): Remove rule.
32653 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32654 static-only-routines.
32655
32656 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32657
32658 [BZ #13892]
32659 * math/s_cexp.c: Include <float.h>.
32660 (__cexp): Handle exp result overflowing not necessarily
32661 overflowing both real and imaginary parts of result.
32662 * math/s_cexpf.c: Likewise.
32663 * math/s_cexpl.c: Likewise.
32664 * math/libm-test.inc (cexp_test): Add more tests.
32665 * sysdeps/i386/fpu/libm-test-ulps: Update.
32666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32667
32668 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32669
32670 * include/link.h (ELFW): New macro.
32671 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32672 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32673
32674 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32675
32676 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32677 with uint64_t.
32678
32679 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32680
32681 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32682 declaration.
32683 (struct La_x32_retval): Likewise.
32684
32685 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32686
32687 * sysdeps/x86_64/preconfigure.in: New file.
32688 * sysdeps/x86_64/preconfigure: New generated file.
32689
32690 2012-03-22 Joseph Myers <joseph@codesourcery.com>
32691
32692 [BZ #13824]
32693 * math/e_exp2l.c: Include <float.h>.
32694 (__ieee754_exp2l): Handle overflow and underflow cases
32695 separately. Only pass fractional part of argument to
32696 __ieee754_expl.
32697 * math/libm-test.inc (exp2_test): Add more tests.
32698
32699 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32700 negating x to take absolute value.
32701 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32702 Likewise.
32703 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32704 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32705 Likewise.
32706 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32707 computing low part if x was negated.
32708 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32709
32710 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32711
32712 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32713 la_x32_gnu_pltexit.
32714 (pltexit): Cast int_retval to ptrdiff_t.
32715 * elf/tst-auditmod3b.c: Likewise.
32716 * elf/tst-auditmod4b.c: Likewise.
32717 * elf/tst-auditmod5b.c: Likewise.
32718 * elf/tst-auditmod6b.c: Likewise.
32719 * elf/tst-auditmod6c.c: Likewise.
32720 * elf/tst-auditmod7b.c: Likewise.
32721
32722 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32723 and x32_gnu_pltexit.
32724
32725 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32726 __ELF_NATIVE_CLASS.
32727 (La_x32_regs): New macro.
32728 (La_x32_retval): Likewise.
32729 (la_x32_gnu_pltenter): New function prototype.
32730 (la_x32_gnu_pltexit): Likewise.
32731
32732 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32733
32734 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32735 exponent.
32736
32737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32738
32739 * configure.in (libc_cv_cc_nofma): Check for option to disable
32740 generation of FMA instructions.
32741 * configure: Regenerate.
32742 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32743 * sysdeps/ieee754/dbl-64/Makefile: New file.
32744 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32745 Remove brandred-fma4.
32746 (CFLAGS-brandred-fma4.c): Remove.
32747 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32748 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32749 define.
32750 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32751 define.
32752
32753 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32754
32755 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32756 LLONG_MAX != LONG_MAX.
32757 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32758 (_fitoa_word): Likewise.
32759 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32760 LLONG_MAX != LONG_MAX.
32761 * stdio-common/_itowa.h: Include <_itoa.h>.
32762 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32763 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32764 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32765 only if not defined.
32766 (_ITOA_WORD_TYPE): Likewise.
32767 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32768 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32769
32770 2012-03-21 David S. Miller <davem@davemloft.net>
32771
32772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32773
32774 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32775
32776 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32777 of x86_64 when setting libc_cv_slibdir, libdir and
32778 libc_cv_localedir.
32779 * sysdeps/unix/sysv/linux/configure: Regenerated.
32780
32781 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32782
32783 * manual/lang.texi (Old Varargs): Remove section.
32784 (How Variadic): Update menu.
32785 (va_start): Do not mention varargs.h.
32786
32787 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32788 Joseph Myers <joseph@codesourcery.com>
32789
32790 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32791 link test.
32792 * configure: Regenerated.
32793
32794 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32795
32796 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32797 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32798 conformtest.pl
32799
32800 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32801
32802 * NOTES: Remove.
32803 * Makefile (files-for-dist): Remove NOTES.
32804 (NOTES): Remove rule.
32805 * README: Don't refer to NOTES.
32806 * manual/creature.texi: Don't include macros.texi.
32807 * manual/intro.texi (creature.texi): Remove comment referring to
32808 NOTES.
32809
32810 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32811 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32812 * configure: Regenerated.
32813 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32814 LIBC_TRY_CC_OPTION.
32815 (libc_cv_as_i686): Likewise.
32816 (libc_cv_cc_avx): Likewise.
32817 (libc_cv_cc_sse2avx): Likewise.
32818 (libc_cv_cc_fma4): Likewise.
32819 (libc_cv_cc_novzeroupper): Likewise.
32820 * sysdeps/i386/configure: Regenerated.
32821
32822 [BZ #13883]
32823 * sysdeps/i386/fpu/s_cexp.S: Remove.
32824 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32825 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32826 * math/libm-test.inc (cexp_test): Add more tests.
32827 * sysdeps/i386/fpu/libm-test-ulps: Update.
32828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32829
32830 2012-03-21 Allan McRae <allan@archlinux.org>
32831
32832 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32833
32834 2012-03-21 Joseph Myers <joseph@codesourcery.com>
32835
32836 [BZ #13871]
32837 * math/w_exp2.c: Do not include <float.h>.
32838 (o_threshold, u_threshold): Remove.
32839 (__exp2): Calculate result before checking finiteness and calling
32840 __kernel_standard.
32841 * math/w_exp2f.c: Likewise.
32842 * math/w_exp2l.c: Likewise.
32843 * math/libm-test.inc (exp2_test): Require overflow exception for
32844 1e6 input.
32845
32846 [BZ #3866]
32847 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32848 range of signed 64-bit integers before using fistpll. Remove
32849 checks for whether integers fit in mantissa bits.
32850 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32851 the range of signed 32-bit integers before using fistpl. Remove
32852 checks for whether integers fit in mantissa bits.
32853 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32854 (__ieee754_powl): Test for y outside the range of signed 64-bit
32855 integers before using fistpll. Reduce 64-bit values to 63-bit
32856 ones as needed.
32857 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32858 divide-by-zero is raised for zero to large negative powers.
32859 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32860 (__ieee754_powl): Test for y outside the range of signed 64-bit
32861 integers before using fistpll. Reduce 64-bit values to 63-bit
32862 ones as needed.
32863 * math/libm-test.inc (pow_test): Add more tests.
32864
32865 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32866
32867 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32868 <stdio-common/_itoa.h>.
32869 * debug/segfault.c: Likewise.
32870 * elf/dl-cache.c: Likewise.
32871 * elf/dl-minimal.c: Likewise.
32872 * elf/dl-misc.c: Likewise.
32873 * elf/dl-sysdep.c: Likewise.
32874 * elf/dl-version.c: Likewise.
32875 * elf/rtld.c: Likewise.
32876 * hurd/hurdsock.c: Likewise.
32877 * hurd/lookup-retry.c: Likewise.
32878 * malloc/malloc.c: Likewise.
32879 * malloc/mtrace.c: Likewise.
32880 * nscd/nscd_getgr_r.c: Likewise.
32881 * nscd/nscd_getpw_r.c: Likewise.
32882 * nscd/nscd_getserv_r.c: Likewise.
32883 * posix/getopt_init.c: Likewise.
32884 * posix/wordexp.c: Likewise.
32885 * stdio-common/_itoa.c: Likewise.
32886 * stdio-common/printf_fphex.c: Likewise.
32887 * stdio-common/vfprintf.c: Likewise.
32888 * string/_strerror.c: Likewise.
32889 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32890 * sysdeps/i386/i686/hp-timing.h: Likewise.
32891 * sysdeps/mach/_strerror.c: Likewise.
32892 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32893 * sysdeps/mach/hurd/sethostid.c: Likewise.
32894 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32895 * sysdeps/mach/xpg-strerror.c: Likewise.
32896 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32897 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32898 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32899 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32900 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32901 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32902 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32903 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32904 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32905 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32906 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32907 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32908 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32909 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32910 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32911 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32912 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32913 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32914 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32915 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32916 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32917
32918 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32919
32920 * stdio-common/_itoa.h: Moved to ...
32921 * sysdeps/generic/_itoa.h: Here.
32922
32923 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32924
32925 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32926 instead of "_itoa.h" and "_itowa.h".
32927 * stdio-common/vfprintf.: Likewise.
32928
32929 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32930
32931 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32932 <bits/wordsize.h>.
32933 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32934 (__signbit): Likwise.
32935 (llrintf): Likwise.
32936 (llrint): Likwise.
32937
32938 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32939
32940 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32941 __WORDSIZE != 64.
32942
32943 2012-03-20 Joseph Myers <joseph@codesourcery.com>
32944
32945 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32946 OVERFLOW_EXCEPTION_OK.
32947 * math/libm-test.inc ("Philosophy"): Update comment about
32948 exception testing.
32949 (OVERFLOW_EXCEPTION): Define.
32950 (OVERFLOW_EXCEPTION_OK): Likewise.
32951 (INVALID_EXCEPTION_OK): Renumber.
32952 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32953 (IGNORE_ZERO_INF_SIGN): Likewise.
32954 (test_exceptions): Handle FE_OVERFLOW.
32955 (exp10_test): Expect overflow exceptions.
32956 (exp2_test): Likewise.
32957 (expm1_test): Likewise.
32958 (nextafter_test): Likewise.
32959 (pow_test): Likewise.
32960 (scalbn_test): Likewise.
32961 (scalbln_test): Likewise.
32962
32963 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32964
32965 * sysdeps/x86_64/bits/atomic.h
32966 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32967 64bit integer.
32968 (atomic_exchange_acq): Likewise.
32969 (__arch_exchange_and_add_body): Likewise.
32970 (__arch_add_body): Likewise.
32971 (atomic_add_negative): Likewise.
32972 (atomic_add_zero): Likewise.
32973
32974 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32975
32976 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
32977 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32978
32979 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32980
32981 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32982 Check __x86_64__ instead of __WORDSIZE.
32983
32984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32985
32986 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32987
32988 2012-03-19 David S. Miller <davem@davemloft.net>
32989
32990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32991
32992 * sysdeps/sparc/fpu/fenv_private.h: New file.
32993 * sysdeps/sparc/fpu/math_private.h: Use it.
32994 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32995 Remove.
32996 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
32997 (libc_feholdexcept_setroundl): Remove.
32998 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32999 Remove.
33000 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
33001 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
33002
33003 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33004
33005 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
33006 int64_t instead of long int.
33007 (INSERT_WORDS64): Likwise.
33008
33009 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
33010
33011 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
33012 _Unwind_GetCFA return to _Unwind_Ptr first.
33013
33014 2012-03-19 Joseph Myers <joseph@codesourcery.com>
33015
33016 [BZ #13629]
33017 * math/s_clog.c: Include <float.h>.
33018 (__clog): Scale large or subnormal inputs.
33019 * math/s_clogf.c: Likewise.
33020 * math/s_clogl.c: Likewise.
33021 * math/s_clog10.c: Include <float.h>.
33022 (M_LOG10_2): Define.
33023 (__clog10): Scale large or subnormal inputs.
33024 * math/s_clog10f.c: Likewise.
33025 * math/s_clog10l.c: Likewise.
33026 * math/libm-test.inc (clog_test): Add more tests.
33027 (clog10_test): Likewise.
33028 * sysdeps/i386/fpu/libm-test-ulps: Update.
33029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33030
33031 [BZ #11451]
33032 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
33033 x and y.
33034 * math/libm-test.inc (atan2_test): Add another test.
33035
33036 * Makerules (common-objdir-compile): Remove.
33037 * sysdeps/unix/Makefile (config-generated): Do not add
33038 $(unix-generated) to variable.
33039 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
33040 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
33041 Remove rule.
33042 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
33043 Likewise.
33044 [generic bits/local_lim.h] (before-compile): Do not append to
33045 variable.
33046 [generic bits/local_lim.h] (common-generated): Likewise.
33047 [generic sys/param.h] (before-compile): Do not append to variable.
33048 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
33049 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
33050 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
33051 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
33052 include.
33053 [generic sys/param.h] (sys/param.h-includes): Remove variable.
33054 [generic sys/param.h] (sys/param.h-includes): Remove rule.
33055 [generic sys/param.h] ($(addprefix
33056 $(common-objpfx),$(sys/param.h-includes))): Likewise.
33057 [generic sys/param.h] (common-generated): Do not append to
33058 variable.
33059 [generic sys/param.h] (sysdep_headers): Likewise.
33060 [generic bits/errno.h] (before-compile): Do not append to
33061 variable.
33062 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
33063 rule.
33064 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
33065 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
33066 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
33067 [generic bits/errno.h] (common-generated): Do not append to
33068 variable.
33069 [generic bits/ioctls.h] (before-compile): Do not append to
33070 variable.
33071 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
33072 rule.
33073 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
33074 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
33075 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
33076 rule.
33077 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
33078 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
33079 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
33080 [generic bits/ioctls.h] (common-generated): Do not append to
33081 variable.
33082 [generic sys/syscall.h] (syscall.h): Remove variable.
33083 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
33084 rule.
33085 [generic sys/syscall.h] (before-compile): Do not append to
33086 variable.
33087 [generic sys/syscall.h] (common-generated): Likewise.
33088 * sysdeps/unix/errnos-tmpl.c: Remove file.
33089 * sysdeps/unix/errnos.awk: Likewise.
33090 * sysdeps/unix/ioctls-tmpl.c: Likewise.
33091 * sysdeps/unix/ioctls.awk: Likewise.
33092 * sysdeps/unix/mk-local_lim.c: Likewise.
33093 * sysdeps/unix/snarf-ioctls: Likewise.
33094
33095 2012-03-19 Richard Henderson <rth@twiddle.net>
33096
33097 * sysdeps/i386/fpu/fenv_private.h: New file.
33098 * sysdeps/i386/fpu/math_private.h: Use it.
33099 (math_opt_barrier, math_force_eval): Remove.
33100 (libc_feholdexcept_setround_53bit): Remove.
33101 (libc_feupdateenv_53bit): Remove.
33102 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33103 (math_opt_barrier, math_force_eval): Remove.
33104 (libc_feholdexcept): Remove.
33105 (libc_feholdexcept_setround): Remove.
33106 (libc_fetestexcept, libc_fesetenv): Remove.
33107 (libc_feupdateenv_test): Remove.
33108 (libc_feupdateenv, libc_feholdsetround): Remove.
33109 (libc_feresetround): Remove.
33110
33111 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
33112 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33113
33114 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
33115 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
33116 (libc_feupdateenv_testl): New.
33117 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
33118 (libc_feupdateenv_testf): New.
33119 (libc_feupdateenv): Use libc_feupdateenv_test.
33120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
33121 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
33122
33123 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
33124 (libc_feholdsetroundf, libc_feholdsetroundl): New.
33125 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
33126 (libc_feresetround_noex): New.
33127 (libc_feresetround_noexf): New.
33128 (libc_feresetround_noexl): New.
33129 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
33130 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
33131 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
33132 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
33133 SET_RESTORE_ROUND.
33134 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33135 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
33136 (__cos): Likewise.
33137 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
33138 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
33139 SET_RESTORE_ROUND_NOEX.
33140 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
33141 SET_RESTORE_ROUND_NOEXF.
33142 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
33143 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
33144 (libc_feholdsetroundf): New.
33145 (libc_feresetround, libc_feresetroundf): New.
33146
33147 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
33148 (libc_feholdexcept_setround_53bit): Convert from macro to function.
33149 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
33150
33151 * sysdeps/generic/math_private.h: Include <fenv.h>.
33152 (default_libc_feholdexcept): New.
33153 (default_libc_feholdexcept_setround): New.
33154 (default_libc_fesetenv, default_libc_feupdateenv): New.
33155 (libc_feholdexcept): Only define if undefined.
33156 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
33157 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
33158 (libc_feholdexcept_setroundl): Likewise.
33159 (libc_feholdexcept_setround_53bit): Likewise.
33160 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
33161 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
33162 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
33163 (libc_feupdateenv_53bit): Likewise.
33164 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
33165 (libc_feholdexcept): Convert from macro to inline function.
33166 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
33167 (libc_fesetenv, libc_feupdateenv): Likewise.
33168
33169 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
33170 not previously defined.
33171 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
33172 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
33173 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
33174 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
33175 * sysdeps/ieee754/flt-32/math_private.h: New file.
33176 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
33177 math_private.h below SET_FLOAT_WORD.
33178 (__isnan, __isinf_ns, __finite): Remove.
33179 (__isnanf, __isinf_nsf, __finitef): Remove.
33180
33181 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
33182
33183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33184
33185 2012-03-17 David S. Miller <davem@davemloft.net>
33186
33187 [BZ #6471]
33188 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
33189 for 2.16.
33190
33191 2012-03-16 David S. Miller <davem@davemloft.net>
33192
33193 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
33194 warnings.
33195
33196 [BZ #6471]
33197 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
33198 properly.
33199 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
33200 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
33201 sysdep_routines when subdir is sysvipc.
33202 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
33203 __getshmlba helper.
33204
33205 * sysdeps/sparc/fpu/libm-test/ulps: Update.
33206
33207 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33208
33209 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
33210 [__LP64__].
33211
33212 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33213
33214 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
33215 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
33216 (__lround): Renamed to ...
33217 (__llround): This. Replace long int with long long int.
33218 Define lround functions as aliases of llround functions.
33219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
33220
33221 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33222
33223 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
33224 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
33225 adresses to uintptr_t. Replace "long int" and "unsigned long
33226 int" with "greg_t" on va_arg.
33227
33228 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33229
33230 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
33231 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
33232
33233 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
33234 Move e_machine check before EI_CLASS check. Handle x32
33235 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
33236 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
33237 SKIP_EM_IA_64 and include
33238 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
33239
33240 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
33241 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
33242 (add_system_dir): New macro.
33243
33244 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
33245 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
33246
33247 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33248
33249 [BZ #2551]
33250 [BZ #2552]
33251 [BZ #2553]
33252 [BZ #2554]
33253 [BZ #2562]
33254 [BZ #2563]
33255 [BZ #2565]
33256 [BZ #2566]
33257 [BZ #2576]
33258 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33259 (y0): Likewise.
33260 * math/w_j0f.c (j0f): Likewise.
33261 (y0f): Likewise.
33262 * math/w_j0l.c (__j0l): Likewise.
33263 (__y0l): Likewise.
33264 * math/w_j1.c (j1): Likewise.
33265 (y1): Likewise.
33266 * math/w_j1f.c (j1f): Likewise.
33267 (y1f): Likewise.
33268 * math/w_j1l.c (__j1l): Likewise.
33269 (__y1l): Likewise.
33270 * math/w_jn.c (jn): Likewise.
33271 (yn): Likewise.
33272 * math/w_jnf.c (jnf): Likewise.
33273 (ynf): Likewise.
33274 * math/w_jnl.c (__jnl): Likewise.
33275 (__ynl): Likewise.
33276 * math/libm-test.inc (j0_test): Add more tests.
33277 (j1_test): Likewise.
33278 (jn_test): Likewise. Add trailing semicolon to existing test.
33279 (y0_test): Likewise.
33280 (y1_test): Likewise.
33281 * sysdeps/i386/fpu/libm-test-ulps: Update.
33282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33283
33284 [BZ #13851]
33285 [BZ #13854]
33286 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33287 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33288 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33289 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33290 (__tanl): Set errno for infinite argument.
33291 * sysdeps/i386/fpu/mptan.c: Remove.
33292 * sysdeps/i386/fpu/s_tan.S: Likewise.
33293 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33294 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33295 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33296 * math/libm-test.inc (tan_test): Add more tests and enable more
33297 tests for double and long double.
33298 * sysdeps/i386/fpu/libm-test-ulps: Update.
33299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33300
33301 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33302
33303 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33304 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33305
33306 2012-03-16 Roland McGrath <roland@hack.frob.com>
33307
33308 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33309 * configure.in: Use it for both main tree and add-ons.
33310 * configure: Regenerated.
33311
33312 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33313
33314 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33315
33316 2012-03-16 Joseph Myers <joseph@codesourcery.com>
33317
33318 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33319 in comment.
33320
33321 [BZ #13851]
33322 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33323 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33324 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33325 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33326 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33327 infinite argument.
33328 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33329 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33330 != 0 for prec == 2.
33331 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33332 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33333 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33334 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33335 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33336 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33337 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33338 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33339 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33340 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33341 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33342 * math/libm-test.inc (cos_test): Add more tests and enable more
33343 tests for long double.
33344 (sin_test): Likewise.
33345 (sincos_test): Likewise.
33346 * sysdeps/i386/fpu/libm-test-ulps: Update.
33347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33348
33349 2012-03-16 David S. Miller <davem@davemloft.net>
33350
33351 * sysdeps/sparc/fpu/math_private.h: New file.
33352
33353 2012-03-15 David S. Miller <davem@davemloft.net>
33354
33355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33356 file.
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
33358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33359 file.
33360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33365 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33366 sysdep routines.
33367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33368
33369 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33370 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33371
33372 * sysdeps/sparc/sparc-ifunc.h: New file.
33373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33374 sparc-ifunc.h
33375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33377 Likewise.
33378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33379 Likewise.
33380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33384 Likewise.
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
33389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33390 Likewise.
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33392 Likewise.
33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33401 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33403 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33404 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33405 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33407 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33408 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33409 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33410 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33411 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33412 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33413 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33414 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33415 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33416 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33417
33418 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33419
33420 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33421 scaling.
33422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33423
33424 2012-03-15 Andreas Jaeger <aj@suse.de>
33425
33426 [BZ #13852]
33427 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33428 ieee754/flt-32 implementation for sin, cos and sincos.
33429 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33430 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33431 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33432 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33433 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33434 ieee754/flt-32 implementation for tan.
33435
33436 * math/libm-test.inc (cos_test): Enable some large input tests for
33437 float as well
33438 (sin_test): Likewise.
33439 (sincos_test): Likewise.
33440 (tan_test): Add tests for large input.
33441
33442 * sysdeps/i386/fpu/libm-test-ulps: Update.
33443
33444 2012-03-15 Andreas Jaeger <aj@suse.de>
33445
33446 [BZ #13658]
33447 * math/libm-test.inc (cos_test): Add more test cases.
33448 (sin_test): Likewise.
33449 (sincos_test): Likewise.
33450
33451 2012-03-15 Andreas Jaeger <aj@suse.de>
33452
33453 [BZ #13837]
33454 * math/libm-test.inc (cos_test): Add a test case for large input
33455 value.
33456 (sin_test): Likewise.
33457 (sincos_test): Likewise.
33458
33459 2012-03-15 Andreas Jaeger <aj@suse.de>
33460 Joseph Myers <joseph@codesourcery.com>
33461
33462 [BZ #13658]
33463 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
33464 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33465 * sysdeps/i386/fpu/branred.c: Likewise.
33466 * sysdeps/i386/fpu/dosincos.c: Likewise.
33467 * sysdeps/i386/fpu/mpa.c: Likewise.
33468 * sysdeps/i386/fpu/s_cos.S: Likewise.
33469 * sysdeps/i386/fpu/s_sin.S: Likewise.
33470 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33471 * sysdeps/i386/fpu/sincos32.c: Likewise.
33472
33473 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33474 Define.
33475 (libc_feupdateenv_53bit): Define.
33476 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33477 Define.
33478 (libc_feupdateenv_53bit): Define.
33479
33480 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33481 53 bit (without extend i386 double precision).
33482
33483 * math/libm-test.inc (sincos_test): Add tests for large input.
33484 (sin): Likewise.
33485 (cos): Likewise.
33486
33487 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33488
33489 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33490
33491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33492
33493 2012-03-15 David S. Miller <davem@davemloft.net>
33494
33495 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33496 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33497 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33498 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33504 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
33510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33511 file.
33512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33514 file.
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33517 file.
33518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
33519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33520 file.
33521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33522 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33523 fmin/fmax sysdep routines.
33524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33525
33526 2012-03-14 David S. Miller <davem@davemloft.net>
33527
33528 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33533 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33534 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33536 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33542 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33543 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33544 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33548 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33549 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33550 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33551 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33552 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33553 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33554 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33555 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
33556 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33557 routines.
33558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33559 file.
33560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
33561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33562 file.
33563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
33564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33565 file.
33566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
33567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33568 file.
33569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
33570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33571 file.
33572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
33573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33574 file.
33575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33576 file.
33577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33578 file.
33579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33580 file.
33581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33582 New file.
33583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33584 file.
33585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33586 file.
33587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
33588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33589 file.
33590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
33591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33592 file.
33593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
33594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33595 file.
33596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
33597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33598 VIS3 routines.
33599
33600 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33601 New file.
33602
33603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33604
33605 * sysdeps/sparc/configure.in: New file.
33606 * sysdeps/sparc/configure: Generate.
33607 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33608 * configure: Regenerate.
33609 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33610 * config.make.in (have-as-vis3): New.
33611 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33612 available use -Av9d instead of -Av9a.
33613 * sysdeps/sparc/sparc64/Makefile: Likewise.
33614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
33615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33616 New file.
33617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33618 file.
33619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33620 New file.
33621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33622 file.
33623 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33624 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33625 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33627 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33628
33629 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33630 fzeros/fnegs to load 0x80000000 into a float register instead of
33631 using the stack.
33632 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33633
33634 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33635
33636 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33637 bits/syscall.h.
33638 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33639 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33640 ($(inst_includedir)/bits/syscall.h): Remove rule.
33641 ($(objpfx)bits/syscall.d): Include instead of
33642 $(objpfx)syscall-list.d.
33643 (generated): Change syscall-list.h and syscall-list.d to
33644 bits/syscall.h and bits/syscall.d.
33645
33646 2012-03-14 Roland McGrath <roland@hack.frob.com>
33647
33648 [BZ #13846]
33649 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33650
33651 2012-03-14 Joseph Myers <joseph@codesourcery.com>
33652
33653 [BZ #13841]
33654 * math/s_csqrt.c: Include <float.h>.
33655 (__csqrt): Scale large or subnormal inputs.
33656 * math/s_csqrtf.c: Likewise.
33657 * math/s_csqrtl.c: Likewise.
33658 * math/libm-test.inc (csqrt_test): Add more tests.
33659 * sysdeps/i386/fpu/libm-test-ulps: Update.
33660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33661
33662 [BZ #13840]
33663 * math/libm-test.inc (hypot_test): Add more tests.
33664
33665 2012-03-13 David S. Miller <davem@davemloft.net>
33666
33667 [BZ #13840]
33668 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33669 double-precision for the calculation instead of scaling.
33670
33671 2012-03-13 Joseph Myers <joseph@codesourcery.com>
33672
33673 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33674 manipulate bits before adding and subtracting TWO52[sx].
33675 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33676 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33677 Likewise.
33678 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33679
33680 2012-03-13 David S. Miller <davem@davemloft.net>
33681
33682 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33683 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33684 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33685 rtld-global-offsets.h
33686 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33687
33688 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33689 large parameters.
33690
33691 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33692
33693 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33694 'err' in the ifdef scope in which it is actually used.
33695
33696 * nss/nss_db/db-init.c: Include string.h
33697
33698 2012-03-12 David S. Miller <davem@davemloft.net>
33699
33700 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33701 masking out of the most significant byte of random value used.
33702 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33703 Fix coding style in previous change.
33704
33705 * sysdeps/unix/sysv/linux/kernel-features.h
33706 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33707 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33708 expression.
33709 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33710 later.
33711
33712 2012-03-11 David S. Miller <davem@davemloft.net>
33713
33714 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33715 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33716 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33717 for 'resultvar' otherwise things get truncated on 64-bit.
33718
33719 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33720 Fix masking out of the most significant byte of random value used.
33721
33722 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33723
33724 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33725
33726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33727
33728 2012-03-09 David S. Miller <davem@davemloft.net>
33729
33730 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33731 variables with appropriate CPP guards.
33732 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
33733 from the frame pointer, not the stack pointer. Correct layout
33734 comments. Fix test on resulting framesize and the management of
33735 the outregs buffer for pltexit. Preserve floating point return
33736 values across _dl_call_pltexit call.
33737 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33738 framesize and the management of the outregs buffer for pltexit.
33739 Preserve floating point return values across _dl_call_pltexit
33740 call.
33741 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
33742 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
33743 (la_sparc64_gnu_pltexit): New functions.
33744 (print_exit): Fix format string for return register value.
33745
33746 2012-03-10 Joseph Myers <joseph@codesourcery.com>
33747
33748 * sunrpc/Makefile (others): Add rpcgen.
33749 ($(objpfx)rpcgen): Remove special build rule and dependency on
33750 libc.
33751 * sunrpc/rpcgen.c: New file.
33752
33753 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33754
33755 [BZ #13673]
33756 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33757 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33758 * sysdeps/i386/crti.S: Likewise.
33759 * sysdeps/i386/crtn.S: Likewise.
33760 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33761 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33762 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33763 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33764 * sysdeps/sh/crti.S: Likewise.
33765 * sysdeps/sh/crtn.S: Likewise.
33766 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33767
33768 [BZ #13673]
33769 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33770 with URL.
33771 * locale/programs/locfile-kw.gperf: Likewise.
33772 * locale/programs/charmap-kw.h: Regenerated.
33773 * locale/programs/locfile-kw.h: Likewise.
33774
33775 [BZ #13673]
33776 * intl/plural.y: Replace FSF snail mail address with URL.
33777 * intl/plural.c: Regenerated.
33778
33779 2012-03-09 Richard Henderson <rth@twiddle.net>
33780
33781 * include/math_private.h: Remove file.
33782 * math/math_private.h: Move file ...
33783 * sysdeps/generic/math_private.h: ... here.
33784
33785 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33786 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33787 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33788
33789 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33790 and <math_private.h>.
33791 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33792 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33793 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33794 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33795 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33796 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33797 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33798 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33799 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33800 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33801 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33802 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33803 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33805 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33806 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33807 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33808 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33809 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33810 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33811 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33812 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33813 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33815 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33816 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33817 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33818 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33819 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33820 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33821 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33822 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33823 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33824 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33825 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33826 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33827 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33828 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33829 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33830 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33831 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33832 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33833 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33834 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33835 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33836 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33837 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33838 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33839 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33840 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33841 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33842 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33843 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33844 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33845 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33846 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33847 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33848 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33849 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33850 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33852 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33854 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33855 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33856 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33857 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33858 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33859 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33860 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33861 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33862 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33863 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33864 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33865 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33866 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33868 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33869 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33870 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33871 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33872 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33873 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33874 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33875 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33878 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33879 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33880 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33881 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33882 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33883 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33884 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33885 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33886 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33887 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33888 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33889 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33890 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33891 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33892 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33893 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33894 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33895 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33896 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33897 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33898 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33899 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33900 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33901 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33902 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33903 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33904 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33905 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33906 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33907 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33908 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33909 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33910 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33911 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33912 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33913 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33914 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33915 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33916 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33917 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33918 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33919 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33920 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33921 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33922 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33923 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33924 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33925 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33926 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33927 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33928 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33929 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33930 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33931 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33932 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33933 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33934 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33935 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33936 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33937 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33938 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33939 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33940 * sysdeps/ieee754/k_standard.c: Likewise.
33941 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33942 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33943 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33944 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33945 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33946 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33947 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33948 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33949 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33950 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33951 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33952 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33953 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33954 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33955 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33956 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33957 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33958 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33959 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33960 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33961 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33962 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33963 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33964 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33965 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33966 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33967 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33968 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33970 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33971 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33972 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33973 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33974 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33975 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33976 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33977 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33978 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33979 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33980 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33981 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33982 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33983 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33984 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33985 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33986 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33987 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33989 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33990 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33991 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33992 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33993 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33994 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33995 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33996 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33997 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33998 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33999 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34000 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34001 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34002 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34003 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34004 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
34005 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34006 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34007 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
34008 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
34009 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
34010 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
34011 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
34012 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34013 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
34014 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
34015 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
34016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
34017 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
34018 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
34019 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34020 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34021 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34022 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34023 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34024 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34025 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
34026 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34027 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34028 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
34029 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
34030 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34031 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
34032 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34033 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
34034 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34035 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34036 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34037 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
34038 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
34039 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
34040 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
34041 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34042 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34043 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34044 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34045 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
34046 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34047 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34048 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
34049 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
34050 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34051 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34052 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34053 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
34054 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34055 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
34056 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34057 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
34058 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34059 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34060 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
34061 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
34062 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
34063 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
34064 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
34065 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34066 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
34067 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34068 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34069 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34070 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34071 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34072 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34073 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34074 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
34075 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34076 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34077 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
34078 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
34079 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34080 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
34081 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
34082 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34083 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
34084 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
34085 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34086 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34087 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34088 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34089 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34090 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
34091 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34092 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34093 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34094 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34095 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
34096 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
34097 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34098 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34099 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34100 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
34101 * sysdeps/ieee754/s_lib_version.c: Likewise.
34102 * sysdeps/ieee754/s_matherr.c: Likewise.
34103 * sysdeps/ieee754/s_signgam.c: Likewise.
34104 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
34105 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
34106 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
34107 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
34108 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
34109 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
34110 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
34111 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
34112 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
34113 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
34114 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34115 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
34116 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34117 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34118 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
34119 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34120 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34121 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34122 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34123 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34124 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34125
34126 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34127
34128 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
34129 * sunrpc/rpc_main.c: Likewise.
34130 * sunrpc/rpc_svcout.c: Likewise.
34131
34132 2012-03-09 David S. Miller <davem@davemloft.net>
34133
34134 * include/math_private.h: New file.
34135
34136 2012-03-09 Joseph Myers <joseph@codesourcery.com>
34137
34138 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
34139 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
34140 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
34141 from <bits/socket_type.h>.
34142 (enum __socket_type): Don't define here.
34143 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
34144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34145 bits/socket_type.h.
34146
34147 [BZ #13566]
34148 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
34149 checking __USE_GNU.
34150
34151 * Makerules ($(inst_includedir)/%.h): New rule.
34152 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
34153 (install-others): Remove variable setting.
34154 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
34155
34156 2012-03-08 Richard Henderson <rth@twiddle.net>
34157
34158 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
34159 from macro to inline function; merge with the
34160 !__LIBC_INTERNAL_MATH_INLINES version.
34161 (__ieee754_sqrtf): Likewise.
34162
34163 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
34164 to inline function.
34165 (__rintf, __floor, __floorf): Likewise.
34166
34167 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
34168 macro to inline function.
34169 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
34170
34171 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
34172 not <math/math_private.h>.
34173
34174 2012-03-08 David S. Miller <davem@davemloft.net>
34175
34176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
34177 copyright year.
34178 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
34179
34180 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
34181
34182 * resolv/gai_misc.c (handle_requests): Fix struct timespec
34183 normalization.
34184 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
34185 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
34186
34187 2012-03-08 Ulrich Drepper <drepper@gmail.com>
34188
34189 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
34190 be defined individually, they must be defined as a block. Define
34191 S for printing a string instead of hidint the different by using a
34192 macro for adding the 'l'.
34193 * stdio-common/tst-fphex-wide.c: Adjust.
34194
34195 2012-03-07 Marek Polacek <polacek@redhat.com>
34196
34197 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
34198
34199 2012-03-08 Marek Polacek <polacek@redhat.com>
34200
34201 [BZ #13806]
34202 * stdio-common/Makefile (tests): Add tst-fphex-wide.
34203 * stdio-common/tst-fphex.c: Define a few macros to make the
34204 test reusable. Use them.
34205 * stdio-common/tst-fphex-wide.c: New file.
34206
34207 2012-03-08 Joseph Myers <joseph@codesourcery.com>
34208
34209 [BZ #6911]
34210 * manual/macros.texi (gnusystems): New macro.
34211 (nongnusystems): Likewise.
34212 (gnulinuxhurdsystems): Likewise.
34213 (gnuhurdsystems): Likewise..
34214 (gnulinuxsystems): Likewise.
34215 * manual/charset.texi: Use new macros or @theglibc{} to refer to
34216 variants of the GNU system, not "GNU system".
34217 * manual/conf.texi: Likewise.
34218 * manual/errno.texi: Likewise. Update example of errno macro
34219 expansion.
34220 * manual/filesys.texi: Likewise.
34221 (getumask): Document as specific to GNU/Hurd.
34222 * manual/install.texi: Likewise. Reword some references to
34223 GNU/Linux.
34224 * manual/intro.texi: Likewise.
34225 * manual/io.texi: Likewise.
34226 (File Name Portability): Detail which constraints are inapplicable
34227 to all GNU systems and which are only inapplicable to GNU/Hurd.
34228 * manual/job.texi: Likewise.
34229 * manual/llio.texi: Likewise.
34230 (O_NOCTTY): Document as present on GNU/Linux.
34231 * manual/maint.texi: Likewise.
34232 * manual/memory.texi: Likewise.
34233 * manual/pattern.texi: Likewise.
34234 * manual/pipe.texi: Likewise.
34235 * manual/process.texi: Likewise.
34236 * manual/resource.texi: Likewise.
34237 (RUSAGE_CHILDREN): Remove statement about specifying a particular
34238 child on GNU/Hurd.
34239 * manual/setjmp.texi: Likewise.
34240 * manual/signal.texi: Likewise.
34241 * manual/startup.texi: Likewise.
34242 * manual/stdio.texi: Likewise.
34243 * manual/terminal.texi: Likewise.
34244 (ONLCR): Document as POSIX.
34245 (OXTABS): Document availability on GNU/Linux as XTABS.
34246 (ONOEOT): Document availability separately from other bits.
34247 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
34248 * manual/time.texi: Likewise.
34249 * manual/users.texi: Likewise.
34250 * INSTALL: Regenerated.
34251 * sysdeps/gnu/errlist.c: Regenerated.
34252
34253 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
34254 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
34255 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
34256 puts.
34257 * configure: Regenerated.
34258
34259 2012-03-07 Joseph Myers <joseph@codesourcery.com>
34260
34261 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34262 default includes instead of AC_HEADER_CHECK.
34263 * sysdeps/i386/configure: Regenerated.
34264
34265 [BZ #10716]
34266 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34267 * math/s_cacoshf.c (__cacoshf): Likewise.
34268 * math/s_cacoshl.c (__cacoshl): Likewise.
34269 * math/s_casinh.c (__casinh): Set signs of result from argument.
34270 * math/s_casinhf.c (__casinhf): Likewise.
34271 * math/s_casinhl.c (__casinhl): Likewise.
34272 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34273 (casinh_test): Add more tests.
34274 * sysdeps/i386/fpu/libm-test-ulps: Update.
34275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34276
34277 2012-03-07 Ulrich Drepper <drepper@gmail.com>
34278
34279 * po/zh_TW.po: Update from translation team.
34280
34281 * login/Makefile (distribute): Remove variable.
34282 * catgets/Makefile: Likewise.
34283 * mach/Makefile: Likewise.
34284 * malloc/Makefile: Likewise.
34285 * misc/Makefile: Likewise.
34286 * iconv/Makefile: Likewise.
34287 * nscd/Makefile: Likewise.
34288 * hurd/Makefile: Likewise.
34289 * manual/Makefile: Likewise.
34290 * locale/Makefile: Likewise.
34291 * intl/Makefile: Likewise.
34292 * conform/Makefile: Likewise.
34293 * nss/Makefile: Likewise.
34294 * time/Makefile: Likewise.
34295 * soft-fp/Makefile: Likewise.
34296 * dirent/Makefile: Likewise.
34297 * gmon/Makefile: Likewise.
34298 * po/Makefile: Likewise.
34299 * rt/Makefile: Likewise.
34300 * socket/Makefile: Likewise.
34301 * math/Makefile: Likewise.
34302 * signal/Makefile: Likewise.
34303 * debug/Makefile: Likewise.
34304 * elf/Makefile: Likewise.
34305 * timezone/Makefile: Likewise.
34306 * stdlib/Makefile: Likewise.
34307 * iconvdata/Makefile: Likewise.
34308 * sunrpc/Makefile: Likewise.
34309 * io/Makefile: Likewise.
34310 * argp/Makefile: Likewise.
34311 * inet/Makefile: Likewise.
34312 * hesiod/Makefile: Likewise.
34313 * grp/Makefile: Likewise.
34314 * csu/Makefile: Likewise.
34315 * wctype/Makefile: Likewise.
34316 * crypt/Makefile: Likewise.
34317 * libio/Makefile: Likewise.
34318 * string/Makefile: Likewise.
34319 * nis/Makefile: Likewise.
34320 * resolv/Makefile: Likewise.
34321 * stdio-common/Makefile: Likewise.
34322 * wcsmbs/Makefile: Likewise.
34323 * dlfcn/Makefile: Likewise.
34324 * posix/Makefile: Likewise.
34325
34326 [BZ #6959]
34327 * timezone/Makefile: Don't install timezone files, just the programs
34328 and scripts.
34329
34330 2012-03-06 Ulrich Drepper <drepper@gmail.com>
34331
34332 * nss/databases.def: Add missing gshadow entry.
34333
34334 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34335
34336 2012-03-06 Marek Polacek <polacek@redhat.com>
34337
34338 [BZ #13726]
34339 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34340 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34341 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34342 * stdio-common/tst-long-dbl-fphex.c: New file.
34343
34344 2012-03-06 David S. Miller <davem@davemloft.net>
34345
34346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34347 (set_obp_int): New function.
34348 (get_obp_int): New function.
34349 (__get_clockfreq_via_dev_openprom): Likewise.
34350 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34351 Avoid unused variable warnings on 'val' and use builtin_expect.
34352 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34353 __builtin_expect.
34354 (INLINE_CLONE_SYSCALL): Likewise.
34355
34356 2012-03-05 David S. Miller <davem@davemloft.net>
34357
34358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34359
34360 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34361
34362 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34363
34364 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34365 only for |x| >= 40.
34366 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34367
34368 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
34369
34370 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34371 Replace gettimeofday with __vdso_gettimeofday.
34372
34373 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34374 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34375 __vdso_clock_gettime and __vdso_getcpu.
34376
34377 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34378 time with __vdso_time.
34379
34380 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34381
34382 * manual/lang.texi (size_t): Note types to which size_t may be
34383 equivalent with the GNU C Library, but do not describe when
34384 differences between them are significant.
34385
34386 2012-03-05 Andreas Jaeger <aj@suse.de>
34387
34388 * sysdeps/i386/fpu/libm-test-ulps: Update.
34389
34390 2012-03-05 Joseph Myers <joseph@codesourcery.com>
34391
34392 [BZ #3976]
34393 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34394 (__ieee754_pow): Save and restore rounding mode and use
34395 round-to-nearest for main computations.
34396 * math/libm-test.inc (pow_test_tonearest): New function.
34397 (pow_test_towardzero): Likewise.
34398 (pow_test_downward): Likewise.
34399 (pow_test_upward): Likewise.
34400 (main): Call the new functions.
34401 * sysdeps/i386/fpu/libm-test-ulps: Update.
34402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34403
34404 [BZ #3976]
34405 * math/libm-test.inc (cosh_test_tonearest): New function.
34406 (cosh_test_towardzero): Likewise.
34407 (cosh_test_downward): Likewise.
34408 (cosh_test_upward): Likewise.
34409 (sinh_test_tonearest): Likewise.
34410 (sinh_test_towardzero): Likewise.
34411 (sinh_test_downward): Likewise.
34412 (sinh_test_upward): Likewise.
34413 (main): Call the new functions.
34414 * sysdeps/i386/fpu/libm-test-ulps: Update.
34415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34416
34417 2012-03-05 Tom de Vries <tom@codesourcery.com>
34418
34419 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34420 default stack guard is set in last bytes.
34421 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34422
34423 2012-03-05 Kees Cook <keescook@chromium.org>
34424
34425 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
34426
34427 [BZ #13656]
34428 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34429 possibly allocate from heap instead of stack.
34430 * stdio-common/bug-vfprintf-nargs.c: New file.
34431 * stdio-common/Makefile (tests): Add nargs overflow test.
34432
34433 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34434
34435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34436
34437 2012-03-03 Marek Polacek <polacek@redhat.com>
34438
34439 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34440 * math/math_private.h: Likewise.
34441 * stdlib/tst-strtod.c: Likewise.
34442 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34443 * sysdeps/x86_64/bits/atomic.h: Likewise.
34444
34445 2012-03-02 David S. Miller <davem@davemloft.net>
34446
34447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34451 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34452 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34453 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34454 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34455
34456 2012-03-02 Roland McGrath <roland@hack.frob.com>
34457
34458 [BZ #13792]
34459 * manual/examples/README: New file, says the example source files
34460 can be used under GPL>=2.
34461 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34462 line containing just "*/".
34463 * manual/examples/add.c: Add copyright header (GPL>=2).
34464 * manual/examples/argp-ex1.c: Likewise.
34465 * manual/examples/argp-ex2.c: Likewise.
34466 * manual/examples/argp-ex3.c: Likewise.
34467 * manual/examples/argp-ex4.c: Likewise.
34468 * manual/examples/atexit.c: Likewise.
34469 * manual/examples/db.c: Likewise.
34470 * manual/examples/dir.c: Likewise.
34471 * manual/examples/dir2.c: Likewise.
34472 * manual/examples/execinfo.c: Likewise.
34473 * manual/examples/filecli.c: Likewise.
34474 * manual/examples/filesrv.c: Likewise.
34475 * manual/examples/fmtmsgexpl.c: Likewise.
34476 * manual/examples/genpass.c: Likewise.
34477 * manual/examples/inetcli.c: Likewise.
34478 * manual/examples/inetsrv.c: Likewise.
34479 * manual/examples/isockad.c: Likewise.
34480 * manual/examples/longopt.c: Likewise.
34481 * manual/examples/memopen.c: Likewise.
34482 * manual/examples/memstrm.c: Likewise.
34483 * manual/examples/mkfsock.c: Likewise.
34484 * manual/examples/mkisock.c: Likewise.
34485 * manual/examples/mygetpass.c: Likewise.
34486 * manual/examples/pipe.c: Likewise.
34487 * manual/examples/popen.c: Likewise.
34488 * manual/examples/rprintf.c: Likewise.
34489 * manual/examples/search.c: Likewise.
34490 * manual/examples/select.c: Likewise.
34491 * manual/examples/setjmp.c: Likewise.
34492 * manual/examples/sigh1.c: Likewise.
34493 * manual/examples/sigusr.c: Likewise.
34494 * manual/examples/stpcpy.c: Likewise.
34495 * manual/examples/strdupa.c: Likewise.
34496 * manual/examples/strftim.c: Likewise.
34497 * manual/examples/strncat.c: Likewise.
34498 * manual/examples/subopt.c: Likewise.
34499 * manual/examples/swapcontext.c: Likewise.
34500 * manual/examples/termios.c: Likewise.
34501 * manual/examples/testopt.c: Likewise.
34502 * manual/examples/testpass.c: Likewise.
34503 * manual/examples/timeval_subtract.c: Likewise.
34504
34505 [BZ #13792]
34506 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34507 function to ...
34508 * manual/timeval_subtract.c.texi: ... here, new file.
34509
34510 2012-03-02 David S. Miller <davem@davemloft.net>
34511
34512 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34513
34514 2012-03-02 Joseph Myers <joseph@codesourcery.com>
34515
34516 [BZ #3976]
34517 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34518 (__sin): Save and restore rounding mode and use round-to-nearest
34519 for all computations.
34520 (__cos): Save and restore rounding mode and use round-to-nearest
34521 for all computations.
34522 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34523 <fenv.h>.
34524 (tan): Save and restore rounding mode and use round-to-nearest for
34525 all computations.
34526 * math/libm-test.inc (cos_test_tonearest): New function.
34527 (cos_test_towardzero): Likewise.
34528 (cos_test_downward): Likewise.
34529 (cos_test_upward): Likewise.
34530 (sin_test_tonearest): Likewise.
34531 (sin_test_towardzero): Likewise.
34532 (sin_test_downward): Likewise.
34533 (sin_test_upward): Likewise.
34534 (tan_test_tonearest): Likewise.
34535 (tan_test_towardzero): Likewise.
34536 (tan_test_downward): Likewise.
34537 (tan_test_upward): Likewise.
34538 (main): Call the new functions.
34539 * sysdeps/i386/fpu/libm-test-ulps: Update.
34540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34541
34542 [BZ #10135]
34543 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34544 small n, then large n, before computing and testing k+n.
34545 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34547 Likewise.
34548 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34549 Likewise.
34550 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34551 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34552 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34553 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34554 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34555 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34556 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34557 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34558 * math/libm-test.inc (scalbn_test): Add more tests.
34559 (scalbln_test): Likewise.
34560
34561 * manual/filesys.texi (mode_t): Describe constraints on size and
34562 signedness, not exact equivalence to a particular type.
34563 (ino_t): Likewise.
34564 (ino64_t): Likewise.
34565 (dev_t): Likewise.
34566 (nlink_t): Likewise.
34567 (blkcnt_t): Likewise.
34568 (blkcnt64_t): Likewise.
34569 * manual/llio.texi (off_t): Likewise.
34570
34571 [BZ #3976]
34572 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34573 (__ieee754_exp): Save and restore rounding mode and use
34574 round-to-nearest for all computations.
34575 * math/libm-test.inc (exp_test_tonearest): New function.
34576 (exp_test_towardzero): Likewise.
34577 (exp_test_downward): Likewise.
34578 (exp_test_upward): Likewise.
34579 (main): Call the new functions.
34580 * sysdeps/i386/fpu/libm-test-ulps: Update.
34581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34582
34583 2012-03-01 Chris Demetriou <cgd@google.com>
34584
34585 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34586 have predictable order.
34587
34588 2012-03-01 David S. Miller <davem@davemloft.net>
34589
34590 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34591
34592 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34593 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34594 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34595 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34596
34597 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34598 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34599 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34601 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34602 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34603 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34604 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34605 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34606
34607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34608
34609 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34610 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34611 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34612
34613 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34614 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34615 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34616 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34617 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34618 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34619 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34620 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34621 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34622 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34623 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34624 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34625 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34626 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34627 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34628 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34629 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34630 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34631 * sysdeps/sparc/elf/configure: Regenerated.
34632
34633 2012-03-01 Joseph Myers <joseph@codesourcery.com>
34634
34635 * configure.in (AS, LD): Require binutils 2.20 or later.
34636 * configure: Regenerated.
34637 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34638 as required minimum version.
34639 * INSTALL: Regenerated.
34640
34641 [BZ #2541]
34642 [BZ #4108]
34643 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34644 before squaring exponent.
34645 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34646 bottom long double and 27 bits of top long double before squaring
34647 exponent.
34648 * math/libm-test.inc (erfc_test): Add more tests.
34649 * sysdeps/i386/fpu/libm-test-ulps: Update.
34650 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34652
34653 2012-03-01 Kai Tietz <ktietz@redhat.com>
34654
34655 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34656 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34657 containing bit-fields.
34658 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34659 * soft-fp/single.h (_FP_UNION_S): Likewise.
34660 * soft-fp/double.h (_FP_UNION_D): Likewise.
34661
34662 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34663
34664 [BZ #13786]
34665 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34666 not include ../strcmp.S.
34667 [USE_AS_STRNCASECMP_L]: Likewise.
34668 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34669 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34670 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34671 (__strncasecmp_l_ia32): Define as alias to
34672 __strncasecmp_l_nonascii.
34673
34674 [BZ #5794]
34675 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34676 * sysdeps/i386/fpu/libm-test-ulps: Update.
34677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34678
34679 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34681
34682 2012-02-29 Jeff Law <law@redhat.com>
34683
34684 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34685 out of bounds read.
34686
34687 2012-02-29 Marek Polacek <polacek@redhat.com>
34688
34689 [BZ #13706]
34690 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34691 * elf/Makefile: Add rules to run tst-unused-dep.out.
34692
34693 2012-02-28 David S. Miller <davem@davemloft.net>
34694
34695 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34696 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34697 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34698 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34699 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34700 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34701
34702 2012-02-29 Joseph Myers <joseph@codesourcery.com>
34703
34704 * math/libm-test.inc (llround_test): Move one test from
34705 lround_test. Use TEST_f_L in moved test.
34706 (lround_test): Move misplaced test to llround_test. Add testcase
34707 from bug 2561.
34708
34709 2012-02-28 Ulrich Drepper <drepper@gmail.com>
34710
34711 * sysdeps/x86_64/fpu/e_expf.S: New file.
34712 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34713
34714 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34715
34716 [BZ #13637]
34717 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34718 of remain_len that may cause incomplete multi-byte character and
34719 false match.
34720 * posix/bug-regex33.c: New file.
34721 * posix/Makefile (tests): Add bug-regex33.
34722
34723 2012-02-28 Joseph Myers <joseph@codesourcery.com>
34724
34725 * manual/macros.texi: New file.
34726 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34727 * manual/libc.texinfo: Include macros.texi.
34728 * manual/creatute.texi: Likewise.
34729 * manual/install.texi: Likewise.
34730 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34731 @glibcadj{} in references to the GNU C Library.
34732 * manual/charset.texi: Likewise.
34733 * manual/conf.texi: Likewise.
34734 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34735 when not using those macros.
34736 * manual/creature.texi: Likewise.
34737 * manual/crypt.texi: Likewise.
34738 * manual/errno.texi: Likewise.
34739 * manual/filesys.texi: Likewise.
34740 * manual/header.texi: Likewise.
34741 * manual/install.texi: Likewise.
34742 * manual/intro.texi: Likewise.
34743 * manual/io.texi: Likewise.
34744 * manual/job.texi: Likewise.
34745 * manual/lang.texi: Likewise.
34746 * manual/libc.texiinfo: Likewise.
34747 * manual/llio.texi: Likewise.
34748 * manual/locale.texi: Likewise.
34749 * manual/maint.texi: Likewise.
34750 * manual/math.texi: Likewise.
34751 * manual/memory.texi: Likewise.
34752 * manual/message.texi: Likewise.
34753 * manual/nss.texi: Likewise.
34754 * manual/pattern.texi: Likewise.
34755 * manual/process.texi: Likewise.
34756 * manual/resource.texi: Likewise.
34757 * manual/search.texi: Likewise.
34758 * manual/setjmp.texi: Likewise.
34759 * manual/signal.texi: Likewise.
34760 * manual/socket.texi: Likewise.
34761 * manual/startup.texi: Likewise.
34762 * manual/stdio.texi: Likewise.
34763 * manual/string.texi: Likewise.
34764 * manual/sysinfo.texi: Likewise.
34765 * manual/syslog.texi: Likewise.
34766 * manual/terminal.texi: Likewise.
34767 * manual/time.texi: Likewise.
34768 * manual/users.texi: Likewise.
34769 * INSTALL: Regenerated.
34770 * NOTES: Regenerated.
34771 * sysdeps/gnu/errlist.c: Regenerated.
34772
34773 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34774
34775 * include/dirent.h: Include <dirstream.h> before
34776 <dirent/dirent.h>.
34777
34778 2012-02-28 David S. Miller <davem@davemloft.net>
34779
34780 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34781 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34782 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34783 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34784
34785 2012-02-27 David S. Miller <davem@davemloft.net>
34786
34787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34789 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34790 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34791
34792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34793 frame pointer instead of stack pointer relative arg slot.
34794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34795 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34796 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34797
34798 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34799
34800 [BZ #3992]
34801 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34802
34803 2012-02-27 David S. Miller <davem@davemloft.net>
34804
34805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34809 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34810 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34811 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34812 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34813
34814 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34815
34816 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34817 later. Allow versions 5-9.
34818 * configure: Regenerated.
34819 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34820 required minimum version and 4.6 as recommended version. Do not
34821 mention bugs in GCC 2.7 and 2.8.
34822 * INSTALL: Regenerated.
34823
34824 2012-02-27 David S. Miller <davem@davemloft.net>
34825
34826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34830 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34831 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34832 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34833 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34834
34835 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34836 manipulate bits before adding and subtracting TWO112[sx].
34837 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34838
34839 2012-02-27 Roland McGrath <roland@hack.frob.com>
34840
34841 [BZ #13775]
34842 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34843 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34844 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34845 being in POSIX, because they are in 1003.1-2008.
34846
34847 * rt/tst-aio.c: Include <fcntl.h>.
34848 * rt/tst-aio7.c: Likewise.
34849 * rt/tst-aio64.c: Likewise.
34850
34851 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34852
34853 2012-02-27 Joseph Myers <joseph@codesourcery.com>
34854
34855 * manual/install.texi (--with-headers): Describe headers as
34856 interface headers, not private headers.
34857 (Specific advice for GNU/Linux systems): Describe use of headers
34858 from "make headers_install", not private headers from older
34859 kernels.
34860 * INSTALL: Regenerated.
34861 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34862 Change to 2.6.19.
34863 * sysdeps/unix/sysv/linux/configure: Regenerated.
34864
34865 * manual/llio.texi (fclean): Remove documentation.
34866
34867 * manual/Makefile (libc-texi-generated): New variable. Include
34868 version.texi.
34869 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34870 $(libc-texi-generated), not duplicated list of files.
34871 (version.texi, stamp-version): New rules.
34872 (realclean): Remove $(libc-texi-generated), not individual files
34873 from that list. Do not remove dir-add.texinfo.
34874 * manual/libc.texinfo: Comment out uses of edition numbers and
34875 references to printed manual. Remove last-updated dates.
34876 (EDITION): Comment out.
34877 (ISBN): Likewise.
34878 (VERSION, UPDATED): Remove.
34879 (version.texi): Include.
34880
34881 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34882
34883 * sysdeps/posix/spawni.c: Include <signal.h>.
34884 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34885 * sysdeps/pthread/aio_fsync.c: Likewise.
34886
34887 2012-02-26 Ulrich Drepper <drepper@gmail.com>
34888
34889 * conform/Makefile (tests): Run only when not cross-compiling and
34890 when fast-check is not defined.
34891
34892 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34893 * conform/data/limits.h-data: Fixes for POSIX2008.
34894 * conform/run-conformtest.sh: Run all tests.
34895 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34896 headers.
34897 * include/bits/dlfcn.h: Likewise.
34898 * include/langinfo.h: Likewise.
34899 * include/monetary.h: Likewise.
34900 * include/sys/poll.h: Likewise.
34901
34902 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34903 for __USE_GNU.
34904 * posix/spawn.h: Define __need_sigset_t.
34905 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34906 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34907 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34908 to get sigevent_t only.
34909 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34910 only for __USE_GNU.
34911 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34912 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34913 process_vm_writev only for __USE_GNU.
34914 * termios/termios.h: Declare tcgetsid also for POSIX2008.
34915
34916 * conform/Makefile: For now ignore errors from run-conformtest.
34917 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34918 POSIX to avoid namespace pollution. Don't prepend headers.
34919 * conform/data/aio.h-data: Fixes for POSIX testing.
34920 * conform/data/fcntl.h-data: Likewise.
34921 * conform/data/glob.h-data: Likewise.
34922 * conform/data/grp.h-data: Likewise.
34923 * conform/data/pthread.h-data: Likewise.
34924 * conform/data/pwd.h-data: Likewise.
34925 * conform/data/signal.h-data: Likewise.
34926 * conform/data/spawn.h-data: Likewise.
34927 * conform/data/stdio.h-data: Likewise.
34928 * conform/data/stdlib.h-data: Likewise.
34929 * conform/data/stropts.h-data: Likewise.
34930 * conform/data/sys/mman.h-data: Likewise.
34931 * conform/data/sys/stat.h-data: Likewise.
34932 * conform/data/sys/types.h-data: Likewise.
34933 * conform/data/sys/wait.h-data: Likewise.
34934 * conform/data/time.h-data: Likewise.
34935 * conform/data/unistd.h-data: Likewise.
34936 * conform/data/utime.h-data: Likewise.
34937
34938 * io/sys/stat.h: fchmod was always in POSIX.
34939 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34940 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34941 * rt/aio.h: Define __need_timespec before including <time.h>.
34942 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34943 struct. Add forward declaration of pthread_attr_t and use it in
34944 sigevent.
34945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34947 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34948 always remove CLK_TCK definition.
34949
34950 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34951
34952 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34953
34954 2012-02-25 Ulrich Drepper <drepper@gmail.com>
34955
34956 * conform/run-conformtest.sh: New file.
34957 * conform/Makefile: Run run-conformtest for tests.
34958 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34959 support.
34960
34961 * conform/data/uchar.h-data: New file.
34962 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34963 * conform/data/arpa/inet.h-data: Likewise.
34964 * conform/data/assert.h-data: Likewise.
34965 * conform/data/complex.h-data: Likewise.
34966 * conform/data/cpio.h-data: Likewise.
34967 * conform/data/ctype.h-data: Likewise.
34968 * conform/data/dirent.h-data: Likewise.
34969 * conform/data/dlfcn.h-data: Likewise.
34970 * conform/data/errno.h-data: Likewise.
34971 * conform/data/fcntl.h-data: Likewise.
34972 * conform/data/float.h-data: Likewise.
34973 * conform/data/fmtmsg.h-data: Likewise.
34974 * conform/data/fnmatch.h-data: Likewise.
34975 * conform/data/ftw.h-data: Likewise.
34976 * conform/data/glob.h-data: Likewise.
34977 * conform/data/grp.h-data: Likewise.
34978 * conform/data/iconv.h-data: Likewise.
34979 * conform/data/inttypes.h-data: Likewise.
34980 * conform/data/langinfo.h-data: Likewise.
34981 * conform/data/libgen.h-data: Likewise.
34982 * conform/data/limits.h-data: Likewise.
34983 * conform/data/locale.h-data: Likewise.
34984 * conform/data/math.h-data: Likewise.
34985 * conform/data/monetary.h-data: Likewise.
34986 * conform/data/mqueue.h-data: Likewise.
34987 * conform/data/ndbm.h-data: Likewise.
34988 * conform/data/net/if.h-data: Likewise.
34989 * conform/data/netdb.h-data: Likewise.
34990 * conform/data/netinet/in.h-data: Likewise.
34991 * conform/data/nl_types.h-data: Likewise.
34992 * conform/data/poll.h-data: Likewise.
34993 * conform/data/pthread.h-data: Likewise.
34994 * conform/data/pwd.h-data: Likewise.
34995 * conform/data/regex.h-data: Likewise.
34996 * conform/data/sched.h-data: Likewise.
34997 * conform/data/search.h-data: Likewise.
34998 * conform/data/semaphore.h-data: Likewise.
34999 * conform/data/setjmp.h-data: Likewise.
35000 * conform/data/signal.h-data: Likewise.
35001 * conform/data/spawn.h-data: Likewise.
35002 * conform/data/stdarg.h-data: Likewise.
35003 * conform/data/stdio.h-data: Likewise.
35004 * conform/data/stdlib.h-data: Likewise.
35005 * conform/data/string.h-data: Likewise.
35006 * conform/data/strings.h-data: Likewise.
35007 * conform/data/stropts.h-data: Likewise.
35008 * conform/data/sys/ipc.h-data: Likewise.
35009 * conform/data/sys/mman.h-data: Likewise.
35010 * conform/data/sys/msg.h-data: Likewise.
35011 * conform/data/sys/resource.h-data: Likewise.
35012 * conform/data/sys/select.h-data: Likewise.
35013 * conform/data/sys/sem.h-data: Likewise.
35014 * conform/data/sys/shm.h-data: Likewise.
35015 * conform/data/sys/socket.h-data: Likewise.
35016 * conform/data/sys/stat.h-data: Likewise.
35017 * conform/data/sys/statvfs.h-data: Likewise.
35018 * conform/data/sys/time.h-data: Likewise.
35019 * conform/data/sys/timeb.h-data: Likewise.
35020 * conform/data/sys/times.h-data: Likewise.
35021 * conform/data/sys/types.h-data: Likewise.
35022 * conform/data/sys/uio.h-data: Likewise.
35023 * conform/data/sys/un.h-data: Likewise.
35024 * conform/data/sys/utsname.h-data: Likewise.
35025 * conform/data/sys/wait.h-data: Likewise.
35026 * conform/data/syslog.h-data: Likewise.
35027 * conform/data/tar.h-data: Likewise.
35028 * conform/data/termios.h-data: Likewise.
35029 * conform/data/utime.h-data: Likewise.
35030 * conform/data/utmpx.h-data: Likewise.
35031 * conform/data/varargs.h-data: Likewise.
35032 * conform/data/wchar.h-data: Likewise.
35033 * conform/data/wctype.h-data: Likewise.
35034 * conform/data/wordexp.h-data: Likewise.
35035
35036 * include/stropts.h: New file.
35037 * include/uchar.h: New file.
35038 * include/aio.h: Changes to allow conformtest.pl to use the headers.
35039 * include/assert.h: Likewise.
35040 * include/ctype.h: Likewise.
35041 * include/dirent.h: Likewise.
35042 * include/dlfcn.h: Likewise.
35043 * include/fcntl.h: Likewise.
35044 * include/fnmatch.h: Likewise.
35045 * include/glob.h: Likewise.
35046 * include/grp.h: Likewise.
35047 * include/libio.h: Likewise.
35048 * include/locale.h: Likewise.
35049 * include/math.h: Likewise.
35050 * include/net/if.h: Likewise.
35051 * include/netdb.h: Likewise.
35052 * include/netinet/in.h: Likewise.
35053 * include/pthread.h: Likewise.
35054 * include/pwd.h: Likewise.
35055 * include/regex.h: Likewise.
35056 * include/sched.h: Likewise.
35057 * include/search.h: Likewise.
35058 * include/setjmp.h: Likewise.
35059 * include/signal.h: Likewise.
35060 * include/stdio.h: Likewise.
35061 * include/stdlib.h: Likewise.
35062 * include/string.h: Likewise.
35063 * include/sys/cdefs.h: Likewise.
35064 * include/sys/mman.h: Likewise.
35065 * include/sys/msg.h: Likewise.
35066 * include/sys/resource.h: Likewise.
35067 * include/sys/select.h: Likewise.
35068 * include/sys/socket.h: Likewise.
35069 * include/sys/stat.h: Likewise.
35070 * include/sys/statvfs.h: Likewise.
35071 * include/sys/time.h: Likewise.
35072 * include/sys/times.h: Likewise.
35073 * include/sys/uio.h: Likewise.
35074 * include/sys/utsname.h: Likewise.
35075 * include/sys/wait.h: Likewise.
35076 * include/termios.h: Likewise.
35077 * include/time.h: Likewise.
35078 * include/ulimit.h: Likewise.
35079 * include/unistd.h: Likewise.
35080 * include/utime.h: Likewise.
35081 * include/wchar.h: Likewise.
35082 * include/wctype.h: Likewise.
35083 * include/wordexp.h: Likewise.
35084
35085 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
35086
35087 * time/time.h: TIME_UTC must be a macro.
35088 Make timespec_get available for ISO C11 only as well.
35089
35090 2012-02-24 Ulrich Drepper <drepper@gmail.com>
35091
35092 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
35093 Reported by Peng Haitao <penght@cn.fujitsu.com>.
35094
35095 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35096
35097 * configure.in: Use -o not -a in test for unsupported multi-arch.
35098
35099 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35100
35101 * manual/texinfo.tex: Update to version 2012-01-19.16.
35102
35103 2012-02-24 Joseph Myers <joseph@codesourcery.com>
35104
35105 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
35106
35107 2012-02-24 Roland McGrath <roland@hack.frob.com>
35108
35109 [BZ #13738]
35110 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
35111 * manual/fdl-1.3.texi: New file.
35112 * manual/fdl-1.1.texi: File removed.
35113
35114 [BZ #13738]
35115 * manual/libc.texinfo (FDL_VERSION): New @set.
35116 Use it for mention of FDL in cover text.
35117 (Documentation License): Use it in @include file name.
35118
35119 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35120 Roland McGrath <roland@hack.frob.com>
35121
35122 [BZ #5461]
35123 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
35124 (not LONG_LONG_MAX and LONG_LONG_MIN.
35125 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
35126 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
35127 name.
35128 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
35129
35130 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35131
35132 [BZ #2547]
35133 [BZ #11365]
35134 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
35135 manipulate bits before adding and subtracting TWO23[sx].
35136 * math/libm-test.inc (nearbyint_test): Add more tests.
35137
35138 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35139
35140 [BZ #2548]
35141 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
35142 bits before adding and subtracting TWO23[sx].
35143 * math/libm-test.inc (rint_test): Add more tests.
35144 (rint_test_tonearest): Likewise.
35145 (rint_test_towardzero): Likewise.
35146 (rint_test_downward): Likewise.
35147 (rint_test_upward: Likewise.
35148
35149 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35150
35151 [BZ #10110]
35152 * include/stdc-predef.h: New file. Extracted from features.h.
35153 * include/features.h: Include stdc-predef.h.
35154 * Makefile (headers): Add stdc-predef.h.
35155 * CONFORMANCE (Compiler limitations): Update.
35156
35157 2012-02-22 Joseph Myers <joseph@codesourcery.com>
35158
35159 * manual/libc.texinfo (VERSION, UPDATED): Revert.
35160
35161 2012-02-21 David S. Miller <davem@davemloft.net>
35162
35163 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
35164 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35165
35166 2012-02-20 David S. Miller <davem@davemloft.net>
35167
35168 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
35169 using a normal save/restore sequence, rather than allocating a
35170 dummy stack frame just to store a frame pointer and restore.
35171 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35172
35173 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35174
35175 * manual/install.texi: Fix stray word in line-wrapped comment.
35176
35177 2012-02-20 David S. Miller <davem@davemloft.net>
35178
35179 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
35180 both binutils and gcc support GOTDATA.
35181
35182 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
35183 "rd %pc" in the PIC register setup sequences.
35184
35185 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
35186 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
35187 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35188 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
35189 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35191 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35192 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
35194 (SYSCALL_ERROR_HANDLER): Likewise.
35195 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35196 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35197 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
35198 (SYSCALL_ERROR_HANDLER): Likewise.
35199
35200 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
35201 (HAVE_GCC_GOTDATA): New.
35202 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
35203 relocation support in both binutils and gcc.
35204 * sysdeps/sparc/elf/configure: Regenerate.
35205
35206 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
35207 * sysdeps/sparc/sparc32/elf/configure: Delete.
35208 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
35209 * sysdeps/sparc/sparc64/elf/configure: Delete.
35210 * sysdeps/sparc/elf/configure.in: New file.
35211 * sysdeps/sparc/elf/configure: Generate.
35212
35213 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
35214 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
35215 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
35216 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
35217 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
35218
35219 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35220
35221 * manual/install.texi: Do not mention specific glibc version
35222 numbers.
35223 * manual/libc.texinfo (VERSION, UPDATED): Update.
35224 (@copying): Use @copyright{} and range of years.
35225
35226 2012-02-21 Joseph Myers <joseph@codesourcery.com>
35227
35228 [BZ #13695]
35229 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
35230 [crti.S not in sysdirs] (generated): Do not append.
35231 [crti.S not in sysdirs] (omit-deps): Likewise.
35232 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
35233 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
35234 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
35235 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
35236 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
35237 Likewise.
35238 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
35239 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
35240 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
35241 * csu/defs.awk: Remove file.
35242 * sysdeps/generic/initfini.c: Likewise.
35243 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
35244 variable.
35245 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
35246 Likewise.
35247
35248 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35249
35250 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
35251 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
35252 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
35253 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
35254 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35255 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
35256 <bits/epoll.h>.
35257 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
35258 (__EPOLL_PACKED): Define to empty if not defined by
35259 <bits/epoll.h>.
35260 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35262 bits/epoll.h.
35263
35264 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35265
35266 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35267 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35268 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35269 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35270 <bits/timerfd.h>.
35271 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35273 bits/timerfd.h.
35274
35275 2012-02-20 Joseph Myers <joseph@codesourcery.com>
35276
35277 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35278 in C locale.
35279 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35281 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35283
35284 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35285
35286 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35287 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35288
35289 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35290
35291 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35292 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35293 defined.
35294 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35295 Likewise.
35296 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35297 entry for 2.16.
35298
35299 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35300
35301 * math/w_acos.c: Use non-signaling floating-point comparisons.
35302 * math/w_acosf.c: Likewise.
35303 * math/w_acosh.c: Likewise.
35304 * math/w_acoshf.c: Likewise.
35305 * math/w_acoshl.c: Likewise.
35306 * math/w_acosl.c: Likewise.
35307 * math/w_asin.c: Likewise.
35308 * math/w_asinf.c: Likewise.
35309 * math/w_asinl.c: Likewise.
35310 * math/w_atanh.c: Likewise.
35311 * math/w_atanhf.c: Likewise.
35312 * math/w_atanhl.c: Likewise.
35313 * math/w_exp2.c: Likewise.
35314 * math/w_exp2f.c: Likewise.
35315 * math/w_exp2l.c: Likewise.
35316 * math/w_j0.c: Likewise.
35317 * math/w_j0f.c: Likewise.
35318 * math/w_j0l.c: Likewise.
35319 * math/w_j1.c: Likewise.
35320 * math/w_j1f.c: Likewise.
35321 * math/w_j1l.c: Likewise.
35322 * math/w_jn.c: Likewise.
35323 * math/w_jnf.c: Likewise.
35324 * math/w_log.c: Likewise.
35325 * math/w_log10.c: Likewise.
35326 * math/w_log10f.c: Likewise.
35327 * math/w_log10l.c: Likewise.
35328 * math/w_log2.c: Likewise.
35329 * math/w_log2f.c: Likewise.
35330 * math/w_log2l.c: Likewise.
35331 * math/w_logf.c: Likewise.
35332 * math/w_logl.c: Likewise.
35333 * math/w_sqrt.c: Likewise.
35334 * math/w_sqrtf.c: Likewise.
35335 * math/w_sqrtl.c: Likewise.
35336 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35337 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35339 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35340 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35341
35342 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35343
35344 [BZ #9739]
35345 * manual/string.texi (strnlen): Use correct parameter name in
35346 equivalent expression.
35347
35348 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35349
35350 [BZ #11174]
35351 * manual/users.texi (seteuid): Consistently use neweuid for
35352 argument name.
35353
35354 2012-02-19 Joseph Myers <joseph@codesourcery.com>
35355
35356 [BZ #13704]
35357 * manual/nss.texi (Services in the NSS configuration): Correct
35358 list of services in example configuration file.
35359
35360 2012-02-19 Nick Bowler <nbowler@draconx.ca>
35361
35362 [BZ #11322]
35363 * manual/arith.texi: Remove statements about negative zero
35364 behaving identically to zero.
35365
35366 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35367
35368 [BZ #5993]
35369 * manual/install.texi: Do not document upgrading from libc5.
35370
35371 2012-02-18 Joseph Myers <joseph@codesourcery.com>
35372
35373 [BZ #4596]
35374 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35375
35376 2012-02-18 David S. Miller <davem@davemloft.net>
35377
35378 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35379 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35380 %o7 across the call.
35381 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35382 instead.
35383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35384 SETUP_PIC_REG_LEAF.
35385 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35386 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35387 * sysdeps/sparc/crtn.S: Likewise.
35388
35389 2012-02-17 Ulrich Drepper <drepper@gmail.com>
35390
35391 * aout/Makefile: Remove.
35392
35393 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35394
35395 [BZ #13058]
35396 * manual/examples/argp-ex1.c (main): Format definition in GNU
35397 style.
35398 * manual/examples/argp-ex2.c (main): Likewise.
35399 * manual/examples/argp-ex3.c (main): Likewise.
35400 * manual/examples/argp-ex4.c (main): Likewise.
35401 * manual/examples/longopt.c (main): Use new-style prototype
35402 definition.
35403 * manual/examples/strncat.c (main): Specify return type and use
35404 (void) for arguments.
35405 * manual/examples/subopt.c (main): Use char **argv argument.
35406
35407 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35408
35409 [BZ #5077]
35410 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35411 rounding modes.
35412
35413 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35414
35415 [BZ #6907]
35416 * manual/string.texi (strchr): Change when strchrnul is
35417 recommended.
35418
35419 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35420
35421 [BZ #174]
35422 * manual/locale.texi (setlocale): Document LOCPATH.
35423
35424 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35425
35426 [BZ #10210]
35427 * manual/process.texi (execle): Move @dots{} before last argument.
35428
35429 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
35430
35431 [BZ #12047]
35432 * manual/charset.texi (Generic Charset Conversion): Fix typo
35433 (LC_TYPE -> LC_CTYPE).
35434
35435 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35436
35437 [BZ #5805]
35438 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35439 (scalbnf): Likewise.
35440 (scalbnl): Likewise.
35441 (scalbln): Likewise.
35442 (scalblnf): Likewise.
35443 (scalblnl): Likewise.
35444 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35445 (vwarnx): Likewise.
35446 (verr): Likewise.
35447 (verrx): Likewise.
35448 * manual/filesys.texi (telldir): Use braces around return type.
35449 * manual/llio.texi (mmap): Add space after comma.
35450 (mmap64): Likewise.
35451 * manual/math.texi (jn): Use @var{} on parameter names.
35452 (jnf): Likewise.
35453 (jnl): Likewise.
35454 (yn): Likewise.
35455 (ynf): Likewise.
35456 (ynl): Likewise.
35457 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35458 line.
35459 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35460 "...".
35461 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35462 (sched_get_priority_max): Likewise.
35463 * manual/signal.texi (sigvec): Add space after comma.
35464 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35465 names.
35466 (if_indextoname): Likewise.
35467 (if_freenameindex): Likewise.
35468 (sendto): Use ',' instead of '.' in prototype.
35469 * manual/startup.texi (syscall): Use @dots{} instead of literal
35470 "...".
35471 * manual/stdio.texi (__fpending): Separate initial words of
35472 paragraph from @deftypefun line.
35473 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35474 "...".
35475 (vsyslog): Use @var{} on parameter names.
35476 * manual/terminal.texi (stty): Use @var{} on parameter names.
35477 * manual/users.texi (getutmp): Use @var{} on parameter names.
35478 (getutmpx): Likewise.
35479
35480 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35481
35482 [BZ #6884]
35483 * manual/stdio.texi (fopen): Fix typos in description of
35484 ",ccs=STRING".
35485
35486 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35487
35488 [BZ #4026]
35489 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35490 get clock_id definition.
35491
35492 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
35493
35494 [BZ #4822]
35495 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35496 (madvise): Cast every argument to void on its own.
35497
35498 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35499
35500 [BZ #9902]
35501 * manual/startup.texi (Exit Status): Fix typo.
35502
35503 2012-02-17 Joseph Myers <joseph@codesourcery.com>
35504
35505 [BZ #10140]
35506 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35507 * manual/examples/argp-ex2.c: Likewise.
35508 * manual/examples/argp-ex3.c: Likewise.
35509
35510 2012-02-16 Richard Henderson <rth@redhat.com>
35511
35512 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35513 * sysdeps/s390/s390-32/initfini.c: Remove.
35514 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35515 * sysdeps/s390/s390-64/initfini.c: Remove.
35516
35517 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35518
35519 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35520 compiler output for sysdeps/generic/initfini.c.
35521 * sysdeps/sh/elf/initfini.c: Remove file.
35522
35523 2012-02-16 David S. Miller <davem@davemloft.net>
35524
35525 [BZ #11494]
35526 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35527
35528 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35529 * sysdeps/sparc/crti.S: New file.
35530 * sysdeps/sparc/crtn.S: New file.
35531 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35532 * sysdeps/sparc/sparc64/Makefile: Likewise.
35533
35534 2012-02-15 Mike Frysinger <vapier@gentoo.org>
35535
35536 [BZ #3335]
35537 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35538
35539 2012-02-15 Roland McGrath <roland@hack.frob.com>
35540
35541 [BZ #4822]
35542 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35543
35544 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35545 (write, read, close): Likewise.
35546 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35547
35548 2012-02-15 Joseph Myers <joseph@codesourcery.com>
35549
35550 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35551 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35552 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35553 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35554 <bits/signalfd.h>.
35555 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35556 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35557 bits/signalfd.h.
35558
35559 2012-02-14 Marek Polacek <polacek@redhat.com>
35560
35561 * sysdeps/x86_64/crti.S: New file.
35562 * sysdeps/x86_64/crtn.S: New file.
35563 * sysdeps/x86_64/elf/initfini.c: Remove file.
35564
35565 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35566
35567 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35568 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35569 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35570 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35571 <bits/inotify.h>.
35572 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35574 bits/inotify.h.
35575
35576 2012-02-13 Joseph Myers <joseph@codesourcery.com>
35577
35578 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35579 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35580 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35581 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35582 <bits/eventfd.h>.
35583 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35585 bits/eventfd.h.
35586
35587 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35588
35589 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35590 __feraiseexcept instead of feraiseexcept.
35591
35592 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35593 nanosleep invocations.
35594 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35595 strings, and add error checking for a nanosleep invocations.
35596
35597 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35598
35599 Replace FSF snail mail address with URLs, as per GNU coding standards.
35600 Most of the snail mail addresses were wrong anyway, and omitting
35601 them makes the source code easier to maintain. Almost all of the
35602 changes are to license notices and to locale LC_IDENTIFICATION
35603 addresses, except for this one:
35604 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35605 not its snail mail address.
35606
35607 2012-02-09 Richard Henderson <rth@twiddle.net>
35608
35609 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35610 of kernel-features.h.
35611
35612 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35613
35614 2012-02-08 Marek Polacek <polacek@redhat.com>
35615
35616 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35617 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35618 * sysdeps/gnu/_G_config.h: Likewise.
35619 * sysdeps/generic/_G_config.h: Likewise.
35620
35621 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35622
35623 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35624 tests.
35625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35626
35627 * sysdeps/powerpc/powerpc32/crti.S: New file.
35628 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35629 * sysdeps/powerpc/powerpc64/crti.S: New file.
35630 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35631
35632 * Makeconfig (have-initfini): Don't set.
35633 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35634 * configure.in (nopic_initfini): Don't substitute.
35635 * config.h.in (HAVE_INITFINI): Don't #undef.
35636 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35637 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35638
35639 2012-02-08 Joseph Myers <joseph@codesourcery.com>
35640
35641 Support crti.S and crtn.S provided directly by architectures.
35642 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35643 [crti.S in sysdirs] (omit-deps): Likewise.
35644 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35645 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35646 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35647 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35648 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35649 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35650 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35651 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35652 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35653 compiler output for sysdeps/generic/initfini.c.
35654 * sysdeps/i386/elf/Makefile: Remove file.
35655 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35656
35657 2012-02-07 Marek Polacek <polacek@redhat.com>
35658
35659 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35660 * sysdeps/gnu/_G_config.h: Likewise.
35661 * sysdeps/mach/hurd/_G_config.h: Likewise.
35662
35663 2012-02-07 Marek Polacek <polacek@redhat.com>
35664
35665 * math/Makefile (tests): Add tst-CMPLX2.
35666 * math/tst-CMPLX2.c: New file.
35667
35668 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35669
35670 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35671
35672 * math/libm-test.inc (jn_test): Add missing L suffix.
35673
35674 2012-02-06 Marek Polacek <polacek@redhat.com>
35675
35676 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35677 * sysdeps/i386/fpu/e_powf.S: Likewise.
35678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35679 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35680 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35681 * sysdeps/i386/fpu/e_pow.S: Likewise.
35682 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35683 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35684 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35685 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35686 * sysdeps/i386/fpu/e_log2.S: Likewise.
35687 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35688 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35689 * sysdeps/i386/fpu/e_powl.S: Likewise.
35690 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35691 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35692 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35693 * sysdeps/i386/fpu/e_logl.S: Likewise.
35694 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35695 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35696 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35697 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35698 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35699 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35700 * sysdeps/i386/fpu/e_log.S: Likewise.
35701 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35702 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35703 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35704 * sysdeps/i386/fpu/e_logf.S: Likewise.
35705 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35706 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35707 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35708 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35709 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35710 * sysdeps/i386/fpu/e_log10.S: Likewise.
35711 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35712 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35713 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35714 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35715 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35716 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35717 * sysdeps/i386/asm-syntax.h: Likewise.
35718 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35719 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35720 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35721 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35722 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35723 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35724 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35725 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35726 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35727 * sysdeps/powerpc/sysdep.h: Likewise.
35728 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35729 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35730
35731 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35732
35733 [BZ #411]
35734 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35735
35736 2012-02-06 Joseph Myers <joseph@codesourcery.com>
35737
35738 * sysdeps/i386/sysdep.h: Include <features.h>.
35739 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35740 version.
35741
35742 2012-02-05 Joseph Myers <joseph@codesourcery.com>
35743
35744 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35745 Define.
35746 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35747 LOAD_PIC_REG_STR.
35748
35749 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35750
35751 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35752 (SETUP_PIC_REG): Use GET_PC_THUNK.
35753 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35754 macro.
35755
35756 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35757
35758 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35759 for non-PIC compilation.
35760 (SETUP_PIC_REG): Add .p2align directive.
35761 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35762 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35763 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35764 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35765 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35766 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35767 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35768 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35769 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35770 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35771 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35772 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35773 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35774 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35775 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35776 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35777 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35778 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35779 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35780 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35781 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35782 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35783 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35784 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35786 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35787 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35788 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35789 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35790 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35791 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35792 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35793 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35794 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35795 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35796 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35797 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35798 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35799 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35800 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35801 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35802
35803 2012-02-03 Joseph Myers <joseph@codesourcery.com>
35804
35805 * math/tst-CMPLX.c: Include <stdio.h>.
35806
35807 2012-01-31 Joseph Myers <joseph@codesourcery.com>
35808
35809 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35810 float.
35811 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35812 * sysdeps/sparc/bits/mathdef.h: Likewise.
35813
35814 2012-01-31 Marek Polacek <polacek@redhat.com>
35815
35816 * libio/libio.h: Don't define _PARAMS.
35817 * locale/programs/config.h: Don't define PARAMS.
35818 * stdlib/strtol_l.c: Likewise.
35819 (__strtol_l): Remove PARAMS from the prototype.
35820
35821 2012-01-31 Ulrich Drepper <drepper@gmail.com>
35822
35823 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35824 names. Just use the correct names. Remove unnecessary wrapper
35825 functions.
35826 * malloc/arena.c: Likewise.
35827 * malloc/hooks.c: Likewise.
35828
35829 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35830 ARENA_TEST says not to. Simplify test for creation of a new arena.
35831 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35832
35833 2012-01-30 Ulrich Drepper <drepper@gmail.com>
35834
35835 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35836 into tail calls.
35837 (update_get_addr): New function.
35838 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35839 GET_ADDR_MODULE parameter.
35840
35841 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35842
35843 * crypt/cert.c: Remove __STDC__ conditionals.
35844 * crypt/crypt-entry.c: Likewise.
35845 * crypt/crypt_util.c: Likewise.
35846 * libio/filedoalloc.c: Likewise.
35847 * libio/fileops.c: Likewise.
35848 * libio/genops.c: Likewise.
35849 * libio/iofclose.c: Likewise.
35850 * libio/iofdopen.c: Likewise.
35851 * libio/iofopen.c: Likewise.
35852 * libio/iofopen64.c: Likewise.
35853 * libio/iogetdelim.c: Likewise.
35854 * libio/iopopen.c: Likewise.
35855 * libio/obprintf.c: Likewise.
35856 * libio/oldfileops.c: Likewise.
35857 * libio/oldiofclose.c: Likewise.
35858 * libio/oldiofdopen.c: Likewise.
35859 * libio/oldiofopen.c: Likewise.
35860 * libio/oldiopopen.c: Likewise.
35861 * libio/wfiledoalloc.c: Likewise.
35862 * libio/wgenops.c: Likewise.
35863 * locale/programs/xmalloc.c: Likewise.
35864 * misc/syslog.c: Likewise.
35865 * stdio-common/xbug.c: Likewise.
35866 * string/memchr.c: Likewise.
35867 * string/memcmp.c: Likewise.
35868 * string/memrchr.c: Likewise.
35869 * string/rawmemchr.c: Likewise.
35870 * sysdeps/posix/getcwd.c: Likewise.
35871 * time/strftime_l.c: Likewise.
35872
35873 2012-01-30 Joseph Myers <joseph@codesourcery.com>
35874
35875 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
35876 * config.make.in (config-cflags-sse2avx): Define.
35877 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35878 Fix typo.
35879
35880 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35881
35882 * scripts/config.guess: Update from upstream config git repository.
35883 * scripts/config.sub: Likewise.
35884
35885 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35886
35887 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35888 (EM_NUM): Update.
35889 (R_TILEPRO_*, R_TILEGX_*): New macros.
35890
35891 * scripts/firstversions.awk: Fix bug in version range handling.
35892
35893 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35894
35895 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35896
35897 * include/sys/epoll.h: New file.
35898 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35899 libc_hidden_def.
35900
35901 2012-01-28 Ulrich Drepper <drepper@gmail.com>
35902
35903 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35904 Avoid unnecessary __WORDSIZE == 64 test.
35905 (fmaxf): Use VEX format if possible.
35906 (fmax): Likewise.
35907 (fminf): Likewise.
35908 (fmin): Likewise.
35909
35910 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35911 * math/math_private.h: Remove libc_fegetround* and
35912 libc_fesetround*.
35913 * sysdeps/i386/configure.in: Check for -msse2avx.
35914 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35915 also if SSE2AVX is defined.
35916 Remove libc_fegetround* and libc_fesetround*.
35917 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35918 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35919 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35920 of HAS_YMM_USABLE.
35921 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35922 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35923 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35924 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35925 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35926
35927 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35928
35929 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35930
35931 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35932 size is not set.
35933 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35934
35935 2012-01-27 Ulrich Drepper <drepper@gmail.com>
35936
35937 [BZ #13618]
35938 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35939 relocation.
35940 * Makeconfig (libm): Define.
35941 * elf/Makefile: Add rules to build and run tst-relsort1.
35942 * elf/tst-relsort1.c: New file.
35943 * elf/tst-relsort1mod1.c: New file.
35944 * elf/tst-relsort1mod2.c: New file.
35945
35946 2012-01-27 Joseph Myers <joseph@codesourcery.com>
35947
35948 * math/s_ldexp.c: Remove __STDC__ conditionals.
35949 * math/s_ldexpf.c: Likewise.
35950 * math/s_ldexpl.c: Likewise.
35951 * math/s_nextafter.c: Likewise.
35952 * math/s_nexttowardf.c: Likewise.
35953 * math/s_significand.c: Likewise.
35954 * math/s_significandf.c: Likewise.
35955 * math/s_significandl.c: Likewise.
35956 * math/w_jnl.c: Likewise.
35957 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35958 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35959 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35960 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35961 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35962 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35963 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35964 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35965 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35966 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35967 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35968 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35969 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35970 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35971 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35972 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35973 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35974 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35975 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35976 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35977 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35978 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35979 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35980 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35981 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35982 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35983 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35984 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35985 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35986 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35987 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35988 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35989 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35990 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35991 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35992 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35993 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35994 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35995 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35996 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35997 * sysdeps/ieee754/k_standard.c: Likewise.
35998 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
36001 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
36002 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
36003 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
36004 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36005 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
36006 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
36007 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
36008 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
36009 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
36010 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
36011 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
36012 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
36013 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
36014 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
36015 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36016 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36017 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
36018 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36019 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36020 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
36021 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
36022 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36023 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36024 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36025 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36026 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36027 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
36028 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
36029 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
36030 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36031 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
36032 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
36033 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
36034 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
36035 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36036 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
36037 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
36038 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
36039 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
36040 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
36041 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
36042 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36043 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
36044 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36045 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36046 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
36047 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
36048 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
36049 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36050 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36051 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
36052 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
36053 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
36054 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
36055 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
36056 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
36057 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
36058 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
36059 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
36060 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
36061 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36062 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
36063 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
36064 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
36065 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
36066 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
36067 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
36068 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
36069 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
36070 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
36071 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
36072 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
36073 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
36074 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
36075 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
36076 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
36077 * sysdeps/ieee754/s_matherr.c: Likewise.
36078 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
36079 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36080 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36081 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36082
36083 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36084
36085 * crypt/md5.h: Remove __STDC__ conditionals.
36086 * libio/libioP.h: Likewise.
36087 * locale/programs/config.h: Likewise.
36088 * sysdeps/generic/sysdep.h: Likewise.
36089 * sysdeps/i386/asm-syntax.h: Likewise.
36090 * sysdeps/s390/asm-syntax.h: Likewise.
36091 * sysdeps/unix/sysdep.h: Likewise.
36092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36094
36095 2012-01-26 Joseph Myers <joseph@codesourcery.com>
36096
36097 * libio/libio.h: Remove __STDC__ conditionals.
36098 * malloc/obstack.h: Likewise.
36099 * math/complex.h: Likewise.
36100 * math/math.h: Likewise.
36101 * sysdeps/generic/_G_config.h: Likewise.
36102 * sysdeps/gnu/_G_config.h: Likewise.
36103 * sysdeps/mach/hurd/_G_config.h: Likewise.
36104 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36105 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36106 * sysdeps/sparc/bits/mathdef.h: Likewise.
36107
36108 2012-01-26 Ulrich Drepper <drepper@gmail.com>
36109
36110 [BZ #13583]
36111 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
36112 Clean up HAS_* macros.
36113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
36114 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
36115 possible.
36116 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
36117 HAS_AVX.
36118 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36119 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36120 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36121 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36122 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36123
36124 2012-01-25 Joseph Myers <joseph@codesourcery.com>
36125
36126 * elf/tst-unique3.cc (gets): Remove declaration.
36127 * elf/tst-unique3lib.cc (gets): Likewise.
36128 * elf/tst-unique3lib2.cc (gets): Likewise.
36129 * elf/tst-unique4.cc (gets): Likewise.
36130
36131 2012-01-24 Ulrich Drepper <drepper@gmail.com>
36132
36133 * include/stdio.h: Add C++ protection. Add gets declarations and
36134 definitions.
36135 * debug/tst-chk1.c: Don't declare gets here.
36136 * stdio-common/tst-gets.c: Likewise.
36137
36138 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36139
36140 * posix/glob: Remove directory.
36141
36142 2012-01-24 Joseph Myers <joseph@codesourcery.com>
36143
36144 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
36145
36146 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
36147
36148 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
36149 of the non-standard EPFNOSUPPORT.
36150
36151 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
36152
36153 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
36154 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
36155 ANYWHERE set to 1 only on KERN_NO_SPACE error.
36156
36157 2012-01-21 Ulrich Drepper <drepper@gmail.com>
36158
36159 * wcsmbs/uchar.h: Test __STDC_VERSION__.
36160
36161 2012-01-20 Ulrich Drepper <drepper@gmail.com>
36162
36163 * nscd/aicache.c (addhstaiX): Do not cache negative results of
36164 transient errors.
36165 * nscd/grpcache.c (cache_addgr): Likewise.
36166 * nscd/hstcache.c (cache_addhst): Likewise.
36167 * nscd/initgrcache.c (addinitgroupsX): Likewise.
36168 * nscd/pwdcache.c (cache_addpw): Likewise.
36169 * nscd/servicescache.c (cache_addserv): Likewise.
36170
36171 2012-01-16 Ulrich Drepper <drepper@gmail.com>
36172
36173 * malloc/malloc.c: Various cleanups.
36174 * malloc/hooks.c: Likewise.
36175
36176 * stdlib/Makefile (tests): Add bug-fmtmsg1.
36177 * stdlib/bug-fmtmsg1.c: New file.
36178
36179 * stdlib/fmtmsg.c (init): Add missing unlock.
36180 Patch by Peng Haitao <penght@cn.fujitsu.com>.
36181
36182 2012-01-12 Marek Polacek <polacek@redhat.com>
36183
36184 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
36185 and _GNU_SOURCE.
36186
36187 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36188
36189 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
36190 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
36191 macro to ensure uniqueness of label name.
36192 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36193 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36194
36195 2012-01-11 Ulrich Drepper <drepper@gmail.com>
36196
36197 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
36198
36199 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
36200 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
36201 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
36203
36204 2012-01-10 Ulrich Drepper <drepper@gmail.com>
36205
36206 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
36207
36208 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
36209 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
36210 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
36211
36212 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
36213
36214 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
36215 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
36216 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
36217 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
36218
36219 * math/bits/math-finite.h: Add ldexp support.
36220
36221 2012-01-10 Marek Polacek <polacek@redhat.com>
36222
36223 * locale/programs/localedef.h (show_archive_content): Add noreturn
36224 attribute.
36225
36226 2012-01-09 Ulrich Drepper <drepper@gmail.com>
36227
36228 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
36229
36230 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36231
36232 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
36233
36234 * io/Makefile (headers): Add bits/poll2.h.
36235
36236 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
36237
36238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
36239 typo #include statement.
36240
36241 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36242
36243 * include/sys/cdefs.h: Define __attribute_alloc_size.
36244 * catgets/gencat.c: Add alloc_size attribute and apply consistently
36245 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
36246 * elf/pldd.c: Likewise.
36247 * iconv/iconv_charmap.c: Likewise.
36248 * iconv/iconvconfig.c: Likewise.
36249 * iconv/strtab.c: Likewise.
36250 * locale/programs/locale.c: Likewise.
36251 * locale/programs/localedef.h: Likewise.
36252 * locale/programs/simple-hash.c: Likewise.
36253 * nscd/nscd.h: Likewise.
36254 * nss/makedb.c: Likewise.
36255 * sysdeps/generic/ldconfig.h: Likewise.
36256 * locale/programs/localedef.c: Remove xmalloc prototype.
36257 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
36258
36259 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36260
36261 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36262 appropriate.
36263
36264 2012-01-08 Ulrich Drepper <drepper@gmail.com>
36265
36266 * math/Makefile (tests): Add tst-CMPLX.
36267 * math/tst-CMPLX.c: New file.
36268
36269 * math/complex.h (CMPLXL): Fix typo.
36270
36271 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36272 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36273 GLIBC_2.16.
36274 * debug/tst-chk1.c: Add poll and ppoll tests.
36275 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36276 * include/sys/poll.h: Add hidden proto for ppoll.
36277 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36278 * sysdeps/mach/hurd/ppoll.c: Likewise.
36279 * io/ppoll.c: Likewise.
36280 * debug/poll_chk.c: New file.
36281 * debug/ppoll_chk.c: New file.
36282 * include/bits/poll2.h: New file.
36283 * io/bits/poll2.h: New file.
36284
36285 [BZ #1350]
36286 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36287
36288 * configure.in: static is always set to yes. Remove.
36289 * config.make.in: Don't set build-static.
36290 * Makeconfig: Remove use of build-static.
36291 * dlfcn/Makefile: Likewise.
36292 * elf/Makefile: Likewise.
36293 * math/Makefile: Likewise.
36294 * misc/Makefile: Likewise.
36295 * nptl/Makefile: Likewise.
36296 * sysdeps/mach/hurd/Makefile: Likewise.
36297
36298 * configure.in: PWD_P is not used anymore.
36299 * config.make.in: Remove PWD_P entry.
36300
36301 * configure.in: Remove last remnants of RANLIB.
36302 No need to check for signed size_t anymore.
36303 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36304 and IA-64.
36305 Remove __builtin_expect test because we require at least gcc 3.4.
36306 * aclocal.m4: Likewise.
36307
36308 * wcsmbs/mbrtoc16.c: Implement using towc function.
36309 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36310 * wcsmbs/wcsmbsload.c: Likewise.
36311 * iconv/gconv_simple.c: Likewise.
36312 * iconv/gconv_int.h: Likewise.
36313 * iconv/gconv_builtin.h: Likewise.
36314 * iconv/iconv_prog.c: Remove CHAR16 handling.
36315
36316 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36317
36318 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36319
36320 * configure.in: Remove --with-elf and --enable-bounded options.
36321 Dont set base_machine for ia64. More non-ELF conditions removed.
36322 Remove testing and setting of leading underscore information.
36323 * config.make.in (build-bounded): Set to no.
36324 * config.h.in: Remove NO_UNDERSCORES entry.
36325 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36326 them.
36327 * csu/start.c: Remove !NO_UNDERSCORE code.
36328 * locale/localeinfo.h: Likewise.
36329 * sysdeps/generic/machine-gmon.h: Likewise.
36330 * sysdeps/generic/sysdep.h: Likewise.
36331 * sysdeps/i386/sysdep.h: Likewise.
36332 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36333 * sysdeps/mach/sysdep.h: Likewise.
36334 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36335 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36336 * sysdeps/sh/sysdep.h: Likewise.
36337 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36338 * sysdeps/unix/i386/sysdep.S: Likewise.
36339 * sysdeps/unix/sparc/start.c: Likewise.
36340 * sysdeps/unix/sparc/sysdep.S: Likewise.
36341 * sysdeps/unix/sparc/sysdep.h: Likewise.
36342 * sysdeps/unix/start.c: Likewise.
36343 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36344 * sysdeps/x86_64/sysdep.h: Likewise.
36345
36346 2012-01-07 Ulrich Drepper <drepper@gmail.com>
36347
36348 [BZ #13553]
36349 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36350 for non-gcc.
36351 * argp/argp-fmtstream.h: Use const instead __const.
36352 * argp/argp.h: Likewise.
36353 * assert/assert.h: Likewise.
36354 * bits/fenv.h: Likewise.
36355 * bits/sched.h: Likewise.
36356 * bits/sigset.h: Likewise.
36357 * bits/sigthread.h: Likewise.
36358 * catgets/nl_types.h: Likewise.
36359 * conform/data/pthread.h-data: Likewise.
36360 * crypt/crypt-private.h: Likewise.
36361 * crypt/crypt.h: Likewise.
36362 * crypt/crypt_util.c: Likewise.
36363 * ctype/ctype.h: Likewise.
36364 * debug/execinfo.h: Likewise.
36365 * debug/mbsnrtowcs_chk.c: Likewise.
36366 * debug/mbsrtowcs_chk.c: Likewise.
36367 * debug/wcsnrtombs_chk.c: Likewise.
36368 * debug/wcsrtombs_chk.c: Likewise.
36369 * debug/wcstombs_chk.c: Likewise.
36370 * dirent/dirent.h: Likewise.
36371 * dlfcn/dlfcn.h: Likewise.
36372 * elf/neededtest4.c: Likewise.
36373 * grp/grp.h: Likewise.
36374 * gshadow/gshadow.h: Likewise.
36375 * iconv/gconv.h: Likewise.
36376 * iconv/gconv_int.h: Likewise.
36377 * iconv/gconv_simple.c: Likewise.
36378 * iconv/iconv.h: Likewise.
36379 * iconv/loop.c: Likewise.
36380 * iconv/skeleton.c: Likewise.
36381 * include/aio.h: Likewise.
36382 * include/aliases.h: Likewise.
36383 * include/argz.h: Likewise.
36384 * include/arpa/inet.h: Likewise.
36385 * include/assert.h: Likewise.
36386 * include/dirent.h: Likewise.
36387 * include/dlfcn.h: Likewise.
36388 * include/execinfo.h: Likewise.
36389 * include/fcntl.h: Likewise.
36390 * include/fenv.h: Likewise.
36391 * include/glob.h: Likewise.
36392 * include/grp.h: Likewise.
36393 * include/libintl.h: Likewise.
36394 * include/mntent.h: Likewise.
36395 * include/netdb.h: Likewise.
36396 * include/pwd.h: Likewise.
36397 * include/rpc/netdb.h: Likewise.
36398 * include/sched.h: Likewise.
36399 * include/search.h: Likewise.
36400 * include/shadow.h: Likewise.
36401 * include/signal.h: Likewise.
36402 * include/stdio.h: Likewise.
36403 * include/stdlib.h: Likewise.
36404 * include/string.h: Likewise.
36405 * include/sys/socket.h: Likewise.
36406 * include/sys/stat.h: Likewise.
36407 * include/sys/statfs.h: Likewise.
36408 * include/sys/statvfs.h: Likewise.
36409 * include/sys/syslog.h: Likewise.
36410 * include/sys/time.h: Likewise.
36411 * include/sys/uio.h: Likewise.
36412 * include/time.h: Likewise.
36413 * include/unistd.h: Likewise.
36414 * include/utmp.h: Likewise.
36415 * include/wchar.h: Likewise.
36416 * include/wctype.h: Likewise.
36417 * inet/aliases.h: Likewise.
36418 * inet/arpa/inet.h: Likewise.
36419 * inet/netinet/ether.h: Likewise.
36420 * inet/netinet/in.h: Likewise.
36421 * intl/libintl.h: Likewise.
36422 * io/bits/fcntl2.h: Likewise.
36423 * io/fcntl.h: Likewise.
36424 * io/ftw.h: Likewise.
36425 * io/sys/poll.h: Likewise.
36426 * io/sys/stat.h: Likewise.
36427 * io/sys/statfs.h: Likewise.
36428 * io/sys/statvfs.h: Likewise.
36429 * io/utime.h: Likewise.
36430 * libio/bits/stdio.h: Likewise.
36431 * libio/bits/stdio2.h: Likewise.
36432 * libio/libio.h: Likewise.
36433 * libio/libioP.h: Likewise.
36434 * libio/stdio.h: Likewise.
36435 * locale/lc-ctype.c: Likewise.
36436 * locale/locale.h: Likewise.
36437 * login/utmp.h: Likewise.
36438 * malloc/arena.c: Likewise.
36439 * malloc/malloc.c: Likewise.
36440 * malloc/malloc.h: Likewise.
36441 * malloc/mcheck.c: Likewise.
36442 * malloc/mtrace.c: Likewise.
36443 * math/bits/mathcalls.h: Likewise.
36444 * math/fenv.h: Likewise.
36445 * math/math_private.h: Likewise.
36446 * misc/bits/error.h: Likewise.
36447 * misc/bits/syslog.h: Likewise.
36448 * misc/err.h: Likewise.
36449 * misc/error.h: Likewise.
36450 * misc/fstab.h: Likewise.
36451 * misc/mntent.h: Likewise.
36452 * misc/regexp.h: Likewise.
36453 * misc/search.h: Likewise.
36454 * misc/sgtty.h: Likewise.
36455 * misc/sys/mman.h: Likewise.
36456 * misc/sys/syslog.h: Likewise.
36457 * misc/sys/uio.h: Likewise.
36458 * misc/sys/xattr.h: Likewise.
36459 * misc/ttyent.h: Likewise.
36460 * nis/rpcsvc/ypclnt.h: Likewise.
36461 * nss/nss.h: Likewise.
36462 * posix/bits/unistd.h: Likewise.
36463 * posix/fnmatch.h: Likewise.
36464 * posix/glob.h: Likewise.
36465 * posix/sched.h: Likewise.
36466 * posix/spawn.h: Likewise.
36467 * posix/sys/wait.h: Likewise.
36468 * posix/unistd.h: Likewise.
36469 * posix/wordexp.h: Likewise.
36470 * pwd/pwd.h: Likewise.
36471 * resolv/netdb.h: Likewise.
36472 * resource/sys/resource.h: Likewise.
36473 * rt/aio.h: Likewise.
36474 * rt/bits/mqueue2.h: Likewise.
36475 * rt/mqueue.h: Likewise.
36476 * shadow/shadow.h: Likewise.
36477 * signal/signal.h: Likewise.
36478 * socket/send.c: Likewise.
36479 * socket/sendto.c: Likewise.
36480 * socket/sys/socket.h: Likewise.
36481 * stdio-common/printf.h: Likewise.
36482 * stdlib/bits/stdlib.h: Likewise.
36483 * stdlib/fmtmsg.h: Likewise.
36484 * stdlib/monetary.h: Likewise.
36485 * stdlib/stdlib.h: Likewise.
36486 * stdlib/ucontext.h: Likewise.
36487 * streams/stropts.h: Likewise.
36488 * string/argz.h: Likewise.
36489 * string/bits/string2.h: Likewise.
36490 * string/string.h: Likewise.
36491 * string/strings.h: Likewise.
36492 * sunrpc/rpc/auth.h: Likewise.
36493 * sunrpc/rpc/auth_des.h: Likewise.
36494 * sunrpc/rpc/clnt.h: Likewise.
36495 * sunrpc/rpc/netdb.h: Likewise.
36496 * sunrpc/rpc/pmap_clnt.h: Likewise.
36497 * sunrpc/rpc/xdr.h: Likewise.
36498 * sysdeps/generic/inttypes.h: Likewise.
36499 * sysdeps/generic/net/if.h: Likewise.
36500 * sysdeps/generic/sys/swap.h: Likewise.
36501 * sysdeps/gnu/net/if.h: Likewise.
36502 * sysdeps/gnu/utmpx.h: Likewise.
36503 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36504 * sysdeps/i386/i486/bits/string.h: Likewise.
36505 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36506 * sysdeps/s390/bits/string.h: Likewise.
36507 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36508 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36509 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36510 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36511 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36512 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36513 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36514 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36515 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36516 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36517 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36518 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36519 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36520 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36521 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36522 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36523 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36524 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36525 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36526 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36527 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36528 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36529 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36530 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36531 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36532 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36533 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36534 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36535 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36536 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36537 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36538 * sysvipc/sys/ipc.h: Likewise.
36539 * sysvipc/sys/msg.h: Likewise.
36540 * sysvipc/sys/sem.h: Likewise.
36541 * sysvipc/sys/shm.h: Likewise.
36542 * termios/termios.h: Likewise.
36543 * time/sys/time.h: Likewise.
36544 * time/time.h: Likewise.
36545 * wcsmbs/bits/wchar2.h: Likewise.
36546 * wcsmbs/uchar.h: Likewise.
36547 * wcsmbs/wchar.h: Likewise.
36548 * wctype/wctype.h: Likewise.
36549
36550 [BZ #13551]
36551 * Makeconfig: Remove all but ELF support including AIX support.
36552 * Makerules: Likewise.
36553 * config.h.in: Likewise.
36554 * config.make.in: Likewise.
36555 * configure: Likewise.
36556 * configure.in: Likewise.
36557 * csu/Makefile: Likewise.
36558 * csu/version.c: Likewise.
36559 * debug/Makefile: Likewise.
36560 * dlfcn/Makefile: Likewise.
36561 * elf/Makefile: Likewise.
36562 * extra-lib.mk: Likewise.
36563 * iconv/Makefile: Likewise.
36564 * include/libc-symbols.h: Likewise.
36565 * include/shlib-compat.h: Likewise.
36566 * resolv/Makefile: Likewise.
36567 * resolv/res_libc.c: Likewise.
36568 * rt/Makefile: Likewise.
36569 * sysdeps/i386/asm-syntax.h: Likewise.
36570 * sysdeps/i386/sysdep.h: Likewise.
36571 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36572 * sysdeps/mach/sysdep.h: Likewise.
36573 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36574 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36575 * sysdeps/s390/asm-syntax.h: Likewise.
36576 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36577 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36578 * sysdeps/sh/sysdep.h: Likewise.
36579 * sysdeps/unix/sparc/sysdep.h: Likewise.
36580 * sysdeps/wordsize-32/divdi3.c: Likewise.
36581 * sysdeps/x86_64/sysdep.h: Likewise.
36582
36583 * argp/Versions: Remove _argp_unlock_xxx.
36584
36585 [BZ #13559]
36586 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36587 * abilist/libBrokenLocale.abilist: Likewise.
36588 * abilist/libanl.abilist: Likewise.
36589 * abilist/libc.abilist: Likewise.
36590 * abilist/libcrypt.abilist: Likewise.
36591 * abilist/libdl.abilist: Likewise.
36592 * abilist/libm.abilist: Likewise.
36593 * abilist/libnsl.abilist: Likewise.
36594 * abilist/libpthread.abilist: Likewise.
36595 * abilist/libresolv.abilist: Likewise.
36596 * abilist/librt.abilist: Likewise.
36597 * abilist/libthread_db.abilist: Likewise.
36598 * abilist/libutil.abilist: Likewise.
36599 * abilist/libnss_db.abilist: New file.
36600
36601 * scripts/abilist.awk: Add support for indirect functions.
36602
36603 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36604
36605 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36606
36607 * shlib-versions: Remove entries for ports architectures.
36608
36609 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36610 files in ports.
36611 * elf/stackguard-macros.h: Remove support for IA-64.
36612 * elf/tst-auditmod1.c: Likewise.
36613 * sysdeps/generic/ldsodefs.h: Likewise.
36614
36615 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36616 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36617 configure files.
36618
36619 [BZ #13552]
36620 * configure.in: Remove --enable-omitfp support.
36621 * FAQ.in: Adjust.
36622 * config.make.in: Likewise.
36623 * Makeconfig: Likewise.
36624 * manual/install.texi: Likewise.
36625
36626 In case anyone cares, the IA-64 architecture could move to ports.
36627 * sysdeps/ia64/*: Removed.
36628 * sysdeps/unix/sysv/linux/ia64/*: Removed.
36629 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
36630
36631 [BZ #13555]
36632 * configure.in: Remove entries for unsupported architectures.
36633
36634 [BZ #13533]
36635 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36636 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36637 routines.
36638 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36639 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36640 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36641 fall back to using wcrtomb.
36642 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36643 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36644 renaming.
36645 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36646 * wcsmbs/tst-c16c32-1.c: New file.
36647
36648 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36649 local variable.
36650
36651 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36652
36653 * elf/tst-unique3.cc: Add explicit declaration of gets.
36654 * elf/tst-unique3lib.cc: Likewise.
36655 * elf/tst-unique3lib2.cc: Likewise.
36656 * elf/tst-unique4.cc: Likewise.
36657
36658 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36659
36660 2012-01-06 Joseph Myers <joseph@codesourcery.com>
36661
36662 [BZ #13566]
36663 * assert/assert.h (static_assert): Don't define for C++.
36664 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36665 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36666
36667 2012-01-03 Ulrich Drepper <drepper@gmail.com>
36668
36669 * iconv/loop.c (single loop): Fix assertion in storing of
36670 remaining bytes.
36671
36672 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36673
36674 2012-01-01 Ulrich Drepper <drepper@gmail.com>
36675
36676 * posix/getconf.c: Update copyright year.
36677 * nss/getent.c: Likewise.
36678 * nss/makedb.c: Likewise.
36679 * iconv/iconvconfig.c: Likewise.
36680 * iconv/iconv_prog.c: Likewise.
36681 * elf/ldconfig.c: Likewise.
36682 * elf/pldd.c: Likewise.
36683 * elf/sotruss.ksh: Likewise.
36684 * catgets/gencat.c: Likewise.
36685 * csu/version.c: Likewise.
36686 * elf/ldd.bash.in: Likewise.
36687 * elf/sprof.c (print_version): Likewise.
36688 * locale/programs/locale.c: Likewise.
36689 * locale/programs/localedef.c: Likewise.
36690 * login/programs/pt_chown.c: Likewise.
36691 * nscd/nscd.c (print_version): Likewise.
36692 * debug/xtrace.sh: Likewise.
36693 * malloc/memusage.sh: Likewise.
36694 * malloc/mtrace.pl: Likewise.
36695 * debug/catchsegv.sh: Likewise.
36696
36697 2011-12-30 Jakub Jelinek <jakub@redhat.com>
36698
36699 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36700 pure attribute.
36701
36702 2011-12-24 Ulrich Drepper <drepper@gmail.com>
36703
36704 [BZ #13533]
36705 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36706 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36707 transformations.
36708 * iconv/gconv_int.h: Likewise.
36709 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36710 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36711 from libc for GLIBC_2.16.
36712 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36713 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36714 * wcsmbs/uchar.h: Really define mbstate_t.
36715 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36716 * wcsmbs/c16rtomb.c: New file.
36717 * wcsmbs/mbrtoc16.c: New file.
36718 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36719 for C/POSIX locale.
36720 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36721 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36722
36723 * wcsmbs/wchar.h: Add missing __restrict.
36724
36725 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36726
36727 [BZ #13532]
36728 * time/Makefile (routines): Add timespec_get.
36729 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36730 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36731 timespec for ISO C11.
36732 * time/timespec_get.c: New file.
36733 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36734 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36735
36736 [BZ #13531]
36737 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36738 * stdlib/stdlib.h: Declare aligned_alloc.
36739 * Versions.def: Add GLIBC_2.16 for libc.
36740 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36741
36742 [BZ 13527]
36743 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36744 ISO C11.
36745
36746 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
36747 code.
36748
36749 [BZ #13528]
36750 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36751
36752 [BZ #13529]
36753 * assert/assert.h (static_assert): Define.
36754
36755 * version.h: Update for 2.16 development version.
36756
36757 [BZ #13526]
36758 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36759 _ISOC11_SOURCE.
36760
36761 * version.h (RELEASE): Bump for 2.15 release.
36762 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36763
36764 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36765 Patch by Marek Polacek <mpolacek@redhat.com>.
36766
36767 * bits/byteswap.h: Protect long long constants with __extension__.
36768 * sysdeps/i386/bits/byteswap.h: Likewise.
36769 * sysdeps/ia64/bits/byteswap.h: Likewise.
36770 * sysdeps/s390/bits/byteswap.h: Likewise.
36771 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36772
36773 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36774
36775 [BZ #13540]
36776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36777 destination buffer.
36778 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36779
36780 2011-12-23 Marek Polacek <polacek@redhat.com>
36781
36782 * elf/dl-addr.c (determine_info): Add inline keyword.
36783 * elf/tst-auditmod4b.c (check_avx): Likewise.
36784 * elf/tst-auditmod6b.c (check_avx): Likewise.
36785 * elf/tst-auditmod6c.c (check_avx): Likewise.
36786 * elf/tst-auditmod7b.c (check_avx): Likewise.
36787
36788 2011-12-23 Ulrich Drepper <drepper@gmail.com>
36789
36790 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36791 !__SSE_MATH__.
36792
36793 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36794
36795 [BZ #13540]
36796 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36797 processing for last bytes.
36798
36799 2011-08-06 Bruno Haible <bruno@clisp.org>
36800
36801 [BZ #13061]
36802 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36803 U+0385, not to U+1FEE.
36804
36805 [BZ #13062]
36806 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36807 entry for U+00A5 U+0301.
36808
36809 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36810
36811 [BZ #13166]
36812 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36813 buffer for the output is too small.
36814
36815 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36816 optimization.
36817
36818 [BZ #13185]
36819 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36820 SSE flags if possible.
36821
36822 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36823
36824 [BZ #13540]
36825 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36826 processing for last bytes.
36827
36828 2011-12-22 Joseph Myers <joseph@codesourcery.com>
36829
36830 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36831 (syscall-list-default-options, syscall-list-default-condition)
36832 (syscall-list-includes): Define.
36833 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36834 list of ABIs and options and #if conditions for each ABI. Do not
36835 handle common syscalls between ABIs specially.
36836 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36837 Remove.
36838 (syscall-list-variants, syscall-list-32bit-options)
36839 (syscall-list-32bit-condition, syscall-list-64bit-options)
36840 (syscall-list-64bit-condition): Define.
36841 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36842 (syscall-list-variants, syscall-list-32bit-options)
36843 (syscall-list-32bit-condition, syscall-list-64bit-options)
36844 (syscall-list-64bit-condition): Define.
36845 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36846 Remove.
36847 (syscall-list-variants, syscall-list-32bit-options)
36848 (syscall-list-32bit-condition, syscall-list-64bit-options)
36849 (syscall-list-64bit-condition): Define.
36850 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36851 Remove.
36852 (syscall-list-variants, syscall-list-32bit-options)
36853 (syscall-list-32bit-condition, syscall-list-64bit-options)
36854 (syscall-list-64bit-condition): Define.
36855
36856 2011-12-22 Ulrich Drepper <drepper@gmail.com>
36857
36858 * locale/iso-639.def: Add brx entry.
36859
36860 [BZ #13328]
36861 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36862 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36863
36864 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36865 __feraiseexcept_renamed.
36866
36867 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36868
36869 [BZ #13538]
36870 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36871 EPOLLET with unsigned values.
36872 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36873 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36874
36875 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36876 to large cancellation.
36877 * math/s_cacoshf.c: Likewise.
36878 * math/s_cacoshl.c: Likewise.
36879
36880 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36881
36882 [BZ #13305]
36883 [BZ #12786]
36884 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36885 * math/s_cacoshf.c: Likewise.
36886 * math/s_cacoshl.c: Likewise.
36887
36888 2011-12-21 Ulrich Drepper <drepper@gmail.com>
36889
36890 [BZ #13439]
36891 * iconv/gconv.h: Define __GCONV_SWAP.
36892 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36893 * iconvdata/utf-16.c: Likewise.
36894 * iconvdata/utf-32.c: Likewise.
36895
36896 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36897
36898 [BZ #13524]
36899 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36900 numerator after shifting it by one limb.
36901
36902 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36903
36904 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36905 under [__USE_EXTERN_INLINES].
36906
36907 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36908
36909 [BZ #13446]
36910 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36911
36912 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36913
36914 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36915 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36916 optimized code.
36917 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36918 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36919 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36920 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36921 for strncasecmp/strncasecmp_l compilation.
36922 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36923 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36924
36925 2011-12-08 Marek Polacek <mpolacek@redhat.com>
36926
36927 [BZ #13484]
36928 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36929 of __asm__.
36930
36931 2011-12-17 Ulrich Drepper <drepper@gmail.com>
36932
36933 [BZ #13506]
36934 * time/tzfile.c (__tzfile_read): Check values from file header.
36935
36936 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36937
36938 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36939 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36940 * powerpc/powerpc32/dl-start.S: Likewise.
36941 * powerpc/powerpc32/elf/start.S: Likewise.
36942 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36943 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36944 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36945 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36946 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36947 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36948 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36949 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36950 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36951 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36952 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36953 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36954 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36955 * powerpc/powerpc32/memset.S: Likewise.
36956 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36957 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36958 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36959 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36960 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36961 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36962 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36963 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36964 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36965 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36966 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36967 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36968 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36969
36970 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36971
36972 * math/libm-test.inc: Added more nearbyint tests.
36973 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36974 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36975 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36976 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36977
36978 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36979
36980 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36981 FD_CLOEXEC.
36982
36983 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36984
36985 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36986 Add wcscpy-ssse3 wcscpy-c.
36987 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36988 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36989 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36990 * sysdeps/x86_64/wcschr.S: New file.
36991 * sysdeps/x86_64/wcsrchr.S: New file.
36992 * string/test-strcmp.c: Remove checking of wcscmp function for
36993 wrong alignments.
36994 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36995 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36996 wcsrchr-sse2 wcsrchr-c.
36997 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36998 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36999 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
37000 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
37001 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
37002 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
37003 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
37004 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
37005 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
37006 * wcsmbc/wcschr.c (WCSCHR): New macro.
37007
37008 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37009
37010 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
37011 * wcsmbs/test-wcsrchr.c: New file.
37012 * string/test-strrchr.c: Add wcsrchr support.
37013 (WIDE): New macro.
37014 * wcsmbs/test-wcscpy.c: New file.
37015 * string/test-strcpy.c: Add wcscpy support.
37016 (WIDE): New macro.
37017
37018 2011-12-10 Ulrich Drepper <drepper@gmail.com>
37019
37020 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
37021 the inner loop.
37022
37023 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
37024
37025 [BZ #13472]
37026 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
37027
37028 2011-12-04 Ulrich Drepper <drepper@gmail.com>
37029
37030 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
37031 Minor optimizations.
37032
37033 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
37034 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
37035 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
37036
37037 2011-12-03 Ulrich Drepper <drepper@gmail.com>
37038
37039 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
37040 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
37041 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
37042 for gcc to avoid warnings.
37043 * inet/Makefile (tests): Add tst-checks.
37044 * inet/tst-checks.c: New file.
37045
37046 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
37047 warning.
37048
37049 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
37050 __wmemcmp_sse2.
37051
37052 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
37053 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
37054
37055 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
37056
37057 2011-12-02 Ulrich Drepper <drepper@gmail.com>
37058
37059 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
37060 problem.
37061
37062 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
37063
37064 2011-11-29 Joseph Myers <joseph@codesourcery.com>
37065
37066 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
37067 conditional on GCC version.
37068 (__arch_compare_and_exchange_val_8_acq)
37069 (__arch_compare_and_exchange_val_16_acq)
37070 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
37071 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
37072 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
37073
37074 2011-12-02 Joseph Myers <joseph@codesourcery.com>
37075
37076 * sysdeps/sh/backtrace.c: New file.
37077
37078 2011-12-02 Andreas Schwab <schwab@redhat.com>
37079
37080 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
37081 parenthesis.
37082
37083 2011-12-01 Andreas Schwab <schwab@redhat.com>
37084
37085 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
37086 falling back to utime.
37087
37088 2011-11-30 Andreas Schwab <schwab@redhat.com>
37089
37090 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
37091 expectations for float.
37092
37093 2011-11-29 Andreas Schwab <schwab@redhat.com>
37094
37095 * locale/weight.h (findidx): Add parameter len.
37096 * locale/weightwc.h (findidx): Likewise.
37097 * posix/fnmatch_loop.c (FCT): Adjust caller.
37098 * posix/regcomp.c (build_equiv_class): Likewise.
37099 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
37100 * posix/regexec.c (check_node_accept_bytes): Likewise.
37101 * string/strcoll_l.c (STRCOLL): Likewise.
37102 * string/strxfrm_l.c (STRXFRM): Likewise.
37103
37104 2011-11-17 Ulrich Drepper <drepper@gmail.com>
37105
37106 * Makefile.in: Remove CVSOPT handling.
37107 * configure.in: Remove use of AC_REVISION.
37108 * iconvdata/Makefile (distribute): No need to filter out CVS.
37109 * scripts/list-sources.sh: Remove CVS, subversion and monotone
37110 handling.
37111
37112 2011-11-16 Andreas Schwab <schwab@redhat.com>
37113
37114 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
37115 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
37116 [USE_AS_STRNCASECMP_L]: Likewise.
37117 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
37118 NO_TLS_DIRECT_SEG_REFS.
37119 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
37120 Fix argument offsets for non-PIC.
37121 [USE_AS_STRNCASECMP_L]: Likewise.
37122 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
37123 NO_TLS_DIRECT_SEG_REFS.
37124
37125 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37126
37127 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
37128 O_CLOEXEC.
37129 * locale/loadlocale.c (_nl_load_locale): Likewise.
37130
37131 2011-11-15 Andreas Schwab <schwab@redhat.com>
37132
37133 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
37134 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
37135 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
37136 (SYSCALL_GETTIME): Set errno on error.
37137
37138 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
37139 count references to noai6ai_cached.
37140
37141 2011-11-15 Ulrich Drepper <drepper@gmail.com>
37142
37143 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
37144
37145 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
37146 FD_CLOEXEC for /proc/self/maps.
37147
37148 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
37149 FD_CLOEXEC for /proc/meminfo.
37150
37151 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
37152 gai.conf.
37153
37154 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
37155 FD_CLOEXEC for given file.
37156
37157 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
37158
37159 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
37160 FD_CLOEXEC for /etc/hosts.
37161 (_gethtent): Likewise.
37162
37163 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
37164
37165 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
37166 cancellation and set FD_CLOEXEC for /etc/netgroup.
37167
37168 * nss/nss_files/files-key.c (search): Don't allow cancellation when
37169 reading /etc/publickey.
37170
37171 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
37172 allow cancellation when reading /etc/group.
37173
37174 * nss/nss_files/files-alias.c (internal_setent): Don't allow
37175 cancellation.
37176 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
37177
37178 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
37179 when using data file.
37180
37181 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
37182
37183 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
37184 (write_nis_obj): Use "c" and "e" in fopen.
37185
37186 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
37187
37188 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
37189
37190 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
37191
37192 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
37193
37194 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
37195 locale.alias.
37196
37197 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
37198
37199 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
37200
37201 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
37202
37203 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
37204 file parsing and set FD_CLOEXEC.
37205
37206 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37207
37208 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
37209
37210 2011-11-14 Andreas Schwab <schwab@redhat.com>
37211
37212 * malloc/arena.c (arena_get2): Don't call reused_arena when
37213 _int_new_arena failed.
37214
37215 2011-11-14 Ulrich Drepper <drepper@gmail.com>
37216
37217 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
37218 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
37219 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
37220 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37221 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37222 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
37223 to compile strcasecmp and strncasecmp.
37224 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
37225 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
37226
37227 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
37228
37229 2011-11-13 Ulrich Drepper <drepper@gmail.com>
37230
37231 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
37232 locale-defines.sym to gen-as-const-headers.
37233 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
37234 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
37235 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
37236 to compile strcasecmp and strncasecmp.
37237 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
37238 strcasecmp_l and strncasecmp_l.
37239 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
37240 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
37241 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
37242 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
37243 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
37244 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
37245 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
37246 * sysdeps/i386/i686/multiarch/strncase.S: New file.
37247 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
37248 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
37249 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
37250
37251 2011-11-12 Ulrich Drepper <drepper@gmail.com>
37252
37253 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
37254 result of SYSDEP_GETTIME_CPU to retval.
37255 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
37256 parameter list to macro. Remove trailing semicolon. Adjust users.
37257
37258 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37259 variable.
37260
37261 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37262 mantissa words.
37263 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37264
37265 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37266 from unused variable.
37267
37268 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37269 DWARF definitions.
37270 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37271 for assembling.
37272
37273 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37274 over namespaces.
37275
37276 * sunrpc/rpc_prot.c (rejected): Fix case value.
37277
37278 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37279 unsigned long long int to avoid warnings in shift.
37280
37281 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37282 of use of trans.
37283 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37284 variable tmp.
37285
37286 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37287 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37288 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37289
37290 * nis/nis_table.c (nis_list): Use variable of correct type for
37291 result of __follow_path call.
37292
37293 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37294
37295 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37296 of math functions ceil, trunc, floor, round, and sqrt, when
37297 avaliable on the platform.
37298 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37299 name clash.
37300 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37301 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37302 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37303
37304 2011-10-30 Marek Polacek <mpolacek@redhat.com>
37305
37306 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37307 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37308
37309 2011-11-11 Roland McGrath <roland@hack.frob.com>
37310
37311 * include/unistd.h: Fix __readlink return type.
37312 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37313
37314 2011-11-11 Ulrich Drepper <drepper@gmail.com>
37315
37316 * stdlib/ucontext.h: Undo last change for makecontext.
37317
37318 2011-11-11 Andreas Schwab <schwab@redhat.com>
37319
37320 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37321
37322 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37323 * setjmp/setjmp.h: Mark functions as non-leaf.
37324 * setjmp/bits/setjmp2.h: Likewise.
37325 * stdlib/ucontext.h: Likewise.
37326
37327 2011-11-10 Andreas Schwab <schwab@redhat.com>
37328
37329 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37330 (reused_arena): Don't check arena limit.
37331 (arena_get2): Atomically check arena limit.
37332
37333 2011-11-08 Ulrich Drepper <drepper@gmail.com>
37334
37335 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37336 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37337
37338 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37339 instructions.
37340
37341 2011-11-07 Andreas Schwab <schwab@redhat.com>
37342
37343 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37344 handler when locking.
37345
37346 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37347 Fix size of allocated buffer.
37348
37349 2011-11-04 Andreas Schwab <schwab@redhat.com>
37350
37351 [BZ #10103]
37352 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37353 declarations for long double functions.
37354 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37355
37356 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37357
37358 2011-11-03 Andreas Schwab <schwab@redhat.com>
37359
37360 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37361 installed.
37362
37363 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37364 is disabled.
37365
37366 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37367
37368 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37369
37370 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37371
37372 * include/alloca.h (stackinfo_alloca_round): Define.
37373 (extend_alloca): Use it.
37374 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37375 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37376 here.
37377
37378 * scripts/check-local-headers.sh: Ignore libaudit.h.
37379
37380 * nscd/Makefile (extra-objs): Make recursively expanded.
37381
37382 2011-11-01 Ulrich Drepper <drepper@gmail.com>
37383
37384 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37385 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37386
37387 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37388 * posix/tst-rfc3484-2.c: Likewise.
37389 * posix/tst-rfc3484-3.c: Likewise.
37390
37391 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37392 process_vm_writev.
37393 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37394 process_vm_writev.
37395 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37396 process_vm_writev from libc using GLIBC_2.15 version.
37397
37398 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37399
37400 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37401
37402 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37403 stack usage.
37404
37405 2011-10-31 Ulrich Drepper <drepper@gmail.com>
37406
37407 [BZ #13367]
37408 * nss/getent.c (initgroups_keys): Show error message in case no group
37409 names are given.
37410
37411 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37412 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37413 __bump_nl_timestamp.
37414 * nscd/connections (nscd_init): When host database is served open
37415 netlink socket and request notification about configuration changes.
37416 (main_loop_poll): Track netlink file descriptor and bump timestamp
37417 in case data becomes available.
37418 (main_loop_epoll): Likewise.
37419 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37420 (database_pers_head): Add extra_data fileds.
37421 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37422 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37423 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37424 Adjust caller.
37425 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37426 in6ai data, call __free_in6ai.
37427 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37428 Add -DHAVE_NETLINK.
37429 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37430 interface information. Reuse previous data if netlink timestamp
37431 is not changed.
37432 (__bump_nl_timestamp): New function.
37433 (__free_in6ai): New function.
37434
37435 2011-10-30 Ulrich Drepper <drepper@gmail.com>
37436
37437 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37438 close_not_cancel_no_status here.
37439 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37440
37441 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37442
37443 [BZ #13276]
37444 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37445 return value.
37446
37447 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
37448 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37449 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37450
37451 2011-07-03 Andreas Jaeger <aj@suse.de>
37452
37453 [BZ #10709]
37454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37455 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37456 * math/libm-test.inc (sin_test): Add test case.
37457
37458 2011-10-29 Ulrich Drepper <drepper@gmail.com>
37459
37460 [BZ #13337]
37461 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37462 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37463
37464 * elf/chroot_canon.c (chroot_canon): Cleanups.
37465
37466 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37467
37468 [BZ #13335]
37469 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37470 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37471
37472 * string/test-strchr.c: Make usable for strchrnul testing.
37473 * string/test-strchrnul.c: New file.
37474 * string/Makefile (strop-tests): Add strchrnul.
37475
37476 * po/it.po: Update from translation team.
37477 * po/es.po: Likewise.
37478
37479 2011-10-28 Ulrich Drepper <drepper@gmail.com>
37480
37481 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37482 the three constants needed as parameters. Drop the others.
37483 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37484 __m128i_strloadu_tolower.
37485 Create and initialize variable zero and use it in all the places
37486 where _mm_setzero_si128 was used.
37487
37488 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37489 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37490 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37491 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37492 anymore.
37493 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37494 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37495 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37496 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37497 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37498 __mpranred, __mptan.
37499 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37500 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37501 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37502 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37503 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37504 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37505 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37506 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37507 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37508
37509 2011-10-28 Andreas Schwab <schwab@redhat.com>
37510
37511 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37512 redefine if SHARED.
37513 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37514
37515 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37516 wide char related routines to wcsmbs subdir.
37517
37518 2011-10-27 Andreas Schwab <schwab@redhat.com>
37519
37520 [BZ #13344]
37521 * misc/sys/cdefs.h (__THROWNL): Define.
37522 * posix/unistd.h: Use __THREADNL instead of __THREAD
37523 for memory synchronization functions.
37524
37525 2011-10-26 Roland McGrath <roland@hack.frob.com>
37526
37527 [BZ #13349]
37528 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37529 doesn't exist.
37530 * manual/stdio.texi (Obstack Streams): Node removed.
37531
37532 2011-10-26 Andreas Schwab <schwab@redhat.com>
37533
37534 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37535 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37536 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37537
37538 * math/math_private.h (math_force_eval): Allow non-addressable
37539 arguments.
37540 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37541
37542 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37543
37544 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37545 file is not needed.
37546
37547 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37548 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37549 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37550 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37551 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37552 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37553 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37554 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37555 Add AVX variants.
37556 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37557 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37558 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37559 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37560 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37561 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37562 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37563 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37564 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37565 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37566 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37567 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37568 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37569 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37570 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37571 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37572 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37573 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37574 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37575
37576 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37577 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37578
37579 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37580 place. Use VEX encoding when compiling for AVX.
37581
37582 2011-10-25 Andreas Schwab <schwab@redhat.com>
37583
37584 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37585 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37586
37587 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37588
37589 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37590
37591 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
37592 useless if() expression.
37593 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37594 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37595 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37602 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37603 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37605 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37606 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37607 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37608 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37609 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37610 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37611 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37612
37613 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37614
37615 2011-10-25 Andreas Schwab <schwab@redhat.com>
37616
37617 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37618 condition.
37619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37620
37621 2011-10-25 Ulrich Drepper <drepper@gmail.com>
37622
37623 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37624 .text section. Avoid duplicate constants.
37625 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37626 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37627 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37629 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37630 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37632 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37633 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37634 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37635 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37636 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37637 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37638 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37639 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37640 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37641 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37642 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37643 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37645 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37646 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37647 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37648 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37649 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37650 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37651 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37652 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37653 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37654 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37655 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37656 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37657 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37658 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37659 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37660 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37661 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37662 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37663 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37664 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37665 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37666 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37667 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37668 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37669 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37670
37671 2011-10-24 Ulrich Drepper <drepper@gmail.com>
37672
37673 * sysdeps/x86_64/dla.h: Move to ...
37674 * sysdeps/x86_64/fpu/dla.h: ...here.
37675 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37676 situations. Use __builtin_fma only for gcc 4.6 and up.
37677
37678 * config.make.in: Add have-mfma4 entry.
37679 * configure.in: Substitute libc_cv_cc_fma4.
37680 * math/Makefile (dbl-only-routines): Add sincostab.
37681 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37682 Use __sincostab not sincos.
37683 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37684 name is a macro.
37685 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37689 using __copysign.
37690 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37691 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37692 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37693 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37694 and __inv.
37695 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37696 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37697 __copysign.
37698 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37699 define aliases when function name is a macro.
37700 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37701 sysdeps/ieee754/dbl-64/sincos.tbl.
37702 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37703 fma4-enabled routines.
37704 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37705 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37706 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37707 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37709 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37711 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37713 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37714 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37715 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37716 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37717 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37718 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37719 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37720 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37721 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37722 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37723 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37724 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37725 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37726 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37727 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37728 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37729 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37730 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37731 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37732 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37733 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37734
37735 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37736 rename.
37737 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37738 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37739 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37740 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37741 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37742 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37743 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37744 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37745
37746 2011-10-24 Andreas Schwab <schwab@redhat.com>
37747
37748 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37749
37750 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37751
37752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37753
37754 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37755 prediction.
37756 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37757
37758 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37759 Remove unused variable magic_bits.
37760 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37761
37762 * string/strnlen.c: Define and use STRNLEN macro.
37763 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37764 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37765 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37766 * wcsmbs/wcslen.c: Define and use WCSLEN.
37767 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37768 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37769 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37770 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37771 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37772 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37773 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37774
37775 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37776
37777 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37778 strnlen-sse2-no-bsf.
37779 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37780 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37781 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37782 Add strnlen support.
37783 (USE_AS_STRNLEN): New macro.
37784 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37785 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37786 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37787 * sysdeps/x86_64/wcslen.S: New file.
37788
37789 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37790
37791 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37792 XMM-moves are used for copying on small sizes.
37793
37794 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37795
37796 * wcsmbs/Makefile (strop-tests): Add wcschr.
37797 * wcsmbs/test-wcschr.c: New file.
37798 * string/test-strchr.c: Update.
37799 Add wcschr support.
37800 (WIDE): New macro.
37801
37802 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37803
37804 * wcsmbs/Makefile (strop-tests): Add wcslen.
37805 * wcsmbs/test-wcslen.c: New file.
37806 * string/test-strlen.c: Update.
37807 Add wcslen support.
37808 (WIDE): New macro.
37809
37810 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37811
37812 * po/it.po: Update from translation team.
37813
37814 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37815
37816 * sysdeps/x86_64/wcscmp.S: Update.
37817 Fix wrong comparison semantics.
37818 wcscmp shall use signed comparison not unsigned.
37819 Don't use substraction to avoid overflow bug.
37820 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37821 * wcsmbc/wcscmp.c: Likewise.
37822 * string/test-strcmp.c: Likewise.
37823 Add new tests to check cases with negative values.
37824
37825 2011-10-23 Ulrich Drepper <drepper@gmail.com>
37826
37827 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37828 * sysdeps/x86_64/dla.h: ...here. New file.
37829 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37830 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37832 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37833 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37834 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37835 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37836 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37837 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37838
37839 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37840
37841 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37842 __ynl_finite aliases.
37843
37844 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37845
37846 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37847
37848 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37849 define DLA_FMA.
37850 [DLA_FMA] (EMULV): Use DLA_FMA.
37851 [DLA_FMA] (MUL12): Use EMULV.
37852 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37853 that are not needed.
37854 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37855 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37856 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37857 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37858 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37859 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37860 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37861
37862 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37863
37864 * math/s_nan.c: Undef __nan.
37865 * math/s_nanf.c: Undef __nanf.
37866 * math/s_nanl.c: Undef __nanl.
37867 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37868 "math_private.h".
37869
37870 2011-10-22 Ulrich Drepper <drepper@gmail.com>
37871
37872 * math/s_catan.c: Add branch predictions.
37873 * math/s_catanf.c: Likewise.
37874 * math/s_catanh.c: Likewise.
37875 * math/s_catanhf.c: Likewise.
37876 * math/s_catanhl.c: Likewise.
37877 * math/s_catanl.c: Likewise.
37878 * math/s_cexp.c: Likewise.
37879 * math/s_cexpf.c: Likewise.
37880 * math/s_cexpl.c: Likewise.
37881 * math/s_clog.c: Likewise.
37882 * math/s_clog10.c: Likewise.
37883 * math/s_clog10f.c: Likewise.
37884 * math/s_clog10l.c: Likewise.
37885 * math/s_clogf.c: Likewise.
37886 * math/s_clogl.c: Likewise.
37887 * math/s_csqrt.c: Likewise.
37888 * math/s_csqrtf.c: Likewise.
37889 * math/s_csqrtl.c: Likewise.
37890 * math/s_ctanf.c: Likewise.
37891 * math/s_ctanh.c: Likewise.
37892 * math/s_ctanhf.c: Likewise.
37893 * math/s_ctanhl.c: Likewise.
37894 * math/s_ctanl.c: Likewise.
37895
37896 * math/math_private.h: Define __nan, __nanf, __nanl.
37897 * math/s_cacosh.c: Include <math_private.h>.
37898 * math/s_cacoshl.c: Likewise.
37899 * math/s_casinh.c: Likewise.
37900 * math/s_casinhf.c: Likewise.
37901 * math/s_casinhl.c: Likewise.
37902 * math/s_ccos.c: Rely entire on ccosh.
37903 * math/s_ccosf.c: Rely entire on ccoshf.
37904 * math/s_ccosl.c: Rely entirely on ccoshl.
37905 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37906 Remove tests for FE_INVALID.
37907 * math/s_ccoshf.c: Likewise.
37908 * math/s_ccoshl.c: Likewise.
37909 * math/s_csin.c: Likewise.
37910 * math/s_csinf.c: Likewise.
37911 * math/s_csinh.c Likewise.
37912 * math/s_csinhf.c: Likewise.
37913 * math/s_csinhl.c: Likewise.
37914 * math/s_csinl.c: Likewise.
37915 * math/s_ctan.c: Likewise.
37916 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37917 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37918 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37919
37920 2011-10-21 Ulrich Drepper <drepper@gmail.com>
37921
37922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37923 compilation problems.
37924
37925 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37926 __builtin_expect.
37927
37928 2011-10-20 Ulrich Drepper <drepper@gmail.com>
37929
37930 * sysdeps/i386/configure.in: Test for -mfma4 option.
37931 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37932 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37933 COMMON_CPUID_INDEX_80000001.
37934 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37935 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37936 use it if FMA3 is not supported.
37937 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37938
37939 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37940 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37941
37942 2011-10-20 Andreas Schwab <schwab@redhat.com>
37943
37944 [BZ #12892]
37945 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37946 it would create a cycle with a link time dependency.
37947
37948 2011-10-19 Ulrich Drepper <drepper@gmail.com>
37949
37950 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37951 instruction.
37952 * string/Makefile (strop-tests): Add rawmemchr.
37953 * string/test-rawmemchr.c: New file.
37954
37955 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37956 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37957 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37958 when compiling str{,n}casecmp and when AVX is available. Hook up
37959 new optimized code in initializers.
37960
37961 2011-10-19 Andreas Schwab <schwab@redhat.com>
37962
37963 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37964 __feraiseexcept instead of feraiseexcept.
37965
37966 2011-10-18 Ulrich Drepper <drepper@gmail.com>
37967
37968 * math/math_private.h: Define defaults for libc_fetestexcept and
37969 libc_feupdateenv.
37970 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37971 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37972 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37973 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37974 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37975 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37976 libc_fetestexcept and libc_feupdateenv.
37977
37978 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37979 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37980 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37981 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37982 libc_feholdexcept_setround.
37983
37984 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37985 Add s_nearbyint-c and s_nearbyintf-c.
37986 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37987 nearbyintf inlines.
37988 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37989 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37990 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37991 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37992
37993 * math/math_private.h: Define defaults for libc_fegetround,
37994 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37995 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37996 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37997 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37998 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37999 standard functions.
38000 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38001 Remove comments and hacks for old compiler versions.
38002 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
38003 libc_fegetround, libc_fesetround, libc_feholdexcept, and
38004 libc_feholdexceptl.
38005
38006 2011-10-18 Andreas Schwab <schwab@redhat.com>
38007
38008 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
38009 (__feraiseexcept_renamed): Add __NTH.
38010 (feraiseexcept): Add __NTH. Rename local variables to fix
38011 namespace violations.
38012
38013 2011-10-17 Ulrich Drepper <drepper@gmail.com>
38014
38015 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
38016
38017 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
38018
38019 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
38020 recently added interfaces.
38021 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
38022
38023 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
38024 about macro parameter expansion.
38025
38026 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
38027 __NO_MATH_INLINES is defined. Cleanups.
38028
38029 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
38030 and __floorf is target has SSE4.1.
38031 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
38032 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
38033 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
38034 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
38035
38036 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
38037 name.
38038 (floorf): Likewise.
38039
38040 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
38041
38042 2011-10-17 Andreas Schwab <schwab@redhat.com>
38043
38044 * misc/sys/cdefs.h: Fix last change.
38045
38046 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
38047 database lookup.
38048
38049 2011-10-16 Ulrich Drepper <drepper@gmail.com>
38050
38051 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
38052
38053 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
38054 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38055 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38056 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38057 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38058 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38059 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38060 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38061 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38062 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
38063 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
38064 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
38065 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
38066 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
38067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
38068 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
38069 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
38070 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
38071 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
38072 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
38073 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
38074 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
38075
38076 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
38077 ceil, ceilf, floor, floorf.
38078
38079 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
38080 Perform IRELATIVE relocations last.
38081
38082 * elf/do-rel.h: Add another parameter nrelative, replacing the
38083 local variable with the same name. Change name of the function
38084 to end in Rel or Rela (uppercase).
38085 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
38086 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
38087 elf_dynamic_do_##reloc function.
38088
38089 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38090
38091 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
38092 is sufficient, at least on modern CPUs.
38093
38094 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
38095
38096 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
38097 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
38098
38099 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
38100 __expl_finite.
38101 * math/bits/math-finite.h: Add entries for exp.
38102 * math/e_expl.c: Add __*_finite alias.
38103 * sysdeps/i386/fpu/e_exp.S: Likewise.
38104 * sysdeps/i386/fpu/e_expf.S: Likewise.
38105 * sysdeps/i386/fpu/e_expl.c: Likewise.
38106 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
38110 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
38111 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38112 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38113
38114 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
38115 is sufficient, at least on modern CPUs.
38116
38117 * ctype/ctype-info.c (__ctype_init): Define.
38118 * include/ctype.h (__ctype_init): Declare.
38119 (__ctype_b_loc): The variable is always initialized.
38120 (__ctype_toupper_loc): Likewise.
38121 (__ctype_tolower_loc): Likewise.
38122 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
38123 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
38124
38125 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
38126
38127 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
38128
38129 * configure.in: Also look in $cxxmachine/include for C++ system
38130 headers.
38131
38132 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38133
38134 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
38135 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
38136 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
38137 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
38138 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
38139 (USE_AS_WMEMCMP): New macro.
38140 Fixing indents.
38141 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
38142 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
38143 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
38144 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
38145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38146 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
38147 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
38148 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
38149 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
38150 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
38151 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
38152 (USE_AS_WMEMCMP): New macro.
38153 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
38154 * sysdeps/string/test-memcmp.c: Update.
38155 Fix simple_wmemcmp.
38156 Add new tests.
38157 * wcsmbs/wmemcmp.c: Update.
38158 (WMEMCMP): New macro.
38159 Fix overflow bug.
38160
38161 2011-10-12 Andreas Jaeger <aj@suse.de>
38162
38163 [BZ #13268]
38164 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
38165
38166 2011-10-15 Ulrich Drepper <drepper@gmail.com>
38167
38168 * libio/iofwide.c (do_length): Avoid warning.
38169
38170 * ctype/ctype.h (__isctype_f): Add missing __THROW.
38171
38172 2011-10-14 Ulrich Drepper <drepper@gmail.com>
38173
38174 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
38175
38176 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
38177 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
38178 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
38179 * sysdeps/i386/i686/fpu/e_log.S: New file.
38180 * sysdeps/i386/i686/fpu/e_logf.S: New file.
38181 * sysdeps/i386/i686/fpu/e_logl.S: New file.
38182
38183 * ctype/ctype.h: Add support for inlined isXXX functions when
38184 compiling C++ code.
38185
38186 2011-10-14 Andreas Schwab <schwab@redhat.com>
38187
38188 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38189
38190 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
38191
38192 2011-10-13 Roland McGrath <roland@hack.frob.com>
38193
38194 [BZ #13291]
38195 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
38196
38197 2011-10-13 Andreas Schwab <schwab@redhat.com>
38198
38199 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
38200 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
38201 feraiseexcept.
38202
38203 * sysdeps/x86_64/memrchr.S: Check for zero size.
38204
38205 * string/stratcliff.c: Add memrchr tests.
38206
38207 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38208
38209 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38210 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
38211 rawmemchr-sse2 rawmemchr-sse2-bsf.
38212 * sysdeps/i386/i686/multiarch/memchr.S: New file.
38213 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
38214 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
38215 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
38216 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
38217 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
38218 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
38219 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
38220 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
38221 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
38222 * string/memrchr.c (MEMRCHR): New macro.
38223
38224 2011-10-12 Ulrich Drepper <drepper@gmail.com>
38225
38226 Add integration with gcc's -ffinite-math-only and optimize wrapper
38227 functions in libm.
38228 * Versions.def: Define GLIBC_2.15 version for libm.
38229 * math/Makefile (headers): Add bits/math-finite.h.
38230 * math/bits/math-finite.h: New file.
38231 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
38232 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
38233 * math/e_acoshl.c: Add __*_finite alias.
38234 * math/e_acosl.c: Likewise.
38235 * math/e_asinl.c: Likewise.
38236 * math/e_atan2l.c: Likewise.
38237 * math/e_atanhl.c: Likewise.
38238 * math/e_coshl.c: Likewise.
38239 * math/e_exp10.c: Likewise.
38240 * math/e_exp10f.c: Likewise.
38241 * math/e_exp10l.c: Likewise.
38242 * math/e_exp2l.c: Likewise.
38243 * math/e_fmodl.c: Likewise.
38244 * math/e_gammal_r.c: Likewise.
38245 * math/e_hypotl.c: Likewise.
38246 * math/e_j0l.c: Likewise.
38247 * math/e_j1l.c: Likewise.
38248 * math/e_jnl.c: Likewise.
38249 * math/e_lgammal_r.c: Likewise.
38250 * math/e_log10l.c: Likewise.
38251 * math/e_log2l.c: Likewise.
38252 * math/e_logl.c: Likewise.
38253 * math/e_powl.c: Likewise.
38254 * math/e_sinhl.c: Likewise.
38255 * math/e_sqrtl.c: Likewise.
38256 * math/e_scalb.c: Completely rewritten and optimized.
38257 * math/e_scalbf.c: Likewise.
38258 * math/e_scalbl.c: Likewise.
38259 * math/w_acos.c: Likewise.
38260 * math/w_acosf.c: Likewise.
38261 * math/w_acosl.c: Likewise.
38262 * math/w_acosh.c: Likewise.
38263 * math/w_acoshf.c: Likewise.
38264 * math/w_acoshl.c: Likewise.
38265 * math/w_asin.c: Likewise.
38266 * math/w_asinf.c: Likewise.
38267 * math/w_asinl.c: Likewise.
38268 * math/w_atan2.c: Likewise.
38269 * math/w_atan2f.c: Likewise.
38270 * math/w_atan2l.c: Likewise.
38271 * math/w_atanh.c: Likewise.
38272 * math/w_atanhf.c: Likewise.
38273 * math/w_atanhl.c: Likewise.
38274 * math/w_exp10.c: Likewise.
38275 * math/w_exp10f.c: Likewise.
38276 * math/w_exp10l.c: Likewise.
38277 * math/w_fmod.c: Likewise.
38278 * math/w_fmodf.c: Likewise.
38279 * math/w_fmodl.c: Likewise.
38280 * math/w_j0.c: Likewise.
38281 * math/w_j0f.c: Likewise.
38282 * math/w_j0l.c: Likewise.
38283 * math/w_j1.c: Likewise.
38284 * math/w_j1f.c: Likewise.
38285 * math/w_j1l.c: Likewise.
38286 * math/w_jn.c: Likewise.
38287 * math/w_jnf.c: Likewise.
38288 * math/w_log.c: Likewise.
38289 * math/w_logf.c: Likewise.
38290 * math/w_logl.c: Likewise.
38291 * math/w_log10.c: Likewise.
38292 * math/w_log10f.c: Likewise.
38293 * math/w_log10l.c: Likewise.
38294 * math/w_log2.c: Likewise.
38295 * math/w_log2f.c: Likewise.
38296 * math/w_log2l.c: Likewise.
38297 * math/w_pow.c: Likewise.
38298 * math/w_powf.c: Likewise.
38299 * math/w_powl.c: Likewise.
38300 * math/w_remainder.c: Likewise.
38301 * math/w_remainderf.c: Likewise.
38302 * math/w_remainderl.c: Likewise.
38303 * math/w_scalb.c: Likewise.
38304 * math/w_scalbf.c: Likewise.
38305 * math/w_scalbl.c: Likewise.
38306 * math/w_sqrt.c: Likewise.
38307 * math/w_sqrtf.c: Likewise.
38308 * math/w_sqrtl.c: Likewise.
38309 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38310 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38311 used.
38312 * math/math_private.h: Declare __kernel_standard_f.
38313 * math/w_cosh.c: Remove cruft and optimize a bit.
38314 * math/w_coshf.c: Likewise.
38315 * math/w_coshl.c: Likewise.
38316 * math/w_exp2.c: Likewise.
38317 * math/w_exp2f.c: Likewise.
38318 * math/w_exp2l.c: Likewise.
38319 * math/w_hypot.c: Likewise.
38320 * math/w_hypotf.c: Likewise.
38321 * math/w_hypotl.c: Likewise.
38322 * math/w_lgamma.c: Likewise.
38323 * math/w_lgamma_r.c: Likewise.
38324 * math/w_lgammaf.c: Likewise.
38325 * math/w_lgammaf_r.c: Likewise.
38326 * math/w_lgammal.c: Likewise.
38327 * math/w_lgammal_r.c: Likewise.
38328 * math/w_sinh.c: Likewise.
38329 * math/w_sinhf.c: Likewise.
38330 * math/w_sinhl.c: Likewise.
38331 * math/w_tgamma.c: Likewise.
38332 * math/w_tgammaf.c: Likewise.
38333 * math/w_tgammal.c: Likewise.
38334 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38335 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38336 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38337 Minor optimizations. Pretty printing. Remove cruft.
38338 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38339 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38340 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38341 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38342 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38343 * sysdeps/i386/fpu/e_asin.S: Likewise.
38344 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38345 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38346 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38347 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38348 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38349 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38350 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38351 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38352 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38353 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38354 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38355 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38356 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38357 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38358 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38359 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38360 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38361 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38362 * sysdeps/i386/fpu/e_log.S: Likewise.
38363 * sysdeps/i386/fpu/e_log10.S: Likewise.
38364 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38365 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38366 * sysdeps/i386/fpu/e_log2.S: Likewise.
38367 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38368 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38369 * sysdeps/i386/fpu/e_logf.S: Likewise.
38370 * sysdeps/i386/fpu/e_logl.S: Likewise.
38371 * sysdeps/i386/fpu/e_pow.S: Likewise.
38372 * sysdeps/i386/fpu/e_powf.S: Likewise.
38373 * sysdeps/i386/fpu/e_powl.S: Likewise.
38374 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38375 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38376 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38377 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38378 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38379 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38380 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38381 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38382 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38383 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38384 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38386 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38387 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38388 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38389 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38390 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38391 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38392 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38393 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38394 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38395 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38396 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38397 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38398 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38399 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38400 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38401 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38402 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38403 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38404 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38405 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38406 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38407 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38408 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38409 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38410 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38411 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38412 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38414 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38415 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38416 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38417 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38418 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38419 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38420 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38421 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38422 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38423 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38424 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38425 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38426 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38427 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38428 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38429 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38430 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38431 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38432 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38433 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38434 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38435 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38436 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38437 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38438 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38439 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38440 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38441 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38442 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38443 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38447 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38450 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38451 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38452 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38453 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38454 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38457 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38458 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38459 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38460 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38461 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38462 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38464 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38465 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38466 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38467 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38468 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38469 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38470 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38471 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38472 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38473 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38474 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38475 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38476 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38477 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38478 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38479 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38480 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38481 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38482 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38483 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38484 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38485 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38486 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38487 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38488 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38489 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38490 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38491 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38492 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38493 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38494 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38495 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38496 (__isnanf): Likewise.
38497 (__isinf_ns): Likewise.
38498 (__isinf_nsf): Likewise.
38499 (__finite): Likewise.
38500 (__finitef): Likewise.
38501 (__ieee754_sqrt): Define as macro.
38502 (__ieee754_sqrtf): Define as macro.
38503 (__ieee754_sqrtl): Define as macro.
38504 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38505 inlined copy.
38506 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38507 __FINITE_MATH_ONLY__ consistent.
38508 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38509
38510 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38511
38512 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38513 of rawmemchr.
38514
38515 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38516
38517 2011-10-09 Ulrich Drepper <drepper@gmail.com>
38518
38519 * po/ja.po: Update from translation team.
38520
38521 2011-10-08 Roland McGrath <roland@hack.frob.com>
38522
38523 * locale/programs/locarchive.c (prepare_address_space): New function.
38524 (create_archive, enlarge_archive, open_archive): Use it.
38525
38526 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38527 inside [SHARED], where it is used.
38528
38529 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38530
38531 * nss/getent.c (netgroup_keys): Remove unused variable.
38532 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38533
38534 2011-10-08 Ulrich Drepper <drepper@gmail.com>
38535
38536 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38537 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38538 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38539 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38540 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38541 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38542 * math/Makefile (libm-calls): Add s_isinf_ns.
38543 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38544 * math/multc3.c: Likewise.
38545 * math/s_casin.c: Likewise.
38546 * math/s_casinf.c: Likewise.
38547 * math/s_casinl.c: Likewise.
38548 * math/s_ccos.c: Likewise.
38549 * math/s_ccosf.c: Likewise.
38550 * math/s_ccosl.c: Likewise.
38551 * math/s_ctan.c: Likewise.
38552 * math/s_ctanf.c: Likewise.
38553 * math/s_ctanh.c: Likewise.
38554 * math/s_ctanhf.c: Likewise.
38555 * math/s_ctanhl.c: Likewise.
38556 * math/s_ctanl.c: Likewise.
38557 * math/w_fmod.c: Likewise.
38558 * math/w_fmodf.c: Likewise.
38559 * math/w_fmodl.c: Likewise.
38560 * math/w_remainder.c: Likewise.
38561 * math/w_remainderf.c: Likewise.
38562 * math/w_remainderl.c: Likewise.
38563 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38564 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38565 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38567 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38568 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38569 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38570 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38571
38572 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38573 of the number.
38574 * stdio-common/printf_fphex.c: Likewise.
38575 * stdio-common/printf_size.c: Likewise.
38576
38577 * math/e_exp10.c: Include math_private.h using <...> not "...".
38578 * math/e_exp10f.c: Likewise.
38579 * math/e_exp10l.c: Likewise.
38580 * math/e_exp2l.c: Likewise.
38581 * math/e_j0l.c: Likewise.
38582 * math/e_j1l.c: Likewise.
38583 * math/e_jnl.c: Likewise.
38584 * math/e_lgammal_r.c: Likewise.
38585 * math/e_rem_pio2l.c: Likewise.
38586 * math/e_scalb.c: Likewise.
38587 * math/e_scalbf.c: Likewise.
38588 * math/e_scalbl.c: Likewise.
38589 * math/k_cosl.c: Likewise.
38590 * math/k_sinl.c: Likewise.
38591 * math/k_tanl.c: Likewise.
38592 * math/s_cacoshf.c: Likewise.
38593 * math/s_catan.c: Likewise.
38594 * math/s_catanf.c: Likewise.
38595 * math/s_catanh.c: Likewise.
38596 * math/s_catanhf.c: Likewise.
38597 * math/s_catanhl.c: Likewise.
38598 * math/s_catanl.c: Likewise.
38599 * math/s_ccosh.c: Likewise.
38600 * math/s_ccoshf.c: Likewise.
38601 * math/s_ccoshl.c: Likewise.
38602 * math/s_cexp.c: Likewise.
38603 * math/s_cexpf.c: Likewise.
38604 * math/s_cexpl.c: Likewise.
38605 * math/s_clog.c: Likewise.
38606 * math/s_clog10.c: Likewise.
38607 * math/s_clog10f.c: Likewise.
38608 * math/s_clog10l.c: Likewise.
38609 * math/s_clogf.c: Likewise.
38610 * math/s_clogl.c: Likewise.
38611 * math/s_csin.c: Likewise.
38612 * math/s_csinf.c: Likewise.
38613 * math/s_csinh.c: Likewise.
38614 * math/s_csinhf.c: Likewise.
38615 * math/s_csinhl.c: Likewise.
38616 * math/s_csinl.c: Likewise.
38617 * math/s_csqrt.c: Likewise.
38618 * math/s_csqrtf.c: Likewise.
38619 * math/s_csqrtl.c: Likewise.
38620 * math/s_ctan.c: Likewise.
38621 * math/s_ctanf.c: Likewise.
38622 * math/s_ctanh.c: Likewise.
38623 * math/s_ctanhf.c: Likewise.
38624 * math/s_ctanhl.c: Likewise.
38625 * math/s_ctanl.c: Likewise.
38626 * math/s_ldexp.c: Likewise.
38627 * math/s_ldexpf.c: Likewise.
38628 * math/s_ldexpl.c: Likewise.
38629 * math/s_significand.c: Likewise.
38630 * math/s_significandf.c: Likewise.
38631 * math/s_significandl.c: Likewise.
38632 * math/w_acos.c: Likewise.
38633 * math/w_acosf.c: Likewise.
38634 * math/w_acosh.c: Likewise.
38635 * math/w_acoshf.c: Likewise.
38636 * math/w_acoshl.c: Likewise.
38637 * math/w_acosl.c: Likewise.
38638 * math/w_asin.c: Likewise.
38639 * math/w_asinf.c: Likewise.
38640 * math/w_asinl.c: Likewise.
38641 * math/w_atan2.c: Likewise.
38642 * math/w_atan2f.c: Likewise.
38643 * math/w_atan2l.c: Likewise.
38644 * math/w_atanh.c: Likewise.
38645 * math/w_atanhf.c: Likewise.
38646 * math/w_atanhl.c: Likewise.
38647 * math/w_cosh.c: Likewise.
38648 * math/w_coshf.c: Likewise.
38649 * math/w_coshl.c: Likewise.
38650 * math/w_dremf.c: Likewise.
38651 * math/w_exp10.c: Likewise.
38652 * math/w_exp10f.c: Likewise.
38653 * math/w_exp10l.c: Likewise.
38654 * math/w_exp2.c: Likewise.
38655 * math/w_exp2f.c: Likewise.
38656 * math/w_fmod.c: Likewise.
38657 * math/w_fmodf.c: Likewise.
38658 * math/w_fmodl.c: Likewise.
38659 * math/w_hypot.c: Likewise.
38660 * math/w_hypotf.c: Likewise.
38661 * math/w_hypotl.c: Likewise.
38662 * math/w_j0.c: Likewise.
38663 * math/w_j0f.c: Likewise.
38664 * math/w_j0l.c: Likewise.
38665 * math/w_j1.c: Likewise.
38666 * math/w_j1f.c: Likewise.
38667 * math/w_j1l.c: Likewise.
38668 * math/w_jn.c: Likewise.
38669 * math/w_jnf.c: Likewise.
38670 * math/w_jnl.c: Likewise.
38671 * math/w_lgamma.c: Likewise.
38672 * math/w_lgamma_r.c: Likewise.
38673 * math/w_lgammaf.c: Likewise.
38674 * math/w_lgammaf_r.c: Likewise.
38675 * math/w_lgammal.c: Likewise.
38676 * math/w_lgammal_r.c: Likewise.
38677 * math/w_log.c: Likewise.
38678 * math/w_log10.c: Likewise.
38679 * math/w_log10f.c: Likewise.
38680 * math/w_log10l.c: Likewise.
38681 * math/w_log2.c: Likewise.
38682 * math/w_log2f.c: Likewise.
38683 * math/w_log2l.c: Likewise.
38684 * math/w_logf.c: Likewise.
38685 * math/w_logl.c: Likewise.
38686 * math/w_pow.c: Likewise.
38687 * math/w_powf.c: Likewise.
38688 * math/w_powl.c: Likewise.
38689 * math/w_remainder.c: Likewise.
38690 * math/w_remainderf.c: Likewise.
38691 * math/w_remainderl.c: Likewise.
38692 * math/w_scalb.c: Likewise.
38693 * math/w_scalbf.c: Likewise.
38694 * math/w_scalbl.c: Likewise.
38695 * math/w_sinh.c: Likewise.
38696 * math/w_sinhf.c: Likewise.
38697 * math/w_sinhl.c: Likewise.
38698 * math/w_sqrt.c: Likewise.
38699 * math/w_sqrtf.c: Likewise.
38700 * math/w_sqrtl.c: Likewise.
38701 * math/w_tgamma.c: Likewise.
38702 * math/w_tgammaf.c: Likewise.
38703 * math/w_tgammal.c: Likewise.
38704
38705 * po/ja.po: Update from translation team.
38706
38707 2011-09-29 Andreas Jaeger <aj@suse.de>
38708
38709 [BZ #13179]
38710 * sunrpc/netname.c (netname2host): Fix logic.
38711
38712 [BZ #6779]
38713 [BZ #6783]
38714 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38715 correctly.
38716 * math/w_remainder.c (__remainder): Likewise.
38717 * math/w_remainderf.c (__remainderf): Likewise.
38718 * math/libm-test.inc (remainder_test): Add test cases.
38719
38720 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38721
38722 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38723 sdiv_qrnnd.
38724
38725 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38726
38727 * string/test-memcmp.c: Avoid unncessary #defines.
38728 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38729
38730 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38731
38732 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38733 Use new sse2 version for core i3 - i7 as it's faster
38734 than sse42 version.
38735 (bit_Prefer_PMINUB_for_stringop): New.
38736 * sysdeps/x86_64/rawmemchr.S: Update.
38737 Replace with faster SSE2 version.
38738 * sysdeps/x86_64/memrchr.S: New file.
38739 * sysdeps/x86_64/memchr.S: Update.
38740 Replace with faster SSE2 version.
38741
38742 2011-09-12 Marek Polacek <mpolacek@redhat.com>
38743
38744 * elf/dl-load.c (lose): Add cast to avoid warning.
38745
38746 2011-10-07 Ulrich Drepper <drepper@gmail.com>
38747
38748 * po/ca.po: Update from translation team.
38749
38750 * inet/getnetgrent_r.c: Hook up nscd.
38751 * nscd/Makefile (routines): Add nscd_netgroup.
38752 (nscd-modules): Add netgroupcache.
38753 (CFLAGS-netgroupcache.c): Define.
38754 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38755 (cache_search): Add const to second parameter.
38756 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38757 INNETGR.
38758 (dbs): Add netgrdb entry.
38759 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38760 (verify_persistent_db): Handle netgrdb.
38761 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38762 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38763 GETFDNETGR.
38764 (netgroup_response_header): Define.
38765 (innetgroup_response_header): Define.
38766 (datahead): Add netgroup_response_header and innetgroup_response_header
38767 elements.
38768 * nscd/nscd.conf: Add entries for netgroup cache.
38769 * nscd/nscd.h (dbtype): Add netgrdb.
38770 (_PATH_NSCD_NETGROUP_DB): Define.
38771 (netgroup_iov_disabled): Declare.
38772 (xmalloc, xcalloc, xrealloc): Move declarations here.
38773 (cache_search): Adjust prototype.
38774 Add netgroup-related prototypes.
38775 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38776 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38777 (__nscd_innetgr): Declare.
38778 * nscd/selinux.c (perms): Use access_vector_t as element type and
38779 add netgroup-related initializers.
38780 * nscd/netgroupcache.c: New file.
38781 * nscd/nscd_netgroup.c: New file.
38782 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38783 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38784 For four parameters use innetgr.
38785 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38786 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38787 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38788 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38789
38790 * nscd/connections.c (register_traced_file): Don't register file
38791 for disabled databases.
38792
38793 2011-10-06 Ulrich Drepper <drepper@gmail.com>
38794
38795 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38796
38797 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38798 from tree and freeing node.
38799
38800 2011-09-25 Jiri Olsa <jolsa@redhat.com>
38801
38802 * nss/nsswitch.c (__nss_database_lookup): Handle
38803 nss_parse_service_list out of memory case.
38804
38805 2011-09-15 Jiri Olsa <jolsa@redhat.com>
38806
38807 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38808 out of memory case.
38809
38810 2011-10-04 Andreas Schwab <schwab@redhat.com>
38811
38812 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38813 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38814 pass it down.
38815 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38816 elf_machine_rela, elf_machine_lazy_rel.
38817 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38818 (ELF_DYNAMIC_DO_REL): Likewise.
38819 (ELF_DYNAMIC_DO_RELA): Likewise.
38820 (ELF_DYNAMIC_RELOCATE): Likewise.
38821 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38822 to ELF_DYNAMIC_DO_REL.
38823 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38824 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38825 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38826 elf_machine_rela.
38827 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38828 skip_ifunc, don't call ifunc function if non-zero.
38829 (elf_machine_rela): Likewise.
38830 (elf_machine_lazy_rel): Likewise.
38831 (elf_machine_lazy_rela): Likewise.
38832 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38833 (elf_machine_lazy_rel): Likewise.
38834 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38835 Likewise.
38836 (elf_machine_lazy_rel): Likewise.
38837 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38838 Likewise.
38839 (elf_machine_lazy_rel): Likewise.
38840 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38841 (elf_machine_lazy_rel): Likewise.
38842 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38843 (elf_machine_lazy_rel): Likewise.
38844 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38845 (elf_machine_lazy_rel): Likewise.
38846 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38847 (elf_machine_lazy_rel): Likewise.
38848 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38849 (elf_machine_lazy_rel): Likewise.
38850 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38851 (elf_machine_lazy_rel): Likewise.
38852
38853 2011-09-28 Ulrich Drepper <drepper@gmail.com>
38854
38855 * nss/nss_files/files-init.c (_nss_files_init): Use static
38856 initialization for all the *_traced_file variables.
38857
38858 2011-09-28 Andreas Schwab <schwab@redhat.com>
38859
38860 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38861
38862 2011-09-27 Roland McGrath <roland@hack.frob.com>
38863
38864 [BZ #13226]
38865 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38866
38867 2011-09-27 Andreas Schwab <schwab@redhat.com>
38868
38869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38870 Reread the line before reparsing it.
38871
38872 2011-09-26 Andreas Schwab <schwab@redhat.com>
38873
38874 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38875
38876 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38877 Maxim Kuvyrkov <maxim@codesourcery.com>
38878 Joseph Myers <joseph@codesourcery.com>
38879
38880 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38881 if needed for __stack_chk_guard.
38882
38883 2011-09-19 Roland McGrath <roland@hack.frob.com>
38884
38885 * sysdeps/posix/spawni.c (script_execute): Always define it.
38886 It will be optimized away if unused.
38887 (maybe_script_execute): New function.
38888 (__spawni): Call it.
38889
38890 * Makerules: Don't include tls.make.
38891 (config-tls): Always set to thread.
38892 * tls.make.c: File removed.
38893
38894 2011-09-19 Mike Frysinger <vapier@gentoo.org>
38895
38896 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38897 * config.make.in (CPPFLAGS-config): New substituted variable.
38898
38899 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38900
38901 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38902
38903 [BZ #13192]
38904 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38905 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38906
38907 2011-09-15 Roland McGrath <roland@hack.frob.com>
38908
38909 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38910 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38911 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38912 (CALL_FAIL): Likewise.
38913 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38914 (CALL_FAIL): Macro removed.
38915 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38916
38917 2011-09-15 Ulrich Drepper <drepper@gmail.com>
38918
38919 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38920 for __FINITE_MATH_ONLY__ == 1.
38921
38922 2011-09-15 Andreas Schwab <schwab@redhat.com>
38923
38924 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38925 __ieee754_sqrt instead of sqrt.
38926 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38927 __ieee754_sqrtf instead of sqrtf.
38928 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38929 __floorf instead of floorf.
38930 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38931 __floorf, __truncf instead of floorf, truncf.
38932
38933 2011-09-14 Ulrich Drepper <drepper@gmail.com>
38934
38935 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38936
38937 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38938 __extern_always_inline.
38939 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38940 32-bit.
38941
38942 2011-09-14 Andreas Schwab <schwab@redhat.com>
38943
38944 * elf/rtld.c (dl_main): Also relocate in dependency order when
38945 doing symbol dependency testing.
38946
38947 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38948
38949 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38950 Always define `refsym'.
38951
38952 2011-09-13 Andreas Schwab <schwab@redhat.com>
38953
38954 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38955 (__FD_ELT): Renamed from __FDELT.
38956 * misc/bits/select2.h (__FD_ELT): Likewise.
38957 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38958 __FD_MASK instead of __FDELT, __FDMASK.
38959 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38960 Likewise.
38961 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38962 Likewise.
38963
38964 * elf/Makefile (gen-ldd): Fix pattern.
38965
38966 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38967 (init_tls): Likewise.
38968
38969 2011-09-12 Ulrich Drepper <drepper@gmail.com>
38970
38971 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38972
38973 2011-09-12 Andreas Schwab <schwab@redhat.com>
38974
38975 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38976 `struct cmsghdr *' instead of `void *'.
38977 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38978 Likewise.
38979
38980 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38981
38982 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38983 if non-absolute.
38984 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38985 ldd_rewrite_script.
38986
38987 2011-09-11 Ulrich Drepper <drepper@gmail.com>
38988
38989 * configure.in: Remove --with-tls option.
38990 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38991 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38992 out in case it is missing.
38993 * sysdeps/ia64/elf/configure.in: Likewise.
38994 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38995 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38996 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38997 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38998 * sysdeps/sh/elf/configure.in: Likewise.
38999 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
39000 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39001 * sysdeps/x86_64/elf/configure.in: Likewise.
39002 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
39003 * sysdeps/mach/hurd/tls.h: Likewise.
39004
39005 [BZ #13067]
39006 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
39007
39008 [BZ #13090]
39009 * configure.in: Fix use of AC_INIT.
39010
39011 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
39012
39013 2011-09-10 Ulrich Drepper <drepper@gmail.com>
39014
39015 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
39016 __set_errno.
39017 * malloc/hooks.c: Likewise.
39018
39019 [BZ #11929]
39020 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
39021 variables statically.
39022 (narenas): Initialize.
39023 (list_lock): Initialize.
39024 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
39025 initializtion of main_arena and list_lock. Small cleanups.
39026 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
39027 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
39028 Add initializers to main_arena and mp_.
39029 (malloc_state): Remove pagesize member. Change all users to use
39030 GLRO(dl_pagesize).
39031
39032 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
39033 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
39034 is always initialized.
39035
39036 * malloc/malloc.c: Removed unused configurations and dead code.
39037 * malloc/arena.c: Likewise.
39038 * malloc/hooks.c: Likewise.
39039 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
39040
39041 * include/tls.h: Removed. USE___THREAD must always be defined.
39042 * bits/libc-tsd.h: Don't handle !USE___THREAD.
39043 * elf/dl-libc.c: Likewise.
39044 * elf/dl-tsd.c: Likewise.
39045 * include/errno.h: Likewise.
39046 * include/netdb.h: Likewise.
39047 * include/resolv.h: Likewise.
39048 * inet/herrno-loc.c: Likewise.
39049 * inet/herrno.c: Likewise.
39050 * malloc/arena.c: Likewise.
39051 * malloc/hooks.c: Likewise.
39052 * malloc/malloc.c: Likewise.
39053 * resolv/res-state.c: Likewise.
39054 * resolv/res_libc.c: Likewise.
39055 * sysdeps/i386/dl-machine.h: Likewise.
39056 * sysdeps/ia64/dl-machine.h: Likewise.
39057 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
39058 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
39059 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
39060 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
39061 * sysdeps/sh/dl-machine.h: Likewise.
39062 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39063 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39064 * sysdeps/unix/i386/sysdep.S: Likewise.
39065 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39066 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
39067 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
39068 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39069 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
39070 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39071 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39072 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39073 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39074 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39075 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39076 * sysdeps/x86_64/dl-machine.h: Likewise.
39077 * tls.make.c: Likewise.
39078
39079 * configure.in: Remove --with-__thread option. Make tests for
39080 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
39081 tls_model attribute fail if no support is available. Remove
39082 USE_IN_LIBIO.
39083 * Makeconfig: Adjust for dropped configure option. All features are
39084 now mandatory.
39085 * Makerules: Likewise.
39086 * Versions.def: Likewise.
39087 * argp/argp-fmtstream.c: Likewise.
39088 * argp/argp-fmtstream.h: Likewise.
39089 * argp/argp-help.c: Likewise.
39090 * assert/assert.c: Likewise.
39091 * config.h.in: Likewise.
39092 * config.make.in: Likewise.
39093 * configure: Likewise.
39094 * configure.in: Likewise.
39095 * csu/Versions: Likewise.
39096 * csu/init.c: Likewise.
39097 * elf/tst-audit2.c: Likewise.
39098 * elf/tst-tls10.c: Likewise.
39099 * elf/tst-tls10.h: Likewise.
39100 * elf/tst-tls11.c: Likewise.
39101 * elf/tst-tls12.c: Likewise.
39102 * elf/tst-tls14.c: Likewise.
39103 * elf/tst-tlsmod11.c: Likewise.
39104 * elf/tst-tlsmod12.c: Likewise.
39105 * elf/tst-tlsmod13.c: Likewise.
39106 * elf/tst-tlsmod13a.c: Likewise.
39107 * elf/tst-tlsmod14a.c: Likewise.
39108 * elf/tst-tlsmod15b.c: Likewise.
39109 * elf/tst-tlsmod16a.c: Likewise.
39110 * elf/tst-tlsmod16b.c: Likewise.
39111 * elf/tst-tlsmod7.c: Likewise.
39112 * elf/tst-tlsmod8.c: Likewise.
39113 * elf/tst-tlsmod9.c: Likewise.
39114 * gmon/gmon.c: Likewise.
39115 * grp/fgetgrent_r.c: Likewise.
39116 * grp/putgrent.c: Likewise.
39117 * hurd/fopenport.c: Likewise.
39118 * include/libc-symbols.h: Likewise.
39119 * include/tls.h: Likewise.
39120 * intl/gettextP.h: Likewise.
39121 * intl/loadinfo.h: Likewise.
39122 * locale/global-locale.c: Likewise.
39123 * locale/localeinfo.h: Likewise.
39124 * mach/devstream.c: Likewise.
39125 * malloc/arena.c: Likewise.
39126 * malloc/set-freeres.c: Likewise.
39127 * misc/err.c: Likewise.
39128 * misc/getttyent.c: Likewise.
39129 * misc/mntent_r.c: Likewise.
39130 * posix/getopt.c: Likewise.
39131 * posix/wordexp.c: Likewise.
39132 * pwd/fgetpwent_r.c: Likewise.
39133 * resolv/Versions: Likewise.
39134 * resolv/res_hconf.c: Likewise.
39135 * shadow/fgetspent_r.c: Likewise.
39136 * shadow/putspent.c: Likewise.
39137 * stdio-common/printf_fphex.c: Likewise.
39138 * stdio-common/tmpfile.c: Likewise.
39139 * stdlib/abort.c: Likewise.
39140 * stdlib/fmtmsg.c: Likewise.
39141 * sunrpc/auth_unix.c: Likewise.
39142 * sunrpc/clnt_perr.c: Likewise.
39143 * sunrpc/clnt_tcp.c: Likewise.
39144 * sunrpc/clnt_udp.c: Likewise.
39145 * sunrpc/clnt_unix.c: Likewise.
39146 * sunrpc/openchild.c: Likewise.
39147 * sunrpc/svc_simple.c: Likewise.
39148 * sunrpc/svc_tcp.c: Likewise.
39149 * sunrpc/svc_udp.c: Likewise.
39150 * sunrpc/svc_unix.c: Likewise.
39151 * sunrpc/xdr.c: Likewise.
39152 * sunrpc/xdr_array.c: Likewise.
39153 * sunrpc/xdr_rec.c: Likewise.
39154 * sunrpc/xdr_ref.c: Likewise.
39155 * sunrpc/xdr_stdio.c: Likewise.
39156
39157 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39158
39159 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39160
39161 2011-07-03 Andreas Jaeger <aj@suse.de>
39162
39163 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
39164 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
39165 regenerate with gen-libm-tests.pl.
39166
39167 2010-05-12 Petr Baudis <pasky@suse.cz>
39168
39169 [BZ #11589]
39170 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
39171 around j0() zero points by switching to j1().
39172 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39173 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39174 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39176
39177 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39178
39179 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
39180 instead of 0.
39181 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
39182 instead of 0.
39183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39184 Patch in part by Pavel Roskin <proski@gnu.org>.
39185
39186 [BZ #13138]
39187 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
39188 realloc.
39189 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
39190 Free memory block if necessary.
39191
39192 [BZ #12847]
39193 * libio/genops.c (INTDEF): For string streams the _lock pointer can
39194 be NULL. Don't lock in this case.
39195
39196 2011-09-09 Roland McGrath <roland@hack.frob.com>
39197
39198 * elf/elf.h (ELFOSABI_GNU): New macro.
39199 (ELFOSABI_LINUX): Define to that.
39200
39201 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
39202
39203 * string/strncat.c (strncat): Undef the symbol in case it has been
39204 defined in bits/string.h.
39205
39206 2011-09-09 Ulrich Drepper <drepper@gmail.com>
39207
39208 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
39209
39210 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
39211 link map.
39212
39213 2011-08-17 Andreas Jaeger <aj@suse.de>
39214
39215 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
39216
39217 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
39218 Ian Lance Taylor <iant@google.com>
39219
39220 * math/libm-test.inc (lround_test): New testcase.
39221 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
39222
39223 2011-09-08 Ulrich Drepper <drepper@gmail.com>
39224
39225 * Makefile: Remove support for automatic cvs check-ins.
39226 * Makerules: Likewise.
39227 * config.make.in: Likewise.
39228 * configure.in: Likewise.
39229 * intl/Makefile: Likewise.
39230 * locale/Makefile: Likewise.
39231 * po/Makefile: Likewise.
39232 * posix/Makefile: Likewise.
39233 * sysdeps/gnu/Makefile: Likewise.
39234 * sysdeps/mach/hurd/Makefile: Likewise.
39235 * sysdeps/sparc/sparc32/Makefile: Likewise.
39236
39237 [BZ #13118]
39238 * posix/Makefile (bug-regex32-ENV): Define.
39239 Patch by John Stanley <jpsinthemix@verizon.net>.
39240
39241 * misc/Makefile (headers): Add bits/select2.h.
39242 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
39243 * misc/bits/select2.h: New file.
39244 * include/bits/select2.h: New file.
39245 * debug/Makefile (routines): Add fdelt_chk.
39246 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
39247 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
39248 FD_ISSET.
39249 * debug/fdelt_chk.c: New file.
39250
39251 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
39252 * wcsmbs/test-wmemcmp.c: Likewise.
39253 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
39254 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
39255
39256 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39257
39258 * string/Makefile (strop-tests): Add memcmp.
39259 * string/test-wmemcmp.c: New file.
39260 * string/test-memcmp.c: Add wmemcmp support.
39261
39262 2011-09-08 Roland McGrath <roland@hack.frob.com>
39263
39264 [BZ #13153]
39265 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39266 2011-07-19 change.
39267
39268 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39269 garbage value in a __mach_port_mod_refs call in the cases of the
39270 task-self and thread-self ports.
39271
39272 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39273
39274 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39275
39276 2011-09-08 Andreas Schwab <schwab@redhat.com>
39277
39278 * elf/dl-load.c (lose): Check for non-null L.
39279
39280 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39281
39282 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39283
39284 * elf/dl-libc.c (dlerror_run): Pass back error code from
39285 dl_catch_error.
39286
39287 [BZ #13123]
39288 * elf/dl-load.c (lose): Free l_origin if it is valid.
39289
39290 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39291 names.
39292 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39293 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39294 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39295 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39296 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39297 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39298
39299 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39300
39301 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39302 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39303 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39304 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39305 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39306 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39307 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39308 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39309 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39310 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39311
39312 2011-08-15 Alan Modra <amodra@gmail.com>
39313
39314 [BZ #13092]
39315 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39316 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39317 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39318 ppc_mcount to static-only-routines.
39319 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39320 __mcount_internal.
39321 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39322 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39323
39324 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39325
39326 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39327 for finite and infinity parameters.
39328
39329 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39330
39331 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39332 and add nop instructions for throughput optimization.
39333 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39334
39335 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39336
39337 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39338 aligned copy for power7 with vector-scalar instructions.
39339 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39340
39341 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39342
39343 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39344 AVX check.
39345
39346 2011-09-07 Andreas Schwab <schwab@redhat.com>
39347
39348 [BZ #13144]
39349 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39350 last change.
39351
39352 2011-09-07 Ulrich Drepper <drepper@gmail.com>
39353
39354 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39355 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39356 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39357 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39358 clock_gettime.
39359
39360 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39361
39362 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39363 Forgot to demangle the pointer.
39364
39365 * sysdeps/i386/sysdep.h: Define atom_text_section.
39366 * sysdeps/x86_64/sysdep.h: Likewise.
39367 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39368 section with atom_text_section.
39369 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39370 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39371 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39372 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39373 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39374
39375 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39376 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39377 already be defined. Change to take two parameters and don't assign
39378 result to variable. Adjust all users.
39379 Define INTERNAL_GETTIME if not already defined.
39380 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39381 call.
39382 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39383 HAVE_CLOCK_GETTIME_VSYSCALL.
39384 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39385
39386 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39387 gettimeofday vsyscall, just use time.
39388
39389 2011-09-06 Andreas Schwab <schwab@redhat.com>
39390
39391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39392 <errno.h>.
39393
39394 2011-09-06 Ulrich Drepper <drepper@gmail.com>
39395
39396 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39397 syscall on x86-64.
39398 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39399 syscall.
39400 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39401 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39402 syscall if possible.
39403
39404 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39405
39406 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39407 e_ident. Don't pass to find_mapsXX.
39408 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39409
39410 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39411
39412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39413 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39414 * sysdeps/x86_64/multiarch/strchr.S: Update.
39415 Check bit_slow_BSF bit.
39416 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39417 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39418 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39419
39420 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39421
39422 [BZ #13134]
39423 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39424 before glibc 2.15.
39425 (tryshell): Define.
39426 (__spawni): Change last parameter to be flag. Test
39427 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39428 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39429 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39430 * posix/spawni.c: Likewise.
39431 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39432 * posix/spawnp.c: Likewise. Change normal version to use
39433 SPAWN_XFLAGS_USE_PATH.
39434 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39435 SPAWN_XFLAGS_TRY_SHELL.
39436
39437 [BZ #13150]
39438 * posix/glob.h: Remove gcc 1.x support.
39439
39440 [BZ #13068]
39441 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39442
39443 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39444
39445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39446 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39447 strrchr-sse2-bsf
39448 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39449 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39450 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39451 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39452 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39453 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39454
39455 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39456
39457 * sysdeps/x86_64/wcscmp.S: New file.
39458
39459 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39460 wcscmp-c wcscmp-sse2
39461 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39462 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39463 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39464 * wcsmbs/wcscmp.c: Allow renaming.
39465
39466 2011-09-05 David S. Miller <davem@davemloft.net>
39467
39468 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39469 stack slot, rather than the struct return pointer slot.
39470 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39471 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39473 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39474
39475 2011-09-05 Ulrich Drepper <drepper@gmail.com>
39476
39477 * po/ja.po: Update from translation team.
39478
39479 [BZ #13144]
39480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39481 kernel in 64-bit binaries.
39482
39483 2011-09-01 David S. Miller <davem@davemloft.net>
39484
39485 * elf/elf.h (HWCAP_SPARC_*): Move to..
39486 * sysdeps/sparc/sysdep.h: this new file and add new values.
39487 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39488 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39489 _DL_HWCAP_COUNT to 24.
39490 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39491 entries.
39492 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39493 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39494 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39495 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39496 instead of magic constants.
39497 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39498
39499 2011-08-31 David S. Miller <davem@davemloft.net>
39500
39501 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39502 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39503 Reimplement to do errno handling inline.
39504 (SYSCALL_ERROR_HANDLER): New macro.
39505 (__SYSCALL_STRING): Do not do errno handling in asm.
39506 (__CLONE_SYSCALL_STRING): Delete.
39507 (__INTERNAL_SYSCALL_STRING): Delete.
39508 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39509 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39510 (PSEUDO): Reimplement to do errno handling inline.
39511 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39512 (SYSCALL_ERROR_HANDLER): New macro.
39513 (__SYSCALL_STRING): Do not do errno handling in asm.
39514 (__CLONE_SYSCALL_STRING): Delete.
39515 (__INTERNAL_SYSCALL_STRING): Delete.
39516 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39517 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39518 i386.
39519 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39520 (inline_syscall*): Add 'err' argument.
39521 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39522 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39523 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39524 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39525
39526 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39527 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39528
39529 2011-08-30 Andreas Schwab <schwab@redhat.com>
39530
39531 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39532
39533 2011-08-29 Jiri Olsa <jolsa@redhat.com>
39534
39535 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39536 directive.
39537
39538 2011-08-24 David S. Miller <davem@davemloft.net>
39539
39540 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39541
39542 2011-08-24 Andreas Schwab <schwab@redhat.com>
39543
39544 * elf/Makefile: Add rules to build and run unload8 test.
39545 * elf/unload8.c: New file.
39546 * elf/unload8mod1.c: New file.
39547 * elf/unload8mod1x.c: New file.
39548 * elf/unload8mod2.c: New file.
39549 * elf/unload8mod3.c: New file.
39550
39551 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39552 it wasn't used.
39553
39554 2011-08-23 David S. Miller <davem@davemloft.net>
39555
39556 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39557 subtract stack bias.
39558 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39559 %sp not %fp in calculations.
39560 (_JMPBUF_UNWINDS_ADJ): Likewise.
39561
39562 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39563 (aio_suspend): Call it to force an exception region around the
39564 AIO_MISC_WAIT() invocation.
39565
39566 2011-08-23 Andreas Schwab <schwab@redhat.com>
39567
39568 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39569 backslash.
39570
39571 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39572
39573 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39574 protection macro.
39575 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39576 and <dl-machine.h>.
39577 (Elf64_FuncDesc): Remove.
39578
39579 2011-08-22 David S. Miller <davem@davemloft.net>
39580
39581 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39582 sigaltstack check, add missing cfi directives.
39583 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39584 missing cfi directives, and sigaltstack handling.
39585
39586 2011-08-16 Andreas Schwab <schwab@redhat.com>
39587
39588 [BZ #11724]
39589 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39590 object is seen twice.
39591 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39592
39593 * elf/Makefile (distribute): Add tst-initorder2.c.
39594 (tests): Add tst-initorder2.
39595 (modules-names): Add tst-initorder2a tst-initorder2b
39596 tst-initorder2c tst-initorder2d. Add rules to build them.
39597 ($(objpfx)tst-initorder2.out): New rule.
39598 * elf/tst-initorder2.c: New file.
39599 * elf/tst-initorder2.exp: New file.
39600
39601 2011-08-22 Andreas Schwab <schwab@redhat.com>
39602
39603 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39604
39605 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39606 dependencies back to end of function.
39607
39608 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39609 $(elfobjdir)/ld.so.
39610
39611 2011-08-21 Ulrich Drepper <drepper@gmail.com>
39612
39613 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39614 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39615 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39616 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39617 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39618 of __vdso_gettimeofday.
39619 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39620 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39621 attribute_hidden.
39622 (_libc_vdso_platform_setup): Remove initialization of
39623 __vdso_gettimeofday and __vdso_time.
39624
39625 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39626
39627 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39628 and fgetc_unlocked.
39629 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39630 getc_unlocked.
39631
39632 * elf/dl-open.c (add_to_global): Report additions to the global scope
39633 for LD_DEBUG=scopes.
39634 (dl_open_worker): Also print scope of newly loaded dependencies.
39635 (_dl_show_scope): Indicate if there is no scope.
39636
39637 [BZ #13114]
39638 * stdio-common/Makefile (tests): Add bug24.
39639 * stdio-common/bug24.c: New file.
39640
39641 2011-08-19 Andreas Jaeger <aj@suse.de>
39642
39643 [BZ #13114]
39644 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39645 non-existant file when using close-on-exec mode.
39646
39647 2011-08-20 Ulrich Drepper <drepper@gmail.com>
39648
39649 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39650 the very first instruction.
39651
39652 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39653 the CFI state in the end.
39654 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39655 inclusion of dl-trampoline.h.
39656 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39657
39658 2011-08-19 Andreas Schwab <schwab@redhat.com>
39659
39660 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39661 expectations for long double.
39662
39663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39664 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39665
39666 2011-08-14 David S. Miller <davem@davemloft.net>
39667
39668 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39669 artificual limit depends upon the system page size.
39670
39671 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39672
39673 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39674 * resolv/Makefile: Define CFLAGS-libresolv.
39675
39676 2011-08-17 Andreas Schwab <schwab@redhat.com>
39677
39678 * nss/makedb.c (compute_tables): Make variables used in nested
39679 function static.
39680
39681 2011-08-17 Ulrich Drepper <drepper@gmail.com>
39682
39683 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39684 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39685 if buffer was too small.
39686
39687 * elf/pldd.c (main): Attach to all threads in the process.
39688 Rewrite /proc handling to use *at functions.
39689
39690 2011-08-16 Ulrich Drepper <drepper@gmail.com>
39691
39692 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39693 specifies first scope to show.
39694 (dl_open_worker): Update callers. Move printing scope of new
39695 object to before the relocation.
39696 * elf/rtld.c (dl_main): Update _dl_show_scope call.
39697 * sysdeps/generic/ldsodefs.h: Update declaration.
39698
39699 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39700 string for the scope number.
39701
39702 2011-08-14 Ulrich Drepper <drepper@gmail.com>
39703
39704 * nscd/servicescache.c (cache_addserv): Make sure written is always
39705 initialized.
39706
39707 2011-08-14 Roland McGrath <roland@hack.frob.com>
39708
39709 * sysdeps/i386/i486/bits/atomic.h
39710 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39711 statement expression, so as to suppress "set but not used" warning.
39712 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39713
39714 * string/strncat.c (STRNCAT): Use prototype definition.
39715
39716 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39717 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39718 -Iprograms here.
39719 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39720 (localedef-modules): Add localedef.
39721 (locale-modules): Add locale.
39722
39723 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39724 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39725 to avoid a warning.
39726
39727 2011-08-14 David S. Miller <davem@davemloft.net>
39728
39729 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39730 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39731
39732 2011-08-13 Ulrich Drepper <drepper@gmail.com>
39733
39734 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
39735 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39736 * elf/rtld.c (dl_main): Set l_name of vDSO.
39737 Call _dl_show_scope when DL_DEBUG_SCOPES.
39738 (process_dl_debug): Recognize scopes flag and also set it for all.
39739 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39740 Declare _dl_show_scope.
39741
39742 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39743 (do_dlopen): Pass caller_dlopen to dl_open.
39744 (__libc_dlopen_mode): Initialize caller_dlopen.
39745
39746 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39747 of libc. Make tolower call locale-independent. Optimize a bit by
39748 using isdigit instead of isalnum.
39749 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39750
39751 2011-08-12 Ulrich Drepper <drepper@gmail.com>
39752
39753 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39754 was a dependency or dynamically loaded.
39755
39756 2011-08-11 Ulrich Drepper <drepper@gmail.com>
39757
39758 * intl/l10nflist.c: Allow architecture-specific pop function.
39759 * sysdeps/x86_64/l10nflist.c: New file.
39760
39761 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39762 classification.
39763
39764 2011-08-10 Andreas Schwab <schwab@redhat.com>
39765
39766 * include/dirent.h: Add libc_hidden_proto for scandirat and
39767 scandirat64. Don't declare __scandirat64.
39768 * dirent/scandirat.c: Add libc_hidden_def.
39769 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39770 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39771
39772 2011-08-10 David S. Miller <davem@davemloft.net>
39773
39774 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39775 enum.
39776 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39777 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39778 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39779
39780 2011-08-09 Ulrich Drepper <drepper@gmail.com>
39781
39782 * Versions.def [libc]: Add GLIBC_2.15.
39783 * dirent/Makefile (routines): Add scandirat and scandirat64.
39784 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39785 GLIBC_2.15.
39786 * dirent/dirent.h: Declare scandirat and scandirat64.
39787 * dirent/scandirat.c: New file.
39788 * dirent/scandirat64.c: New file.
39789 * sysdeps/wordsize-64/scandirat.c: New file.
39790 * sysdeps/wordsize-64/scandirat64.c: New file.
39791 * dirent/opendir.c: Define opendirat.
39792 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39793 using scandirat.
39794 * dirent/scandir64.c: Adjust for scandir.c change.
39795 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39796 __scandirat64, and __scandir_cancel_handler.
39797 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39798 additional parameter and use openat instead of open (outside of ld.so).
39799 Add new __opendir as wrapper around __opendirat.
39800 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39801 here without requiring old scandirat implementation.
39802
39803 2011-08-08 Ulrich Drepper <drepper@gmail.com>
39804
39805 * dirent/scandir.c (cancel_handler): Renamed to
39806 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39807 defined. Adjust users.
39808 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39809 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39810
39811 2011-08-04 Ulrich Drepper <drepper@gmail.com>
39812
39813 * string/test-string.h (IMPL): Use __STRING to expand name and then
39814 stringify it.
39815
39816 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39817 of cleanups.
39818
39819 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39820
39821 * string/Makefile: Update.
39822 (strop-tests): Append strncat.
39823 * string/test-wcscmp.c: New file.
39824 New comprehensive test for wcscmp.
39825 * string/test-strcmp.c: Update.
39826 (WIDE): New define.
39827
39828 2011-07-22 Andreas Schwab <schwab@redhat.com>
39829
39830 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39831 line.
39832
39833 2011-07-26 Andreas Schwab <schwab@redhat.com>
39834
39835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39836 encoding to ACE if AI_IDN.
39837
39838 2011-08-01 Jakub Jelinek <jakub@redhat.com>
39839
39840 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39841 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39842
39843 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39844
39845 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39846 Fix overflow bug in strncat.
39847 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39848
39849 * string/test-strncat.c: Update.
39850 Add new tests for checking overflow bugs.
39851
39852 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39853
39854 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39855 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39856 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39857 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39858 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39859 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39860 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39861 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39862 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39863
39864 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39865 (USE_AS_STRCAT): Define.
39866 Add strcat and strncat support.
39867 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39868
39869 2011-07-25 Andreas Schwab <schwab@redhat.com>
39870
39871 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39872 __n bigger than INT_MAX+1.
39873 (__strncmp_g): Likewise.
39874
39875 2011-07-23 Ulrich Drepper <drepper@gmail.com>
39876
39877 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39878 * libio/stido.h: Likewise.
39879
39880 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39881 (AF_NFC): Define.
39882 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39883 (AF_NFC): Define.
39884
39885 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39886 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39887 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39889 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39890
39891 [BZ #13021]
39892 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39893 installed.
39894
39895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39896 typo.
39897 (_dl_x86_64_save_sse): Likewise.
39898
39899 2011-07-22 Ulrich Drepper <drepper@gmail.com>
39900
39901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39902 OSXSAVE.
39903 (_dl_x86_64_save_sse): Likewise.
39904
39905 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39906
39907 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39908
39909 2011-07-21 Andreas Schwab <schwab@redhat.com>
39910
39911 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39912 change.
39913 (_dl_x86_64_save_sse): Use correct AVX check.
39914
39915 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39916
39917 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39918 bug in strncpy/strncat.
39919 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39920
39921 2011-07-21 Ulrich Drepper <drepper@gmail.com>
39922
39923 * string/tester.c (test_strcat): Add tests for different alignments
39924 of source and destination.
39925 (test_strncat): Likewise.
39926
39927 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39928
39929 [BZ #12852]
39930 * posix/glob.c (glob): Check passed in values before using them in
39931 expressions to avoid some overflows.
39932 (glob_in_dir): Likewise.
39933
39934 [BZ #13007]
39935 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39936 check for AVX enablement so that we don't crash with old kernels and
39937 new hardware.
39938 * elf/tst-audit4.c: Add same checks here.
39939 * elf/tst-audit6.c: Likewise.
39940
39941 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
39942
39943 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39944
39945 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39946
39947 2011-07-20 Ulrich Drepper <drepper@gmail.com>
39948
39949 * po/cs.po: Update from translation team.
39950 * po/bg.po: Likewise.
39951
39952 2011-07-12 Marek Polacek <mpolacek@redhat.com>
39953
39954 * misc/sys/cdefs.h: Add support for const attribute.
39955 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39956 to gnu_dev_{major,minor,makedev} functions.
39957
39958 2011-07-20 Marek Polacek <mpolacek@redhat.com>
39959
39960 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39961
39962 2011-07-20 Andreas Schwab <schwab@redhat.com>
39963
39964 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39965 strlen results.
39966
39967 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39968
39969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39970 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39971 register in order to avoid conflicts with the soft frame pointer
39972 being held in r11 when necessary.
39973 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39974 (INTERNAL_VSYSCALL_NCS): Likewise.
39975
39976 2011-07-14 Marek Polacek <mpolacek@redhat.com>
39977
39978 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39979 * elf/dl-fini.c (_dl_fini): Adjust caller.
39980 * elf/dl-close.c (_dl_close_worker): Likewise.
39981 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39982
39983 2011-07-15 Marek Polacek <mpolacek@redhat.com>
39984
39985 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39986 "aux_cache->nlibs < 0".
39987
39988 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39989 in the reload-count case.
39990
39991 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39992
39993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39994 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39995 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39996 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39997 * sysdeps/x86_64/multiarch/strcat.S: New file.
39998 * sysdeps/x86_64/multiarch/strncat.S: New file.
39999 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
40000 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
40001 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
40002 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
40003 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
40004 (USE_AS_STRCAT): Define.
40005 Add strcat and strncat support.
40006 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40007 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40008 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
40009 * string/strncat.c: Update.
40010 (USE_AS_STRNCAT): Define.
40011 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40012 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
40013 and i7.
40014 * sysdeps/x86_64/multiarch/init-arch.h
40015 (bit_Prefer_PMINUB_for_stringop): New.
40016 (index_Prefer_PMINUB_for_stringop): Likewise.
40017 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
40018 bit_Prefer_PMINUB_for_stringop.
40019
40020 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40021
40022 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
40023 buffer64.
40024 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
40025 of casting of buffer.
40026 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
40027 buffer32 and buffer64.
40028 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
40029 writes instead of casting of buffer.
40030 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
40031 buffer32.
40032 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
40033 casting of buffer.
40034
40035 2011-07-19 Andreas Schwab <schwab@redhat.com>
40036
40037 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
40038
40039 2011-07-19 Ulrich Drepper <drepper@gmail.com>
40040
40041 * nscd/nscd.c (termination_handler): Don't do anything for a database
40042 if it has not yet been initialized.
40043
40044 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40045
40046 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40047
40048 2011-07-15 Marek Polacek <mpolacek@redhat.com>
40049
40050 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
40051
40052 2011-07-18 Ulrich Drepper <drepper@gmail.com>
40053
40054 * po/nl.po: Update from translation team.
40055 * po/sv.po: Likewise.
40056
40057 2011-07-16 Roland McGrath <roland@hack.frob.com>
40058
40059 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
40060 now disallowed by GCC.
40061
40062 * configure.in (use-default-link): Default to yes if a test -shared
40063 link meets our qualifications.
40064 * configure: Regenerated.
40065
40066 * config.make.in (output-format): New variable.
40067 * configure.in: Check for ld --print-output-format support.
40068 * configure: Regenerated.
40069 * Makerules ($(common-objpfx)format.lds)
40070 [$(output-format) != unknown]: Just use $(output-format),
40071 instead of the linker-script munging.
40072
40073 2011-07-14 Roland McGrath <roland@hack.frob.com>
40074
40075 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
40076 of $(common-objpfx)shlib.lds.
40077 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
40078
40079 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
40080 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
40081
40082 * configure.in (-z relro check): Adjust test code to add a large
40083 writable data section after it.
40084 * configure: Regenerated.
40085
40086 2011-07-11 Roland McGrath <roland@hack.frob.com>
40087
40088 * configure.in (-z relro check): Fix test code to make the variable
40089 truly const.
40090 * configure: Regenerated.
40091
40092 2011-07-11 Ulrich Drepper <drepper@gmail.com>
40093
40094 * nscd/nscd.h (struct traced_file): Define.
40095 (struct database_dyn): Remove inotify_descr, reset_res, and filename
40096 elements. Add traced_files.
40097 (inotify_fd): Declare.
40098 (register_traced_file): Declare.
40099 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
40100 (inotify_fd): Export.
40101 (resolv_conf_descr): Remove.
40102 (nscd_init): Move inotify descriptor creation to main.
40103 Don't register files for notification here.
40104 (register_traced_file): New function.
40105 (invalidate_cache): Don't use reset_res to determine whether to call
40106 res_init, go through the list of registered files.
40107 (main_loop_poll): The inotify descriptors are now stored in the
40108 structures for the traced files.
40109 (main_loop_epoll): Likewise
40110 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
40111 to __nss_disable_nscd.
40112 * nscd/cache.c (prune_cache): There is no single inotify descriptor
40113 for a database anymore. Check the records for all the registered
40114 files instead.
40115 * nss/Makefile (libnss_files-routines): Add files-init.
40116 (libnss_db-routines): Add db-init.
40117 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
40118 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
40119 * nss/nss_db/db-init.c: New file.
40120 * nss/nss_files/files-init.c: New file.
40121 * nss/nsswitch.c (nss_load_library): New function. Broken out of
40122 __nss_lookup_function.
40123 (__nss_lookup_function): Call nss_load_library.
40124 (nss_load_all_libraries): New function.
40125 (__nss_disable_nscd): Take parameter with callback function for files
40126 to register. Set is_nscd. Load all the DSOs for the NSS modules
40127 used for the cached services.
40128 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
40129 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
40130 options for features to all the files in nscd.
40131
40132 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
40133
40134 2011-07-10 Roland McGrath <roland@hack.frob.com>
40135
40136 * csu/elf-init.c (__libc_csu_init): Comment typo.
40137
40138 2011-07-09 Ulrich Drepper <drepper@gmail.com>
40139
40140 * po/pl.po: Update from translation team.
40141 * po/ja.po: Likewise.
40142 * po/ru.po: Likewise.
40143 * po/ko.po: Likewise.
40144 * po/fr.po: Likewise.
40145
40146 2011-07-09 Roland McGrath <roland@hack.frob.com>
40147
40148 * configure.in (.ctors/.dtors header and trailer check):
40149 Use an empirical test on a built program.
40150 * configure: Regenerated.
40151
40152 * configure.in (-z relro check): Use an empirical test on a built DSO.
40153 Detect, but do not require, on ia64.
40154 * configure: Regenerated.
40155
40156 * configure.in (READELF): Find it with AC_CHECK_TOOL.
40157 Update tests that use readelf to use $READELF instead.
40158 * configure: Regenerated.
40159
40160 2011-07-08 Ulrich Drepper <drepper@gmail.com>
40161
40162 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
40163 if the result is not used.
40164
40165 2011-07-05 Andreas Jaeger <aj@suse.de>
40166
40167 [BZ#9696]
40168 * stdlib/tst-strtod.c: Add testcase.
40169
40170 2011-07-07 Ulrich Drepper <drepper@gmail.com>
40171
40172 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
40173 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
40174 The latter has a higher limit. Take additional parameter to pass to
40175 the new function.
40176 (__pathconf): Pass file to __statfs_link_max.
40177 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
40178 __statfs_link_max.
40179 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
40180 __statfs_link_max.
40181
40182 [BZ #12868]
40183 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
40184 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40185 Handle Lustre.
40186 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
40187 (__statfs_filesize_max): Likewise.
40188 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
40189
40190 2011-07-05 Andreas Jaeger <aj@suse.de>
40191
40192 * resolv/res_comp.c (dn_skipname): Remove unused variable.
40193
40194 2011-07-06 Marek Polacek <mpolacek@redhat.com>
40195
40196 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
40197 `status' variable.
40198 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
40199 Likewise.
40200
40201 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
40202
40203 * Makefile (strop-tests): Add strncat.
40204 * string/test-strncat.c: New file.
40205
40206 2011-06-30 Marek Polacek <mpolacek@redhat.com>
40207
40208 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
40209
40210 2011-06-21 Andreas Jaeger <aj@suse.de>
40211
40212 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
40213 Copy rule from iconvdata/Makefile.
40214
40215 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40216
40217 [BZ #12922]
40218 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
40219 but no long options are defined, just return 'W'.
40220
40221 2011-06-22 Marek Polacek <mpolacek@redhat.com>
40222
40223 [BZ #9696]
40224 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
40225
40226 2011-07-06 Ulrich Drepper <drepper@gmail.com>
40227
40228 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
40229 netgroups to read.
40230 (innetgr): Likewise.
40231
40232 2011-07-05 Roland McGrath <roland@hack.frob.com>
40233
40234 * config.make.in (install_root): Default to $(DESTDIR).
40235
40236 2011-07-05 Ulrich Drepper <drepper@gmail.com>
40237
40238 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
40239
40240 2011-07-02 Roland McGrath <roland@hack.frob.com>
40241
40242 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
40243
40244 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
40245 containing directory rather than embedding absolute directory names.
40246
40247 * scripts/check-local-headers.sh: Rewritten using awk.
40248 Match by word, not by line. Print error messages for matches.
40249 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
40250
40251 * Makerules [shlib-lds-flags empty]:
40252 ($(common-objpfx)libc_pic.opts): New target.
40253 ($(common-objpfx)libc_pic.os.clean): New target.
40254 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
40255
40256 * config.make.in (OBJCOPY): New variable.
40257 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
40258 * configure: Regenerated.
40259
40260 * config.make.in (use-default-link): New variable.
40261 * configure.in (use_default_link): Grok --with-default-link to set it.
40262 * configure: Regenerated.
40263 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40264 (shlib-lds, shlib-lds-flags): Define to empty.
40265
40266 * Makerules (shlib-lds): New variable.
40267 (shlib-lds-flags): New variable.
40268 (build-shlib, build-moduile, build-module-asneeded): Use it.
40269 ($(common-objpfx)libc.so): Use $(shlib-lds).
40270 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40271 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40272
40273 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40274 DT_FLAGS/DT_FLAGS_1 with zero flags.
40275
40276 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40277 linker script munging.
40278
40279 2011-07-02 Ulrich Drepper <drepper@gmail.com>
40280
40281 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40282 as 128-bit value.
40283 * crypt/sha512.c (sha512_process_block): Perform total addition using
40284 128-bit if possible.
40285 (__sha512_finish_ctx): Likewise.
40286 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40287 as 64-bit value.
40288 * crypt/sha256.c (SWAP64): Define.
40289 (sha256_process_block): Perform total addition using 64-bit if
40290 possible.
40291 (__sha256_finish_ctx): Likewise.
40292
40293 2011-07-01 Ulrich Drepper <drepper@gmail.com>
40294
40295 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40297 * nscd/hstcache.c (cache_addhst): Likewise.
40298 * nscd/grpcache.c (cache_addgr): Likewise.
40299 * nscd/aicache.c (addhstaiX): Likewise
40300 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40301
40302 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
40303
40304 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40305 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40306 * nscd/hstcache.c (cache_addhst): Likewise.
40307 * nscd/grpcache.c (cache_addgr): Likewise.
40308 * nscd/aicache.c (addhstaiX): Likewise
40309
40310 2011-07-01 Andreas Schwab <schwab@redhat.com>
40311
40312 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40313 domain only when needed.
40314
40315 2011-06-30 Andreas Schwab <schwab@redhat.com>
40316
40317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40318 is always restored.
40319
40320 2011-06-29 Ulrich Drepper <drepper@gmail.com>
40321
40322 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40323 are re-adding the entry.
40324 * nscd/servicescache.c (cache_addserv): Likewise.
40325
40326 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40327
40328 * sysdeps/generic/dl-irel.h: fix protection against multiple
40329 inclusions.
40330 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40331
40332 2011-06-28 Ulrich Drepper <drepper@gmail.com>
40333
40334 [BZ #12935]
40335 * malloc/memusage.sh: Fix quoting in message.
40336 * debug/xtrace.sh: Likewise.
40337
40338 * configure.in: Remove support for --experimental-malloc option, make
40339 it the default.
40340 * config.make.in: Likewise.
40341 * malloc/Makefile: Likewise.
40342
40343 2011-06-27 Andreas Schwab <schwab@redhat.com>
40344
40345 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40346 two-byte characters.
40347
40348 2011-06-27 Roland McGrath <roland@hack.frob.com>
40349
40350 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40351 AC_CACHE_CHECK invocation.
40352 * configure: Regenerated.
40353
40354 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40355
40356 2011-06-27 Ulrich Drepper <drepper@gmail.com>
40357
40358 [BZ #12350]
40359 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40360 bit from old_res_options.
40361
40362 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40363
40364 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40365 value type for setfct.
40366
40367 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40368
40369 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40370 __gettimeofday instead of gettimeofday.
40371
40372 2011-06-26 Ulrich Drepper <drepper@gmail.com>
40373
40374 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40375
40376 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40377
40378 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40379
40380 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40381 info.
40382
40383 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40384
40385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40386 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40387 strcpy-sse2-unaligned strncpy-sse2-unaligned
40388 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40389 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40390 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40391 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40392 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40393 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40394 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40395 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40396 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40397 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40398 (STRCPY): Support SSE2 and SSSE3 versions.
40399
40400 2011-06-24 Ulrich Drepper <drepper@gmail.com>
40401
40402 [BZ #12874]
40403 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40404 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40405 kernels which artificially limit size of requests.
40406
40407 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40408
40409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40410 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40411 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40412 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40413 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40414 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40415 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40416 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40417 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40418 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40419 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40420 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40421 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40422 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40423 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40425 Enable unaligned load optimization for Intel Core i3, i5 and i7
40426 processors.
40427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40428 Define.
40429 (index_Fast_Unaligned_Load): Define.
40430 (HAS_FAST_UNALIGNED_LOAD): Define.
40431
40432 2011-06-23 Marek Polacek <mpolacek@redhat.com>
40433
40434 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40435
40436 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40437
40438 [BZ #12907]
40439 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40440 until it is clear that the information is realy needed.
40441 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40442
40443 2011-06-22 Andreas Schwab <schwab@redhat.com>
40444
40445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40446
40447 2011-06-22 Ulrich Drepper <drepper@gmail.com>
40448
40449 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40450 /sys/devices/system/cpu/online if it is usable.
40451
40452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40453 reading the information from the /proc filesystem to once a second.
40454
40455 2011-06-21 Andreas Jaeger <aj@suse.de>
40456
40457 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40458 NULL after inclusion of kernel headers.
40459
40460 2011-06-21 Ulrich Drepper <drepper@gmail.com>
40461
40462 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40463 calls to internal_setent.
40464
40465 [BZ #12885]
40466 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40467 addresses using gethostbyname4_r ignore IPv4 addresses.
40468
40469 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40470 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40471
40472 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40473
40474 2011-06-20 David S. Miller <davem@davemloft.net>
40475
40476 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40477 inclusions.
40478 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40479
40480 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40481 (elf_irel): Use it.
40482 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40483 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40484 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40485 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40486 * sysdeps/x86_64/dl-irel.h: Likewise.
40487
40488 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40489 * elf/dl-sym.c: Likewise.
40490
40491 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40492
40493 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40494 need to dereference resplen2.
40495
40496 2011-06-14 Andreas Schwab <schwab@redhat.com>
40497
40498 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40499
40500 2011-06-15 Ulrich Drepper <drepper@gmail.com>
40501
40502 * Makeconfig: Define vardbdir and inst_vardbdir.
40503 * nss/Makefile: Add rules to install db-Makefile.
40504
40505 * nss/nss_db/db-XXX.c: Cleanup.
40506
40507 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40508 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40509 GLIBC_PRIVATE.
40510 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40511 * nss/makedb.c: Implement -g option to specify that value strings
40512 are generated and should not be added to table iterated over for
40513 get*ent calls.
40514 * nss/nss_db/db-initgroups.c: New file.
40515
40516 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40517 interface.
40518
40519 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40520 (internal_getgrouplist): Adjust to name change.
40521 Update use_initgroups_entry if this is not the first call.
40522 * nss/databases.def: Add initgroups entry.
40523
40524 * nss/makedb.c (compute_tables): Check result of multiple hash table
40525 sizes to minimize maximum chain length.
40526
40527 2011-06-14 Ulrich Drepper <drepper@gmail.com>
40528
40529 * Versions.def: Add entry for libnss_db.
40530 * shlib-versions: Likewise.
40531 * nss/Makefile: Add rules to build libnss_db.
40532 * nss/Versions: Add libnss_db information. Organize libnss_files
40533 entries better.
40534 * nss/db-Makefile: Add gshadow support. Change rules for the new
40535 makedb progra. Some minor improvements to generate smaller files.
40536 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40537 here from...
40538 * nss/makedb.c: ...here.
40539 Improve database format to be smaller and require less memory at
40540 runtime.
40541 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40542 db anymore.
40543 * nss/nss_db/db-netgrp.c: Likewise.
40544 * nss/nss_db/db-open.c: Likewise.
40545 * nss/nss_files/flies-XXX.x: Adjust comments.
40546 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40547 * nss/nss_files/files-grp.c: Likewise.
40548 * nss/nss_files/files-hosts.c: Likewise.
40549 * nss/nss_files/files-network.c: Likewise.
40550 * nss/nss_files/files-proto.c: Likewise.
40551 * nss/nss_files/files-pwd.c: Likewise.
40552 * nss/nss_files/files-rpc.c: Likewise.
40553 * nss/nss_files/files-service.c: Likewise.
40554 * nss/nss_files/files-sgrp.c: Likewise.
40555 * nss/nss_files/files-spwd.c: Likewise.
40556 * nss/nss_db/db-alias.c: Removed.
40557 * nss/nss_db/dummy-db.h: Removed.
40558
40559 2011-06-02 Ulrich Drepper <drepper@gmail.com>
40560
40561 * nss/makedb.c: Rewritten to not use database library.
40562 * nss/Makefile: Update to build new makedb program.
40563
40564 2011-06-14 Andreas Jaeger <aj@suse.de>
40565
40566 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40567 memset declaration.
40568
40569 2011-06-10 Andreas Schwab <schwab@redhat.com>
40570
40571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40572 tmpbuf.
40573
40574 2011-06-10 Roland McGrath <roland@hack.frob.com>
40575
40576 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40577 * elf/Makefile ($(objpfx)ld.so): Likewise.
40578
40579 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40580 Don't list ld.so twice in dependencies.
40581
40582 * posix/bug-regex31.c: Include <stdlib.h>.
40583
40584 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40585
40586 * nis/nss_compat/compat-spwd.c
40587 (getspent_next_nss_netgr): Remove unused variable.
40588 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40589
40590 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40591 nonmembers" output to use the right array.
40592
40593 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40594
40595 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40596
40597 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40598 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40599 * catgets/gencat.c (read_input_file): Likewise.
40600 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40601
40602 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40603 variable definition inside #if's controlling its use.
40604
40605 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40606
40607 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40608
40609 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40610
40611 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40612 unreachable code.
40613
40614 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40615
40616 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40617 * configure: Regenerated.
40618
40619 * Makerules: Revert last change.
40620 * elf/Makefile: Likewise.
40621
40622 2011-06-09 Roland McGrath <roland@hack.frob.com>
40623
40624 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40625 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40626 (reloc-link): Likewise.
40627
40628 2011-06-09 Ulrich Drepper <drepper@gmail.com>
40629
40630 * elf/Makefile: Add rules to build pldd.
40631 * elf/pldd.c: New file.
40632 * elf/pldd-xx.c: New file.
40633
40634 2011-06-07 Ulrich Drepper <drepper@gmail.com>
40635
40636 * version.h: Update for 2.15 development version.
40637
40638 2011-06-07 David S. Miller <davem@davemloft.net>
40639
40640 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40641 ifuncs.
40642 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40643 elf_machine_lazy_rel): Likewise.
40644 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40645 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40646 elf_machine_lazy_rel): Likewise.
40647 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40648 dl_hwcap via passed in argument.
40649 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40650 Likewise.
40651
40652 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40653
40654 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40655
40656 2011-06-06 Roland McGrath <roland@hack.frob.com>
40657
40658 [BZ #12849]
40659 * manual/fdl-1.1.texi: New file, verbatim from:
40660 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40661 * manual/lgpl-2.1.texi: New file, verbatim from:
40662 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40663 * manual/Makefile (licenses): New variable, list those new file names.
40664 (texis): Use it.
40665 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40666
40667 * manual/fdl.texi: File removed.
40668 * manual/lesser.texi: File removed.
40669 * manual/libc.texinfo (Copying, Documentation License):
40670 Use new @include file names, put @appendix directive before @include.
40671
40672 2011-06-04 Jakub Jelinek <jakub@redhat.com>
40673
40674 [BZ #12841]
40675 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40676 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40677 (mq_open): Add __NTH.
40678
40679 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40680
40681 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40682 Assume Intel Core i3/i5/i7 processor if AVX is available.
40683
40684 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40685
40686 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40687 typo.
40688
40689 2011-05-31 Andreas Schwab <schwab@redhat.com>
40690
40691 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40692 memory. Use alloca_account. Fix memory leak when retrying.
40693
40694 2011-05-31 Ulrich Drepper <drepper@gmail.com>
40695
40696 * version.h (RELEASE): Bump for 2.14 release.
40697 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40698
40699 * config.make.in (RANLIB): Remove entry.
40700
40701 2011-05-30 Ulrich Drepper <drepper@gmail.com>
40702
40703 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40704 (libc.pot): Work around missing support for .ksh extension in xgettext.
40705
40706 [BZ #12684]
40707 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40708 if both request failed.
40709 (send_dg): In case of server errors clear resplen or *resplen2.
40710
40711 [BZ #12454]
40712 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40713 when there are multiple maps.
40714 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40715 (_dl_fini): Remove test here.
40716
40717 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40718
40719 2011-05-29 Ulrich Drepper <drepper@gmail.com>
40720
40721 [BZ #12350]
40722 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40723 bit from old_res_options.
40724 (gaih_inet): Likewise.
40725
40726 [BZ #11099]
40727 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
40728 as signed.
40729
40730 * resolv/res_init.c (res_setoptions): Make the code more compact.
40731
40732 [BZ #11558]
40733 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40734 set RES_USEVC.
40735
40736 [BZ #11634]
40737 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40738
40739 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40740
40741 [BZ #11781]
40742 * malloc/malloc.h: Declare malloc hook variables as volatile.
40743
40744 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40745 in last patch.
40746
40747 [BZ #11799]
40748 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
40749 raise in the comment.
40750 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40751 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40752 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
40753
40754 2011-05-28 Ulrich Drepper <drepper@gmail.com>
40755
40756 [BZ #12811]
40757 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40758 grow the buffers more if it already has to be sufficient.
40759 (build_wcs_upper_buffer): Likewise.
40760 * posix/regexec.c (check_matching): Likewise.
40761 (clean_state_log_if_needed): Likewise.
40762 (extend_buffers): Don't enlarge buffers beyond size of the input
40763 buffer.
40764 Patches mostly by Emil Wojak <emil@wojak.eu>.
40765 * posix/bug-regex32.c: New file.
40766 * posix/Makefile (tests): Add bug-regex32.
40767
40768 * locale/findlocale.c (_nl_find_locale): Return right away if
40769 _nl_explode_name failed.
40770 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40771
40772 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40773
40774 * debug/xtrace.sh: Unify messages.
40775 * malloc/memusage.sh: Likewise.
40776
40777 [BZ #12813]
40778 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40779 time symbol from vDSO. Substitute with vsyscall if not available.
40780 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40781 __vdso_time.
40782
40783 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40784 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40785 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40786 Add sendmmsg and internal_sendmmsg.
40787 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40788 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40789 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40790
40791 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40792 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40793 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40794
40795 2011-05-27 Ulrich Drepper <drepper@gmail.com>
40796
40797 [BZ #12813]
40798 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40799 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40800 available.
40801 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40802 __vdso_getcpu.
40803
40804 [BZ #12814]
40805 * iconvdata/Makefile (tests): Add bug-iconv9.
40806 * iconvdata/bug-iconv9.c: New file.
40807
40808 2011-05-27 Andreas Schwab <schwab@redhat.com>
40809
40810 [BZ #12814]
40811 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40812
40813 2011-05-25 Jakub Jelinek <jakub@redhat.com>
40814
40815 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40816 (struct user_regs_struct): Change intcs field back to cs.
40817
40818 2011-05-25 Ulrich Drepper <drepper@gmail.com>
40819
40820 * po/ja.po: Update from translation team.
40821
40822 2011-05-23 Ulrich Drepper <drepper@gmail.com>
40823
40824 [BZ #12795]
40825 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40826 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40827
40828 2011-05-20 Andreas Schwab <schwab@redhat.com>
40829
40830 * stdlib/longlong.h: Update from GCC.
40831
40832 2011-05-23 Andreas Schwab <schwab@redhat.com>
40833
40834 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40835 parameter name.
40836 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40837 Add parameter name.
40838 (__sysconf): Pass it down.
40839
40840 2011-05-22 Ulrich Drepper <drepper@gmail.com>
40841
40842 [BZ #12671]
40843 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40844 some situations.
40845 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40846 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40847 add in in __libc_use_alloca calls. Adjust callers.
40848 (glob): Use malloc in some situations.
40849
40850 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40851 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40852 pltexit.
40853
40854 2011-05-21 Ulrich Drepper <drepper@gmail.com>
40855
40856 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40857 and CLOCK_BOOTTIME_ALARM.
40858
40859 [BZ #12782]
40860 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40861 is returned.
40862
40863 * string/_strerror.c (__strerror_r): Print negative errors as signed
40864 numbers.
40865
40866 [BZ #12777]
40867 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40868 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40869 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40870
40871 * configure.in: Fix typo in redirection and correct removal of test
40872 files in two cases.
40873
40874 [BZ #12788]
40875 * locale/setlocale.c (new_composite_name): Fix test to check for
40876 identical name of all categories.
40877
40878 [BZ #12792]
40879 * libio/filedoalloc.c (local_isatty): New function.
40880 (_IO_file_doallocate): Use local_isatty.
40881 * stdio-common/perror.c (perror): In case a new stream is used
40882 forward the stream error.
40883 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40884 error flag.
40885
40886 2011-05-20 Ulrich Drepper <drepper@gmail.com>
40887
40888 [BZ #11869]
40889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40890 alloca.
40891 * include/alloca.h (extend_alloca_account): Define.
40892
40893 [BZ #11857]
40894 * posix/regex.h: Fix comments with documentation of user-accessible
40895 fields after compilation and describe correct free'ing of pattern
40896 after re_compile_pattern.
40897 Patch by Reuben Thomas <rrt@sc3d.org>.
40898
40899 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40900
40901 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40902 and -mno-altivec to prevent the compiler from using Altivec and/or
40903 VSX instructions when the corresponding registers are not available.
40904
40905 2011-05-19 Andreas Schwab <schwab@redhat.com>
40906
40907 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40908
40909 2011-05-19 Ulrich Drepper <drepper@gmail.com>
40910
40911 * libio/freopen.c (freopen): Use __dup2, not dup2.
40912 * libio/freopen64.c (freopen64): Likewise.
40913
40914 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40915
40916 [BZ #12775]
40917 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40918 * math/Makefile (tests): Add test-powl.
40919 (CFLAGS-test-powl.c): Define.
40920 * math/test-powl.c: New file.
40921
40922 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40923
40924 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40925
40926 2011-05-17 Ulrich Drepper <drepper@gmail.com>
40927
40928 [BZ #11837]
40929 * iconvdata/gb18030.c: Update to GB18020-2005.
40930
40931 2011-05-16 Ulrich Drepper <drepper@gmail.com>
40932
40933 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40934 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40935 Patch by Aharon Robbins <arnold@skeeve.com>.
40936
40937 [BZ #11892]
40938 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40939 on the stack.
40940
40941 [BZ #11895]
40942 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40943 through underflows.
40944
40945 [BZ #12766]
40946 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40947 point to strings before performing equality test for error_one_per_line
40948 mode.
40949
40950 [BZ #11697]
40951 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40952
40953 [BZ #11820]
40954 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40955 (struct user_fpregs_struct): Avoid __uint*_t types.
40956
40957 [BZ #6420]
40958 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40959 symbol info. Use it instead of calling _dl_addr locally.
40960 (lock_and_info): New function.
40961 (tr_freehook): Call lock_and_info and pass symbol info as additional
40962 parameter to tr_where.
40963 (tr_mallochook): Likewise.
40964 (tr_reallochook): Likewise.
40965 (tr_memalignhook): Likewise.
40966
40967 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40968 used and couldn't be at all thread-safe.
40969
40970 2011-05-15 Ulrich Drepper <drepper@gmail.com>
40971
40972 * libio/freopen.c (freopen): Don't close old file descriptor
40973 before the new one is opened. Instead dup the new file descriptor
40974 to the old one after the new stream is created.
40975 * libio/freopen64.c (freopen64): Likewise.
40976 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40977 * libio/fileops.c (_IO_new_file_close_it): Handle new
40978 _IO_FLAGS2_NOCLOSE flag.
40979 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40980 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40981 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40982 _IO_FLAGS2_NOCLOSE flag.
40983 * include/unistd.h: Add hidden_proto for dup3.
40984 Define __have_dup3.
40985 * io/dup3.c: Define hidden symbol.
40986 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40987
40988 [BZ #7101]
40989 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40990 when an incomplete long option is used.
40991 * posix/tst-getopt_long1.c: New file.
40992 * posix/Makefile (tests): Add tst-getopt_long1.
40993
40994 [BZ #10138]
40995 * scripts/config.guess: Update from autoconf-2.68.
40996 * scripts/config.sub: Likewise.
40997
40998 [BZ #10157]
40999 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
41000 tests into ...
41001 (has_cpuclock): ...this. New function.
41002 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
41003 macro here based on has_cpuclock code.
41004
41005 [BZ #10149]
41006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41007 First byte (not low byte) is now always NUL.
41008 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
41009
41010 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
41011 Use non-cancelable interfaces.
41012
41013 [BZ #9809]
41014 * locale/iso-639.def: Add entry for Sorani.
41015
41016 [BZ #11901]
41017 * include/stdlib.h: Move include protection to the right place.
41018 Define abort_msg_s. Declare __abort_msg with it.
41019 * stdlib/abort.c (__abort_msg): Adjust type.
41020 * assert/assert.c (__assert_fail_base): New function. Majority
41021 of code from __assert_fail. Allocate memory for __abort_msg with
41022 mmap.
41023 (__assert_fail): Now call __assert_fail_base.
41024 * assert/assert-perr.c: Remove bulk of implementation. Use
41025 __assert_fail_base.
41026 * include/assert.hL Declare __assert_fail_base.
41027 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
41028 mmap.
41029 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
41030
41031 2011-05-14 Ulrich Drepper <drepper@gmail.com>
41032
41033 [BZ #11952]
41034 [BZ #12453]
41035 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
41036 until all modules are registered in the DTV.
41037 * elf/Makefile: Add rules to build and run tst-tls19.
41038 * elf/tst-tls19.c: New file.
41039 * elf/tst-tls19mod1.c: New file.
41040 * elf/tst-tls19mod2.c: New file.
41041 * elf/tst-tls19mod3.c: New file.
41042 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
41043
41044 [BZ #12083]
41045 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
41046 correctly.
41047
41048 [BZ #12601]
41049 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
41050 two-byte sequence errors.
41051 * iconvdata/Makefile (tests): Add bug-iconv8.
41052 * iconvdata/bug-iconv8.c: New file.
41053
41054 [BZ #12626]
41055 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
41056 buf2 definition.
41057
41058 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
41059
41060 [BZ #12432]
41061 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
41062 (dummy_getcfa): New function.
41063 (init): Get _Unwind_GetCFA address, use dummy if not found.
41064 (backtrace_helper): In recursion check, also check whether CFA changes.
41065 (__backtrace): Completely initialize arg.
41066
41067 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
41068 storing incomplete byte sequence in state object. Avoid testing for
41069 guaranteed too small input if we know there is enough data available.
41070
41071 2011-05-11 Andreas Schwab <schwab@redhat.com>
41072
41073 * Makeconfig (+link-pie): Indent.
41074 * Rules (binaries-pie): Define if $(have-fpie) and
41075 $(build-shared).
41076 (binaries-shared): Also filter out $(binaries-pie).
41077 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
41078 * nscd/Makefile (others-pie): Add nscd.
41079 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
41080 ($(objpfx)nscd): Remove command override.
41081 * login/Makefile (others-pie): Add pt_chown.
41082 ($(objpfx)pt_chown): Remove command override.
41083 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
41084 remove command overrides.
41085
41086 2011-05-13 Ulrich Drepper <drepper@gmail.com>
41087
41088 * libio/tst_putwc.c: Fix error messages.
41089
41090 [BZ #12724]
41091 * libio/fileops.c (_IO_new_file_close_it): Always flush when
41092 currently writing and seek to current position when not.
41093 * libio/Makefile (tests): Add bug-fclose1.
41094 * libio/bug-fclose1.c: New file.
41095
41096 2011-05-12 Ulrich Drepper <drepper@gmail.com>
41097
41098 [BZ #12511]
41099 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
41100 don't set DF_1_NODELETE here.
41101 (do_lookup_x): When entering new entry test for copy relocation
41102 and if necessary set DF_1_NODELETE flag.
41103 * elf/tst-unique4.cc: New file.
41104 * elf/tst-unique4.h: New file.
41105 * elf/tst-unique4lib.cc: New file.
41106 * elf/Makefile: Add rules to build and run tst-unique4.
41107 Patch by Piotr Bury <pbury@goahead.com>.
41108
41109 2011-05-11 Ulrich Drepper <drepper@gmail.com>
41110
41111 [BZ #12052]
41112 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
41113
41114 [BZ #12625]
41115 * misc/mntent_r.c (addmntent): Flush the stream after the output
41116
41117 [BZ #12393]
41118 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
41119 (is_trusted_path_normalize): Skip initial colon. Append slash
41120 to empty buffer. Duplicate is_trusted_path code but allow
41121 constructed patch to be prefix.
41122 (is_dst): Allow $ORIGIN followed by /.
41123 (_dl_dst_substitute): Correct clearing of check_for_trusted.
41124 Correct testing of result of is_trusted_path_normalize
41125 (decompose_rpath): Fix warning.
41126
41127 2011-05-10 Ulrich Drepper <drepper@gmail.com>
41128
41129 [BZ #11257]
41130 * grp/initgroups.c (internal_getgrouplist): When we found the service
41131 list through the initgroups entry in nsswitch.conf do not always
41132 continue on a successful lookup. Don't always use the
41133 __nss_group_database value if it is set.
41134 * nss/nsswitch.conf (initgroups): Change action for successful db
41135 lookup to continue for compatibility.
41136
41137 2011-05-09 Ulrich Drepper <drepper@gmail.com>
41138
41139 [BZ #11532]
41140 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
41141 and CP774 modules.
41142 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
41143 and CP774 modules.
41144 * iconvdata/tst-tables.sh: Likewise.
41145 * iconvdata/cp770.c: New file.
41146 * iconvdata/cp771.c: New file.
41147 * iconvdata/cp772.c: New file.
41148 * iconvdata/cp773.c: New file.
41149 * iconvdata/cp774.c: New file.
41150 * iconvdata/testdata/CP770: New file.
41151 * iconvdata/testdata/CP770..UTF8: New file.
41152 * iconvdata/testdata/CP771: New file.
41153 * iconvdata/testdata/CP771..UTF8: New file.
41154 * iconvdata/testdata/CP772: New file.
41155 * iconvdata/testdata/CP772..UTF8: New file.
41156 * iconvdata/testdata/CP773: New file.
41157 * iconvdata/testdata/CP773..UTF8: New file.
41158 * iconvdata/testdata/CP774: New file.
41159 * iconvdata/testdata/CP774..UTF8: New file.
41160
41161 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
41162 END CHARMAP line.
41163 * iconvdata/gen-8bit-gap.sh: Likewise.
41164 * iconvdata/gen-8bit.sh: Likewise.
41165
41166 * locale/iso-639.def: Add ary entry.
41167
41168 [BZ #11258]
41169 * locale/C-translit.h.in: Add U20A1 transliteration.
41170
41171 [BZ #12178]
41172 * locale/iso-639.def: Add wae entry.
41173 Patch by Kevin Bortis <bortis@translate-wae.ch>.
41174
41175 [BZ #12545]
41176 * locale/programs/localedef.c (construct_output_path): Use ssize_t
41177 for n.
41178
41179 [BZ #12711]
41180 * locale/C-translit.h.in: Add entry for U20B9.
41181 Patch by pravin.d.s@gmail.com.
41182
41183 2011-05-08 Ulrich Drepper <drepper@gmail.com>
41184
41185 [BZ #12713]
41186 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
41187 ENAMETOOLONG use generic getcwd.
41188 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
41189 in rtld. Use *stat64.
41190 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
41191 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
41192 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
41193 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
41194 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
41195 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
41196 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
41197 __fstatat64 macros.
41198 * include/dirent.h: Add libc_hidden_proto for rewinddir.
41199 * dirent/rewinddir.c: Add libc_hidden_def.
41200 * sysdeps/mach/hurd/rewinddir.c: Likewise.
41201 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
41202
41203 * include/dirent.h (__alloc_dir): Add flags parameter.
41204 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
41205 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
41206 __alloc_dir.
41207 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
41208 from fdopendir if O_CLOEXEC is already set.
41209
41210 2011-03-15 Alan Modra <amodra@gmail.com>
41211
41212 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
41213 l_tls_firstbyte_offset non-zero. Save padding offset in
41214 l_tls_firstbyte_offset for later use.
41215 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
41216 freeing static tls block.
41217
41218 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
41219
41220 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
41221 where #ifdef was intended. The intent is to prevent ARG_MAX from
41222 being defined by the kernel headers.
41223
41224 2011-05-07 Ulrich Drepper <drepper@gmail.com>
41225
41226 [BZ #12734]
41227 * resolv/resolv.h: Define RES_NOTLDQUERY.
41228 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
41229 no-tld-query and set RES_NOTLDQUERY.
41230 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
41231 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
41232 modern BIND to search name as TLD unless forbidden.
41233
41234 2011-05-07 Petr Baudis <pasky@suse.cz>
41235 Ulrich Drepper <drepper@gmail.com>
41236
41237 [BZ #12393]
41238 * elf/dl-load.c (fillin_rpath): Move trusted path check...
41239 (is_trusted_path): ...to here.
41240 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
41241 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
41242 using is_trusted_path_normalize() in setuid scripts.
41243
41244 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
41245
41246 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
41247 __BEGIN/__END_DECLS.
41248
41249 2011-05-06 Ulrich Drepper <drepper@gmail.com>
41250
41251 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
41252 NSS_STATUS_NOTFOUND if no record was found.
41253
41254 2011-05-05 Andreas Schwab <schwab@redhat.com>
41255
41256 * sunrpc/Makefile (headers): Add rpc/netdb.h.
41257 (headers-not-in-tirpc): Remove rpc/netdb.h
41258 * resolv/netdb.h: Revert last change.
41259
41260 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41261
41262 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41263 circular dependency between libgcc.a and libc.a.
41264
41265 2011-05-05 Andreas Schwab <schwab@redhat.com>
41266
41267 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41268 * nis/Makefile: Don't install rpcsvc/*.
41269 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41270 instead of <rpc/types.h>.
41271 (MAXHOSTNAMELEN): Define.
41272
41273 2011-05-03 Andreas Schwab <schwab@redhat.com>
41274
41275 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41276
41277 2011-04-28 Maciej Babinski <mbabinski@google.com>
41278
41279 [BZ #12714]
41280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41281 gethostbyname4_r when IPv6 results are possible.
41282
41283 2011-05-02 Ulrich Drepper <drepper@gmail.com>
41284
41285 [BZ #12723]
41286 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41287 _PC_PIPE_BUF handling.
41288
41289 2011-04-30 Bruno Haible <bruno@clisp.org>
41290
41291 [BZ #12717]
41292 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41293 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41294 to 'int'.
41295 * inet/getnameinfo.c (getnameinfo): Likewise.
41296
41297 2011-04-29 Ulrich Drepper <drepper@gmail.com>
41298
41299 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41300 to groups setting in database lookup.
41301 * nss/nsswitch.conf: Add initgroups entry.
41302
41303 2011-04-22 Ulrich Drepper <drepper@gmail.com>
41304
41305 [BZ #12685]
41306 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41307 mode string.
41308 Patch by Eric Blake <eblake@redhat.com>.
41309
41310 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41311
41312 * sunrpc/Makefile (need-export-routines): Add svc_run.
41313 (routines): Remove svc_run.
41314 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41315 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41316 * sunrpc/svc_run.c (svc_run): Likewise.
41317 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41318
41319 2011-04-21 Ulrich Drepper <drepper@gmail.com>
41320
41321 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41322 problem in reallocation in last patch.
41323
41324 2011-04-20 Ulrich Drepper <drepper@gmail.com>
41325
41326 * sunrpc/Makefile: Move inclusion of Rules.
41327
41328 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41329
41330 * nss/nss_files/files-initgroups.c: New file.
41331 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41332 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41333 _nss_files_initgroups_dyn.
41334
41335 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41336
41337 * elf/elf.h (R_ARM_IRELATIVE): Define.
41338
41339 2011-04-19 Ulrich Drepper <drepper@gmail.com>
41340
41341 * po/ru.po: Update from translation team.
41342
41343 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41344
41345 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41346 dependencies.
41347
41348 2011-02-06 Mike Frysinger <vapier@gentoo.org>
41349
41350 [BZ #12653]
41351 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41352 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41353 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41354 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41355 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41356
41357 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41358
41359 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41360 differing bytes.
41361 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41362 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41364
41365 2011-04-17 Ulrich Drepper <drepper@gmail.com>
41366
41367 [BZ #12420]
41368 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41369 storing it.
41370 * stdlib/bug-getcontext.c: New file.
41371 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41372
41373 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41374
41375 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41376 instructions into .machine "z9-109".
41377 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41378 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41379
41380 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41381
41382 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41383 between environment variables and auxiliary vector.
41384
41385 2011-04-16 Ulrich Drepper <drepper@gmail.com>
41386
41387 * Makefile: Add rules to build linkobj/libc.so.
41388 * include/libc-symbols.h: Define libc_hidden_nolink.
41389 * include/rpc/auth.h: Mark functions which are to be hidden.
41390 * include/rpc/auth_des.h: Likewise.
41391 * include/rpc/auth_unix.h: Likewise.
41392 * include/rpc/clnt.h: Likewise.
41393 * include/rpc/des_crypt.h: Likewise.
41394 * include/rpc/key_prot.h: Likewise.
41395 * include/rpc/pmap_clnt.h: Likewise.
41396 * include/rpc/pmap_prot.h: Likewise.
41397 * include/rpc/pmap_rmt.h: Likewise.
41398 * include/rpc/rpc_msg.h: Likewise.
41399 * include/rpc/svc.h: Likewise.
41400 * include/rpc/svc_auth.h: Likewise.
41401 * include/rpc/xdr.h: Likewise.
41402 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41403 * nss/Makefile: Likewise.
41404 * sunrpc/Makefile: Don't install headers. Build library with normal
41405 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41406 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41407 for the compat linking library. Remove use of INTDEF/INTUSE.
41408 * sunrpc/auth_none.c: Likewise.
41409 * sunrpc/auth_unix.c: Likewise.
41410 * sunrpc/authdes_prot.c: Likewise.
41411 * sunrpc/authuxprot.c: Likewise.
41412 * sunrpc/clnt_gen.c: Likewise.
41413 * sunrpc/clnt_perr.c: Likewise.
41414 * sunrpc/clnt_raw.c: Likewise.
41415 * sunrpc/clnt_simp.c: Likewise.
41416 * sunrpc/clnt_tcp.c: Likewise.
41417 * sunrpc/clnt_udp.c: Likewise.
41418 * sunrpc/clnt_unix.c: Likewise.
41419 * sunrpc/des_crypt.c: Likewise.
41420 * sunrpc/des_soft.c: Likewise.
41421 * sunrpc/get_myaddr.c: Likewise.
41422 * sunrpc/key_call.c: Likewise.
41423 * sunrpc/key_prot.c: Likewise.
41424 * sunrpc/netname.c: Likewise.
41425 * sunrpc/pm_getmaps.c: Likewise.
41426 * sunrpc/pm_getport.c: Likewise.
41427 * sunrpc/pmap_clnt.c: Likewise.
41428 * sunrpc/pmap_prot.c: Likewise.
41429 * sunrpc/pmap_prot2.c: Likewise.
41430 * sunrpc/pmap_rmt.c: Likewise.
41431 * sunrpc/publickey.c: Likewise.
41432 * sunrpc/rpc_cmsg.c: Likewise.
41433 * sunrpc/rpc_common.c: Likewise.
41434 * sunrpc/rpc_dtable.c: Likewise.
41435 * sunrpc/rpc_prot.c: Likewise.
41436 * sunrpc/rpc_thread.c: Likewise.
41437 * sunrpc/rtime.c: Likewise.
41438 * sunrpc/svc.c: Likewise.
41439 * sunrpc/svc_auth.c: Likewise.
41440 * sunrpc/svc_authux.c: Likewise.
41441 * sunrpc/svc_raw.c: Likewise.
41442 * sunrpc/svc_run.c: Likewise.
41443 * sunrpc/svc_simple.c: Likewise.
41444 * sunrpc/svc_tcp.c: Likewise.
41445 * sunrpc/svc_udp.c: Likewise.
41446 * sunrpc/svc_unix.c: Likewise.
41447 * sunrpc/svcauth_des.c: Likewise.
41448 * sunrpc/xcrypt.c: Likewise.
41449 * sunrpc/xdr.c: Likewise.
41450 * sunrpc/xdr_array.c: Likewise.
41451 * sunrpc/xdr_float.c: Likewise.
41452 * sunrpc/xdr_intXX_t.c: Likewise.
41453 * sunrpc/xdr_mem.c: Likewise.
41454 * sunrpc/xdr_rec.c: Likewise.
41455 * sunrpc/xdr_ref.c: Likewise.
41456 * sunrpc/xdr_sizeof.c: Likewise.
41457 * sunrpc/xdr_stdio.c: Likewise.
41458
41459 2011-04-10 Ulrich Drepper <drepper@gmail.com>
41460
41461 [BZ #12650]
41462 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41463 * sysdeps/ia64/dl-tls.h: Likewise.
41464 * sysdeps/powerpc/dl-tls.h: Likewise.
41465 * sysdeps/s390/dl-tls.h: Likewise.
41466 * sysdeps/sh/dl-tls.h: Likewise.
41467 * sysdeps/sparc/dl-tls.h: Likewise.
41468 * sysdeps/x86_64/dl-tls.h: Likewise.
41469 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41470
41471 2011-03-14 Andreas Schwab <schwab@redhat.com>
41472
41473 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41474 rpath element also skip the following colon.
41475 (expand_dynamic_string_token): Add is_path parameter and pass
41476 down to DL_DST_REQUIRED and _dl_dst_substitute.
41477 (decompose_rpath): Call expand_dynamic_string_token with
41478 non-zero is_path. Ignore empty rpaths.
41479 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41480 with zero is_path.
41481
41482 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41483
41484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41485 Make cancelable.
41486
41487 2011-04-09 Ulrich Drepper <drepper@gmail.com>
41488
41489 [BZ #12655]
41490 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41491 Patch by Filipe David Manana <fdmanana@apache.org>.
41492
41493 2011-04-07 Andreas Schwab <schwab@redhat.com>
41494
41495 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41496 Maintain aligned stack.
41497 (CHECK_RSP): Remove unused macro.
41498
41499 2011-04-03 Ulrich Drepper <drepper@gmail.com>
41500
41501 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41502 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41503
41504 2011-04-02 Ulrich Drepper <drepper@gmail.com>
41505
41506 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41507
41508 * include/features.h: Mention __USE_XOPEN2K8 in comment.
41509
41510 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41511
41512 [BZ #12518]
41513 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41514 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41515 * sysdeps/x86_64/memmove.c: New file.
41516 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41517 (memcpy): Renamed to ...
41518 (__new_memcpy): This.
41519 (memcpy): Provide GLIBC_2_14 memcpy.
41520 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41521 (memcpy): Provide GLIBC_2_2_5 memcpy.
41522
41523 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41524
41525 [BZ #12631]
41526 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41527
41528 2011-03-30 Andreas Schwab <schwab@redhat.com>
41529
41530 * misc/syncfs.c: New file.
41531 * misc/Makefile (routines): Add syncfs.
41532 * posix/unistd.h: Declare syncfs.
41533 * sysdeps/unix/syscalls.list: Add syncfs.
41534
41535 2011-04-01 Andreas Schwab <schwab@redhat.com>
41536
41537 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41538 open_by_handle_at.
41539 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41540 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41542 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41543 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41544 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41545 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41546
41547 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41548
41549 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41550 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41551 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41552 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41553 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41554 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41556
41557 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41558 sync_file_range.c with -fexceptions.
41559 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41560 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41561 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41562 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41563 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41564 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41565 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
41566 sync_file_range as cancellation point
41567 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41568 now a wrapper around __call_sync_file_range with cancellation handling.
41569 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41570 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41571 function name to __call_sync_file_range.
41572 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41573 Add call_sync_file_range.
41574
41575 2011-04-01 Andreas Schwab <schwab@redhat.com>
41576
41577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41578 bits/timex.h.
41579
41580 2011-04-01 Ulrich Drepper <drepper@gmail.com>
41581
41582 * iconv/iconv.h: Fix typo in comment.
41583 * io/fcntl.h: Likewise.
41584 * libio/stdio.h: Likewise.
41585 * posix/spawn.h: Likewise.
41586 * posix/unistd.h: Likewise.
41587 * stdlib/stdlib.h: Likewise.
41588 * time/time.h: Likewise.
41589 * wcsmbs/wchar.h: Likewise.
41590
41591 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41592 open_by_handle): Add.
41593 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41594 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41595 Augment a few comments.
41596 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41600 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41601 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41602 open_by_handle.
41603
41604 * io/fcntl.h (AT_EMPTY_PATH): Define.
41605
41606 2011-03-30 Ulrich Drepper <drepper@gmail.com>
41607
41608 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41609 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41610 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41611 to...
41612 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
41613 * Versions.def: Add GLIBC_2.14.
41614 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41615 Export.
41616
41617 2011-03-22 Ulrich Drepper <drepper@gmail.com>
41618
41619 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41620 round counter.
41621 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41622
41623 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41624
41625 [BZ #12597]
41626 * string/test-strncmp.c (do_page_test): New function.
41627 (check2): Likewise.
41628 (test_main): Call check2.
41629 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41630
41631 2011-03-20 Ulrich Drepper <drepper@gmail.com>
41632
41633 [BZ #12587]
41634 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41635 Handle cache information in CPU leaf 4.
41636 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41637
41638 2011-03-18 Ulrich Drepper <drepper@gmail.com>
41639
41640 [BZ #12583]
41641 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41642 character representation.
41643 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41644
41645 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41646
41647 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41648 END(__isnan) to END(__isnanf) to match function entry point/label
41649 EALIGN(__isnanf,...).
41650
41651 2011-03-10 Jakub Jelinek <jakub@redhat.com>
41652
41653 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41654
41655 2011-03-10 Ulrich Drepper <drepper@gmail.com>
41656
41657 [BZ #12510]
41658 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41659 copy from the symbol referenced in the relocation to initialize the
41660 used variable.
41661 Patch by Piotr Bury <pbury@goahead.com>.
41662 * elf/Makefile: Add rules to build and tst-unique3.
41663 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41664 * elf/tst-unique3.cc: New file.
41665 * elf/tst-unique3.h: New file.
41666 * elf/tst-unique3lib.cc: New file.
41667 * elf/tst-unique3lib2.cc: New file.
41668
41669 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41670
41671 2011-03-10 Mike Frysinger <vapier@gentoo.org>
41672
41673 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41674 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41675 to _start.
41676
41677 2011-03-06 Ulrich Drepper <drepper@gmail.com>
41678
41679 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41680 to-be-loaded object along a path to loader is ld.so.
41681
41682 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41683 Ulrich Drepper <drepper@gmail.com>
41684
41685 * sysdeps/x86_64/memset.S: After aligning destination, code
41686 branches to different locations depending on the value of
41687 misalignment, when multiarch is enabled. Fix this.
41688
41689 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41690
41691 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41692 Set _x86_64_preferred_memory_instruction for AMD processsors.
41693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41694 Set bit_Prefer_SSE_for_memop for AMD processors.
41695
41696 2011-03-04 Ulrich Drepper <drepper@gmail.com>
41697
41698 * libio/fmemopen.c (fmemopen): Optimize a bit.
41699
41700 2011-03-03 Andreas Schwab <schwab@redhat.com>
41701
41702 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41703
41704 2011-03-03 Roland McGrath <roland@redhat.com>
41705
41706 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41707
41708 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41709
41710 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
41711 __bzero_ultra1 instead of __memset_ultra1.
41712
41713 2011-02-23 Andreas Schwab <schwab@redhat.com>
41714 Ulrich Drepper <drepper@gmail.com>
41715
41716 [BZ #12509]
41717 * include/link.h (struct link_map): Add l_orig_initfini.
41718 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41719 returning unsuccessfully.
41720 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41721 close of a file loaded at startup, restore the original l_initfini
41722 list.
41723 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41724 list, store the pointer.
41725 * elf/Makefile ($(objpfx)noload-mem): New rule.
41726 (noload-ENV): Define.
41727 (tests): Add $(objpfx)noload-mem.
41728 * elf/noload.c: Include <memcheck.h>.
41729 (main): Call mtrace. Close all opened handles.
41730
41731 2011-02-17 Andreas Schwab <schwab@redhat.com>
41732
41733 [BZ #12454]
41734 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41735 dependencies are missing.
41736
41737 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41738
41739 Fix __if_freereq crash: Unlike the generic version which uses free,
41740 Hurd needs munmap.
41741 * sysdeps/mach/hurd/ifreq.h: New file.
41742
41743 2011-01-27 Petr Baudis <pasky@suse.cz>
41744 Ulrich Drepper <drepper@gmail.com>
41745
41746 [BZ 12445]#
41747 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41748 to extend_alloca().
41749 * stdio-common/bug23.c: New file.
41750 * stdio-common/Makefile (tests): Add bug23.
41751
41752 2010-09-28 Andreas Schwab <schwab@redhat.com>
41753 Ulrich Drepper <drepper@gmail.com>
41754
41755 [BZ #12489]
41756 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41757 before performing relro protection. At old place add assertion
41758 to make sure nothing changed.
41759
41760 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41761 Glauber de Oliveira Costa <glommer@gmail.com>
41762
41763 * elf/elf.h: Add new ARM TLS relocs.
41764
41765 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41766
41767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41768 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41769 cast from r3.
41770 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41771 'tests' variable.
41772 * sysdeps/wordsize-64/tst-writev.c: New file.
41773
41774 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41775
41776 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41777 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41778 insns in _dl_start to prevent a TOC reference before relocs are
41779 resolved.
41780
41781 2011-02-15 Ulrich Drepper <drepper@gmail.com>
41782
41783 [BZ #12469]
41784 * Makeconfig: Remove RANLIB definition.
41785 * Makerules: Don't use RANLIB.
41786 * aclocal.m4: Remove ranlib test.
41787 * configure.in: No need to check for ranlib.
41788 * elf/rtld-Rules: Don't use RANLIB.
41789
41790 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41791
41792 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41793 protection macro.
41794 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41795 inclusion protection macro.
41796
41797 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41798 SIGRTMIN and SIGRTMAX and print information in that case only when
41799 SIGRTMIN is defined.
41800
41801 2011-02-11 Jakub Jelinek <jakub@redhat.com>
41802
41803 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41804 arginfo fn returning -1.
41805
41806 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41807 and thousands string is zero terminated.
41808
41809 2011-02-03 Andreas Schwab <schwab@redhat.com>
41810
41811 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41812 sysdeps/unix/sysv/linux/bits/socket.h.
41813
41814 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41815
41816 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41817 (__CPU_COUNT): Remove old macros.
41818 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41819 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41820 (__CPU_ALLOC, __CPU_FREE): Add macros.
41821 (__sched_cpualloc, __sched_cpufree): Add declarations.
41822
41823 2011-02-05 Ulrich Drepper <drepper@gmail.com>
41824
41825 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41826 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41827 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41828 (readdhstai): Return value of addhstaiX call.
41829 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41830 (addgrbyX): Return value returned by cache_addgr.
41831 (readdgrbyname): Return value returned by addgrbyX.
41832 (readdgrbygid): Likewise.
41833 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41834 (addpwbyX): Return value returned by cache_addpw.
41835 (readdpwbyname): Return value returned by addhstbyX.
41836 (readdpwbyuid): Likewise.
41837 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41838 (addservbyX): Return value returned by cache_addserv.
41839 (readdservbyname): Return value returned by addservbyX:
41840 (readdservbyport): Likewise.
41841 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41842 (addhstbyX): Return value returned by cache_addhst.
41843 (readdhstbyname): Return value returned by addhstbyX.
41844 (readdhstbyaddr): Likewise.
41845 (readdhstbynamev6): Likewise.
41846 (readdhstbyaddrv6): Likewise.
41847 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41848 (readdinitgroups): Return value returned by addinitgroupsX.
41849 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41850 (prune_cache): Keep track of timeout value of re-added entries.
41851 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41852 * nscd/nscd.h: Adjust prototypes of readd* functions.
41853
41854 2011-02-04 Roland McGrath <roland@redhat.com>
41855
41856 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41857 (nis_stats): Likewise.
41858 * nis/nis_modify.c (nis_modify): Likewise.
41859 * nis/nis_remove.c (nis_remove): Likewise.
41860 * nis/nis_add.c (nis_add): Likewise.
41861
41862 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41863
41864 * posix/fnmatch_loop.c: Add some consts.
41865
41866 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41867
41868 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41869
41870 [BZ #12460]
41871 * config.make.in (config-cflags-novzeroupper): Define.
41872 * configure.in: Substitute libc_cv_cc_novzeroupper.
41873 * elf/Makefile (AVX-CFLAGS): Define.
41874 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41875 (CFLAGS-tst-auditmod4a.c): Likewise.
41876 (CFLAGS-tst-auditmod4b.c): Likewise.
41877 (CFLAGS-tst-auditmod6b.c): Likewise.
41878 (CFLAGS-tst-auditmod6c.c): Likewise.
41879 (CFLAGS-tst-auditmod7b.c): Likewise.
41880 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41881
41882 2011-02-02 Ulrich Drepper <drepper@gmail.com>
41883
41884 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41885 function to the callback.
41886 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41887
41888 2011-02-02 Andreas Schwab <schwab@redhat.com>
41889
41890 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41891 of errno.
41892
41893 2011-01-19 Ulrich Drepper <drepper@gmail.com>
41894
41895 [BZ #11724]
41896 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41897 of constructors.
41898 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41899 of destructors.
41900 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41901
41902 [BZ #11724]
41903 * elf/Makefile: Add rules to build and run new test.
41904 * elf/tst-initorder.c: New file.
41905 * elf/tst-initorder.exp: New file.
41906 * elf/tst-initordera1.c: New file.
41907 * elf/tst-initordera2.c: New file.
41908 * elf/tst-initordera3.c: New file.
41909 * elf/tst-initordera4.c: New file.
41910 * elf/tst-initorderb1.c: New file.
41911 * elf/tst-initorderb2.c: New file.
41912 * elf/tst-order-a1.c: New file.
41913 * elf/tst-order-a2.c: New file.
41914 * elf/tst-order-a3.c: New file.
41915 * elf/tst-order-a4.c: New file.
41916 * elf/tst-order-b1.c: New file.
41917 * elf/tst-order-b2.c: New file.
41918 * elf/tst-order-main.c: New file.
41919 New test case by George Gensure <werkt0@gmail.com>.
41920
41921 2010-10-01 Andreas Schwab <schwab@redhat.com>
41922
41923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41924 decoding ACE if AI_CANONIDN.
41925
41926 2011-01-18 Ulrich Drepper <drepper@gmail.com>
41927
41928 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41929
41930 2011-01-17 Ulrich Drepper <drepper@gmail.com>
41931
41932 * version.h (RELEASE): Bump for 2.13 release.
41933 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41934
41935 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41936
41937 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41938 MADV_NOHUGEPAGE.
41939 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41940 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41941 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41942 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41943 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41944 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41945
41946 * posix/getconf.c: Update copyright year.
41947 * catgets/gencat.c: Likewise.
41948 * csu/version.c: Likewise.
41949 * debug/catchsegv.sh: Likewise.
41950 * debug/xtrace.sh: Likewise.
41951 * elf/ldconfig.c: Likewise.
41952 * elf/ldd.bash.in: Likewise.
41953 * elf/sprof.c (print_version): Likewise.
41954 * iconv/iconv_prog.c: Likewise.
41955 * iconv/iconvconfig.c: Likewise.
41956 * locale/programs/locale.c: Likewise.
41957 * locale/programs/localedef.c: Likewise.
41958 * malloc/memusage.sh: Likewise.
41959 * malloc/mtrace.pl: Likewise.
41960 * nscd/nscd.c (print_version): Likewise.
41961 * nss/getent.c: Likewise.
41962
41963 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41964 PF_CAIF, and PF_ALG.
41965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41966
41967 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41968
41969 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41970 (modules-names): Use them.
41971 (ifunc-test-modules, ifunc-pie-tests): Define.
41972 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41973 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41974 (test-extras): Likewise.
41975 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41976 $(compile-command.c).
41977 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41978 (all-built-dso): Define.
41979 (check-textrel.out, check-execstack.out): Depend on it.
41980
41981 * configure.in: Don't override --enable-multi-arch.
41982
41983 2011-01-15 Ulrich Drepper <drepper@gmail.com>
41984
41985 [BZ #6812]
41986 * nscd/hstcache.c (tryagain): Define.
41987 (cache_addhst): Return tryagain not notfound for temporary errors.
41988 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41989 failed.
41990
41991 2011-01-14 Ulrich Drepper <drepper@gmail.com>
41992
41993 [BZ #10563]
41994 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41995 to make the syscall.
41996 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41997
41998 [BZ #12378]
41999 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
42000 and fall back to matching as normal character if the string ends before
42001 the matching ']' is found. This is what POSIX requires.
42002 * posix/testfnm.c: Adjust test result.
42003 * posix/globtest.sh: Adjust test result. Add new test.
42004 * posix/tst-fnmatch.input: Likewise.
42005 * posix/tst-fnmatch2.c: Add new test.
42006
42007 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
42008
42009 * elf/Makefile (check-execstack): Revert last change. Depend on
42010 check-execstack.h.
42011 (check-execstack.h): New target.
42012 (generated): Add check-execstack.h.
42013 * elf/check-execstack.c: Include "check-execstack.h".
42014 (main): Revert last change.
42015 (handle_file): Return zero if GNU_STACK is absent and
42016 DEFAULT_STACK_PERMS doesn't include PF_X.
42017
42018 2011-01-13 Ulrich Drepper <drepper@gmail.com>
42019
42020 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
42021 in child fails because the descriptor is already closed.
42022 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
42023 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
42024 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
42025
42026 [BZ #12397]
42027 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
42028 syscall.
42029
42030 [BZ #10484]
42031 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
42032 temporary buffer used to handle multi lookups locally.
42033 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
42034
42035 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42036
42037 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
42038 loader is ld.so.
42039
42040 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
42041
42042 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
42043 alignment for SSE2.
42044
42045 2011-01-12 Ulrich Drepper <drepper@gmail.com>
42046
42047 [BZ #12394]
42048 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
42049 characters. When rounding increased number of integer digits recompute
42050 number of groups.
42051 * stdio-common/tst-grouping.c: New file.
42052 * stdio-common/Makefile: Add rules to build and run tst-grouping.
42053
42054 2011-01-09 Ulrich Drepper <drepper@gmail.com>
42055
42056 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
42057 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
42058
42059 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
42060 void.
42061 * bits/select.h: Likewise.
42062
42063 2011-01-08 Ulrich Drepper <drepper@gmail.com>
42064
42065 * po/ja.po: Update from translation team.
42066
42067 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
42068
42069 [BZ #11155]
42070 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
42071 implementation just like for lxstat, fxstatat, et al.
42072
42073 2010-12-27 Jim Meyering <meyering@redhat.com>
42074
42075 [BZ #12348]
42076 * posix/regexec.c (build_trtable): Return failure indication upon
42077 calloc failure. Otherwise, re_search_internal could infloop on OOM.
42078
42079 2010-12-25 Ulrich Drepper <drepper@gmail.com>
42080
42081 [BZ #12201]
42082 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
42083 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
42084 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
42085 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
42086
42087 [BZ #12207]
42088 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
42089
42090 [BZ #12204]
42091 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
42092 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
42093
42094 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
42095
42096 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
42097 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
42098 script has SORT_BY_INIT_PRIORITY.
42099 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
42100 NO_CTORS_DTORS_SECTIONS is defined.
42101 * elf/soinit.c: Likewise.
42102 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
42103 NO_CTORS_DTORS_SECTIONS is defined.
42104 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
42105 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
42106 * sysdeps/sh/init-first.c: Likewise.
42107 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
42108
42109 2010-12-24 Ulrich Drepper <drepper@gmail.com>
42110
42111 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
42112 always use the slow path.
42113
42114 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
42115
42116 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
42117 similar rule which adds the sysdep directories to the header search in
42118 order to pick up the correct platform stackinfo.h.
42119 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
42120 perform test if it is, otherwise return successfully without testing.
42121 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
42122 DEFAULT_STACK_PERMS define in stackinfo.h.
42123 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
42124 defined in stackinfo.h.
42125 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
42126 DEFAULT_STACK_PERMS defined in stackinfo.h.
42127 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
42128 * sysdeps/ia64/stackinfo.h: Likewise.
42129 * sysdeps/s390/stackinfo.h: Likewise.
42130 * sysdeps/sh/stackinfo.h: Likewise.
42131 * sysdeps/sparc/stackinfo.h: Likewise.
42132 * sysdeps/x86_64/stackinfo.h: Likewise.
42133 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
42134 PF_X for powerpc64. Retain PF_X for powerpc32.
42135
42136 2010-12-19 Ulrich Drepper <drepper@gmail.com>
42137
42138 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
42139 accurately.
42140 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
42141 GETDENTS_64BIT_ALIGNED.
42142
42143 2010-12-14 Ulrich Drepper <dreper@gmail.com>
42144
42145 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
42146
42147 2010-12-10 Andreas Schwab <schwab@redhat.com>
42148
42149 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
42150 _GNU_SOURCE.
42151
42152 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
42153 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
42154 Remove __restrict.
42155 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
42156 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
42157
42158 2010-12-09 Ulrich Drepper <drepper@gmail.com>
42159
42160 [BZ #11655]
42161 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
42162 are initialized.
42163
42164 2010-12-09 Jakub Jelinek <jakub@redhat.com>
42165
42166 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
42167
42168 2010-12-03 Ulrich Drepper <drepper@gmail.com>
42169
42170 * po/it.po: Update from translation team.
42171
42172 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
42173
42174 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
42175 unused codes.
42176
42177 2010-11-30 Ulrich Drepper <drepper@gmail.com>
42178
42179 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
42180
42181 2010-11-24 Andreas Schwab <schwab@redhat.com>
42182
42183 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
42184 specially.
42185 (gaih_getanswer_slice): Likewise.
42186
42187 2010-10-20 Jakub Jelinek <jakub@redhat.com>
42188
42189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
42190
42191 2010-05-31 Petr Baudis <pasky@suse.cz>
42192
42193 [BZ #11149]
42194 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
42195 silently even in the chroot mode.
42196
42197 2010-11-22 Ulrich Drepper <drepper@gmail.com>
42198
42199 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
42200 last patch a bit. Pretty printing
42201
42202 2010-05-31 Petr Baudis <pasky@suse.cz>
42203
42204 [BZ #10085]
42205 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
42206 initialization of skip_initgroups_dyn.
42207
42208 2010-11-19 Ulrich Drepper <drepper@gmail.com>
42209
42210 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
42211 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
42212
42213 2010-11-16 Ulrich Drepper <drepper@gmail.com>
42214
42215 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
42216
42217 2010-11-11 Andreas Schwab <schwab@redhat.com>
42218
42219 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
42220 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
42221 (tst-fnmatch-ENV): Set MALLOC_TRACE.
42222 ($(objpfx)tst-fnmatch-mem): New rule.
42223 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
42224 * posix/tst-fnmatch.c (main): Call mtrace.
42225
42226 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
42227
42228 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42229 Support Intel processor model 6 and model 0x2c.
42230
42231 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
42232
42233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
42234 signed comparison.
42235
42236 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
42237
42238 [BZ #12205]
42239 * string/test-strncasecmp.c (check_result): New function.
42240 (do_one_test): Use it.
42241 (check1): New function.
42242 (test_main): Use it.
42243 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
42244 Support strcasecmp and strncasecmp.
42245
42246 2010-11-08 Ulrich Drepper <drepper@gmail.com>
42247
42248 [BZ #12194]
42249 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
42250 * sysdeps/x86_64/bits/byteswap.h: Likewise.
42251
42252 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
42253
42254 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
42255 IFUNC support.
42256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42257 memset-x86-64.
42258 * sysdeps/x86_64/multiarch/bzero.S: New file.
42259 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42260 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42261 * sysdeps/x86_64/multiarch/memset.S: New file.
42262 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42263 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42264 Set bit_Prefer_SSE_for_memop for Intel processors.
42265 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42266 Define.
42267 (index_Prefer_SSE_for_memop): Define.
42268 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42269
42270 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
42271
42272 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42273 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42274
42275 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42276
42277 [BZ #12191]
42278 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42279 (__x86_64_raw_data_cache_size_half): Likewise.
42280 (__x86_64_raw_shared_cache_size): Likewise.
42281 (__x86_64_raw_shared_cache_size_half): Likewise.
42282
42283 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42284 (__x86_64_raw_data_cache_size_half): Likewise.
42285 (__x86_64_raw_shared_cache_size): Likewise.
42286 (__x86_64_raw_shared_cache_size_half): Likewise.
42287 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42288 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42289 and __x86_64_raw_shared_cache_size_half. Round
42290 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42291 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42292 to multiple of 256 bytes.
42293
42294 2010-11-03 Ulrich Drepper <drepper@gmail.com>
42295
42296 [BZ #12167]
42297 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42298 of inacessible symlinks. Verify result of symlink before returning it.
42299 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42300 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42301
42302 2010-10-28 Erich Ritz <erichritz@gmail.com>
42303
42304 * math/math.h (isinf): Fix typo in comment.
42305
42306 2010-11-01 Ulrich Drepper <drepper@gmail.com>
42307
42308 * po/da.po: Update from translation team.
42309
42310 2010-10-26 Ulrich Drepper <drepper@gmail.com>
42311
42312 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42313 is added to the list.
42314
42315 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42316 Ulrich Drepper <drepper@gmail.com>
42317
42318 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42319 the global list here. Move code to...
42320 (_dl_add_to_namespace_list): ...here. New function.
42321 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42322 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42323 * elf/dl-load.c (lose): Don't remove the element from the list.
42324 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42325 (_dl_map_object): Likewise.
42326
42327 2010-10-25 Ulrich Drepper <drepper@gmail.com>
42328
42329 [BZ #12159]
42330 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42331 into all bytes of SSE register.
42332 Patch by Richard Li <richardpku@gmail.com>.
42333
42334 2010-10-24 Ulrich Drepper <drepper@gmail.com>
42335
42336 [BZ #12140]
42337 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42338 perturbing.
42339
42340 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42341
42342 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42343 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42344 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42345 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42347 submachine.
42348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42349
42350 2010-10-22 Andreas Schwab <schwab@redhat.com>
42351
42352 * include/dlfcn.h (__RTLD_SECURE): Define.
42353 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42354 mode & __RTLD_SECURE instead.
42355 (open_path): Rename preloaded parameter to secure.
42356 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42357 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42358 * elf/dl-deps.c (openaux): Likewise.
42359 * elf/rtld.c (struct map_args): Remove is_preloaded.
42360 (map_doit): Don't use it.
42361 (dl_main): Likewise.
42362 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42363 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42364
42365 2010-09-09 Andreas Schwab <schwab@redhat.com>
42366
42367 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42368 (sysd-rules-targets): Remove duplicates.
42369 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42370 rtld-%.$o dependency.
42371
42372 2010-10-18 Andreas Schwab <schwab@redhat.com>
42373
42374 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42375 _dl_map_object do it.
42376
42377 2010-10-19 Ulrich Drepper <drepper@gmail.com>
42378
42379 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42380 fast fma builtins, define the macros in the C99 standard.
42381 (FP_FAST_FMAF): Likewise.
42382 (FP_FAST_FMAL): Likewise.
42383 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42384
42385 * bits/mathdef.h: Update copyright year.
42386 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42387
42388 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42389
42390 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42391 builtins, define the macros in the C99 standard.
42392 (FP_FAST_FMAF): Likewise.
42393 (FP_FAST_FMAL): Likewise.
42394 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42395 multiply/add.
42396 (FP_FAST_FMAF): Likewise.
42397
42398 2010-10-15 Jakub Jelinek <jakub@redhat.com>
42399
42400 [BZ #3268]
42401 * math/libm-test.inc (fma_test): Some new testcases.
42402 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42403 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42404 y and infinite z. Do multiplication by C already in long double.
42405 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42407 y and infinite z. Do bitwise or of inexact bit into u.d.
42408 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42409 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42410 * sysdeps/i386/fpu/s_fma.S: Removed.
42411 * sysdeps/i386/fpu/s_fmal.S: Removed.
42412
42413 2010-10-16 Jakub Jelinek <jakub@redhat.com>
42414
42415 [BZ #3268]
42416 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42417 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42418 computation is not scheduled after fetestexcept. Fix value
42419 of minimum denormal long double.
42420
42421 2010-10-14 Jakub Jelinek <jakub@redhat.com>
42422
42423 [BZ #3268]
42424 * math/libm-test.inc (fma_test): Add some more tests.
42425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42426 correctly.
42427
42428 2010-10-15 Andreas Schwab <schwab@redhat.com>
42429
42430 * scripts/data/localplt-s390-linux-gnu.data: New file.
42431 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42432
42433 2010-10-13 Jakub Jelinek <jakub@redhat.com>
42434
42435 [BZ #3268]
42436 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42437 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42438 instead of dbl-64.
42439 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42440 inlines.
42441 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42443 if one of x and y is very large and the other is subnormal.
42444 * sysdeps/s390/fpu/s_fmaf.c: New file.
42445 * sysdeps/s390/fpu/s_fma.c: New file.
42446 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42447 * sysdeps/powerpc/fpu/s_fma.S: New file.
42448 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42449 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42450 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42451
42452 2010-10-12 Jakub Jelinek <jakub@redhat.com>
42453
42454 [BZ #3268]
42455 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42456 fma tests.
42457 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42458 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42459 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42460 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42461 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42462 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42464
42465 2010-10-12 Ulrich Drepper <drepper@redhat.com>
42466
42467 [BZ #12078]
42468 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42469 * posix/bug-regex31.input: Add test case.
42470
42471 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42472
42473 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42474 * posix/bug-regex31.input: New file.
42475
42476 [BZ #12078]
42477 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42478 (parse_sub_exp): Fix last change, use postorder.
42479
42480 * posix/bug-regex31.c: New file.
42481 * posix/Makefile: Add rules to build and run bug-regex31.
42482
42483 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42484
42485 [BZ #12078]
42486 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42487
42488 [BZ #12108]
42489 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42490 to have entries in sys_siglist.
42491
42492 [BZ #12093]
42493 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42494 be NULL.
42495
42496 2010-10-07 Jakub Jelinek <jakub@redhat.com>
42497
42498 [BZ #3268]
42499 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42500 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42501 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42502 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42503 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42504 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42505 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42506 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42507 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42508 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42509 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42510 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42511 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42512 * math/ftestexcept.c (fetestexcept): Likewise.
42513 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42514 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42515 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42516 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42517 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42518 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42519 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42520
42521 2010-10-11 Ulrich Drepper <drepper@gmail.com>
42522
42523 [BZ #12107]
42524 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42525 newline.
42526
42527 2010-10-06 Ulrich Drepper <drepper@gmail.com>
42528
42529 * string/bug-strstr1.c: New file.
42530 * string/Makefile: Add rules to build and run bug-strstr1.
42531
42532 2010-10-05 Eric Blake <eblake@redhat.com>
42533
42534 [BZ #12092]
42535 * string/str-two-way.h (two_way_long_needle): Always clear memory
42536 when skipping input due to the shift table.
42537
42538 2010-10-03 Ulrich Drepper <drepper@gmail.com>
42539
42540 [BZ #12005]
42541 * malloc/mcheck.c: Handle large requests.
42542
42543 [BZ #12077]
42544 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42545 for strncmp and strncasecmp.
42546 * string/stratcliff.c: Add tests for strcmp and strncmp.
42547 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42548
42549 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42550
42551 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42552 __set_fpscr.
42553
42554 2010-09-30 Andreas Jaeger <aj@suse.de>
42555
42556 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42557 (CGROUP_SUPER_MAGIC): Define.
42558 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42559 Handle btrfs and cgroup file systems.
42560 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42561 Likewise.
42562
42563 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
42564
42565 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42566 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42567
42568 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42569
42570 [BZ #12067]
42571 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42572 trying to locate the ELF header.
42573
42574 2010-09-27 Andreas Schwab <schwab@redhat.com>
42575
42576 [BZ #11611]
42577 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42578 Mask out sign-bit copies when constructing f_fsid.
42579
42580 2010-09-24 Petr Baudis <pasky@suse.cz>
42581
42582 * debug/stack_chk_fail_local.c: Add missing licence exception.
42583 * debug/warning-nop.c: Likewise.
42584
42585 2010-09-15 Joseph Myers <joseph@codesourcery.com>
42586
42587 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42588 implementing getdents64 using getdents syscall, set d_type if
42589 __ASSUME_GETDENTS32_D_TYPE.
42590
42591 2010-09-16 Andreas Schwab <schwab@redhat.com>
42592
42593 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42594 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42595
42596 2010-09-21 Ulrich Drepper <drepper@redhat.com>
42597
42598 [BZ #12037]
42599 * posix/unistd.h: Undo change of feature selection for ftruncate from
42600 2010-01-11.
42601
42602 2010-09-20 Ulrich Drepper <drepper@redhat.com>
42603
42604 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
42605 detection.
42606
42607 2010-09-20 Andreas Schwab <schwab@redhat.com>
42608
42609 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42610 fanotify_mark.
42611 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42612
42613 2010-09-14 Andreas Schwab <schwab@redhat.com>
42614
42615 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42616 variables after CHECK_SP call.
42617 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42618
42619 2010-09-13 Andreas Schwab <schwab@redhat.com>
42620 Ulrich Drepper <drepper@redhat.com>
42621
42622 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42623 re-relocationg ld.so.
42624 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42625 _dl_init_paths call.
42626 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42627 here anymore.
42628
42629 2010-09-14 Ulrich Drepper <drepper@redhat.com>
42630
42631 * resolv/res_init.c (__res_vinit): Count the default server we added.
42632
42633 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42634 Ulrich Drepper <drepper@redhat.com>
42635
42636 [BZ #11968]
42637 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42638 (____longjmp_chk): Use %ebx for saving value across system call.
42639 Add unwind info.
42640
42641 2010-09-06 Andreas Schwab <schwab@redhat.com>
42642
42643 * manual/Makefile: Don't mix pattern rules with normal rules.
42644
42645 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42646
42647 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42648 operation.
42649 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42650 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42651 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42652 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42654 Likewise.
42655
42656 2010-09-04 Ulrich Drepper <drepper@redhat.com>
42657
42658 [BZ #11979]
42659 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42660 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42661
42662 2010-09-02 Ulrich Drepper <drepper@redhat.com>
42663
42664 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42665 * sysdeps/x86_64/addmul_1.S: Likewise.
42666 * sysdeps/x86_64/lshift.S: Likewise.
42667 * sysdeps/x86_64/mul_1.S: Likewise.
42668 * sysdeps/x86_64/rshift.S: Likewise.
42669 * sysdeps/x86_64/sub_n.S: Likewise.
42670 * sysdeps/x86_64/submul_1.S: Likewise.
42671
42672 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42673
42674 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42675 Define __sched_param instead of SCHED_* and sched_param when
42676 <bits/sched.h> is included with __need_schedparam defined.
42677 * bits/sched.h [__need_schedparam]
42678 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
42679 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42680 (__defined_schedparam): Define to 1.
42681 (__sched_param): New structure, identical to sched_param.
42682 (__need_schedparam): Undefine.
42683
42684 2010-08-31 Mike Frysinger <vapier@gentoo.org>
42685
42686 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42687 (epoll_create1): Declare.
42688
42689 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42690
42691 2010-08-31 Andreas Schwab <schwab@redhat.com>
42692
42693 [BZ #7066]
42694 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42695 shifting retval into place.
42696
42697 2010-09-01 Ulrich Drepper <drepper@redhat.com>
42698
42699 * nis/rpcsvc/nis.h: Update copyright notice.
42700 * nis/rpcsvc/nis.x: Likewise.
42701 * nis/rpcsvc/nis_callback.h: Likewise.
42702 * nis/rpcsvc/nis_callback.x: Likewise.
42703 * nis/rpcsvc/nis_object.x: Likewise.
42704 * nis/rpcsvc/nis_tags.h: Likewise.
42705 * nis/rpcsvc/yp.h: Likewise.
42706 * nis/rpcsvc/yp.x: Likewise.
42707 * nis/rpcsvc/ypupd.h: Likewise.
42708 * nis/yp_xdr.c: Likewise.
42709 * nis/ypupdate_xdr.c: Likewise.
42710
42711 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42712 mainly the body of pmap_getport. Add parameters to specify timeouts.
42713 (pmap_getport): Use __libc_rpc_getport.
42714 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42715 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42716 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42717
42718 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42719
42720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42721 fanotify_mark.
42722
42723 2010-08-27 Roland McGrath <roland@redhat.com>
42724
42725 * sysdeps/i386/i686/multiarch/Makefile
42726 (CFLAGS-varshift.c): New variable.
42727
42728 2010-08-27 Ulrich Drepper <drepper@redhat.com>
42729
42730 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42731 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42732
42733 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42734
42735 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42736
42737 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42738
42739 * sysdeps/x86_64/strlen.S: Unroll the loop.
42740 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42741 strlen-sse2 strlen-sse2-bsf.
42742 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42743 __strlen_no_bsf if bit_Slow_BSF is set.
42744 (__strlen_sse42): Removed.
42745 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42746 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42747
42748 2010-08-25 Roland McGrath <roland@redhat.com>
42749
42750 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42751 * sysdeps/x86_64/multiarch/varshift.c: New file.
42752 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42753 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42754 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42755 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42756
42757 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42758
42759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42760 strlen-sse2 strlen-sse2-bsf.
42761 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42762 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42763 (__strlen_sse2): Removed.
42764 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42765 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42767 bit_Slow_BSF for Atom.
42768 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42769 (index_Slow_BSF): Define.
42770 (HAS_SLOW_BSF): Define.
42771
42772 2010-08-25 Ulrich Drepper <drepper@redhat.com>
42773
42774 [BZ #10851]
42775 * resolv/res_init.c (__res_vinit): When no server address at all
42776 is given default to loopback.
42777
42778 2010-08-24 Roland McGrath <roland@redhat.com>
42779
42780 * configure.in: Remove config-name.h generation.
42781 * configure: Regenerated.
42782 * config-name.in: File removed.
42783 * scripts/config-uname.sh: New file.
42784 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42785 ($(objdir)config-name.h): New target.
42786
42787 * sunrpc/rpc_parse.h: Avoid nested comment.
42788
42789 2010-08-24 Richard Henderson <rth@redhat.com>
42790 Ulrich Drepper <drepper@redhat.com>
42791 H.J. Lu <hongjiu.lu@intel.com>
42792
42793 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42795 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42796 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42797 _mm_alignr_epi8 with _mm_loadu_si128.
42798 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42799 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42800 (__m128i_shift_right): Removed.
42801 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42802 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42803 * sysdeps/x86_64/multiarch/varshift.h: New file.
42804 * sysdeps/x86_64/multiarch/varshift.S: New file.
42805
42806 2010-08-21 Mike Frysinger <vapier@gentoo.org>
42807
42808 * configure.in: Move assembler checks to before sysdep dir checking.
42809
42810 2010-08-20 Petr Baudis <pasky@suse.cz>
42811
42812 * LICENSES: Sync the sunrpc license.
42813
42814 2010-08-19 Ulrich Drepper <drepper@redhat.com>
42815
42816 * sunrpc/auth_des.c: Update copyright notice once again.
42817 * sunrpc/auth_none.c: Likewise.
42818 * sunrpc/auth_unix.c: Likewise.
42819 * sunrpc/authdes_prot.c: Likewise.
42820 * sunrpc/authuxprot.c: Likewise.
42821 * sunrpc/bindrsvprt.c: Likewise.
42822 * sunrpc/clnt_gen.c: Likewise.
42823 * sunrpc/clnt_perr.c: Likewise.
42824 * sunrpc/clnt_raw.c: Likewise.
42825 * sunrpc/clnt_simp.c: Likewise.
42826 * sunrpc/clnt_tcp.c: Likewise.
42827 * sunrpc/clnt_udp.c: Likewise.
42828 * sunrpc/clnt_unix.c: Likewise.
42829 * sunrpc/des_crypt.c: Likewise.
42830 * sunrpc/des_soft.c: Likewise.
42831 * sunrpc/get_myaddr.c: Likewise.
42832 * sunrpc/getrpcport.c: Likewise.
42833 * sunrpc/key_call.c: Likewise.
42834 * sunrpc/key_prot.c: Likewise.
42835 * sunrpc/openchild.c: Likewise.
42836 * sunrpc/pm_getmaps.c: Likewise.
42837 * sunrpc/pm_getport.c: Likewise.
42838 * sunrpc/pmap_clnt.c: Likewise.
42839 * sunrpc/pmap_prot.c: Likewise.
42840 * sunrpc/pmap_prot2.c: Likewise.
42841 * sunrpc/pmap_rmt.c: Likewise.
42842 * sunrpc/rpc/auth.h: Likewise.
42843 * sunrpc/rpc/auth_unix.h: Likewise.
42844 * sunrpc/rpc/clnt.h: Likewise.
42845 * sunrpc/rpc/des_crypt.h: Likewise.
42846 * sunrpc/rpc/key_prot.h: Likewise.
42847 * sunrpc/rpc/netdb.h: Likewise.
42848 * sunrpc/rpc/pmap_clnt.h: Likewise.
42849 * sunrpc/rpc/pmap_prot.h: Likewise.
42850 * sunrpc/rpc/pmap_rmt.h: Likewise.
42851 * sunrpc/rpc/rpc.h: Likewise.
42852 * sunrpc/rpc/rpc_des.h: Likewise.
42853 * sunrpc/rpc/rpc_msg.h: Likewise.
42854 * sunrpc/rpc/svc.h: Likewise.
42855 * sunrpc/rpc/svc_auth.h: Likewise.
42856 * sunrpc/rpc/types.h: Likewise.
42857 * sunrpc/rpc/xdr.h: Likewise.
42858 * sunrpc/rpc_clntout.c: Likewise.
42859 * sunrpc/rpc_cmsg.c: Likewise.
42860 * sunrpc/rpc_common.c: Likewise.
42861 * sunrpc/rpc_cout.c: Likewise.
42862 * sunrpc/rpc_dtable.c: Likewise.
42863 * sunrpc/rpc_hout.c: Likewise.
42864 * sunrpc/rpc_main.c: Likewise.
42865 * sunrpc/rpc_parse.c: Likewise.
42866 * sunrpc/rpc_parse.h: Likewise.
42867 * sunrpc/rpc_prot.c: Likewise.
42868 * sunrpc/rpc_sample.c: Likewise.
42869 * sunrpc/rpc_scan.c: Likewise.
42870 * sunrpc/rpc_scan.h: Likewise.
42871 * sunrpc/rpc_svcout.c: Likewise.
42872 * sunrpc/rpc_tblout.c: Likewise.
42873 * sunrpc/rpc_util.c: Likewise.
42874 * sunrpc/rpc_util.h: Likewise.
42875 * sunrpc/rpcinfo.c: Likewise.
42876 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42877 * sunrpc/rpcsvc/key_prot.x: Likewise.
42878 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42879 * sunrpc/rpcsvc/mount.x: Likewise.
42880 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42881 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42882 * sunrpc/rpcsvc/rex.x: Likewise.
42883 * sunrpc/rpcsvc/rstat.x: Likewise.
42884 * sunrpc/rpcsvc/rusers.x: Likewise.
42885 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42886 * sunrpc/rpcsvc/spray.x: Likewise.
42887 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42888 * sunrpc/rtime.c: Likewise.
42889 * sunrpc/svc.c: Likewise.
42890 * sunrpc/svc_auth.c: Likewise.
42891 * sunrpc/svc_authux.c: Likewise.
42892 * sunrpc/svc_raw.c: Likewise.
42893 * sunrpc/svc_run.c: Likewise.
42894 * sunrpc/svc_simple.c: Likewise.
42895 * sunrpc/svc_tcp.c: Likewise.
42896 * sunrpc/svc_udp.c: Likewise.
42897 * sunrpc/svc_unix.c: Likewise.
42898 * sunrpc/svcauth_des.c: Likewise.
42899 * sunrpc/xcrypt.c: Likewise.
42900 * sunrpc/xdr.c: Likewise.
42901 * sunrpc/xdr_array.c: Likewise.
42902 * sunrpc/xdr_float.c: Likewise.
42903 * sunrpc/xdr_mem.c: Likewise.
42904 * sunrpc/xdr_rec.c: Likewise.
42905 * sunrpc/xdr_ref.c: Likewise.
42906 * sunrpc/xdr_sizeof.c: Likewise.
42907 * sunrpc/xdr_stdio.c: Likewise.
42908
42909 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42910 handling.
42911
42912 2010-08-19 Andreas Schwab <schwab@redhat.com>
42913
42914 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42915
42916 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
42917
42918 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42919 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42920 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42921 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42922 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42923 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42924 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42925 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42926 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42927 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42928 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42929 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42930 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42931 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42932
42933 2010-07-26 Anton Blanchard <anton@samba.org>
42934
42935 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42936 * malloc/arena.c (heap_trim): Likewise.
42937
42938 2010-08-16 Ulrich Drepper <drepper@redhat.com>
42939
42940 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42941 here. Not...
42942 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42943 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42944
42945 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42946
42947 * sysdeps/i386/elf/Makefile: New file.
42948
42949 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42950
42951 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42952 from fanotify_init.
42953 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42954 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42955
42956 2010-08-15 Ulrich Drepper <drepper@redhat.com>
42957
42958 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42959 of strncasecmp_l.
42960 * sysdeps/multiarch/strcmp.S: Likewise.
42961
42962 2010-08-14 Ulrich Drepper <drepper@redhat.com>
42963
42964 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42965 strncase_l-nonascii.
42966 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42967 Add strncase_l-ssse3.
42968 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42969 * sysdeps/x86_64/strcmp.S: Likewise.
42970 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42971 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42972 * sysdeps/x86_64/strncase.S: New file.
42973 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42974 * sysdeps/x86_64/strncase_l.S: New file.
42975 * string/Makefile (strop-tests): Add strncasecmp.
42976 * string/test-strncasecmp.c: New file.
42977
42978 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42979 warning.
42980
42981 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42982 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42983
42984 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42985
42986 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42987
42988 2010-08-12 Ulrich Drepper <drepper@redhat.com>
42989
42990 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42991 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42992 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42993
42994 2010-05-01 Alan Modra <amodra@gmail.com>
42995
42996 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42997 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42998 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42999 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
43000 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
43001 tidying. Don't tail-call __sigjmp_save for static lib.
43002 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
43003 save location.
43004 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
43005 (CALL_MCOUNT): Add eh info, and nop after bl.
43006 (TAIL_CALL_SYSCALL_ERROR): New macro.
43007 (PSEUDO_RET): Use it.
43008 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43009 Correct save location of integer regs and cr.
43010 (_dl_profile_resolve): Correct cr save location. Delete nops
43011 after bl when SHARED. Reduce cfi size a little by better
43012 placement of cfi directives.
43013 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
43014 make a stack frame. Instead use parm save area as a temp.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
43016 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43018 Don't make a stack frame for parent, use parm save area.
43019 Increase child stack frame to 112 bytes. Don't save unused reg,
43020 and adjust reg usage. Set up cfi on error recovery and
43021 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
43022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43023 (__makecontext): Add dummy nop after jump to exit.
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
43025 Use correct parm save area and cr save, reduce stack frame.
43026 Correct cfi for possible PSEUDO_RET frame setup.
43027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
43028 Branch to local label emitted by PSEUDO_RET rather than
43029 __syscall_error.
43030
43031 2010-08-12 Andreas Schwab <schwab@redhat.com>
43032
43033 [BZ #11904]
43034 * locale/programs/locale.c (print_assignment): New function.
43035 (show_locale_vars): Use it.
43036
43037 2010-08-11 Ulrich Drepper <drepper@redhat.com>
43038
43039 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
43040 field.
43041 (struct statfs64): Likewise.
43042 (_STATFS_F_FLAGS): Define.
43043 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
43044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43045 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
43046 (ST_VALID): Define locally.
43047 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
43048 __statvfs_getflags, use the provided value.
43049 * sysdeps/unix/sysv/linux/kernel-features.h: Define
43050 __ASSUME_STATFS_F_FLAGS.
43051
43052 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
43053
43054 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
43055 Add sys/fanotify.h.
43056 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
43057 fanotify_mask for GLIBC_2.13.
43058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
43059 fanotify_init and fanotify_mark.
43060 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
43061 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
43062
43063 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
43064 Add prlimit.
43065 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
43066 prlimit64 for GLIBC_2.13.
43067 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
43068 prlimit64.
43069 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
43070 syscall.
43071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
43072 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43073 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
43074 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
43075 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
43076 add prlimit alias.
43077 * sysdeps/unix/sysv/linux/prlimit.c: New file.
43078
43079 [BZ #11903]
43080 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
43081 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
43082
43083 * nss/Makefile: Add rules to build and run tst-nss-test1.
43084 * shlib-versions: Add entry for libnss_test1.
43085 * nss/nss_test1.c: New file.
43086 * nss/tst-nss-test1.c: New file.
43087
43088 * nss/nsswitch.c (__nss_database_custom): Define new variable.
43089 (__nss_configure_lookup): Set appropriate entry in
43090 __nss_configure_lookup to true.
43091 * nss/nsswitch.h: Define enum with indeces of databases in
43092 databases and __nss_database_custom arrays. Declare
43093 __nss_database_custom.
43094 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
43095 to avoid using nscd when custom rules are installed.
43096 * nss/getXXbyYY_r.c: Likewise.
43097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43098
43099 * nss/nss_files/files-parse.c: Whitespace fixes.
43100
43101 2010-08-09 Ulrich Drepper <drepper@redhat.com>
43102
43103 [BZ #11883]
43104 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
43105 * posix/fnmatch_loop.c: Likewise.
43106
43107 2010-07-17 Andi Kleen <ak@linux.intel.com>
43108
43109 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
43110 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
43111 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
43112 * Versions.def [GLIBC_2.13]: Add.
43113
43114 2010-08-06 Ulrich Drepper <drepper@redhat.com>
43115
43116 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43117 Also fail if tpwd after pwuid call is NULL.
43118
43119 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
43120
43121 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
43122 when converting to ms.
43123
43124 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
43125
43126 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
43127 EOPNOTSUPP errors with ENOTTY.
43128 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
43129 EOPNOTSUPP errors with ENOTTY.
43130
43131 2010-07-31 Ulrich Drepper <drepper@redhat.com>
43132
43133 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
43134 Add strcasecmp_l-ssse3.
43135 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
43136 strcasecmp.
43137 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
43138 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
43139 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
43140
43141 2010-07-30 Ulrich Drepper <drepper@redhat.com>
43142
43143 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
43144
43145 * string/Makefile (strop-tests): Add strcasecmp.
43146 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
43147 strcasecmp_l-nonascii.
43148 (gen-as-const-headers): Add locale-defines.sym.
43149 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
43150 * sysdeps/x86_64/strcasecmp.S: New file.
43151 * sysdeps/x86_64/strcasecmp_l.S: New file.
43152 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
43153 * sysdeps/x86_64/locale-defines.sym: New file.
43154 * string/test-strcasecmp.c: New file.
43155
43156 * string/test-strcasestr.c: Test both ends of the range of characters.
43157 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
43158
43159 2010-07-29 Roland McGrath <roland@redhat.com>
43160
43161 [BZ #11856]
43162 * manual/locale.texi (Yes-or-No Questions): Fix example code.
43163
43164 2010-07-27 Ulrich Drepper <drepper@redhat.com>
43165
43166 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
43167 for ld.so.
43168
43169 2010-07-27 Andreas Schwab <schwab@redhat.com>
43170
43171 * manual/memory.texi (Malloc Tunable Parameters): Document
43172 M_PERTURB.
43173
43174 2010-07-26 Roland McGrath <roland@redhat.com>
43175
43176 [BZ #11840]
43177 * configure.in (-fgnu89-inline check): Set and substitute
43178 gnu89_inline, not libc_cv_gnu89_inline.
43179 * configure: Regenerated.
43180 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
43181
43182 2010-07-26 Ulrich Drepper <drepper@redhat.com>
43183
43184 * string/test-strnlen.c: New file.
43185 * string/Makefile (strop-tests): Add strnlen.
43186 * string/tester.c (test_strnlen): Add a few more test cases.
43187 * string/tst-strlen.c: Better error reporting.
43188
43189 * sysdeps/x86_64/strnlen.S: New file.
43190
43191 2010-07-24 Ulrich Drepper <drepper@redhat.com>
43192
43193 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
43194 lower-latency instructions.
43195
43196 2010-07-23 Ulrich Drepper <drepper@redhat.com>
43197
43198 * string/test-strcasestr.c: New file.
43199 * string/test-strstr.c: New file.
43200 * string/Makefile (strop-tests): Add strstr and strcasestr.
43201 * string/str-two-way.h: Don't undefine MAX.
43202 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
43203
43204 2010-07-21 Andreas Schwab <schwab@redhat.com>
43205
43206 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43207 strcasestr-nonascii.
43208 (CFLAGS-strcasestr-nonascii.c): Define.
43209 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
43210 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
43211 Remove unused attribute.
43212
43213 2010-07-20 Roland McGrath <roland@redhat.com>
43214
43215 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
43216 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
43217 ld.so.cache was broken. With it, there is no way to disable dsocaps
43218 like LD_HWCAP_MASK can disable hwcaps.
43219
43220 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43221
43222 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
43223
43224 2010-07-16 Ulrich Drepper <drepper@redhat.com>
43225
43226 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
43227 call in strcasestr.
43228 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
43229 __strcasestr_sse42_nonascii.
43230 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
43231 strcasestr-nonascii.c.
43232 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
43233
43234 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
43235
43236 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
43237 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
43238 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
43239 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
43240
43241 2010-07-09 Ulrich Drepper <drepper@redhat.com>
43242
43243 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
43244 fcntl.
43245
43246 2010-07-06 Andreas Schwab <schwab@redhat.com>
43247
43248 [BZ #11577]
43249 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
43250 dl_signal_cerror.
43251
43252 2010-07-06 Ulrich Drepper <drepper@redhat.com>
43253
43254 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
43255 _PC_PIPE_BUF using F_GETPIPE_SZ.
43256
43257 2010-07-05 Roland McGrath <roland@redhat.com>
43258
43259 * manual/arith.texi (Rounding Functions): Fix rint description
43260 implicit in round description.
43261
43262 2010-07-02 Ulrich Drepper <drepper@redhat.com>
43263
43264 * elf/Makefile: Fix linking for a few tests to make recent linker
43265 happy.
43266
43267 2010-06-30 Andreas Schwab <schwab@redhat.com>
43268
43269 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43270 $(common-objpfx)libc_nonshared.a.
43271
43272 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
43273
43274 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43275 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43276 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43277 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43278 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43279 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43280 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43281 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43296 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43297 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43298 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43299 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43300 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43301 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43302 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43303 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43304 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43305 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43306 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43307 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43322
43323 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43324
43325 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43326 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43327 * string/memmove.c (memmove): Renamed to ...
43328 (MEMMOVE): ...this. Default to memmove.
43329 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43330 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43331 (END_CHK): Define.
43332 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43333 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43334 mempcpy-ssse3-back memmove-ssse3-back.
43335 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43336 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43337 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43338 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43339 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43340 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43341 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43342 * sysdeps/x86_64/multiarch/memmove.c: New file.
43343 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43344 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43345 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43346 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43347 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43348 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43349 Define.
43350 (index_Fast_Copy_Backward): Define.
43351 (HAS_ARCH_FEATURE): Define.
43352 (HAS_FAST_REP_STRING): Define.
43353 (HAS_FAST_COPY_BACKWARD): Define.
43354
43355 2010-06-21 Andreas Schwab <schwab@redhat.com>
43356
43357 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43358 Restore proper fallback handling.
43359
43360 2010-06-19 Ulrich Drepper <drepper@redhat.com>
43361
43362 [BZ #11701]
43363 * posix/group_member.c (__group_member): Correct checking loop.
43364
43365 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43366 OOM in getpwuid_r correctly. Return error number when the caller
43367 should return, otherwise -1.
43368 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43369 call returning > 0 value.
43370 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43371
43372 2010-06-07 Andreas Schwab <schwab@redhat.com>
43373
43374 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43375 libc_nonshared.a from targets in modules-names.
43376
43377 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43378
43379 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43380 requires it.
43381
43382 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
43383
43384 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43385 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43386 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43387 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43388
43389 2010-06-02 Andreas Schwab <schwab@redhat.com>
43390
43391 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43392
43393 2010-06-14 Ulrich Drepper <drepper@redhat.com>
43394
43395 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43396 and F_GETPIPE_SZ.
43397 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43399 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43401 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43402 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43403
43404 2010-06-14 Roland McGrath <roland@redhat.com>
43405
43406 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43407
43408 2010-06-07 Jakub Jelinek <jakub@redhat.com>
43409
43410 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43411 __REDIRECT followed by __THROW.
43412 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43413 * posix/getopt.h (getopt): Likewise.
43414
43415 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43416
43417 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43418 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43419 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43420 in AT_FLAGS.
43421 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43422 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43423
43424 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
43425
43426 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43427
43428 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43429
43430 [BZ #11640]
43431 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43432 Properly check family and model.
43433
43434 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43435
43436 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43437
43438 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
43439
43440 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43441
43442 2010-05-21 Ulrich Drepper <drepper@redhat.com>
43443
43444 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43445 symbol reference.
43446
43447 2010-05-19 Andreas Schwab <schwab@redhat.com>
43448
43449 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43450 symbol reference.
43451
43452 2010-05-21 Andreas Schwab <schwab@redhat.com>
43453
43454 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43455 and internal_recvmmsg.
43456 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43457 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43458 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43459 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43460
43461 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43462 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43463 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43464
43465 2010-05-20 Andreas Schwab <schwab@redhat.com>
43466
43467 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43468
43469 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
43470
43471 POWER7 optimizations.
43472 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43473 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43474
43475 2010-05-19 Ulrich Drepper <drepper@redhat.com>
43476
43477 * version.h: Update for 2.13 development version.
43478
43479 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
43480
43481 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43482 exceptions. Return 0.
43483
43484 2010-05-07 Roland McGrath <roland@redhat.com>
43485
43486 * elf/ldconfig.c (main): Add a const.
43487
43488 2010-05-06 Ulrich Drepper <drepper@redhat.com>
43489
43490 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43491 (args_options): Add no-idn option.
43492 (ahosts_keys_int): Add idn_flags to ai_flags.
43493 (parse_option): Handle 'i' option to clear idn_flags.
43494
43495 * malloc/malloc.c (_int_free): Possible race in the most recently
43496 added check. Only act on the data if no current modification
43497 happened.
43498
43499 See ChangeLog.17 for earlier changes.
This page took 1.902379 seconds and 4 git commands to generate.